:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:minmax(220px,280px) minmax(380px,1fr) minmax(280px,360px);min-height:100vh;display:grid}.template-panel,.input-panel{background:#fbfcff;border-style:solid;border-color:#d9e2ec;padding:24px}.template-panel{border-width:0 1px 0 0}.input-panel{border-width:0 0 0 1px;overflow-y:auto}.brand-lockup{align-items:center;gap:12px;margin-bottom:26px;display:flex}.brand-mark{color:#fff;background:#111827;justify-content:center;align-items:center;width:42px;height:42px;font-size:13px;font-weight:800;display:flex}h1,h2,p{margin:0}h1{color:#111827;white-space:nowrap;font-size:18px;line-height:22px}h2{color:#111827;font-size:22px;line-height:28px}.brand-lockup p,.eyebrow{color:#64748b;font-size:12px;line-height:18px}.brand-lockup a{color:inherit;text-decoration:none}.brand-lockup a:hover{color:#0f766e;text-decoration:underline}.theme-toggle{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin-top:14px;padding:0;display:flex}.theme-toggle:hover{color:#0f766e;border-color:#0f766e}.theme-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px}.legal-header .theme-toggle{margin-top:0}.eyebrow{letter-spacing:0;text-transform:uppercase;font-weight:800}.template-list{gap:10px;display:grid}.legal-links{border-top:1px solid #d9e2ec;gap:14px;margin-top:22px;padding-top:18px;display:flex}.legal-links a{color:#64748b;font-size:12px;font-weight:800;text-decoration:none}.legal-links a:hover{color:#0f766e;text-decoration:underline}.template-button{color:#111827;text-align:left;background:#fff;border:1px solid #d8e1ea;border-radius:0;gap:5px;padding:14px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.template-button span{font-size:14px;font-weight:800;line-height:18px}.template-button small{color:#64748b;font-size:12px;line-height:16px}.template-button:hover{border-color:#6da3b3;transform:translateY(-1px)}.template-button.is-active{box-shadow:none;border-width:2px;border-color:#0f766e;padding:13px}.preview-panel{grid-template-rows:auto minmax(260px,1fr) minmax(180px,26vh);gap:22px;min-width:0;padding:28px;display:grid}.preview-toolbar{justify-content:space-between;align-items:center;gap:18px;display:flex}.actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.actions button{color:#fff;white-space:nowrap;background:#0f766e;border:1px solid #0f766e;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 16px;font-size:13px;font-weight:800;line-height:18px;display:inline-flex}.actions button.secondary{color:#263238;background:#fff;border-color:#cbd5e1;box-shadow:0 1px 2px #0f172a14}.actions button.gmail{color:#3c4043;background:#fff;border-color:#dadce0;box-shadow:0 1px 2px #3c404324}.actions button.gmail:hover{background:#f8fafd;border-color:#c6cacf;box-shadow:0 1px 2px #3c40432e,0 1px 3px #3c40431f}.actions button.gmail:focus-visible{outline-offset:2px;outline:2px solid #1a73e8}.actions button.gmail:disabled{color:#9aa0a6;cursor:wait;background:#f8f9fa}.actions button:not(.gmail):hover{box-shadow:0 1px 2px #0f172a24,0 1px 3px #0f172a1a}.gmail-icon{flex:none;width:22px;height:16px}.email-card{background:#fff;border:1px solid #d9e2ec;border-radius:8px;align-self:stretch;min-width:0;overflow:hidden;box-shadow:0 24px 70px #0f172a1f}.email-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:7px;height:40px;padding:0 16px;display:flex}.email-header span{background:#94a3b8;border-radius:999px;width:9px;height:9px;display:block}.email-header span:first-child{background:#ef5d60}.email-header span:nth-child(2){background:#d6a23b}.email-header span:nth-child(3){background:#14b8a6}.email-body{color:#334155;padding:34px}.email-body>p{margin-bottom:18px;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:22px}.signature-preview{min-width:0;padding-bottom:4px;overflow-x:auto}.code-box{background:#111827;border-radius:8px;grid-template-rows:36px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.code-box-header{color:#cbd5e1;background:#182235;justify-content:space-between;align-items:center;gap:12px;height:36px;padding:0 14px;display:flex}.code-box-header span{font-size:12px;font-weight:800}.code-box-header label{color:#cbd5e1;cursor:pointer;white-space:nowrap;align-items:center;gap:7px;font-size:12px;font-weight:700;display:inline-flex}.code-box-header input{accent-color:#14b8a6;width:14px;height:14px;margin:0}.code-box textarea{color:#dbeafe;resize:none;white-space:pre;background:0 0;border:0;outline:none;width:100%;height:100%;min-height:0;padding:14px;display:block;overflow:auto}.code-box textarea.is-wrapped{overflow-wrap:anywhere;white-space:pre-wrap}.panel-heading{margin-bottom:22px}.field-list{gap:14px;display:grid}.theme-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.field{gap:7px;display:grid}.field span{color:#334155;font-size:12px;font-weight:800;line-height:16px}.field input,.field textarea{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:11px 12px;line-height:20px}.field textarea{resize:vertical}.color-control{background:#fff;border:1px solid #cbd5e1;border-radius:8px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:6px;display:grid}.color-control input[type=color]{appearance:none;border:0;width:42px;height:34px;padding:0}.color-control input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-control input[type=color]::-webkit-color-swatch{border:1px solid #cbd5e1;border-radius:6px}.color-control .hex-input{color:#334155;text-overflow:ellipsis;text-transform:uppercase;border:0;outline:none;width:100%;min-width:0;padding:6px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:18px;overflow:hidden}.field input:focus,.field textarea:focus,.color-field:focus-within .color-control{border-color:#0f766e;box-shadow:0 0 0 3px #14b8a629}.toast{color:#334155;z-index:20;background:#fff;border:1px solid #d8e1ea;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;max-width:min(360px,100vw - 32px);padding:13px 12px 13px 14px;line-height:18px;display:grid;position:fixed;top:22px;right:22px;box-shadow:0 18px 45px #0f172a2e}.toast div{gap:3px;display:grid}.toast strong{color:#111827;font-size:13px;line-height:18px}.toast span{font-size:12px}.toast-action{color:#fff;background:#0f766e;border-radius:6px;justify-content:center;align-items:center;width:fit-content;height:30px;margin-top:7px;padding:0 11px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.toast-action:hover{background:#115e59}.toast button{color:#64748b;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:14px;font-weight:800;display:flex}.toast button:hover{color:#111827;background:#f1f5f9}.toast.is-success{border-color:#86efac}.toast.is-warning{color:#9a3412;background:#fff7ed;border-color:#fdba74}.toast.is-warning strong{color:#7c2d12}.legal-page{color:#172033;min-height:100vh}.legal-header{background:#fbfcff;border-bottom:1px solid #d9e2ec;justify-content:space-between;align-items:center;gap:20px;padding:18px clamp(18px,5vw,56px);display:flex}.legal-brand{color:#111827;align-items:center;gap:12px;text-decoration:none;display:inline-flex}.legal-brand strong,.legal-brand small{display:block}.legal-brand strong{font-size:14px;line-height:18px}.legal-brand small{color:#64748b;font-size:12px;line-height:16px}.legal-header nav{flex-wrap:wrap;justify-content:flex-end;gap:14px;display:flex}.legal-header nav a{color:#334155;font-size:13px;font-weight:800;text-decoration:none}.legal-header nav a:hover{color:#0f766e;text-decoration:underline}.legal-card{background:#fff;border:1px solid #d9e2ec;border-radius:8px;max-width:820px;margin:34px auto;padding:clamp(24px,5vw,48px)}.legal-card h1{margin-top:8px;font-size:34px;line-height:40px}.legal-updated{color:#64748b;margin-top:8px;font-size:13px;line-height:20px}.legal-card section{border-top:1px solid #e2e8f0;margin-top:24px;padding-top:24px}.legal-card h2{margin-bottom:8px;font-size:18px;line-height:24px}.legal-card p{color:#475569;font-size:15px;line-height:24px}.legal-card p+p{margin-top:10px}.legal-card a{color:#0f766e;font-weight:800}.guide-card{max-width:980px}.guide-steps{gap:18px;margin-top:28px;display:grid}.guide-step{border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr);align-items:stretch;gap:18px;margin-top:0;padding:0;display:grid;overflow:hidden}.guide-step-copy{padding:22px}.guide-step-copy span{color:#fff;background:#0f766e;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;margin-bottom:14px;font-size:12px;font-weight:800;display:flex}.guide-step-copy h2{margin-bottom:8px}.guide-shot{background:#eef2f7;border-left:1px solid #e2e8f0;justify-content:center;align-items:center;min-height:230px;padding:14px;display:flex}.guide-shot img{object-fit:contain;border:1px solid #d8e1ea;border-radius:6px;max-width:100%;height:auto;max-height:420px;display:block}body.is-dark{background:#0b1120}body.is-dark .template-panel,body.is-dark .input-panel,body.is-dark .legal-header{background:#111827;border-color:#253044}body.is-dark h1,body.is-dark h2,body.is-dark .template-button,body.is-dark .legal-brand,body.is-dark .legal-brand strong{color:#f8fafc}body.is-dark .brand-lockup p,body.is-dark .eyebrow,body.is-dark .template-button small,body.is-dark .legal-links a,body.is-dark .legal-brand small,body.is-dark .legal-updated,body.is-dark .theme-toggle{color:#94a3b8}body.is-dark .brand-lockup a:hover,body.is-dark .legal-links a:hover,body.is-dark .legal-header nav a:hover{color:#2dd4bf}body.is-dark .template-button,body.is-dark .field input,body.is-dark .field textarea,body.is-dark .color-control,body.is-dark .theme-toggle,body.is-dark .guide-step,body.is-dark .legal-card{background:#162033;border-color:#334155}body.is-dark .template-button.is-active{border-color:#2dd4bf}body.is-dark .preview-panel,body.is-dark .legal-page{background:#0b1120}body.is-dark .email-card{background:#d5dce8;border-color:#334155;box-shadow:0 22px 58px #00000052}body.is-dark .email-header{background:#c9d2df;border-color:#b8c2d0}body.is-dark .email-body{color:#64748b;background:#d5dce8}body.is-dark .email-body>p,body.is-dark .signature-preview{filter:saturate(.76)brightness(.9);opacity:.82}body.is-dark .actions button.secondary,body.is-dark .actions button.gmail{color:#e2e8f0;background:#162033;border-color:#334155}body.is-dark .actions button.gmail:hover{background:#1e293b;border-color:#475569}body.is-dark .field span,body.is-dark .field input,body.is-dark .field textarea,body.is-dark .color-control .hex-input,body.is-dark .theme-toggle,body.is-dark .legal-header nav a{color:#dbeafe}body.is-dark .color-control .hex-input{background:0 0}body.is-dark .color-field .color-control{background:#162033}body.is-dark .color-control input[type=color]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#162033}body.is-dark .color-control input[type=color]::-webkit-color-swatch-wrapper{background:#162033}body.is-dark .color-control input[type=color]::-webkit-color-swatch{border-color:#475569}body.is-dark .color-control input[type=color]::-moz-color-swatch{border-color:#475569}body.is-dark .field input::placeholder,body.is-dark .field textarea::placeholder{color:#64748b}body.is-dark .code-box{border:1px solid #253044}body.is-dark .code-box-header{background:#0f172a}body.is-dark .legal-card section,body.is-dark .legal-links{border-color:#334155}body.is-dark .legal-card p{color:#cbd5e1}body.is-dark .legal-card a{color:#2dd4bf}body.is-dark .guide-shot{background:#0f172a;border-color:#334155}body.is-dark .guide-shot img{border-color:#334155}@media (width<=1120px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.input-panel{border-width:1px 0 0;grid-column:1/-1}}@media (width<=760px){.app-shell{display:block}.template-panel,.preview-panel,.input-panel{border-width:0 0 1px;padding:18px}.template-list{grid-auto-columns:minmax(180px,1fr);grid-auto-flow:column;padding-bottom:4px;overflow-x:auto}.preview-panel{grid-template-rows:auto auto 260px}.preview-toolbar{flex-direction:column;align-items:stretch}.legal-header{align-items:flex-start;display:grid}.legal-header nav{justify-content:flex-start}.actions{justify-content:stretch}.actions button{flex:150px}.email-body{padding:22px}.theme-fields,.guide-step{grid-template-columns:1fr}.guide-shot{border-top:1px solid #e2e8f0;border-left:0;min-height:180px}}
