*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,Arial,sans-serif;font-size:14px;background:#f5f5f7;color:#1d1d1f;min-height:100vh}header{background:#0f0f11;color:#fff;padding:16px 32px;display:flex;align-items:center;gap:12px}header h1{font-size:18px;font-weight:600;letter-spacing:-.02em}header .badge{font-size:11px;background:#6366f1;color:#fff;border-radius:4px;padding:2px 8px;font-weight:500}.layout{display:grid;grid-template-columns:320px 1fr;gap:0;min-height:calc(100vh - 56px)}.sidebar{background:#fff;border-right:1px solid #e5e5e7;padding:24px;overflow-y:auto}.sidebar h2{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#6b7280;margin-bottom:10px;margin-top:22px}.sidebar h2:first-child{margin-top:0}select{width:100%;padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff;color:#1d1d1f;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}select:focus{outline:2px solid #6366f1;outline-offset:1px;border-color:transparent}.check-label{display:flex;align-items:center;gap:8px;padding:6px 0;cursor:pointer;font-size:13px;color:#374151;border-radius:4px}.check-label a{color:#6366f1;text-decoration:none}.check-label a:hover{text-decoration:underline}.check-label input[type=checkbox],.check-label input[type=radio]{width:15px;height:15px;flex-shrink:0;cursor:pointer;accent-color:#6366f1}#phone-radios{margin-left:4px;display:flex;flex-direction:column}#product-checks{display:flex;flex-direction:column}.muted{color:#9ca3af;font-size:13px;padding:4px 0}.main{padding:32px;display:flex;flex-direction:column;gap:24px}.preview-card{background:#fff;border:1px solid #e5e5e7;border-radius:10px;overflow:hidden}.preview-card-header{padding:12px 20px;border-bottom:1px solid #f0f0f2;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#9ca3af;display:flex;align-items:center;justify-content:space-between}.preview-card-header .dot{width:8px;height:8px;border-radius:50%;background:#22c55e;display:inline-block;margin-right:6px}#signature-preview{padding:28px 28px 32px;background:#fff;min-height:140px}.html-card{background:#fff;border:1px solid #e5e5e7;border-radius:10px;overflow:hidden}.html-card-header{padding:12px 20px;border-bottom:1px solid #f0f0f2;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#9ca3af}#html-output{width:100%;height:120px;padding:16px 20px;font-family:JetBrains Mono,Fira Code,monospace;font-size:12px;color:#374151;border:none;resize:vertical;background:#f9fafb;line-height:1.6}#html-output:focus{outline:none}.actions{display:flex;gap:10px;padding:14px 20px;border-top:1px solid #f0f0f2;background:#f9fafb}button{padding:8px 18px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s,transform .05s}button:active{transform:scale(.97)}#copy-gmail{background:#6366f1;color:#fff}#copy-gmail:hover{background:#4f46e5}#copy-html{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}#copy-html:hover{background:#e5e7eb}.gmail-hint{font-size:12px;color:#9ca3af;padding:10px 20px 14px;line-height:1.5}.gmail-hint strong{color:#6b7280}
