:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --light: #f5f5f7;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #248a3d;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none!important; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
body > header { height: 58px; border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(250,250,252,.9); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav-inner { width: min(1120px, calc(100% - 40px)); height: 100%; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; width: fit-content; align-items: center; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
nav { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 42px; color: #454547; font-size: 13px; }
.download { grid-column: 3; justify-self: end; padding: 8px 16px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 13px; }
.download:hover, #run-agent:hover, .auth-primary:hover { background: var(--blue-hover); }

.directory-hero { padding: 94px 20px 72px; background: #fff; text-align: center; }
.eyebrow { margin: 0 0 20px; color: #bf4800; font-size: 15px; font-weight: 600; }
.directory-hero h1, .detail h1 { margin: 0; font-size: clamp(46px, 5.5vw, 64px); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.directory-hero > p:last-child { max-width: 650px; margin: 24px auto 0; color: var(--muted); font-size: 17px; font-weight: 500; line-height: 1.45; }
.catalog { padding: 0 max(24px, calc((100% - 1320px) / 2)) 130px; }
.catalog-tools { margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 9px 15px; border: 0; border-radius: 980px; background: var(--light); color: #4d4d51; font-size: 12px; cursor: pointer; }
.filters button:hover { background: #e8e8ed; }
.filters button.active { background: var(--ink); color: #fff; }
.search { min-width: 210px; padding: 9px 13px; display: flex; align-items: center; gap: 8px; border-radius: 980px; background: var(--light); color: #86868b; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; }
.card { min-width: 0; padding: 14px 14px 20px; display: flex; flex-direction: column; border-radius: 22px; background: var(--light); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(0,0,0,.09); }
.card img { width: 100%; aspect-ratio: 1.18; border-radius: 14px; background: #e7e7ea; object-fit: cover; }
.card h2 { margin: 18px 5px 8px; font-size: 20px; letter-spacing: -.025em; line-height: 1.1; }
.card p { min-height: 58px; margin: 0 5px 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.card-bottom { margin: auto 5px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #86868b; font-size: 10px; }
.card-bottom b { color: var(--blue); font-weight: 500; }
.try-badge { padding: 5px 8px; border-radius: 99px; background: #e7f4e8; color: var(--green)!important; }
.loading { color: var(--muted); }

.detail-page, .sign-in-route, .subscription-route { min-height: 100vh; background: radial-gradient(circle at 92% 60%, rgba(247,229,215,.55), transparent 31%), #fff; }
.detail-page::before, .sign-in-route::before, .subscription-route::before { position: fixed; z-index: 0; top: 140px; right: -180px; width: 620px; height: 620px; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0 49px, rgba(204,125,72,.075) 50px 51px); content: ""; pointer-events: none; }
.detail-page > header, .detail-page > footer, .sign-in-route > header, .sign-in-route > footer, .subscription-route > header, .subscription-route > footer { display: none; }
.detail { position: relative; z-index: 1; min-height: 100vh; padding: 32px 44px 54px; }
.agent-page-top { display: flex; align-items: center; }
.back-to-agents { display: inline-flex; align-items: center; gap: 13px; color: #56565b; font-size: 13px; font-weight: 500; }
.back-to-agents:hover span { color: #000; }
.back-to-agents img { width: 48px; height: 48px; display: block; border-radius: 13px; background: #f5f0eb; object-fit: cover; box-shadow: 0 8px 22px rgba(60,42,28,.11); }
.detail-main { width: min(880px, calc(100% - 32px)); margin: 30px auto 0; text-align: center; }
.detail h1 { margin: 0; font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -.052em; line-height: .98; }
.detail-description { max-width: 660px; margin: 18px auto 0; color: var(--muted); font-size: 18px; font-weight: 500; line-height: 1.4; }
.agent-composer { margin-top: 36px; }
.input-fields { margin: 0 0 26px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; text-align: left; }
.input-fields.single-field { grid-template-columns: 1fr; }
.file-field { min-width: 0; }
.file-field-title { margin: 0 0 9px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #4d4d51; font-size: 12px; font-weight: 600; }
.file-field-title span { color: #86868b; font-size: 10px; font-weight: 400; }
.file-drop { min-height: 235px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #d6bba8; border-radius: 20px; background: rgba(255,255,255,.56); color: var(--ink); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; backdrop-filter: blur(16px); }
.file-drop:hover, .file-drop.dragging { border-color: #b06d3e; background: rgba(255,250,246,.9); }
.file-drop input, .optional-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-symbol { width: 64px; height: 64px; margin-bottom: 17px; display: grid; place-items: center; border-radius: 50%; background: #f6ece5; color: #a45420; font-size: 29px; line-height: 1; }
.file-drop strong { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.file-drop em { margin-top: 8px; color: #86868b; font-size: 14px; font-style: normal; }
.file-drop small { margin-top: 18px; color: #86868b; font-size: 11px; line-height: 1.4; }
.selected-files { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.selected-file { min-width: 0; padding: 7px 10px 7px 7px; display: flex; align-items: center; gap: 7px; border: 1px solid #e5e5e7; border-radius: 10px; background: #fff; color: #4d4d51; font-size: 10px; }
.selected-file img { width: 31px; height: 31px; border-radius: 6px; object-fit: cover; }
.selected-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.optional-divider { margin: 10px 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; color: #86868b; font-size: 11px; }
.optional-divider::before, .optional-divider::after { height: 1px; background: #e2e2e5; content: ""; }
.prompt-composer { position: relative; min-height: 188px; padding: 28px 72px 58px 34px; border: 1px solid #dcdce1; border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 18px 45px rgba(38,29,22,.08); text-align: left; backdrop-filter: blur(18px); }
.prompt-label { display: block; margin-bottom: 16px; color: #4d4d51; font-size: 14px; font-weight: 500; }
.prompt-composer textarea { width: 100%; min-height: 70px; padding: 0; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; line-height: 1.45; }
.prompt-composer textarea::placeholder { color: #a2a2a8; }
.has-required-inputs .prompt-composer { min-height: 76px; padding: 25px 72px 20px 58px; }
.has-required-inputs .prompt-label { display: none; }
.has-required-inputs .prompt-composer textarea { min-height: 30px; overflow: hidden; white-space: nowrap; }
.has-required-inputs .attach-trigger { left: 22px; bottom: 20px; }
.has-required-inputs #run-agent { right: 18px; bottom: 14px; }
.attach-trigger { position: absolute; left: 28px; bottom: 22px; width: 34px; height: 34px; padding: 0; border: 0; background: none; color: #76767d; font-size: 0; cursor: pointer; }
.attach-trigger::before { width: 11px; height: 21px; display: block; border: 2px solid currentColor; border-radius: 7px; content: ""; transform: rotate(38deg); }
.attach-trigger::after { position: absolute; top: 8px; left: 7px; width: 6px; height: 13px; border: 1.5px solid currentColor; border-radius: 5px; content: ""; transform: rotate(38deg); }
#run-agent { position: absolute; right: 28px; bottom: 22px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #efefef; color: #222; font-size: 25px; line-height: 1; cursor: pointer; }
#run-agent:hover { background: #dedede; }
#run-agent:disabled { opacity: .42; cursor: default; }
.composer-files { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fine-print { margin: 31px auto 0; color: #86868b; font-size: 12px; line-height: 1.45; }
.fine-print span { position: relative; width: 12px; height: 10px; margin-right: 8px; display: inline-block; border: 1.5px solid #8e8e93; border-radius: 2px; transform: translateY(2px); }
.fine-print span::before { position: absolute; left: 2px; bottom: 7px; width: 5px; height: 5px; border: 1.5px solid #8e8e93; border-bottom: 0; border-radius: 5px 5px 0 0; content: ""; }
.trial-status { max-width: 760px; margin: 18px auto 0; padding: 14px 16px; border: 1px solid #e5e5e7; border-radius: 14px; background: rgba(255,255,255,.8); color: #48484a; font-size: 13px; line-height: 1.5; text-align: left; }
.trial-status a { color: var(--blue); }

.agent-subscription-page { position: relative; z-index: 1; min-height: 100vh; padding: 72px 24px; }
.subscription-home { position: absolute; top: 26px; left: 30px; display: inline-flex; }
.subscription-home img { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 12px 30px rgba(37,29,23,.14); }
.subscription-shell { width: min(1080px,100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0,.92fr) minmax(440px,1.08fr); align-items: center; gap: 72px; }
.subscription-agent-intro { padding: 22px 0; }
.subscription-agent-icon { width: 82px; height: 82px; display: block; overflow: hidden; border-radius: 25px; background: #f5efe9; box-shadow: 0 18px 42px rgba(49,35,25,.14); }
.subscription-agent-icon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.subscription-kicker { margin: 30px 0 12px; color: #a44d19; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.subscription-agent-intro h1 { margin: 0; max-width: 560px; font-size: clamp(44px,5.2vw,66px); letter-spacing: -.055em; line-height: .98; }
.subscription-agent-intro > p:not(.subscription-kicker) { max-width: 545px; margin: 22px 0 0; color: #616168; font-size: 18px; line-height: 1.55; }
.subscription-request { max-width: 540px; margin-top: 30px; padding: 17px 19px; border: 1px solid #dedee3; border-radius: 16px; background: rgba(255,255,255,.76); box-shadow: 0 10px 30px rgba(45,34,26,.06); }
.subscription-request span { color: #8a8a91; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.subscription-request p { margin: 8px 0 0; display: -webkit-box; overflow: hidden; color: #38383c; font-size: 13px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.subscription-offer { padding: 32px; border: 1px solid rgba(193,152,120,.33); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 28px 80px rgba(49,35,25,.13); backdrop-filter: blur(20px); }
.subscription-offer-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.subscription-offer-topline span { font-size: 19px; font-weight: 700; }
.subscription-offer-topline b { padding: 6px 10px; border-radius: 99px; background: #eaf5ec; color: #28763b; font-size: 10px; }
.subscription-price { margin-top: 15px; display: flex; align-items: baseline; gap: 8px; }
.subscription-price strong { font-size: 48px; letter-spacing: -.045em; }
.subscription-price span { color: #77777e; font-size: 14px; }
.subscription-offer-copy { margin: 10px 0 23px; color: #68686f; font-size: 13px; line-height: 1.5; }
.subscription-features { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 17px 22px; list-style: none; }
.subscription-features li { position: relative; padding-left: 22px; }
.subscription-features li::before { position: absolute; top: 1px; left: 0; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: #eaf5ec; color: #248a3d; content: "✓"; font-size: 9px; font-weight: 800; }
.subscription-features strong, .subscription-features span { display: block; }
.subscription-features strong { font-size: 12px; line-height: 1.25; }
.subscription-features span { margin-top: 4px; color: #7b7b82; font-size: 10px; line-height: 1.4; }
.subscription-primary { margin-top: 27px; min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 99px; background: #111827; color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 14px 28px rgba(17,24,39,.18); transition: transform .2s,background .2s; }
.subscription-primary:hover { background: #000; transform: translateY(-1px); }
.subscription-purchase-note { margin: 12px 10px 0; color: #85858b; font-size: 10px; line-height: 1.45; text-align: center; }
.subscription-back { margin-top: 17px; display: block; color: #65656b; font-size: 11px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }

.agent-example-showcase { width: min(1120px, calc(100% - 32px)); margin: 108px auto 0; text-align: left; }
.example-heading { height: auto; max-width: 760px; margin: 0 auto; border: 0; background: transparent; text-align: center; backdrop-filter: none; -webkit-backdrop-filter: none; }
.example-kicker { margin: 0 0 14px; color: #bf4800; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.example-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.045em; line-height: 1.02; }
.example-heading > p:last-child { margin: 19px auto 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.example-prompt-card { max-width: 900px; margin: 38px auto 44px; padding: 20px 20px 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #e1e1e5; border-radius: 18px; background: rgba(255,255,255,.78); box-shadow: 0 14px 40px rgba(46,34,26,.06); }
.example-prompt-card div { min-width: 0; }
.example-prompt-card span { display: block; margin-bottom: 7px; color: #86868b; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.example-prompt-card p { margin: 0; color: #3f3f43; font-size: 13px; line-height: 1.55; }
.example-prompt-card button { flex: 0 0 auto; padding: 10px 15px; border: 0; border-radius: 980px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }
.example-prompt-card button:hover { background: #000; }
.agent-prompt-example { max-width: 920px; margin-top: 82px; padding: 28px; border: 1px solid #e1e1e5; border-radius: 24px; background: rgba(255,255,255,.74); box-shadow: 0 18px 55px rgba(38,29,22,.07); backdrop-filter: blur(18px); }
.agent-prompt-example .example-heading { max-width: none; display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.8fr); align-items: end; gap: 28px; text-align: left; }
.agent-prompt-example .example-kicker { grid-column: 1 / -1; margin-bottom: -14px; }
.agent-prompt-example .example-heading h2 { font-size: clamp(27px,3vw,36px); line-height: 1.04; }
.agent-prompt-example .example-heading > p:last-child { margin: 0; font-size: 13px; line-height: 1.5; }
.agent-prompt-example .example-prompt-card { max-width: none; margin: 26px 0 0; border-color: #d8d8dd; border-radius: 16px; background: #fff; box-shadow: none; }
.agent-prompt-example .example-prompt-card p { max-width: 670px; }

.video-example-showcase { margin-top: 72px; }
.video-example-shell { max-width: 1040px; margin: 38px auto 0; padding: 18px; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.75fr); gap: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; box-shadow: 0 28px 80px rgba(27,24,21,.15); }
.video-example-shell.is-vertical { grid-template-columns: minmax(280px,350px) minmax(300px,1fr); justify-content: center; }
.video-example--tiktok .video-example-shell { background: radial-gradient(circle at 12% 14%,rgba(52,95,178,.7),transparent 42%),linear-gradient(145deg,#101724,#211913 75%); }
.video-example--product .video-example-shell { border-color: #e5d8c8; background: radial-gradient(circle at 82% 18%,rgba(255,255,255,.86),transparent 32%),linear-gradient(145deg,#d6c3aa,#aa8e6c); box-shadow: 0 28px 80px rgba(86,58,32,.18); }
.video-example--editor .video-example-shell { background: radial-gradient(circle at 85% 18%,rgba(129,76,46,.36),transparent 34%),linear-gradient(145deg,#171411,#332a23); }
.video-example-player { min-width: 0; overflow: hidden; border-radius: 18px; background: #090909; box-shadow: 0 14px 38px rgba(0,0,0,.28); }
.video-example-player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.video-example-shell.is-vertical .video-example-player { aspect-ratio: 9 / 16; }
.video-example-shell.is-landscape .video-example-player { aspect-ratio: 16 / 9; }
.video-example-notes { min-width: 0; padding: 22px 22px 20px; align-self: stretch; color: #f5f2ed; }
.video-example--product .video-example-notes { color: #211b16; }
.video-example-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.6); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.video-example--product .video-example-topline { color: rgba(33,27,22,.58); }
.video-example-topline b { padding: 7px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; color: inherit; font-size: 9px; }
.video-example--product .video-example-topline b { border-color: rgba(33,27,22,.13); }
.video-example-notes h3 { max-width: 420px; margin: 25px 0 0; font-size: clamp(24px,2.7vw,36px); letter-spacing: -.04em; line-height: 1.04; }
.video-example-notes ol { margin: 31px 0 0; padding: 0; display: grid; gap: 18px; list-style: none; }
.video-example-notes li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 11px; }
.video-example-notes li > span { color: rgba(255,255,255,.38); font-size: 9px; font-weight: 600; letter-spacing: .06em; }
.video-example--product .video-example-notes li > span { color: rgba(33,27,22,.4); }
.video-example-notes li strong { display: block; font-size: 12px; }
.video-example-notes li p { margin: 5px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.5; }
.video-example--product .video-example-notes li p { color: rgba(33,27,22,.64); }
.video-example-spec { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.video-example--product .video-example-spec { border-color: rgba(33,27,22,.12); color: rgba(33,27,22,.5); }
.video-example-downloads { max-width: 860px; margin: 16px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.video-example-downloads a { min-width: 0; min-height: 72px; padding: 15px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid #dfdfe3; border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 10px 28px rgba(33,26,21,.05); transition: transform .2s,box-shadow .2s; }
.video-example-downloads a:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(33,26,21,.09); }
.video-example-downloads svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: #bf5a16; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.video-example-downloads span,.video-example-downloads strong,.video-example-downloads small { min-width: 0; display: block; }
.video-example-downloads strong { color: var(--ink); font-size: 12px; }
.video-example-downloads small { margin-top: 4px; color: #86868b; font-size: 9px; line-height: 1.35; }

.standard-output-showcase { margin-top: 76px; }
.standard-video-stage { max-width: 980px; margin: 38px auto 0; padding: 12px; overflow: hidden; border-radius: 24px; background: #171719; box-shadow: 0 28px 75px rgba(24,24,27,.18); }
.standard-video-stage video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 15px; background: #000; object-fit: contain; }
.standard-video-stills { max-width: 980px; margin: 12px auto 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.standard-video-stills figure,.gallery-example-grid figure,.deck-example-rail figure,.document-example-pages figure { min-width: 0; margin: 0; overflow: hidden; }
.standard-video-stills figure { border-radius: 14px; background: #ececef; }
.standard-video-stills img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; }
.standard-video-stills figcaption,.gallery-example-grid figcaption,.deck-example-rail figcaption,.document-example-pages figcaption { padding: 11px 13px; color: #66666c; font-size: 10px; line-height: 1.35; }

.gallery-example-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.gallery-example-grid figure { border: 1px solid #e2e2e6; border-radius: 18px; background: #fff; box-shadow: 0 14px 36px rgba(33,27,22,.07); }
.gallery-example-grid img { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; }
.gallery-example--brand-design-agent { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gallery-example--brand-design-agent img { aspect-ratio: 16 / 10; }
.gallery-example--instagram-post-creator { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; }
.gallery-example--instagram-post-creator figure { border-radius: 14px; }
.gallery-example--product-photography-creator img { aspect-ratio: 4 / 5; }

.deck-example-stage { margin-top: 38px; padding: 22px; border-radius: 24px; background: linear-gradient(145deg,#17181c,#2b2c32); box-shadow: 0 28px 75px rgba(20,20,24,.19); }
.deck-example-topline,.document-example-topline { margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.deck-example-topline { color: rgba(255,255,255,.58); }
.deck-example-topline b,.document-example-topline b { font-size: 9px; font-weight: 500; }
.deck-example-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.deck-example-rail figure { border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.deck-example-rail img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: contain; background: #fff; }
.deck-example-rail figcaption { color: #b7b7bd; background: #23242a; }

.document-example-stage { max-width: 1040px; margin: 38px auto 0; padding: 22px; border: 1px solid #dedee2; border-radius: 24px; background: linear-gradient(145deg,#f2f0ec,#e8e5df); box-shadow: 0 24px 65px rgba(46,36,29,.12); }
.document-example-topline { color: #77777c; }
.document-example-pages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 14px; }
.document-example-pages figure { border-radius: 5px; background: #fff; box-shadow: 0 13px 34px rgba(45,35,28,.15); }
.document-example-pages img { width: 100%; height: auto; display: block; object-fit: contain; background: #fff; }
.document-example-pages figcaption { border-top: 1px solid #ececef; background: #fff; }
.document-example-pages figure:only-child { grid-column: 2; }

.standard-output-downloads { max-width: 720px; margin: 18px auto 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.standard-output-downloads a:only-child { grid-column: 1 / -1; width: min(100%,420px); justify-self: center; }
.standard-output-downloads a { min-width: 0; min-height: 72px; padding: 15px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid #dfdfe3; border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: 0 10px 28px rgba(33,26,21,.05); transition: transform .2s,box-shadow .2s; }
.standard-output-downloads a:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(33,26,21,.09); }
.standard-output-downloads svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: #bf5a16; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.standard-output-downloads span,.standard-output-downloads strong,.standard-output-downloads small { min-width: 0; display: block; }
.standard-output-downloads strong { color: var(--ink); font-size: 12px; }
.standard-output-downloads small { margin-top: 4px; color: #86868b; font-size: 9px; line-height: 1.35; }

.standard-output--animated-video-agent .standard-video-stills { grid-template-columns: repeat(4,minmax(0,1fr)); }
.standard-output--property-walkthrough-agent .standard-video-stills { grid-template-columns: repeat(2,minmax(0,1fr)); }
.standard-output--property-walkthrough-agent .standard-video-stills img { aspect-ratio: 16 / 9; }
.clip-comparison-grid { max-width: 1080px; margin: 38px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clip-comparison-panel { min-width: 0; margin: 0; padding: 11px; border: 1px solid #dedee3; border-radius: 21px; background: #f5f4f2; box-shadow: 0 22px 60px rgba(27,23,20,.1); }
.clip-comparison-panel.is-edited { background: linear-gradient(145deg,#18202b,#272019); border-color: rgba(255,255,255,.12); }
.clip-comparison-label { padding: 4px 5px 11px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #5d5d63; font-size: 10px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; }
.clip-comparison-panel.is-edited .clip-comparison-label { color: rgba(255,255,255,.7); }
.clip-comparison-label b { padding: 5px 8px; border: 1px solid currentColor; border-radius: 99px; font-size: 8px; opacity: .75; }
.clip-comparison-panel video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 13px; background: #000; object-fit: contain; }

.inline-pdf-viewer { max-width: 1040px; margin: 28px auto 0; overflow: hidden; border: 1px solid #dcdce1; border-radius: 22px; background: #f4f4f6; box-shadow: 0 22px 60px rgba(33,28,24,.1); }
.inline-pdf-toolbar { min-height: 70px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid #dcdce1; background: rgba(255,255,255,.94); }
.inline-pdf-toolbar span,.inline-pdf-toolbar strong { display: block; }
.inline-pdf-toolbar span { margin-bottom: 4px; color: #86868b; font-size: 9px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.inline-pdf-toolbar strong { font-size: 12px; }
.inline-pdf-actions { display: flex; align-items: center; gap: 8px; }
.inline-pdf-actions a { padding: 8px 12px; border: 1px solid #d6d6da; border-radius: 999px; background: #fff; color: #343438; font-size: 10px; font-weight: 600; }
.inline-pdf-actions a:hover { border-color: #aaaab0; }
.inline-pdf-frame { width: 100%; height: min(76vh,780px); min-height: 620px; display: block; border: 0; background: #ececef; }
.interior-pdf-viewer { margin-top: 22px; }

.agent-example-showcase img[data-expandable-image="true"] { cursor: zoom-in; }
.agent-example-showcase img[data-expandable-image="true"]:focus-visible { outline: 3px solid rgba(0,113,227,.42); outline-offset: -3px; }
.example-lightbox { width: min(94vw,1440px); max-width: none; height: min(92vh,980px); max-height: none; padding: 0; overflow: visible; border: 0; border-radius: 20px; background: #101012; box-shadow: 0 35px 110px rgba(0,0,0,.55); }
.example-lightbox::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(12px); }
.example-lightbox figure { width: 100%; height: 100%; margin: 0; padding: 18px; display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 12px; }
.example-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; cursor: default; }
.example-lightbox figcaption { color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.45; text-align: center; }
.example-lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(20,20,22,.78); color: #fff; cursor: pointer; backdrop-filter: blur(12px); }
.example-lightbox-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.interior-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.interior-before-after figure, .interior-direction-grid figure { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #f1eee9; }
.interior-before-after figure { border-radius: 22px; }
.interior-before-after img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.interior-before-after figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 15px 17px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.88); box-shadow: 0 10px 32px rgba(24,20,17,.12); backdrop-filter: blur(18px); }
.interior-before-after figcaption span { color: #77777c; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.interior-before-after figcaption strong { font-size: 14px; }
.interior-before-after .recommended-direction { box-shadow: inset 0 0 0 2px #c66c58; }
.interior-direction-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.interior-direction-grid figure { border-radius: 18px; }
.interior-direction-grid img { width: 100%; aspect-ratio: 1.28; display: block; object-fit: cover; transition: transform .35s ease; }
.interior-direction-grid figure:hover img { transform: scale(1.018); }
.interior-direction-grid figcaption { padding: 16px 17px 18px; background: #fff; }
.interior-direction-grid figcaption strong, .interior-direction-grid figcaption span { display: block; }
.interior-direction-grid figcaption strong { font-size: 13px; }
.interior-direction-grid figcaption span { margin-top: 5px; color: #7b7b80; font-size: 10px; line-height: 1.45; }
.interior-packet-download { max-width: 560px; min-height: 78px; margin: 20px auto 0; padding: 17px 20px; display: flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid #dedee2; border-radius: 17px; background: rgba(255,255,255,.8); box-shadow: 0 12px 32px rgba(46,34,26,.06); transition: transform .2s, box-shadow .2s; }
.interior-packet-download:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(46,34,26,.1); }
.interior-packet-download svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: #bf5a16; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.interior-packet-download span, .interior-packet-download strong, .interior-packet-download small { display: block; }
.interior-packet-download strong { font-size: 13px; }
.interior-packet-download small { margin-top: 5px; color: #86868b; font-size: 10px; }

.storybook-reader { padding: 22px 24px 20px; border: 1px solid #d7d7dc; border-radius: 26px; background: linear-gradient(145deg, #f4efe7, #e8e1d7); box-shadow: 0 28px 75px rgba(49,35,26,.15); }
.storybook-reader-topline { margin: 0 58px 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #56565b; font-size: 11px; }
.storybook-reader-topline div { display: flex; align-items: center; gap: 8px; }
.storybook-reader-topline strong { font-weight: 600; }
.storybook-reader-topline p { margin: 0; color: #76767d; }
.reader-status-dot { width: 7px; height: 7px; display: block; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,.1); }
.storybook-reader-stage-wrap { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; align-items: center; gap: 14px; }
.reader-nav { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(82,72,62,.16); border-radius: 50%; background: rgba(255,255,255,.76); color: #3d3934; cursor: pointer; box-shadow: 0 6px 18px rgba(49,35,26,.08); }
.reader-nav:hover { background: #fff; }
.reader-nav:disabled { opacity: .3; cursor: default; }
.reader-nav svg, .storybook-deliverables svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.storybook-stage { position: relative; aspect-ratio: 11 / 8.5; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 4px 7px 7px 4px; background: #f8f0df; box-shadow: 0 17px 38px rgba(42,31,22,.22), 0 2px 4px rgba(42,31,22,.16); perspective: 1800px; cursor: pointer; outline: none; }
.storybook-stage:focus-visible { box-shadow: 0 0 0 4px rgba(0,113,227,.2), 0 17px 38px rgba(42,31,22,.22); }
.storybook-page { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #f8f0df; transform-origin: center; }
.storybook-page-left { border-right: 1px solid rgba(45,34,24,.16); }
.storybook-page-right { border-left: 1px solid rgba(255,255,255,.7); }
.storybook-page img { width: 100%; height: 100%; display: block; object-fit: cover; user-select: none; }
.storybook-page.is-blank { background: linear-gradient(135deg, #eee6d7, #faf4e8); }
.storybook-page.is-blank::after { position: absolute; inset: 11px; border: 1px solid rgba(91,76,59,.08); content: ''; }
.storybook-spine { position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 30px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(47,33,23,.12), rgba(255,255,255,.1) 40%, rgba(47,33,23,.14)); pointer-events: none; mix-blend-mode: multiply; }
.storybook-stage.turn-forward .storybook-page-right { animation: storybook-turn-forward .36s ease; }
.storybook-stage.turn-back .storybook-page-left { animation: storybook-turn-back .36s ease; }
@keyframes storybook-turn-forward { 0% { transform: rotateY(0); filter: brightness(1); } 48% { transform: rotateY(-7deg); filter: brightness(.82); } 100% { transform: rotateY(0); filter: brightness(1); } }
@keyframes storybook-turn-back { 0% { transform: rotateY(0); filter: brightness(1); } 48% { transform: rotateY(7deg); filter: brightness(.82); } 100% { transform: rotateY(0); filter: brightness(1); } }
.storybook-progress { height: 3px; margin: 18px 58px 0; overflow: hidden; border-radius: 9px; background: rgba(75,64,54,.12); }
.storybook-progress span { width: 5%; height: 100%; display: block; border-radius: inherit; background: #bf6b3e; transition: width .25s ease; }
.reader-help { margin: 11px 58px 0; color: #77726d; font-size: 10px; text-align: center; }

.storybook-deliverables { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.storybook-deliverables > a { min-width: 0; min-height: 82px; padding: 17px 19px; display: flex; align-items: center; gap: 14px; border: 1px solid #e1e1e5; border-radius: 17px; background: rgba(255,255,255,.78); transition: transform .2s, box-shadow .2s; }
.storybook-deliverables > a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(49,35,26,.08); }
.storybook-deliverables > a svg { flex: 0 0 auto; color: #bf5a16; }
.storybook-deliverables > a span { min-width: 0; }
.storybook-deliverables > a strong, .storybook-deliverables > a small { display: block; }
.storybook-deliverables > a strong { color: var(--ink); font-size: 13px; }
.storybook-deliverables > a small { margin-top: 5px; color: #86868b; font-size: 10px; }
.storybook-print-note { grid-column: 1 / -1; padding: 18px 20px; border-left: 3px solid #bf6b3e; background: #f7f1e8; }
.storybook-print-note strong { font-size: 12px; }
.storybook-print-note p { margin: 6px 0 0; color: #65656b; font-size: 11px; line-height: 1.55; }
.storybook-print-note b { color: #3d3d40; }
.agent-example-showcase + .agent-seo-content { margin-top: 78px; }

.agent-seo-content { width: min(980px, calc(100% - 32px)); margin: 104px auto 30px; padding-top: 64px; border-top: 1px solid #e5e5e7; text-align: left; }
.agent-seo-intro { max-width: 760px; }
.agent-seo-intro h2, .agent-seo-how h2, .agent-seo-faq h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.08; }
.agent-seo-intro p { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.agent-seo-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.agent-seo-grid article { min-width: 0; padding: 24px; border: 1px solid #e5e5e7; border-radius: 18px; background: rgba(255,255,255,.72); }
.agent-seo-grid h3 { margin: 0 0 11px; font-size: 15px; letter-spacing: -.01em; }
.agent-seo-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.agent-seo-how, .agent-seo-faq { margin-top: 74px; }
.agent-seo-steps { margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; list-style: none; counter-reset: agent-step; }
.agent-seo-steps li { position: relative; padding-top: 44px; color: var(--muted); font-size: 14px; line-height: 1.55; counter-increment: agent-step; }
.agent-seo-steps li::before { position: absolute; top: 0; left: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--light); color: var(--ink); font-size: 12px; font-weight: 600; content: counter(agent-step); }
.agent-seo-steps strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 15px; }
.agent-seo-faq-list { margin-top: 28px; border-top: 1px solid #e5e5e7; }
.agent-seo-faq details { padding: 20px 0; border-bottom: 1px solid #e5e5e7; }
.agent-seo-faq summary { color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; list-style-position: outside; }
.agent-seo-faq details p { max-width: 780px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.sign-in-page { position: relative; z-index: 1; min-height: 100vh; padding: 32px; display: grid; place-items: center; }
.sign-in-home { position: absolute; top: 32px; left: 42px; }
.sign-in-home img { width: 46px; height: 46px; display: block; border-radius: 13px; box-shadow: 0 9px 25px rgba(0,0,0,.1); }
.sign-in-panel { width: min(450px, calc(100% - 28px)); padding: 42px; border: 1px solid rgba(210,210,215,.8); border-radius: 26px; background: rgba(255,255,255,.84); box-shadow: 0 28px 80px rgba(63,44,31,.11); text-align: center; backdrop-filter: blur(22px); }
.sign-in-panel h1 { margin: 0; font-size: 38px; letter-spacing: -.045em; }
.sign-in-panel > p { margin: 14px auto 25px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#password-auth-form { display: grid; gap: 13px; }
#password-auth-form label { color: #48484a; font-size: 12px; font-weight: 600; text-align: left; }
#password-auth-form label[hidden] { display: none; }
#password-auth-form input { width: 100%; min-height: 48px; margin-top: 6px; padding: 0 14px; border: 1px solid #c7c7cc; border-radius: 12px; outline: 0; background: #fff; font-size: 15px; font-weight: 400; }
#password-auth-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.12); }
.auth-primary { min-height: 48px; margin-top: 4px; border: 0; border-radius: 13px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.auth-primary:hover { background: #000; }
.auth-secondary { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 12px; }
.auth-secondary button { padding: 0; border: 0; background: none; color: var(--blue); font-size: 12px; cursor: pointer; }
.auth-secondary button:hover { text-decoration: underline; }
.auth-secondary #forgot-password { flex-basis: 100%; margin-top: 5px; }
.auth-message { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--light); color: #48484a; font-size: 12px; line-height: 1.45; text-align: center; }
.sign-in-panel .sign-in-security { margin: 24px 0 0; color: #929298; font-size: 10px; }

.messages-route { height: 100vh; overflow: hidden; background: #fbfbfd; }
.messages-route > header, .messages-route > footer { display: none; }
.messages-route main { height: 100%; }
.messages-page { height: 100vh; display: grid; grid-template-rows: 78px minmax(0,1fr) auto; background: rgba(255,255,255,.76); }
.conversation-header { min-width: 0; padding: 0 28px 0 22px; display: flex; align-items: center; border-bottom: 1px solid #e9e9ee; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.conversation-back { width: 42px; height: 44px; margin-right: 6px; display: grid; place-items: center; border-radius: 50%; color: #20202a; font-size: 36px; font-weight: 300; line-height: 1; }
.conversation-back:hover { background: #f2f2f6; }
.conversation-avatar, .conversation-message-avatar { display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #bae6fd; border-radius: 50%; background: #ecfeff; box-shadow: 0 4px 10px rgba(8,145,178,.1); }
.conversation-avatar { width: 42px; height: 42px; font-size: 18px; }
.conversation-avatar img, .conversation-message-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.conversation-heading { min-width: 0; margin-left: 14px; }
.conversation-heading > div { display: flex; align-items: center; gap: 8px; }
.conversation-heading h1 { min-width: 0; margin: 0; overflow: hidden; color: #101018; font-size: 20px; font-weight: 700; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.conversation-heading p { margin: 5px 0 0; color: #656578; font-size: 13px; font-weight: 500; }
.conversation-ai-badge { padding: 2px 6px; border-radius: 5px; background: #e6f7f8; color: #0f6f78; font-size: 11px; font-weight: 800; }
.conversation-spaces-home { width: 36px; height: 36px; margin-left: auto; display: block; }
.conversation-spaces-home img { width: 100%; height: 100%; display: block; border-radius: 10px; box-shadow: 0 5px 16px rgba(0,0,0,.08); }
.conversation-thread { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; background: #fbfbfd; }
.conversation-message-list { width: min(980px,100%); min-height: 100%; margin: 0 auto; padding: 30px 28px 34px; display: flex; flex-direction: column; gap: 18px; }
.conversation-message-row { width: 100%; display: flex; align-items: flex-start; }
.conversation-message-row.is-user { justify-content: flex-end; }
.conversation-message-row.is-agent { justify-content: flex-start; gap: 9px; }
.conversation-message-avatar { width: 34px; height: 34px; margin-top: 19px; font-size: 14px; }
.conversation-message-content { min-width: 0; max-width: min(720px,calc(100% - 45px)); }
.conversation-message-sender { min-height: 19px; margin: 0 0 5px 4px; display: flex; align-items: center; gap: 6px; color: #626273; font-size: 12px; font-weight: 700; }
.conversation-message-text { color: #111118; font-size: 15px; font-weight: 500; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; }
.conversation-message-row.is-user .conversation-message-content { max-width: min(620px,78%); padding: 12px 17px; border-radius: 18px 18px 6px 18px; background: #e7f0ff; }
.conversation-message-row.is-agent .conversation-message-text { padding: 20px 4px; }
.conversation-message-text.is-markdown { white-space: normal; }
.conversation-message-text.is-markdown p, .conversation-message-text.is-markdown h2, .conversation-message-text.is-markdown h3, .conversation-message-text.is-markdown ul, .conversation-message-text.is-markdown ol, .conversation-message-text.is-markdown table { margin: 0 0 12px; }
.conversation-message-text.is-markdown > :last-child { margin-bottom: 0; }
.conversation-message-text.is-markdown h2 { margin-top: 26px; color: #101018; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.conversation-message-text.is-markdown h3 { margin-top: 20px; color: #101018; font-size: 17px; line-height: 1.25; }
.conversation-message-text.is-markdown h2:first-child, .conversation-message-text.is-markdown h3:first-child { margin-top: 0; }
.conversation-message-text.is-markdown ul, .conversation-message-text.is-markdown ol { padding-left: 22px; }
.conversation-message-text.is-markdown li + li { margin-top: 5px; }
.conversation-message-text.is-markdown a { color: #005fbf; text-decoration: underline; text-decoration-color: rgba(0,95,191,.32); text-underline-offset: 2px; }
.conversation-message-text.is-markdown code { padding: 2px 5px; border-radius: 5px; background: #f0f0f3; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .9em; }
.conversation-message-text.is-markdown hr { height: 1px; margin: 30px 0 0; border: 0; background: #e2e8f0; }
.conversation-message-text.is-markdown hr + * { margin-top: 38px; }
.conversation-message-text.is-markdown table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; border-spacing: 0; font-size: 13px; }
.conversation-message-text.is-markdown th, .conversation-message-text.is-markdown td { min-width: 145px; padding: 10px 12px; border: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.conversation-message-text.is-markdown th { background: #f1f5f9; color: #334155; font-weight: 800; }
.conversation-message-text.is-markdown td { background: #fff; }
.conversation-message-time { margin-top: 6px; color: #7a7a8b; font-size: 11px; font-weight: 500; }
.conversation-message-row.is-user .conversation-message-time { text-align: right; }
.conversation-file-list { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px; }
.conversation-file-chip { max-width: 260px; padding: 7px 10px; overflow: hidden; border: 1px solid #d8e2f2; border-radius: 999px; background: rgba(255,255,255,.72); color: #434356; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.conversation-run-card { width: min(620px,calc(100% - 45px)); padding: 14px; border: 1px solid #e2e8f0; border-radius: 18px; background: #f8fafc; box-shadow: 0 8px 18px rgba(0,0,0,.04); }
.conversation-run-top { display: flex; align-items: center; gap: 10px; }
.conversation-run-copy { min-width: 0; flex: 1; }
.conversation-run-copy strong, .conversation-run-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-run-copy strong { color: #111827; font-size: 14px; font-weight: 800; }
.conversation-run-copy span { margin-top: 3px; color: #64748b; font-size: 12px; font-weight: 600; }
.conversation-run-pill { padding: 5px 9px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(8,145,178,.22); border-radius: 999px; background: rgba(8,145,178,.1); color: #0e7490; font-size: 11px; font-weight: 800; white-space: nowrap; }
.conversation-run-pill::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; animation: conversation-pulse .9s ease-in-out infinite alternate; }
.conversation-run-track { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: rgba(8,145,178,.12); }
.conversation-run-track::after { width: 38%; height: 100%; display: block; border-radius: inherit; background: #0891b2; content: ""; animation: conversation-progress 1.5s ease-in-out infinite; }
@keyframes conversation-pulse { from { opacity: .35; } to { opacity: 1; } }
@keyframes conversation-progress { from { transform: translateX(-110%); } to { transform: translateX(370%); } }
.conversation-deliverables-section { margin-top: 24px; }
.conversation-deliverables-section + .conversation-message-text { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e2e8f0; }
.conversation-deliverables-section > h3 { margin: 0 0 10px; color: #111827; font-size: 15px; }
.conversation-deliverables { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.conversation-deliverable-card { min-width: 0; min-height: 54px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #dbe4ea; border-radius: 14px; background: #fff; color: #164e63; font-size: 12px; font-weight: 800; box-shadow: 0 6px 16px rgba(15,23,42,.045); }
.conversation-deliverable-card::after { flex: 0 0 auto; color: #0e7490; content: "↗"; }
.conversation-deliverable-card:hover { border-color: #67c6d8; box-shadow: 0 8px 20px rgba(8,145,178,.1); }
.conversation-deliverable-card.is-document { grid-column: 1 / -1; min-height: 62px; border-color: #99dbe5; background: #ecfeff; color: #0c4a6e; font-size: 14px; }
.conversation-deliverable-card.is-document::after { content: "Download ↓"; font-size: 11px; }
.conversation-deliverable-card.is-image { min-height: 145px; padding: 0; position: relative; overflow: hidden; align-items: flex-end; }
.conversation-deliverable-card.is-image img { width: 100%; height: 145px; display: block; object-fit: cover; }
.conversation-deliverable-card.is-image span { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 12px 10px; color: #fff; background: linear-gradient(transparent,rgba(0,0,0,.76)); }
.conversation-deliverable-card.is-image::after { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(0,0,0,.48); }
.conversation-error-card { width: min(620px,calc(100% - 45px)); margin-left: 43px; padding: 12px 14px; border: 1px solid #fecaca; border-radius: 12px; background: #fef2f2; color: #991b1b; font-size: 13px; font-weight: 700; line-height: 1.4; }
.conversation-retry { width: fit-content; margin-top: 10px; padding: 8px 13px; border: 0; border-radius: 999px; background: #991b1b; color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.conversation-composer-dock { padding: 14px 24px 16px; border-top: 1px solid rgba(233,233,238,.8); background: linear-gradient(to bottom,rgba(251,251,253,.82),#fbfbfd 26%); }
.conversation-composer { width: min(900px,100%); min-height: 56px; margin: 0 auto; padding: 6px 7px 6px 18px; display: flex; align-items: flex-end; gap: 10px; border: 1px solid #e2e2e8; border-radius: 28px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.conversation-composer:focus-within { border-color: #b8b8c3; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.conversation-composer textarea { min-width: 0; min-height: 42px; max-height: 130px; flex: 1; padding: 11px 0 8px; resize: none; overflow-y: auto; border: 0; outline: 0; background: transparent; color: #15151b; font-size: 16px; line-height: 1.3; }
.conversation-composer textarea::placeholder { color: #7f7f8c; font-weight: 500; }
.conversation-composer textarea:disabled { color: #9a9aa8; }
.conversation-composer button { width: 42px; height: 42px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: #17171d; color: #fff; cursor: pointer; font-size: 23px; line-height: 1; }
.conversation-composer button:disabled { background: #efeff2; color: #aaaab2; cursor: default; }
.conversation-composer-dock > p { margin: 8px auto 0; color: #858591; font-size: 10px; text-align: center; }
.conversation-composer-dock > p.is-prominent { width: fit-content; max-width: min(900px,100%); padding: 8px 13px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #bae6fd; border-radius: 999px; background: #ecfeff; color: #0c4a6e; box-shadow: 0 5px 14px rgba(8,145,178,.08); font-size: 12px; font-weight: 800; }
.conversation-composer-dock > p.is-prominent::before { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #0891b2; content: ""; }
.conversation-spaces-handoff { width: min(900px,100%); min-height: 50px; margin: 0 auto; padding: 4px 2px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.conversation-spaces-handoff[hidden] { display: none; }
.conversation-spaces-handoff > strong { color: #475569; font-size: 13px; font-weight: 700; }
.conversation-spaces-primary { padding: 10px 16px; border-radius: 999px; background: #111827; color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 5px 12px rgba(15,23,42,.13); }
.conversation-spaces-primary:hover { background: #0e7490; }

footer { min-height: 110px; padding: 30px max(24px, calc((100% - 1024px) / 2)); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e5e5e7; background: var(--light); color: #6e6e73; font-size: 11px; }
footer div { display: flex; gap: 20px; }

@media (max-width: 1050px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .subscription-shell { gap: 38px; }
}

@media (max-width: 650px) {
  body > header { height: 52px; }
  .nav-inner { width: calc(100% - 28px); }
  nav { gap: 20px; font-size: 12px; }
  .brand img { width: 27px; height: 27px; }
  .download { display: none; }
  .directory-hero { padding: 82px 18px 58px; }
  .directory-hero h1 { font-size: 40px; }
  .directory-hero > p:last-child { font-size: 16px; }
  .catalog { padding-right: 12px; padding-left: 12px; }
  .catalog-tools { display: block; }
  .search { margin-top: 12px; }
  .grid { grid-template-columns: 1fr; }
  .card { max-width: 480px; margin: auto; }
  .card p { min-height: 0; }
  .detail-page::before, .sign-in-route::before, .subscription-route::before { right: -360px; opacity: .7; }
  .detail { padding: 20px 18px 48px; }
  .back-to-agents { gap: 10px; font-size: 12px; }
  .back-to-agents img { width: 43px; height: 43px; border-radius: 12px; }
  .detail-main { width: 100%; margin-top: 34px; }
  .detail h1 { font-size: 42px; }
  .detail-description { margin-top: 17px; padding: 0 8px; font-size: 16px; }
  .agent-composer { margin-top: 30px; }
  .input-fields { grid-template-columns: 1fr; }
  .file-drop { min-height: 210px; padding: 20px 15px; }
  .prompt-composer { min-height: 175px; padding: 25px 63px 55px 23px; border-radius: 18px; }
  .prompt-composer textarea { font-size: 16px; }
  .has-required-inputs .prompt-composer { padding-right: 64px; padding-left: 51px; }
  .attach-trigger { left: 20px; bottom: 18px; }
  #run-agent { right: 20px; bottom: 18px; }
  .sign-in-page { padding: 84px 14px 30px; }
  .sign-in-home { top: 20px; left: 20px; }
  .sign-in-home img { width: 42px; height: 42px; }
  .sign-in-panel { width: 100%; padding: 32px 22px; border-radius: 22px; }
  .sign-in-panel h1 { font-size: 34px; }
  .auth-secondary { gap: 6px; }
  .agent-subscription-page { padding: 82px 16px 34px; }
  .subscription-home { top: 20px; left: 20px; }
  .subscription-home img { width: 42px; height: 42px; }
  .subscription-shell { grid-template-columns: 1fr; gap: 28px; }
  .subscription-agent-intro { padding: 0 5px; text-align: center; }
  .subscription-agent-icon { width: 68px; height: 68px; margin: auto; border-radius: 20px; }
  .subscription-kicker { margin-top: 22px; }
  .subscription-agent-intro h1 { font-size: 42px; }
  .subscription-agent-intro > p:not(.subscription-kicker) { margin: 17px auto 0; font-size: 15px; }
  .subscription-request { margin: 22px auto 0; text-align: left; }
  .subscription-offer { padding: 24px 20px; border-radius: 22px; }
  .subscription-price strong { font-size: 42px; }
  .subscription-features { grid-template-columns: 1fr; gap: 15px; }
  .subscription-purchase-note { margin-right: 0; margin-left: 0; }
  .messages-page { grid-template-rows: 66px minmax(0,1fr) auto; }
  .conversation-header { padding: 0 12px 0 4px; }
  .conversation-back { margin-right: 0; }
  .conversation-avatar { width: 40px; height: 40px; }
  .conversation-heading { margin-left: 11px; }
  .conversation-heading h1 { font-size: 18px; }
  .conversation-heading p { margin-top: 2px; font-size: 12px; }
  .conversation-spaces-home { width: 32px; height: 32px; }
  .conversation-message-list { padding: 18px 14px 24px; gap: 15px; }
  .conversation-message-content { max-width: calc(100% - 43px); }
  .conversation-message-row.is-user .conversation-message-content { max-width: 82%; }
  .conversation-message-text { font-size: 16px; line-height: 1.35; }
  .conversation-message-avatar { margin-top: 20px; }
  .conversation-run-card, .conversation-error-card { width: calc(100% - 43px); }
  .conversation-error-card { margin-left: 43px; }
  .conversation-run-pill { display: none; }
  .conversation-deliverables { grid-template-columns: 1fr; }
  .conversation-composer-dock { padding: 8px 8px max(10px,env(safe-area-inset-bottom)); }
  .conversation-composer { min-height: 56px; padding-left: 15px; }
  .conversation-composer-dock > p { display: none; }
  .conversation-composer-dock > p.is-prominent { margin-top: 7px; padding: 7px 11px; display: flex; font-size: 11px; }
  .conversation-spaces-handoff { min-height: 48px; padding: 2px; gap: 10px; }
  .conversation-spaces-handoff > strong { font-size: 11px; }
  .conversation-spaces-primary { padding: 10px 13px; white-space: nowrap; }
  .agent-seo-content { margin-top: 76px; padding-top: 48px; }
  .agent-example-showcase { width: 100%; margin-top: 78px; }
  .example-heading { padding: 0 8px; }
  .example-heading h2 { font-size: 34px; }
  .example-heading > p:last-child { font-size: 14px; }
  .agent-prompt-example { margin-top: 64px; padding: 20px; border-radius: 19px; }
  .agent-prompt-example .example-heading { padding: 0; display: block; }
  .agent-prompt-example .example-kicker { margin-bottom: 12px; }
  .agent-prompt-example .example-heading h2 { font-size: 28px; }
  .agent-prompt-example .example-heading > p:last-child { margin-top: 12px; font-size: 12px; }
  .example-prompt-card { margin: 30px 0 34px; padding: 17px; display: block; border-radius: 16px; }
  .example-prompt-card button { width: 100%; margin-top: 15px; }
  .agent-prompt-example .example-prompt-card { margin-top: 20px; }
  .video-example-showcase { margin-top: 58px; }
  .video-example-shell,.video-example-shell.is-vertical { margin-top: 30px; padding: 10px; grid-template-columns: 1fr; border-radius: 20px; }
  .video-example-shell.is-vertical .video-example-player { width: min(100%,360px); margin: 0 auto; }
  .video-example-player { border-radius: 13px; }
  .video-example-notes { padding: 17px 10px 13px; }
  .video-example-notes h3 { margin-top: 19px; font-size: 27px; }
  .video-example-notes ol { margin-top: 24px; gap: 15px; }
  .video-example-downloads { grid-template-columns: 1fr; }
  .standard-output-showcase { margin-top: 58px; }
  .standard-video-stage,.deck-example-stage,.document-example-stage { margin-top: 30px; padding: 10px; border-radius: 18px; }
  .standard-video-stage video { border-radius: 11px; }
  .standard-video-stills,.deck-example-rail,.document-example-pages { grid-template-columns: 1fr; }
  .standard-video-stills { gap: 8px; }
  .gallery-example-grid,.gallery-example--brand-design-agent,.gallery-example--instagram-post-creator { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-example-grid figure { border-radius: 13px; }
  .document-example-pages figure:only-child { grid-column: 1; }
  .standard-output-downloads { grid-template-columns: 1fr; }
  .standard-output--animated-video-agent .standard-video-stills { grid-template-columns: 1fr 1fr; }
  .standard-output--property-walkthrough-agent .standard-video-stills { grid-template-columns: 1fr; }
  .clip-comparison-grid { margin-top: 30px; grid-template-columns: 1fr; gap: 10px; }
  .clip-comparison-panel { border-radius: 16px; }
  .inline-pdf-viewer { margin-top: 20px; border-radius: 17px; }
  .inline-pdf-toolbar { padding: 13px; align-items: flex-start; }
  .inline-pdf-actions { flex-direction: column; align-items: stretch; }
  .inline-pdf-actions a { padding: 7px 10px; text-align: center; }
  .inline-pdf-frame { height: 68vh; min-height: 480px; }
  .example-lightbox { width: 96vw; height: 88vh; border-radius: 15px; }
  .example-lightbox figure { padding: 10px; }
  .interior-before-after { grid-template-columns: 1fr; }
  .interior-before-after figure { border-radius: 17px; }
  .interior-before-after figcaption { right: 12px; bottom: 12px; left: 12px; padding: 13px; }
  .interior-direction-grid { grid-template-columns: 1fr; }
  .interior-direction-grid img { aspect-ratio: 1.55; }
  .interior-packet-download { width: 100%; }
  .storybook-reader { padding: 14px 10px 15px; border-radius: 18px; }
  .storybook-reader-topline { margin: 0 38px 12px; }
  .storybook-reader-stage-wrap { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 5px; }
  .reader-nav { width: 30px; height: 30px; }
  .reader-nav svg { width: 16px; height: 16px; }
  .storybook-stage { border-radius: 2px 4px 4px 2px; }
  .storybook-spine { width: 16px; }
  .storybook-progress { margin: 13px 38px 0; }
  .reader-help { margin: 9px 34px 0; }
  .storybook-deliverables { grid-template-columns: 1fr; }
  .storybook-print-note { grid-column: 1; }
  .agent-seo-grid, .agent-seo-steps { grid-template-columns: 1fr; }
  .agent-seo-grid { gap: 10px; }
  .agent-seo-how, .agent-seo-faq { margin-top: 54px; }
  footer { align-items: flex-start; flex-wrap: wrap; }
}
