:root{--background:#f6f7f4;--foreground:#20312d;--muted:#60716c;--card:#fff;--border:#d5dfd9;--primary:#17634e;--primary-hover:#104e3c;--primary-foreground:#fff;--accent:#e7efe9;--error:#9f2929;--paper:#fff;--paper-ink:#202522;--paper-border:#b7c4bb;--radius-control:5px;--radius-panel:8px;--container-width:1180px;--space-xs:8px;--space-sm:12px;--space-md:16px;--space-lg:24px;--space-xl:32px;--space-section:64px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}h1,h2,h3,p{margin-top:0}.container{width:min(calc(100% - 48px),var(--container-width));margin-inline:auto}.header-inner{justify-content:space-between;align-items:center;gap:var(--space-lg);min-height:72px;display:flex}.site-header{border-bottom:1px solid var(--border)}.wordmark{align-items:center;gap:var(--space-sm);font-size:15px;font-weight:700;text-decoration:none;display:flex}.brand-mark{color:var(--primary);font-family:Georgia,serif;font-size:23px}nav{gap:var(--space-lg);font-size:13px;display:flex}nav a{text-decoration:none}nav a:hover{text-underline-offset:4px;text-decoration:underline}.tool-section{padding:32px 0 48px}.tool-stack{gap:var(--space-lg);flex-direction:column;display:flex}.intro{max-width:900px}.eyebrow,.panel-label{letter-spacing:.09em;color:var(--primary);font-size:11px;font-weight:700}.eyebrow{margin-bottom:var(--space-sm)}h1{letter-spacing:-.035em;margin-bottom:var(--space-md);font-family:Georgia,Times New Roman,serif;font-size:clamp(32px,4vw,48px);font-weight:400;line-height:1.1}.intro>p:last-child{max-width:760px;color:var(--muted);margin-bottom:0;font-size:15px;line-height:1.65}.generator{border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--card);grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);display:grid}.editor{gap:var(--space-sm);flex-direction:column;min-width:0;padding:20px;display:flex}.field{gap:var(--space-xs);flex-direction:column;display:flex}label{font-size:13px;font-weight:600}.field-hint{color:var(--muted);margin:0;font-size:12px;line-height:1.45}input,select,textarea{color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:var(--radius-control)}input,select{height:40px;padding:0 var(--space-sm);width:100%}textarea{width:100%;padding:var(--space-sm);resize:vertical;height:140px;font-family:ui-monospace,monospace;font-size:12px;line-height:1.8}input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.options{border-top:1px solid var(--border);padding-top:var(--space-sm)}summary{cursor:pointer;font-size:13px;font-weight:600}.options[open]{flex-direction:column;display:flex}.options .field,.settings-row{margin-top:var(--space-md)}.instructions-input{height:80px;font-family:inherit;line-height:1.5}.settings-row{align-items:center;gap:var(--space-lg);flex-wrap:wrap;display:flex}.settings-row label:first-child{align-items:center;gap:var(--space-xs);display:flex}.settings-row select{width:auto}.checkbox{align-items:center;gap:var(--space-xs);display:flex}.actions{gap:var(--space-sm);display:flex}.primary,.secondary{min-height:44px;padding:var(--space-sm) var(--space-md);border-radius:var(--radius-control);border:1px solid var(--border);font-size:13px;font-weight:700}.primary{justify-content:space-between;align-items:center;gap:var(--space-sm);background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);flex:1;display:flex}.primary:hover:not(:disabled){background:var(--primary-hover)}.secondary{background:var(--card);color:var(--foreground)}.secondary:hover:not(:disabled){background:var(--accent)}.status{min-height:32px;color:var(--muted);margin:0;font-size:12px;line-height:1.5}.error{color:var(--error)}.preview{padding:var(--space-lg);background:var(--accent);border-left:1px solid var(--border);border-radius:0 var(--radius-panel) var(--radius-panel) 0;gap:var(--space-md);flex-direction:column;min-width:0;display:flex}.preview-toolbar{justify-content:space-between;align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.tabs{gap:4px;display:flex}.tabs button{color:var(--muted);border-radius:var(--radius-control);background:0 0;border:1px solid #0000;min-height:34px;padding:6px 10px;font-size:12px}.tabs button[aria-selected=true]{background:var(--card);color:var(--foreground);border-color:var(--border);font-weight:700}.sheet-preview{flex:1;min-width:0}.worksheet{background:var(--paper);color:var(--paper-ink);padding:var(--space-xl) var(--space-lg);min-width:0}.sheet-top{justify-content:space-between;gap:var(--space-sm);letter-spacing:.06em;font-size:9px;font-weight:700;line-height:1.5;display:flex}.sheet-title{margin:var(--space-lg) 0 var(--space-md);overflow-wrap:anywhere;font-family:Georgia,serif;font-size:25px;line-height:1.2}.name-line{margin-bottom:var(--space-sm);font-size:10px;line-height:1.8}.name-line span{white-space:nowrap}.sheet-instructions{margin-bottom:var(--space-lg);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:12px;line-height:1.5}th,td{border:1px solid var(--paper-border);text-align:left;overflow-wrap:anywhere;vertical-align:middle;padding:10px 8px}thead th{background:var(--accent);font-weight:700}tbody th{font-weight:600}.blank{color:var(--muted);font-size:10px;display:block;overflow:hidden}.sheet-footer{color:var(--muted);margin:var(--space-lg) 0 0;overflow-wrap:anywhere;font-size:9px}.preview-note{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.empty-preview{background:var(--card);padding:var(--space-xl);min-height:360px;color:var(--muted);flex-direction:column;justify-content:center;line-height:1.6;display:flex}.empty-preview p{margin:var(--space-sm) 0 0}.print-sheets{display:none}.content-section{padding:var(--space-section) 0;border-top:1px solid var(--border)}.content-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;display:grid}h2{letter-spacing:-.025em;margin-bottom:0;font-family:Georgia,serif;font-size:clamp(28px,3vw,36px);font-weight:400;line-height:1.18}.prose{color:var(--muted);font-size:15px;line-height:1.8}.prose p:last-child{margin-bottom:0}.prose ol{gap:var(--space-md);flex-direction:column;margin:0;padding-left:20px;display:flex}.prose strong{color:var(--foreground)}.section-intro{max-width:560px;margin-bottom:var(--space-xl)}.ideas{gap:var(--space-xl);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.ideas>div{border-top:1px solid var(--border);padding-top:var(--space-lg)}h3{margin-bottom:var(--space-sm);font-size:17px;line-height:1.4}.ideas p,.faq p{color:var(--muted);margin-bottom:0;font-size:14px;line-height:1.75}.faq{gap:var(--space-lg);flex-direction:column;display:flex}.faq>div{border-top:1px solid var(--border);padding-top:var(--space-md)}.site-footer{border-top:1px solid var(--border)}.footer-inner{padding:var(--space-xl) 0;justify-content:space-between;align-items:center;gap:var(--space-lg);font-size:12px;display:flex}.footer-inner p{margin:var(--space-xs) 0 0;color:var(--muted)}.footer-inner nav{font-size:12px}.page-article{padding:var(--space-section) 0;min-height:65vh}.page-article h1{margin-bottom:var(--space-xl)}.article-prose{max-width:740px;color:var(--muted);font-size:16px;line-height:1.8}.article-prose h2{color:var(--foreground);margin:var(--space-xl) 0 var(--space-sm);font-size:25px}.article-prose a{color:var(--primary);overflow-wrap:anywhere}@media (max-width:850px){.generator{grid-template-columns:1fr}.preview{border-left:0;border-top:1px solid var(--border);border-radius:0 0 var(--radius-panel) var(--radius-panel)}.content-grid{gap:var(--space-lg);grid-template-columns:1fr}.ideas{grid-template-columns:1fr}.footer-inner{flex-direction:column;align-items:flex-start}.content-section{padding:48px 0}}@media (max-width:560px){.container{width:calc(100% - 32px)}.header-inner{min-height:64px}.wordmark{gap:var(--space-xs);font-size:12px}.brand-mark{font-size:19px}.header-inner nav a:first-child{display:none}.tool-section{padding:var(--space-xl) 0}.editor,.preview{padding:var(--space-md)}.intro>p:last-child{font-size:14px}.worksheet{padding:var(--space-lg) var(--space-md)}.sheet-top{font-size:8px}.sheet-top span:last-child{text-align:right;max-width:90px}.sheet-title{font-size:23px}.actions{flex-wrap:wrap}.primary{min-width:150px}.secondary{font-size:12px}table{font-size:10px}th,td{padding:var(--space-xs) 5px}.preview-toolbar{align-items:flex-start}.panel-label{font-size:10px}.tabs button{padding:6px 8px;font-size:11px}.sheet-instructions{font-size:11px}.footer-inner nav{flex-wrap:wrap}}@media print{html,body{background:var(--paper);color:var(--paper-ink)}.site-header,.site-footer,.intro,.editor,.preview,.content-section{display:none!important}.tool-section,.container,.tool-stack,.generator{background:var(--paper);border:0;width:auto;max-width:none;margin:0;padding:0;display:block}.print-sheets{display:block}.print-sheets .worksheet{break-after:page;page-break-after:always;padding:0}.print-sheets .worksheet:last-child{break-after:auto;page-break-after:auto}.sheet-top{font-size:10pt}.sheet-title{font-size:22pt}.name-line,.sheet-instructions,table{font-size:11pt}th,td{padding:12px 10px}tr{break-inside:avoid;page-break-inside:avoid}thead{display:table-header-group}.sheet-footer{font-size:8pt}.blank{font-size:11pt}.sheet-top span:last-child{max-width:none}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
