:root{--bg: #ffffff;--fg: #1a1a1a;--accent: #c62828;--accent-hover: #b71c1c;--border: #e0e0e0;--input-bg: #fafafa;--input-border: #cccccc;--input-focus: #1976d2;--error: #d32f2f;--success: #388e3c;--preview-bg: #f5f5f5;--shadow: rgba(0, 0, 0, .1);--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;--font-mono: "SF Mono", Monaco, "Cascadia Code", "Courier New", monospace;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--spacing-xxl: 3rem;--radius: 8px;--max-width: 1200px}@media(prefers-color-scheme:dark){:root{--bg: #1a1a1a;--fg: #f5f5f5;--accent: #ef5350;--accent-hover: #e53935;--border: #333333;--input-bg: #2a2a2a;--input-border: #444444;--input-focus: #42a5f5;--error: #ef5350;--success: #66bb6a;--preview-bg: #242424;--shadow: rgba(0, 0, 0, .3)}button[type=submit]{box-shadow:0 2px 8px #ef53504d}button[type=submit]:hover{box-shadow:0 4px 12px #ef535066}.concern-checkbox:has(input:checked){background-color:#42a5f51f}input[type=text],input[type=email],textarea{color:#f5f5f5;background-color:#2a2a2a}input[type=text]:focus,input[type=email]:focus,textarea:focus{box-shadow:0 0 0 4px #42a5f533;background-color:#1a1a1a;color:#f5f5f5}input[type=text]::placeholder,input[type=email]::placeholder,textarea::placeholder{color:#f5f5f5;opacity:.4}}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:var(--font-body);font-size:16px;line-height:1.6;color:var(--fg);background-color:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.container{max-width:var(--max-width);margin:0 auto;padding:var(--spacing-lg)}h1,h2,h3{line-height:1.2;margin-bottom:var(--spacing-md);font-weight:700}h1{font-size:2rem;color:var(--accent)}h2{font-size:1.5rem;margin-top:var(--spacing-xl)}@media(min-width:768px){h1{font-size:2.5rem}h2{font-size:1.75rem}}p{margin-bottom:var(--spacing-md)}a{color:var(--input-focus);text-decoration:underline;cursor:pointer}a:hover,a:focus{text-decoration:none;outline:2px solid var(--input-focus);outline-offset:2px}.hero{text-align:center;padding:var(--spacing-xl) 0;border-bottom:2px solid var(--border);margin-bottom:var(--spacing-xl)}.tagline{font-size:1.25rem;color:var(--fg);opacity:.9}.alert{background-color:var(--accent);color:#fff;padding:var(--spacing-md);border-radius:var(--radius);margin-top:var(--spacing-md);font-weight:500}.how-it-works{margin-bottom:var(--spacing-xxl)}.steps{list-style:none;counter-reset:step-counter;display:grid;gap:var(--spacing-lg);margin-top:var(--spacing-lg)}@media(min-width:768px){.steps{grid-template-columns:repeat(3,1fr)}}.steps li{counter-increment:step-counter;position:relative;padding:var(--spacing-lg);border:1px solid var(--border);border-radius:var(--radius);background-color:var(--preview-bg)}.steps li:before{content:counter(step-counter);display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:var(--accent);color:#fff;border-radius:50%;font-weight:700;font-size:1.25rem;margin-bottom:var(--spacing-md)}.steps strong{display:block;font-size:1.1rem;margin-bottom:var(--spacing-sm)}.steps p{margin:0;font-size:.95rem;opacity:.9}.main-grid{display:grid;gap:var(--spacing-xl);margin-bottom:var(--spacing-xxl)}@media(min-width:1024px){.main-grid{grid-template-columns:1fr 1fr;align-items:start}}.form-column,.preview-column{min-width:0}#action-form{display:flex;flex-direction:column;gap:var(--spacing-xl)}.field{display:flex;flex-direction:column;gap:var(--spacing-sm)}label{font-weight:600;font-size:.95rem;color:var(--fg);display:block;margin-bottom:var(--spacing-xs)}.section-label{font-size:1.1rem;font-weight:700;color:var(--fg);margin-bottom:var(--spacing-sm);display:block}.required{color:var(--error);font-weight:700}.optional{font-weight:400;opacity:.65;font-size:.85rem;color:var(--fg)}.field-help{font-size:.9rem;opacity:.85;margin:0 0 var(--spacing-sm) 0;line-height:1.5;color:var(--fg)}.field-help-list{font-size:.875rem;opacity:.8;margin:0 0 var(--spacing-md) 1.5rem;line-height:1.6;color:var(--fg);padding-left:.5rem}.field-help-list li{margin-bottom:var(--spacing-xs)}input[type=text],input[type=email],textarea{width:100%;padding:.75rem 1rem;font-size:1rem;font-family:var(--font-body);color:var(--fg);background-color:var(--input-bg);border:2px solid var(--input-border);border-radius:var(--radius);transition:all .2s ease;line-height:1.5}input[type=text]::placeholder,input[type=email]::placeholder,textarea::placeholder{color:var(--fg);opacity:.5}input[type=text]:hover,input[type=email]:hover,textarea:hover{border-color:var(--input-focus)}input[type=text]:focus,input[type=email]:focus,textarea:focus{outline:none;border-color:var(--input-focus);box-shadow:0 0 0 4px #1976d226;background-color:var(--bg);color:var(--fg)}input[type=text]:invalid:not(:focus):not(:placeholder-shown),input[type=email]:invalid:not(:focus):not(:placeholder-shown){border-color:var(--error);background-color:#d32f2f0d}textarea{resize:vertical;min-height:120px}.char-count{font-size:.85rem;opacity:.65;text-align:right;margin-top:-.25rem}.checkbox-field{flex-direction:row;align-items:flex-start;gap:var(--spacing-md);padding:var(--spacing-md);background-color:var(--preview-bg);border:2px solid var(--border);border-radius:var(--radius);margin-top:var(--spacing-sm)}.checkbox-field input[type=checkbox]{width:1.25rem;height:1.25rem;margin-top:.25rem;cursor:pointer;flex-shrink:0;accent-color:var(--input-focus)}.checkbox-field label{cursor:pointer;font-weight:500;line-height:1.6;font-size:.95rem}.concern-checkboxes{background-color:var(--preview-bg);border:2px solid var(--border);border-radius:var(--radius);padding:var(--spacing-lg);margin-top:var(--spacing-sm)}.concern-group{display:flex;flex-direction:column;gap:var(--spacing-sm)}.concern-checkbox{display:flex;align-items:flex-start;gap:var(--spacing-md);cursor:pointer;padding:var(--spacing-md);border-radius:var(--radius);transition:all .2s ease;border:1px solid transparent}.concern-checkbox:hover{background-color:var(--input-bg);border-color:var(--input-border)}.concern-checkbox:has(input:checked){background-color:#1976d214;border-color:var(--input-focus)}.concern-checkbox input[type=checkbox]{width:1.25rem;height:1.25rem;margin-top:.25rem;cursor:pointer;flex-shrink:0;accent-color:var(--input-focus)}.concern-checkbox span{flex:1;font-size:.95rem;line-height:1.6;color:var(--fg);font-weight:400}.concern-checkbox:has(input:checked) span{font-weight:500}.error-message{color:var(--error);font-size:.875rem;font-weight:600;display:none;margin-top:.25rem;padding:.5rem .75rem;background-color:#d32f2f14;border-radius:4px;border-left:3px solid var(--error)}.error-message.visible{display:block}.form-errors{padding:var(--spacing-md) var(--spacing-lg);background-color:#d32f2f1a;border:2px solid var(--error);border-radius:var(--radius);color:var(--error);font-weight:600;display:none;border-left:4px solid var(--error)}.form-errors.visible{display:block}button[type=submit]{padding:1rem 2rem;font-size:1.125rem;font-weight:700;color:#fff;background-color:var(--accent);border:none;border-radius:var(--radius);cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:var(--spacing-sm);min-height:3.5rem;box-shadow:0 2px 8px #c6282833;margin-top:var(--spacing-md)}button[type=submit]:hover{background-color:var(--accent-hover);transform:translateY(-2px);box-shadow:0 4px 12px #c628284d}button[type=submit]:focus{outline:3px solid var(--input-focus);outline-offset:3px}button[type=submit]:active{transform:translateY(0);box-shadow:0 2px 6px #c6282833}button[type=submit]:disabled{opacity:.6;cursor:not-allowed;transform:none}.refresh-btn{padding:var(--spacing-sm) var(--spacing-md);font-size:.9rem;font-weight:500;color:var(--fg);background-color:var(--input-bg);border:1px solid var(--input-border);border-radius:var(--radius);cursor:pointer;transition:background-color .2s,transform .1s}.refresh-btn:hover{background-color:var(--preview-bg)}.refresh-btn:focus{outline:2px solid var(--input-focus);outline-offset:2px}.refresh-btn:active{transform:scale(.95)}.mailto-btn{display:inline-block;padding:var(--spacing-md) var(--spacing-xl);font-size:1.1rem;font-weight:600;color:#fff!important;background-color:var(--accent);border:none;border-radius:var(--radius);text-decoration:none!important;cursor:pointer;transition:background-color .2s,transform .1s}.mailto-btn:hover{background-color:var(--accent-hover)}.mailto-btn:focus{outline:3px solid var(--input-focus);outline-offset:2px}.mailto-btn:active{transform:scale(.98)}.spinner{width:1.25rem;height:1.25rem;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-column{position:sticky;top:var(--spacing-lg)}.preview-card{background-color:var(--preview-bg);border:1px solid var(--border);border-radius:var(--radius);padding:var(--spacing-lg);box-shadow:0 2px 8px var(--shadow)}.preview-header{border-bottom:1px solid var(--border);padding-bottom:var(--spacing-md);margin-bottom:var(--spacing-md);font-size:.9rem}.preview-header p{margin-bottom:var(--spacing-xs)}.preview-body pre{font-family:var(--font-mono);font-size:.85rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;margin:0}.preview-note{margin-top:var(--spacing-md);font-size:.85rem;opacity:.8;margin-bottom:0}.result-section{padding:var(--spacing-xl);border-radius:var(--radius);margin-bottom:var(--spacing-xl);text-align:center}.result-section.success{background-color:#388e3c1a;border:2px solid var(--success);color:var(--success)}.result-section.error{background-color:#d32f2f1a;border:2px solid var(--error);color:var(--error)}.faq{margin-bottom:var(--spacing-xxl)}details{border:1px solid var(--border);border-radius:var(--radius);padding:var(--spacing-md);margin-bottom:var(--spacing-md)}summary{font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;padding:var(--spacing-sm);margin:calc(-1 * var(--spacing-md));padding:var(--spacing-md);border-radius:var(--radius);transition:background-color .2s}summary:hover,summary:focus{background-color:var(--preview-bg);outline:2px solid var(--input-focus);outline-offset:-2px}details[open] summary{margin-bottom:var(--spacing-md);border-bottom:1px solid var(--border)}details p{margin-top:var(--spacing-md);margin-bottom:0}footer{text-align:center;padding:var(--spacing-xl) 0;border-top:1px solid var(--border);font-size:.9rem;opacity:.8}footer p{margin-bottom:var(--spacing-sm)}.hidden{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}@media(max-width:767px){.container{padding:var(--spacing-md)}h1{font-size:1.5rem}.preview-column{position:static}}@media print{.form-column,button,.faq{display:none}.preview-column{position:static}}
