:root { color-scheme: light; --piipe-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='48' y1='32' x2='464' y2='480' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23795cff'/%3E%3Cstop offset='.52' stop-color='%23635bff'/%3E%3Cstop offset='1' stop-color='%233157d5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='512' height='512' rx='112' fill='url(%23g)'/%3E%3Cpath d='M96 316V126C96 101.7 115.7 82 140 82h30c46 0 74 24 74 60s-28 60-74 60H96' fill='none' stroke='%23fff' stroke-width='44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 82% 12%, rgba(99,91,255,.13), transparent 34%), linear-gradient(145deg,#f8faff 0%,#eef3fb 100%); color: #102a43; }
.preview-shell { width: min(560px, calc(100% - 40px)); margin: 0 auto; padding: max(32px, env(safe-area-inset-top)) 0 max(36px, env(safe-area-inset-bottom)); }
.preview-brand { display: inline-flex; align-items: center; gap: 11px; color: #102a43; font-size: 22px; font-weight: 760; letter-spacing: -.04em; text-decoration: none; }
.preview-mark { display: flex; width: 44px; height: 44px; padding: 0; align-items: flex-start; justify-content: flex-start; border-radius: 13px; color: transparent; background: var(--piipe-logo) center / cover no-repeat; box-shadow: 0 14px 32px rgba(99,91,255,.24); font-size: 0; font-weight: 800; line-height: 1; }
.preview-card { margin-top: clamp(54px, 12vh, 108px); padding: clamp(28px, 7vw, 48px); border: 1px solid rgba(162,178,198,.42); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 28px 80px rgba(16,42,67,.12); backdrop-filter: blur(24px); }
.eyebrow { margin: 0 0 14px; color: #635bff; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; color: #0a2540; font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: clamp(48px,5.4vw,76px); font-weight: 730; line-height: 1.03; letter-spacing: -.04em; }
h1 em { color: transparent; background: linear-gradient(100deg,#635bff 8%,#a64bf4 46%,#00a884 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: normal; }
@media (max-width:680px) { h1 { font-size: clamp(41px,12vw,56px); } }
@media (forced-colors:active) { h1 em { color: CanvasText; background: none; -webkit-text-fill-color: CanvasText; } }
#preview-copy { margin: 22px 0 0; color: #52667a; font-size: 18px; line-height: 1.6; }
.preview-status { min-height: 48px; margin: 28px 0 18px; padding: 13px 15px; border: 1px solid #dbe3ef; border-radius: 13px; color: #52667a; background: #f7f9fc; font-size: 14px; line-height: 1.45; }
.preview-status.error { border-color: #f3c2ca; color: #9d2943; background: #fff5f6; }
button { display: flex; width: 100%; min-height: 54px; padding: 0 20px; align-items: center; justify-content: space-between; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(100deg,#635bff,#4d68ef); box-shadow: 0 16px 32px rgba(99,91,255,.23); font: inherit; font-size: 16px; font-weight: 750; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
.preview-separator { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #718397; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.preview-separator::before, .preview-separator::after { content: ""; height: 1px; flex: 1; background: #dbe3ef; }
.preview-admin-action { display: flex; width: 100%; min-height: 54px; padding: 0 20px; align-items: center; justify-content: space-between; border: 1px solid #cbd7e6; border-radius: 14px; color: #102a43; background: rgba(255,255,255,.78); font-size: 16px; font-weight: 750; text-decoration: none; }
.preview-admin-action:hover { border-color: #9fb0c5; background: #fff; }
.preview-admin-action:focus-visible { outline: 3px solid rgba(99,91,255,.3); outline-offset: 3px; }
.preview-note { margin: 20px 0 0; color: #718397; font-size: 13px; line-height: 1.55; }
@media (max-width: 520px) { .preview-card { border-radius: 22px; } }
