body { background:linear-gradient(150deg,#faf8f0,#f4e9d5); min-height:100vh; }
.header-note { margin-left:auto; color:#8b755e; font-size:13px; }
.workspace { display:grid; grid-template-columns:minmax(340px,.87fr) minmax(0,1.13fr); gap:28px; margin-top:28px; align-items:start; }
.form-panel,.preview-panel { border:1px solid #e7dcc8; background:#fffdf8; border-radius:14px; padding:26px; }
.section-heading { display:flex; gap:13px; align-items:baseline; }
.step { font:italic 24px Georgia,serif; color:#b29159; }
h2 { font-size:20px; margin:0 0 5px; font-weight:600; }
.section-heading p { margin:0; color:#96826e; font-size:12px; }
form { margin-top:25px; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:20px; }
label,legend { font-size:14px; font-weight:500; }
fieldset { border:0; padding:0; margin:0; min-width:0; }
legend { padding:0; margin-bottom:8px; }
input,select,button { font:inherit; }
input:not([type=radio]),select { width:100%; height:47px; margin-top:8px; border:1px solid #d9cdb8; background:white; border-radius:7px; padding:10px 12px; color:#362419; font-size:16px; }
input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible { outline:2px solid #9e5a36; outline-offset:3px; }
.input-unit { position:relative; }
.input-unit input { padding-right:32px; }
.input-unit>span { position:absolute; top:21px; right:12px; color:#a18d75; font-size:12px; }
.segmented { display:flex; border:1px solid #d9cdb8; border-radius:7px; height:47px; overflow:hidden; }
.segmented label { position:relative; flex:1; cursor:pointer; }
.segmented input { position:absolute; opacity:0; }
.segmented span { display:grid; height:100%; place-items:center; font-size:15px; background:white; }
.segmented input:checked+span { background:#eeddbd; color:#743e22; font-weight:bold; }
.segmented input:focus-visible+span { outline:2px solid #9e5a36; outline-offset:-3px; }
.summary { display:flex; justify-content:space-between; gap:16px; padding:18px; background:#f7efdf; border-radius:7px; }
.summary span { display:block; font-size:12px; color:#8a7458; margin-bottom:5px; }
.summary strong { font-size:21px; color:#8b1014; font-weight:600; font-variant-numeric:tabular-nums; }
.hint { font-size:12px; line-height:1.8; color:#97836d; margin:9px 0 19px; }
.headline-label { display:flex; justify-content:space-between; }
.headline-label span { font-size:12px; color:#9c866c; }
.primary { display:flex; width:100%; justify-content:space-between; background:#8b1014; color:#fff8e8; border:0; border-radius:7px; padding:14px 18px; cursor:pointer; font-weight:600; }
.primary:hover { background:#a01e21; }.primary:disabled { opacity:.65; cursor:wait; }
.status { margin:12px 0 0; font-size:13px; color:#8b1014; min-height:20px; }
details { border-top:1px solid #eee2cf; padding-top:15px; font-size:12px; color:#927c61; }
summary { cursor:pointer; }details p { line-height:1.9; }
.preview-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; }
.download { white-space:nowrap; background:#eee0c7; color:#6d4429; border:1px solid #ddc6a5; padding:8px 12px; border-radius:6px; font-size:13px; text-decoration:none; }
.preview-placeholder { text-align:center; padding:95px 0 100px; color:#a18c73; }
.paper-icon { font-size:62px; color:#c2a16e; }.preview-placeholder h3 { color:#745a3d; font-size:19px; font-weight:500; }.preview-placeholder p { font-size:13px; line-height:2; }
.image-wrap { margin-top:23px; }.image-wrap img { display:block; width:100%; height:auto; box-shadow:0 8px 28px #80613b1a; }
.save-tip { color:#907a61; font-size:12px; line-height:1.7; }
footer { padding:24px 3px 5px; max-width:950px; color:#9b8b77; font-size:11px; line-height:1.9; }
[hidden] { display:none!important; }
@media(max-width:900px) { .workspace { grid-template-columns:1fr; gap:20px; }.preview-placeholder { padding:45px 0; } }
@media(max-width:680px) { .header-note { font-size:11px; }.form-panel,.preview-panel { padding:20px 17px; }.workspace { margin-top:18px; }.field-row { gap:13px; }.summary strong { font-size:19px; }.hero h1 { font-size:42px; }.hero-copy { padding:22px 22px 3px; }.hero-art { max-height:195px; object-fit:cover; }.hero h1 br { display:none; }.hero p { font-size:13px; }.preview-heading { align-items:start; }.download { padding:7px 9px; } }
