@charset "UTF-8";
:root{--paper:#fffcf6;--bg:#f7f4ed;--ink:#354335;--muted:#6d7467;--olive:#53644b;--rose:#875c64;--line:#d7d9cb;--serif:"Songti SC","Noto Serif SC",SimSun,Georgia,serif;font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--rose);outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden}a{color:inherit;text-decoration:none}
.site-header{max-width:1220px;margin:auto;padding:30px 34px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:23px;letter-spacing:4px;font-weight:500}.brand small{display:block;font-size:8px;letter-spacing:2.1px;margin-top:7px;color:var(--muted)}.preview-badge{font-size:12px;color:var(--muted)}.layout{max-width:1200px;margin:52px auto 70px;padding:0 34px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:74px;align-items:start}.photograph{position:sticky;top:35px;aspect-ratio:4/5;padding:9px;background:var(--paper);box-shadow:0 16px 36px #394c2912;outline:1px solid #d5d9ca;transform:rotate(-1deg)}.photograph img{display:block;width:100%;height:100%;object-fit:cover;object-position:54% 42%}.photo-border{position:absolute;inset:21px;border:1px solid #fff8;pointer-events:none}.workspace{min-width:0}.eyebrow{font-size:11px;letter-spacing:1.7px;color:var(--muted)}.section-heading{padding-bottom:28px}.section-heading h1{font-family:var(--serif);font-size:31px;font-weight:400;letter-spacing:1px;line-height:1.5;margin:14px 0 13px}.section-heading p{font-size:14px;line-height:1.8;color:var(--muted);margin:0}label{display:block;font-size:15px;font-weight:500;margin-bottom:12px}.label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:25px}.count{font-size:11px;line-height:1.8;color:var(--muted);font-variant-numeric:tabular-nums}#name-count{display:block;text-align:right;margin-top:5px}input:not([type=range]),textarea{display:block;width:100%;border:1px solid #cfd3c4;border-radius:5px;background:var(--paper);color:var(--ink);font-size:16px;padding:14px 15px;line-height:1.9;outline:none;transition:border-color .15s}input:focus,textarea:focus{border-color:#8b9b7d;box-shadow:0 0 0 3px #8b9b7d18}input[readonly],textarea[readonly]{background:#f0efe7}input::placeholder,textarea::placeholder{color:#7d8277;font-size:14px}textarea{resize:vertical;min-height:120px}#background{min-height:152px}input:not([type=range]){min-height:52px}.primary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:17px 22px;margin:27px 0 0;background:var(--olive);color:#fffdf6;border:1px solid var(--olive);border-radius:5px;min-height:56px;font-size:16px;letter-spacing:1px}.primary:hover:not(:disabled){background:#43543d}.primary span:last-child{font-size:21px}.primary #generate-label{font-size:16px}.progress{font-size:14px;color:var(--muted);line-height:1.8;text-align:center}.progress:before{content:"";display:inline-block;width:12px;height:12px;border:1px solid #b6bdab;border-top-color:var(--olive);border-radius:50%;margin-right:9px;animation:turn .9s linear infinite}@keyframes turn{to{transform:rotate(360deg)}}.text-button{border:0;background:transparent;font-size:13px;min-height:44px;padding:10px 4px;color:var(--rose);text-underline-offset:4px}.text-button:hover{text-decoration:underline}.service-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.service-row p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.service-row button{white-space:nowrap}.secondary{width:100%;min-height:49px;background:transparent;border:1px solid #cdd1c2;border-radius:5px;margin-top:12px;color:var(--ink);font-size:14px}.privacy,.meaning-note{font-size:12px;line-height:1.9;color:var(--muted);margin-top:22px}.privacy summary,.meaning-note summary{padding:12px 0}.privacy p,.meaning-note p{margin:0 0 12px;overflow-wrap:anywhere}.error{margin-top:20px;padding:17px;border-left:3px solid #9f6c61;background:#f1e5dd;color:#764b42;font-size:14px;line-height:1.9;outline:none}.result-actions{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:13px;color:var(--muted)}.example-note{padding:12px 16px;font-size:13px;line-height:1.8;background:#eceee3;color:#55614b;border-radius:3px}.screen-card{padding:36px 32px 34px;background:var(--paper);border:1px solid #d5d7c8;border-top:3px solid #b88a8e;box-shadow:0 8px 34px #394c2906;overflow-wrap:anywhere}.recipient{text-align:center;font-size:14px;color:var(--muted);line-height:1.9;white-space:pre-wrap;margin-bottom:26px}.date-field{text-align:center}.date-field .eyebrow{display:block;letter-spacing:3px}.date-field strong{display:block;font-family:Georgia,var(--serif);font-weight:400;font-size:40px;letter-spacing:3px;margin-top:10px;color:#7b5e58}.flower-field{text-align:center;margin:30px 0 23px}.flower-field .eyebrow{font-size:10px;letter-spacing:4px}.flower-field h2{font-family:var(--serif);font-size:39px;font-weight:400;letter-spacing:3px;line-height:1.5;margin:12px 0 0;outline:none;white-space:pre-wrap}.meaning-field{border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;padding:22px 0;margin-bottom:28px}.screen-card h3{font-weight:500;font-size:12px;letter-spacing:1px;color:var(--muted);margin:0 0 13px}.meaning-field p{font-size:24px;font-family:var(--serif);color:var(--rose);margin:0;line-height:1.8;white-space:pre-wrap}.impression-field #why-ta{font-size:16px;line-height:2;white-space:pre-wrap;margin:0}.impression-field{margin-top:28px;padding:20px;background:#f1e9e57a;border-left:2px solid #bd9798}.impression-field blockquote{font-family:var(--serif);font-size:19px;line-height:1.9;margin:0;color:#704f56;white-space:pre-wrap}#export-section{margin-top:25px}#card-settings{border-top:1px solid var(--line)}#card-settings>summary{list-style:none;min-height:50px;display:flex;align-items:center;justify-content:space-between;font-size:14px;padding:12px 0}#card-settings summary::-webkit-details-marker{display:none}.card-backgrounds{margin:12px 0 18px;padding:0;border:0;min-width:0}.background-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.background-options button{border:1px solid #cfd2c5;border-radius:4px;min-width:0;min-height:75px;padding:7px 4px;background:var(--paper);font-size:12px;color:var(--ink)}.background-options button[aria-pressed=true]{border-color:#996974;box-shadow:0 0 0 1px #996974}.swatch{display:block;height:36px;margin-bottom:7px;border-radius:2px;background-size:cover;background-position:center}.swatch.plain{background:#efeadf}.swatch.tulips{background-image:url('/assets/card-tulips.png')}.swatch.white{background-image:url('/assets/card-white-flower.png')}.swatch.pond{background-image:url('/assets/card-waterlily.png')}.swatch.mist{background-image:url('/assets/card-mist.png')}.opacity-label{display:flex;align-items:center;justify-content:space-between;font-size:13px}.opacity-label output{font-size:12px;font-weight:400}input[type=range]{width:100%;height:44px;margin:0 0 18px;accent-color:var(--rose)}.export-preview{max-width:380px;margin:0 auto 15px}.export-preview canvas{display:block;width:100%;height:auto;aspect-ratio:9/16;border:1px solid var(--line);box-shadow:0 6px 22px #35433512}.export-status{font-size:13px;line-height:1.9;color:var(--muted);margin:12px 0 0;overflow-wrap:anywhere}.export-status:empty{display:none}.export-status[data-state=error],.export-status[data-state=overflow]{color:#805344}#download{margin-top:14px}.image-fallback{display:block;text-align:center;font-size:14px;text-decoration:underline;min-height:44px;padding:14px}.site-footer{max-width:1132px;margin:0 auto;padding:25px 0 35px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);letter-spacing:2px}
@media(max-width:850px){.site-header{padding:23px 2px 20px;margin:0 22px}.brand{font-size:21px;letter-spacing:3px}.brand small{font-size:7px;letter-spacing:1.8px}.preview-badge{font-size:10px}.layout{display:flex;flex-direction:column;max-width:580px;padding:0 22px;margin:26px auto 42px;gap:30px}.photograph{width:100%;aspect-ratio:2.3/1;max-height:220px;position:relative;top:auto;padding:5px;transform:none}.photograph img{object-position:50% 36%}.photo-border{inset:13px}.workspace{width:100%}.section-heading{padding-bottom:26px}.section-heading h1{font-size:28px;letter-spacing:.3px;margin-top:12px}.section-heading .eyebrow{font-size:9px}.section-heading p{font-size:14px}.screen-card{padding:31px 24px}.flower-field h2{font-size:36px}.recipient{font-size:14px;margin-bottom:23px}.impression-field #why-ta{font-size:16px;line-height:1.95}.date-field strong{font-size:39px}.impression-field{padding:19px 16px}.impression-field blockquote{font-size:19px}.site-footer{margin:0 22px;padding:24px 0 28px}.result-actions{margin-bottom:15px}.section-heading h1{white-space:normal}}
@media(max-width:360px){.site-header{margin:0 18px}.brand{font-size:19px;letter-spacing:2px}.layout{padding:0 18px;gap:26px}.section-heading h1{font-size:25px}.screen-card{padding:28px 20px}.flower-field h2{font-size:32px}.meaning-field p{font-size:23px}.impression-field{padding:16px 12px}.background-options{gap:5px}.background-options button{font-size:11px}.site-footer{margin:0 18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:850px){.photograph{height:clamp(132px,40vw,190px);min-height:0;aspect-ratio:auto;flex-shrink:0;overflow:hidden}}
/* Background choice is a visible, expanded control rather than a quiet text link. */
#card-settings{padding:0 14px 14px;background:#fffbf3;border:1px solid #bcc7b1;border-radius:7px;box-shadow:0 3px 14px #53644b08}
#card-settings>summary{font-size:16px;font-weight:600;color:#43543d;min-height:58px;padding:14px 1px}
#card-settings>summary span{font-size:23px;transition:transform .15s}
#card-settings[open]>summary span{transform:rotate(180deg)}
.background-options button{min-height:92px;font-size:12px;padding:7px 4px}
.background-options button[aria-pressed=true]{background:#f1e7e4;border-color:#95636e;box-shadow:0 0 0 2px #95636e}
.swatch{height:50px}
/* Local licensed book serif: regular prose, a slightly stronger flower title. */
:root{--serif:"Flower Serif","Noto Serif SC","Songti SC",SimSun,serif}
.screen-card{font-family:var(--serif);font-weight:400;font-synthesis:none}
.screen-card h3,.screen-card .eyebrow{font-family:"Microsoft YaHei","PingFang SC",sans-serif;letter-spacing:.08em}
.recipient{font-family:var(--serif);font-size:17px;letter-spacing:.09em}
.date-field strong{font-family:var(--serif);font-size:37px;letter-spacing:.08em}
.flower-field h2{font-family:var(--serif);font-weight:600;letter-spacing:.07em;font-size:38px}
.meaning-field p{font-family:var(--serif);font-size:25px;font-weight:400;letter-spacing:.04em}
.impression-field #why-ta{font-family:var(--serif);font-size:17px;line-height:2.05;letter-spacing:.015em}
.impression-field blockquote{font-family:var(--serif);font-size:20px;font-weight:400;line-height:1.95;letter-spacing:.025em}
.card-credit{font-family:var(--serif);font-size:13px;color:#4b5845;text-align:center;line-height:1.8;letter-spacing:.03em;margin-top:28px;padding-top:19px;border-top:1px solid #d7d9cb}
@media(max-width:360px){.flower-field h2{font-size:34px}.impression-field #why-ta{font-size:16px}.impression-field blockquote{font-size:19px}}
/* Stable preview geometry prevents document shrinkage during every input event. */
.export-preview{aspect-ratio:9/16;width:100%;overflow-anchor:none}
.export-preview canvas{width:100%;height:100%}
.export-status{min-height:25px}
.export-status:empty{display:block}
.birthday-field{border:0;margin:26px 0 0;padding:0;min-width:0}
.birthday-field legend{font-size:15px;font-weight:500}.birthday-field legend span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
.birthday-field p{font-size:12px;line-height:1.8;color:var(--muted);margin:9px 0 12px}
.birthday-selects{display:flex;align-items:center;gap:10px}.birthday-selects select{font:inherit;font-size:16px;min-width:0;flex:1;min-height:52px;color:var(--ink);background:var(--paper);border:1px solid #cfd3c4;border-radius:5px;padding:10px}.birthday-selects select:focus-visible{outline:2px solid var(--rose);outline-offset:2px}.birthday-selects select:disabled{background:#f0efe7}

/* User-selected backgrounds:15 photographs plus plain paper. */
.background-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.background-options button{min-height:99px;overflow-wrap:anywhere}.swatch{height:62px}.background-rights{min-height:40px;margin:0 0 8px;font-size:12px;line-height:1.7;color:#7d514e}
.swatch.user02{background-image:url("/assets/card-user-02.png")}
.swatch.user03{background-image:url("/assets/card-user-03.png")}
.swatch.user04{background-image:url("/assets/card-user-04.png")}
.swatch.user05{background-image:url("/assets/card-user-05.png")}
.swatch.user06{background-image:url("/assets/card-user-06.png")}
.swatch.user07{background-image:url("/assets/card-user-07.png")}
.swatch.user08{background-image:url("/assets/card-user-08.png")}
.swatch.user09{background-image:url("/assets/card-user-09.png")}
.swatch.user10{background-image:url("/assets/card-user-10.png")}
.swatch.user11{background-image:url("/assets/card-user-11.png")}
.swatch.user12{background-image:url("/assets/card-user-12.png")}
.ink-settings{border:0;padding:0;margin:4px 0 16px;min-width:0}.ink-settings legend{font-size:14px;font-weight:500;margin-bottom:12px}.ink-options{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ink-options button{min-height:44px;padding:7px 10px;border:1px solid #cdd1c2;border-radius:5px;background:var(--paper);color:var(--ink);font-size:12px;display:flex;align-items:center;gap:5px}.ink-options button[aria-pressed=true]{border-color:#875c64;box-shadow:0 0 0 2px #875c64;background:#f0e6e3}.ink-dot{width:17px;height:17px;border-radius:50%;border:1px solid #b8bead;display:inline-block}.ink-charcoal{background:#273227}.ink-rose{background:#6b4051}.ink-cream{background:#fffaf1}.ink-mint{background:#b8d7d0}.custom-ink{font-size:12px;display:flex;gap:7px;align-items:center;margin:0;min-height:44px}.custom-ink input[type=color]{width:44px;height:44px;min-height:44px;padding:3px;cursor:pointer}

/* Botanical details use the same book serif as the reading card. */
.plant-info-field{margin:24px 0 27px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.plant-info-field h3{font-size:13px;font-weight:400;color:var(--muted);margin:0 0 11px}
.plant-info-field p{font-family:var(--serif);font-size:16px;line-height:1.95;letter-spacing:.015em;margin:0;overflow-wrap:anywhere}

/* One heading, character interpretation first, then a separated birthday inscription. */
.impression-field #birthday-impression{margin-top:20px}

.field-range{font-size:11px;font-weight:400;color:var(--muted);margin-left:6px}.count[data-invalid=true]{color:#87514b}

/* Shared creator/contact footer, adapted from OCTI. */
.footer-brand{margin:0 0 20px}
.contact-panel{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:12px;letter-spacing:0}
.contact-link{display:flex;align-items:center;justify-content:flex-start;gap:14px;min-width:0;min-height:50px;padding:13px 16px;border:1px solid #b9c1af;color:var(--ink);font-family:var(--serif);font-size:13px;line-height:1.8;text-decoration:none;overflow-wrap:anywhere}
.contact-link:hover{background:#eceee3;border-color:var(--olive)}
.contact-link:focus-visible{outline:2px solid var(--rose);outline-offset:4px}
.contact-feedback{color:#875c64;border-color:#c7a8ae;justify-content:space-between}
@media(max-width:850px){.contact-panel{grid-template-columns:minmax(0,1fr);gap:10px}.contact-link{padding:13px 14px}.footer-brand{margin-bottom:17px}}

.usage-description{font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 14px}

#usage-notice{width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 22px 80px #20302633;overflow:auto}#usage-notice::backdrop{background:#28352880;backdrop-filter:blur(3px)}.notice-content{padding:28px 30px 12px}.notice-content h2{font-family:var(--serif);font-size:28px;font-weight:500;margin:16px 0 24px}.notice-content h3{font-size:17px;margin:26px 0 12px}.notice-content p{font-size:14px;line-height:1.95;color:var(--muted)}.notice-controls{position:sticky;bottom:0;padding:18px 30px;background:var(--paper);border-top:1px solid var(--line)}.notice-controls label{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7;margin:0 0 12px}.notice-controls input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:2px 0;padding:0;accent-color:var(--olive)}.notice-actions{display:flex;justify-content:flex-end;gap:12px}.notice-actions button{width:auto;margin:8px 0 0;min-height:46px;padding:12px 18px;font-size:14px}.notice-declined{max-width:1200px;margin:20px auto;padding:0 24px;color:var(--rose);font-size:14px}@media(max-width:500px){.notice-content{padding:20px 20px 10px}.notice-content h2{font-size:25px}.notice-controls{padding:14px 18px}.notice-actions button{padding:11px 13px}}
