:root{font-family:Inter,system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#1e293b;background:#f8fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.top{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1320px)/2));background:#fff;border-bottom:1px solid #e8edf2}.brand{display:flex;gap:10px;align-items:center;font-size:17px;font-weight:750;letter-spacing:-.5px}.brandmark{font-size:28px;color:#3c6ae5}.topnote,.muted{color:#7a8697}.topnote{font-size:12px}.shell{max-width:1320px;margin:0 auto;padding:44px 30px 24px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{color:#5273c8;font-weight:750;font-size:11px;letter-spacing:2px}.intro h1{font-size:34px;line-height:1.4;letter-spacing:-1.7px;margin:10px 0}.intro .muted{font-size:14px}.free{padding:8px 12px;background:#eaf0ff;color:#4166bf;border-radius:20px;font-size:12px;font-weight:700}.workspace{display:grid;grid-template-columns:minmax(350px,465px) minmax(0,1fr);gap:22px;align-items:start}.editor,.previewarea{background:white;border:1px solid #e6ebf2;border-radius:17px;box-shadow:0 10px 35px rgba(31,49,85,.035)}.editor{padding:24px}.editorhead h2,.previewhead h2{font-size:17px;margin:0 0 8px;letter-spacing:-.4px}.editorhead p,.previewhead p{font-size:12px;color:#94a0af;margin:0}.switches{display:flex;gap:15px;flex-wrap:wrap;padding:23px 0 17px;font-size:12px}.switches label,.check{display:flex;align-items:center;gap:6px;cursor:pointer}.tabs{display:flex;gap:2px;overflow:auto;border-bottom:1px solid #e9edf4}.tabs button{background:none;border:0;padding:13px 9px;color:#8490a2;white-space:nowrap;cursor:pointer;font-size:12px}.tabs button.active{color:#3f67c9;border-bottom:2px solid #5078dd;font-weight:750}.panel{display:none;padding-top:23px}.panel.active{display:block}.panel label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:650;margin-bottom:17px}.panel .check{flex-direction:row;gap:7px;margin-bottom:17px}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}input:not([type=checkbox]),select{width:100%;border:1px solid #e5eaf0;background:#f8fafc;border-radius:8px;padding:12px;font-size:13px;color:#334155;outline:0}input:focus,select:focus{border-color:#7295ed;background:#fff}input[type=checkbox]{accent-color:#5579d7}.hint{color:#99a3b1;font-size:11px;line-height:1.7}.previewarea{padding:24px}.previewhead{display:flex;justify-content:space-between;align-items:center}.status{font-size:11px;color:#6982bd;background:#f1f5ff;border-radius:15px;padding:6px 10px}.canvas{height:490px;display:flex;justify-content:center;align-items:center;margin-top:15px;background:#fff;border:1px solid #f0f2f5;border-radius:12px;overflow:hidden}.canvas img{display:none;max-width:100%;max-height:100%;object-fit:contain}.canvas img.ready{display:block}.download{padding-top:18px}.primary{display:flex;justify-content:space-between;align-items:center;width:100%;background:#4269d0;color:white;border:0;border-radius:10px;padding:16px 19px;font-size:14px;font-weight:700;cursor:pointer}.primary:disabled{background:#a9b7d8;cursor:not-allowed}.download .hint{margin:10px 0 0;text-align:center}footer{display:flex;gap:20px;justify-content:space-between;color:#9aa6b3;font-size:11px;margin-top:24px;line-height:1.6}@media(max-width:930px){.workspace{grid-template-columns:1fr}.canvas{height:420px}.shell{padding:30px 18px}.top{padding:0 20px}.intro h1{font-size:27px}}@media(max-width:520px){.two{grid-template-columns:1fr}.intro{align-items:start}.free{white-space:nowrap}.editor,.previewarea{padding:18px}.canvas{height:340px}.topnote{display:none}footer{flex-direction:column;gap:4px}}

.site-nav{display:flex;gap:20px;align-items:center;font-size:13px}.site-nav a,.seo-guides a,.article a{color:#3c62b4;text-decoration:none}.site-nav a:hover,.seo-guides a:hover,.article a:hover{text-decoration:underline}.seo-guides{margin:45px 0 10px;padding:28px;background:#fff;border:1px solid #e6ebf2;border-radius:17px}.seo-guides h2{font-size:20px}.seo-guides>p{font-size:13px;color:#64748b}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.guide-grid a{display:flex;flex-direction:column;gap:7px;padding:17px;border:1px solid #e6ebf2;border-radius:10px}.guide-grid strong{font-size:14px}.guide-grid span{font-size:12px;color:#64748b;line-height:1.6}.article{max-width:850px;margin:38px auto 70px;background:white;padding:42px;border:1px solid #e6ebf2;border-radius:16px;line-height:1.85}.article h1{font-size:31px;line-height:1.4}.article h2{font-size:21px;margin-top:32px}.article p,.article li{color:#475569;font-size:15px}.article .lede{font-size:16px}.symbol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.symbol-card{border:1px solid #e6ebf2;border-radius:12px;padding:18px}.symbol-card svg{width:180px;max-width:100%;height:75px;display:block;margin:0 auto 8px}.symbol-card strong{display:block}.symbol-card p{font-size:13px;margin:5px 0 0}.article .note{background:#f1f5f9;border-radius:10px;padding:16px;font-size:13px}.article .cta{display:inline-block;background:#4269d0;color:white;padding:10px 20px;border-radius:8px;margin-top:18px}.site-footer{max-width:850px;margin:0 auto 30px;padding:0 18px;font-size:12px;color:#64748b}@media(max-width:700px){.site-nav{gap:9px;font-size:11px}.article{margin:15px;padding:22px}.article h1{font-size:25px}.symbol-grid,.guide-grid{grid-template-columns:1fr}}

/* GenoEasy · warm botanical theme */
:root{color:#403c32;background:#f8f6ed;color-scheme:light}
body{background:linear-gradient(160deg,#faf8ee 0%,#f4f6e9 52%,#fbf8ee 100%);color:#403c32}
.top{background:#fffdf5;border-bottom-color:#e5e7d7}
.brand{color:#584b3b}.brandmark{color:#78955e}
.topnote,.muted{color:#807b6b}
.eyebrow{color:#6f8c52}.intro h1{color:#514536}
.free{background:#e5efd6;color:#506c3d}
.editor,.previewarea,.seo-guides,.article{background:#fffef9;border-color:#e5e8d8;box-shadow:0 10px 34px rgba(93,104,65,.055)}
.editorhead p,.previewhead p,.hint{color:#857f70}
.tabs{border-bottom-color:#e4e8d7}.tabs button{color:#827e70}
.tabs button.active{color:#567642;border-bottom-color:#7f9d63}
input:not([type=checkbox]),select{background:#fafbf5;border-color:#dfe5d5;color:#403c32}
input:focus,select:focus{border-color:#8ba76b;background:#fffef9;box-shadow:0 0 0 3px rgba(138,169,105,.12)}
input[type=checkbox]{accent-color:#77995d}
.status{background:#edf3e4;color:#557445}
.canvas{background:#fff;border-color:#e9eadd}
.primary,.article .cta{background:#6e8c53;color:#fff}
.primary:hover,.article .cta:hover{background:#587342}
.primary:disabled{background:#bdc9af}
.site-nav a,.seo-guides a,.article a{color:#557744}
.seo-guides>p,.guide-grid span,.article p,.article li,.site-footer{color:#716e60}
.guide-grid a,.symbol-card{border-color:#e2e7d8;background:#fffefb}
.guide-grid a:hover{background:#f5f8ee;border-color:#b4c89d}
.article .note{background:#f3f3e6}
footer{color:#807e70}

/* v6: readable editor, larger diagram, organic branding */
.brandmark{width:38px;height:38px;display:block;flex:none}.brand{font-size:21px;gap:9px}
.shell{max-width:1660px;padding-left:24px;padding-right:24px}
.workspace{grid-template-columns:minmax(420px,510px) minmax(0,1fr);gap:18px}
.editor,.previewarea{padding:26px}
.editorhead h2,.previewhead h2{font-size:23px;line-height:1.4}
.editorhead p,.previewhead p{font-size:14px;line-height:1.6}
.switches{font-size:15px;gap:17px}
.tabs button{font-size:14px;padding:15px 10px}
.panel label{font-size:15px;line-height:1.5}
input:not([type=checkbox]),select{font-size:16px;padding:13px 12px;min-height:48px}
input[type=checkbox]{width:18px;height:18px}
.hint{font-size:13px}.canvas{height:min(75vh,850px);min-height:560px;padding:5px}
.canvas img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.primary{font-size:17px}.status{font-size:13px}
@media(max-width:1050px){.workspace{grid-template-columns:1fr}.canvas{height:570px;min-height:400px}.shell{padding:30px 18px}}
@media(max-width:600px){.editor,.previewarea{padding:18px}.two{grid-template-columns:1fr 1fr;gap:10px}.panel label{font-size:14px}.tabs button{font-size:13px}.canvas{height:390px;min-height:320px}.intro{display:block}.free{display:inline-block;margin-top:10px}.brand{font-size:18px}.brandmark{width:32px;height:32px}}

/* v7: clickable logo and diagram-first preview */
a.brand{text-decoration:none;color:#584b3b;cursor:pointer}
a.brand:hover,a.brand:focus-visible{color:#557b40}
a.brand:focus-visible{outline:3px solid #8ba86a;outline-offset:5px;border-radius:6px}
.canvas{padding:16px;overflow:hidden}
.canvas img.ready{width:100%;height:100%;object-fit:contain}

/* v8: keep the PNG download action visible in a typical desktop viewport. */
@media (min-width:1051px){
  .canvas{height:clamp(300px, 41vh, 420px);min-height:0;padding:10px}
  .previewarea{padding:22px}
  .download{padding-top:12px}
}
.primary{position:relative;justify-content:center;text-align:center;gap:10px}
.primary span{position:absolute;right:19px;top:50%;transform:translateY(-50%)}
@media (max-width:1050px){.canvas{height:clamp(310px, 45vh, 480px);min-height:0}}
@media (max-width:600px){.canvas{height:clamp(270px, 39vh, 370px);min-height:0}}

/* v9: privacy and contact pages; no changes to genogram workspace. */
.legal-footer{max-width:1320px;margin:16px auto 32px;padding:16px 24px;display:flex;flex-wrap:wrap;gap:18px;border-top:1px solid #e1e7d6;color:#777464;font-size:14px}
.legal-footer a{color:#557744;text-decoration:none}.legal-footer a:hover{text-decoration:underline}
.legal-article{max-width:900px}.legal-article h2{color:#514536}.legal-alert{padding:16px 20px;background:#f3f6e8;border:1px solid #dce8cc;border-radius:12px}.legal-alert p{margin:6px 0 0}.legal-article a{color:#557744}
@media(max-width:700px){.legal-footer{padding:16px 18px}.top{flex-wrap:wrap}.site-nav{flex-wrap:wrap}}

.contact-box{border:1px solid #d8e3c8;background:#f6f8ee;border-radius:18px;padding:22px 24px;margin:24px 0}.contact-box h2{margin-top:0}.contact-email{font-weight:700;font-size:clamp(18px,2.5vw,25px);color:#456d3c;overflow-wrap:anywhere}.contact-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;margin:12px 0;background:#587b4b;color:#fff!important;border-radius:12px;text-decoration:none;font-weight:700;text-align:center}.contact-button:hover{background:#436438}

/* v10: contact and accessible site footer */
.site-nav .nav-contact{display:inline-flex;align-items:center;padding:9px 14px;border-radius:10px;background:#527b46;color:#fff!important;font-weight:700}
.site-nav .nav-contact:hover{background:#416539}
.site-footer{margin-top:45px;background:#254e3e;color:#f4f6ed;padding:45px 24px 0;font-size:14px}
.footer-inner{max-width:1320px;margin:auto;display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:36px}
.site-footer h3{color:#f9f5e7;margin:0 0 16px;font-size:16px}
.site-footer a{display:block;color:#d9e6d9;text-decoration:none;margin:9px 0;overflow-wrap:anywhere}
.site-footer a:hover{text-decoration:underline;color:white}
.site-footer p{color:#d2dfd2;line-height:1.8}
.footer-brand-title{display:flex;align-items:center;gap:9px;font-weight:800;font-size:23px;color:white}
.footer-bottom{max-width:1320px;margin:34px auto 0;padding:18px 0;border-top:1px solid #4a6c5c;display:flex;justify-content:space-between;gap:14px;color:#d5e2d4;font-size:12px}
.contact-page{color:#304438}.contact-shell{max-width:1320px;margin:auto;padding:0 24px}
.contact-hero{background:linear-gradient(120deg,#f1f5e7,#e2eddd);padding:42px 0 45px;border-bottom:1px solid #dce7d5}
.contact-hero h1{font-size:clamp(30px,3vw,42px);margin:10px 0}.contact-hero p{line-height:1.8;font-size:16px}.eyebrow{font-size:13px;color:#5b8650;font-weight:700}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:22px;margin-top:30px}
.contact-form-card,.aside-card{background:#fff;border:1px solid #e0e8dc;border-radius:18px;padding:28px;box-shadow:0 8px 28px #254e3e0a}
.contact-card-heading{display:flex;gap:14px;align-items:center;margin-bottom:24px}.contact-card-heading h2{font-size:24px;margin:0 0 5px}.contact-card-heading p{margin:0;color:#667a69}
.contact-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#e5f3e5;font-size:25px;color:#2d7650}
.contact-form-card form{display:grid;gap:17px}.contact-form-card label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:700}
.contact-form-card label small{font-weight:400;color:#718175;font-size:12px}.contact-form-card em{font-style:normal;color:#ae4c3c}
.contact-fields-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form-card input:not([type=checkbox]),.contact-form-card select,.contact-form-card textarea{box-sizing:border-box;width:100%;font:inherit;font-weight:400;border:1px solid #cbd8ca;background:#fff;border-radius:9px;padding:12px 14px;min-height:46px;color:#263b2b}
.contact-form-card textarea{min-height:155px;resize:vertical}
.contact-form-card input:focus,.contact-form-card textarea:focus,.contact-form-card select:focus{outline:3px solid #d3e8c5;border-color:#6a9462}
.form-actions{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.contact-form-card label.consent{flex-direction:row;align-items:flex-start;flex:1;min-width:250px;font-size:13px;font-weight:400;line-height:1.7}
.consent input{margin-top:5px}.consent a{color:#315f42}
.contact-submit{border:0;border-radius:10px;padding:13px 20px;background:#257445;color:#fff;font-size:15px;font-weight:700;cursor:pointer;min-height:48px}
.contact-submit:hover{background:#185a34}.contact-submit:disabled{opacity:.6;cursor:wait}
.form-feedback{font-size:14px;line-height:1.6}.form-feedback.error{color:#a12c2c}.form-feedback.success{color:#24623a}
.hidden-trap{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.contact-aside{display:flex;flex-direction:column;gap:18px}.aside-card h2{font-size:19px;margin:0 0 17px}.aside-tip{padding:16px;background:#f3f8ef;border-radius:11px;margin-bottom:12px}.aside-tip strong{color:#335c40}.aside-tip p{margin:7px 0 0;font-size:14px;line-height:1.65}.aside-card .contact-email{font-size:18px}
@media(max-width:850px){.footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-layout{grid-template-columns:1fr}.contact-fields-two{grid-template-columns:1fr}}
@media(max-width:560px){.footer-inner{grid-template-columns:1fr;gap:15px}.footer-bottom{flex-direction:column}.contact-shell{padding:0 15px}.contact-form-card,.aside-card{padding:20px}.contact-hero{padding:30px 0}.site-nav .nav-contact{padding:8px}}

/* v11: full-bleed single footer, independent of article width */
html,body{min-height:100%}
body{overflow-x:hidden}
footer.site-footer{display:block!important;position:relative;box-sizing:border-box;width:100%;max-width:none!important;margin:64px 0 0!important;padding:36px max(24px,calc((100vw - 1320px)/2)) 0!important;background:#254e3e;color:#f4f6ed;border:0;border-radius:0;font-size:14px;line-height:1.65;box-shadow:none}
.site-footer .footer-inner{width:100%;max-width:1320px;margin:0 auto;display:grid;grid-template-columns:minmax(220px,1.8fr) minmax(140px,1fr) minmax(170px,1fr);gap:clamp(20px,5vw,75px);align-items:start}
.site-footer .footer-brand-title{display:inline-flex;align-items:center;gap:10px;margin:0;color:#fff;text-decoration:none;font-size:22px;font-weight:800;white-space:nowrap}
.site-footer .footer-brand-title img{flex-shrink:0}
.site-footer .footer-brand p{margin:10px 0 0;color:#d7e4d7;font-size:13px;line-height:1.7}
.site-footer .footer-links h3{margin:2px 0 12px;color:#fff;font-size:15px;font-weight:750}
.site-footer .footer-links a{display:block;margin:7px 0;color:#d7e4d7;font-size:13px;text-decoration:none;overflow-wrap:normal;word-break:keep-all}
.site-footer .footer-links a:hover,.site-footer .footer-links a:focus-visible{text-decoration:underline;color:#fff}
.site-footer .footer-bottom{max-width:1320px;margin:26px auto 0;padding:15px 0 18px;border-top:1px solid #4e6d60;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#d7e4d7;font-size:12px}
@media(max-width:680px){footer.site-footer{margin-top:42px!important;padding:28px 20px 0!important}.site-footer .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px}.site-footer .footer-brand{grid-column:1/-1}.site-footer .footer-bottom{margin-top:24px}.site-footer .footer-brand-title{font-size:20px}}


/* v17: clearly visible, accessible preview generation state */
.canvas{position:relative}
.preview-loading[hidden]{display:none!important}
.preview-loading{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(250,251,246,.82);backdrop-filter:blur(2px)}
.preview-loading-card{display:flex;flex-direction:column;align-items:center;gap:12px;width:min(100%,390px);padding:26px 20px;border:1px solid #d5dfc9;border-radius:18px;background:#fffef9;box-shadow:0 14px 42px rgba(46,74,40,.15);text-align:center}
.preview-spinner{width:42px;height:42px;border:5px solid #dce9d3;border-top-color:#47783c;border-radius:50%;animation:preview-spin .8s linear infinite}
.preview-loading-card strong{font-size:18px;color:#31582e}
.preview-loading-card>span:last-child{font-size:13px;line-height:1.6;color:#687865}
.status{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:800;padding:9px 14px;white-space:nowrap}
.status.is-loading{background:#fff0d6;color:#8a4b08;border:1px solid #efc27d;box-shadow:0 0 0 3px rgba(239,194,125,.16)}
.status.is-loading::before{content:"";width:13px;height:13px;flex:none;border:2px solid #dca55b;border-top-color:#8a4b08;border-radius:50%;animation:preview-spin .75s linear infinite}
.status.is-done{background:#e5f3e0;color:#2d692d;border:1px solid #b9d8ad}
.status.is-error{background:#fff0ec;color:#a43d30;border:1px solid #edb4a8}
@keyframes preview-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.preview-spinner,.status.is-loading::before{animation-duration:2s}}
@media(max-width:600px){.preview-loading-card{padding:22px 15px}.preview-loading-card strong{font-size:16px}.status{font-size:12px;padding:8px 10px}}
