@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root { color-scheme: light; --ink: #262838; --muted: #686b74; --line: #deded7; --paper: #f7f7f2; --blue: #0051e2; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Poppins", "Segoe UI", sans-serif; font-size: 13px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.chrome, main, .page-footer { width: min(1200px, calc(100% - 80px)); margin: 0 auto; }
.chrome { min-height: 103px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand img { display: block; width: 190px; height: auto; }
.back-link { font-size: 11px; text-decoration: none; color: var(--muted); }
.back-link span { margin-left: 12px; }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 40px 0 38px; }
.eyebrow { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 10px; color: var(--muted); }
h1 { font-size: clamp(30px, 3.5vw, 43px); font-weight: 500; letter-spacing: -.055em; line-height: 1.2; margin: 0; }
.intro > p { color: var(--muted); line-height: 1.85; margin: 0 0 2px; font-size: 12px; }
.workspace { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 48px; padding: 30px 0 40px; border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: center; gap: 12px; }
.section-number { font-size: 10px; font-weight: 500; letter-spacing: .06em; color: #777b85; }
h2 { margin: 0; font-size: 13px; font-weight: 600; }
form { padding-top: 24px; }
label { display: block; margin: 0 0 7px; font-size: 11px; font-weight: 500; }
.optional { font-size: 10px; font-weight: 400; color: var(--muted); float: right; }
input:not([type="checkbox"]), textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid #dcded9; border-radius: 3px; padding: 10px 11px; margin-bottom: 17px; font-size: 12px; line-height: 1.6; }
input:focus, textarea:focus { outline: 2px solid #0051e230; border-color: var(--blue); }
input::placeholder, textarea::placeholder { color: #777b85; }
textarea { resize: vertical; }
details { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 17px 0; font-size: 11px; font-weight: 500; }
.check { display: flex; align-items: center; gap: 7px; margin: 6px 0 18px; }
.check input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }
.source-note { color: var(--muted); line-height: 1.8; font-size: 10px; margin: 7px 0 0; }
.preview-area { min-width: 0; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; }
.live-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.live-label > span { width: 5px; height: 5px; background: #38ae00; border-radius: 50%; }
.style-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 22px; border-bottom: 1px solid var(--line); }
.style-picker button { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 3px 4px; padding: 8px 8px 16px; text-align: left; border: 0; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.style-picker button > span { font-size: 9px; padding-top: 2px; }
.style-picker strong { font-size: 12px; font-weight: 500; }
.style-picker small { grid-column: 2; font-size: 9px; }
.style-picker button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.style-picker button[aria-pressed="true"] > span { color: var(--blue); }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 21px 0 16px; }
.segmented { display: flex; padding: 3px; background: #eaece6; border-radius: 4px; }
.segmented button { padding: 8px 13px; border: none; background: transparent; color: var(--muted); border-radius: 2px; font-size: 11px; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #26283812; }
.device-toggle { padding: 6px 0; border: none; background: none; color: var(--muted); font-size: 10px; }
.device-toggle[aria-pressed="true"] { color: var(--blue); }
.mail-stage { min-height: 451px; background: linear-gradient(125deg, #eaece6, #f0f0ea); padding: 20px; display: flex; justify-content: center; align-items: flex-start; }
.mail { width: 100%; background: white; box-shadow: 0 4px 22px #26283807; border: 1px solid #dfe2db; }
.mail.mobile { max-width: 360px; }
.mail-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px; border-bottom: 1px solid #eceeea; font-size: 11px; color: #555b65; }
.mail-tag { color: #92959b; font-size: 9px; }
.mail-body { padding: 22px 27px 28px; }
.message { color: #414650; font: 13px/1.7 Arial, sans-serif; }
.message p { margin: 0 0 14px; }
.message p:last-child { margin-bottom: 20px; }
iframe { display: block; width: 100%; min-height: 100px; border: none; background: white; }
.preview-caption { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); padding: 12px 0 23px; }
.export-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.primary-button { border: 1px solid var(--ink); background: var(--ink); color: white; padding: 12px 18px; border-radius: 3px; font-size: 11px; }
.primary-button span { padding-left: 25px; }
.primary-button:hover { background: #3b3e51; }
.primary-button:disabled { opacity: .5; cursor: not-allowed; }
.publishing-note { font-size: 11px; line-height: 1.8; color: #725511; background: #faf0d4; border-left: 2px solid #c28a11; padding: 10px 14px; margin: 0 0 16px; }
.text-button { padding: 10px 0; background: none; border: none; font-size: 11px; color: #515765; }
.text-button:hover { text-decoration: underline; }
.status { min-height: 19px; margin: 10px 0; font-size: 11px; color: #355039; }
.status.error { color: #9b2920; }
.install { color: var(--muted); font-size: 11px; line-height: 1.9; }
.install p { margin: 0 0 12px; max-width: 590px; }
.install a { display: inline-block; margin-bottom: 12px; }
.design-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; padding: 32px 0 37px; border-top: 1px solid var(--line); }
.design-notes h3 { font-size: 13px; font-weight: 500; margin: 10px 0 7px; }
.design-notes p { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0; max-width: 290px; }
.page-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; color: #777b85; font-size: 10px; }
@media (prefers-reduced-motion: no-preference) { main { animation: arrive 450ms ease-out both; } @keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } }
@media (max-width: 960px) { .chrome, main, .page-footer { width: calc(100% - 40px); } .workspace { grid-template-columns: 245px minmax(0, 1fr); gap: 26px; } .mail-stage { padding: 12px; } .mail-body { padding: 20px; } .preview-caption { flex-direction: column; gap: 5px; } .export-actions { gap: 15px; } }
@media (max-width: 760px) { .chrome { min-height: 85px; } .brand img { width: 158px; } .intro { display: block; padding: 28px 0; } .intro > p { margin-top: 18px; } .workspace { grid-template-columns: 1fr; gap: 30px; } .editor { max-width: none; } .preview-toolbar { gap: 8px; } .mail-body { padding: 20px 16px; } .mail-header { padding: 13px 16px; } .mail-tag { display: none; } .design-notes { grid-template-columns: 1fr; gap: 22px; } .design-notes p { max-width: none; } .page-footer { font-size: 9px; } .back-link { font-size: 10px; } .back-link span { margin-left: 3px; } .style-picker button { grid-template-columns: 1fr; padding: 8px 4px 13px; } .style-picker small { grid-column: 1; font-size: 8px; } .style-picker strong { font-size: 11px; } }
