:root{--paper:#f6f1e7;--card:#fdfaf3;--ink:#221f1b;--muted:#6b6459;--rust:#b5482f;--border:#ddd3bf;--moss:#5b7259}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 Arial,Helvetica,sans-serif}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--rust);outline-offset:3px}.shell{max-width:1420px;padding:0 48px;margin:auto}nav{height:96px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font:bold 32px Georgia,serif;letter-spacing:-1.5px;display:flex;align-items:center;gap:6px}.brand span{font-weight:400}.brand i{font:32px Arial;color:var(--rust);margin-left:5px}.nav-note{font:10px monospace;letter-spacing:.11em;color:var(--muted)}.all{font-size:14px;text-decoration:none}.page-header{padding:38px 0 30px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font:11px/1.4 monospace;letter-spacing:.1em;color:var(--muted);margin:0 0 12px}h1{font:56px/1.07 Georgia,serif;letter-spacing:-2.5px;margin:0}h1 em{color:var(--rust);font-weight:400}.intro{margin:16px 0 0;color:var(--muted);font-size:16px}.stamp{border:2px solid var(--rust);padding:12px 20px;text-align:center;transform:rotate(7deg);color:var(--rust);font:20px/1.15 monospace;letter-spacing:2px;margin-right:14px}.stamp span{display:block;font-size:9px;letter-spacing:1px;border-top:1px solid;margin-top:7px;padding-top:6px}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;align-items:start}.editor{border:1px solid var(--border);border-radius:14px;background:var(--card);overflow:hidden}.editor-heading{padding:20px 22px;display:flex;justify-content:space-between;border-bottom:1px solid var(--border);align-items:center}h2{font:25px/1.2 Georgia,serif;margin:0}.editor-heading h2{font-size:22px}.text-button{border:0;background:none;text-decoration:underline;text-underline-offset:3px;color:var(--muted);font-size:13px;padding:8px}fieldset{border:0;border-bottom:1px solid var(--border);margin:0;padding:21px 22px 24px;min-width:0}fieldset:last-child{border-bottom:0}legend{float:left;width:100%;font-weight:600;font-size:14px;margin:0 0 16px}legend+*{clear:both}legend span{font:11px monospace;color:var(--rust);margin-right:8px}.view-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.view-choice{position:relative}.view-choice input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.view-choice>span{border:1px solid var(--border);border-radius:8px;padding:12px 3px;display:flex;align-items:center;flex-direction:column;gap:6px;font-size:12px}.view-choice b{height:24px;font-size:22px;line-height:1}.view-choice input:checked+span{background:#f3e8dc;border-color:var(--rust);color:var(--rust)}.view-choice input:focus-visible+span{outline:3px solid var(--rust);outline-offset:3px}.themes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.themes button{background:none;border:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.themes i{font:23px Georgia,serif;font-style:normal;width:100%;padding:10px 0;border:1px solid var(--border);border-radius:8px}.themes [aria-pressed=true] i{outline:2px solid var(--rust);outline-offset:3px}.colors{display:flex;gap:14px;justify-content:space-between;margin-top:21px}.colors label{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;color:var(--muted)}input[type=color]{padding:3px;background:var(--paper);border:1px solid var(--border);border-radius:50%;width:29px;height:29px;cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:17px}.field>input,.field>select,#embed-link{width:100%;min-width:0;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--ink);padding:10px 11px;font-size:14px;min-height:43px}.period-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 4px}.period-choices label{font-size:12px;display:flex;align-items:center;gap:3px;min-height:27px}.period-choices input{accent-color:var(--rust);width:15px;height:15px;margin:0 3px 0 0}.wide-choice{grid-column:1/-1}.small-note{font-size:12px;line-height:1.55;color:var(--muted);margin:6px 0 0}.paired{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.paired .field{margin-bottom:0}.validation{font-size:12px;color:#9b351f;margin:0 0 12px}.validation:empty{display:none}details{border-top:1px solid var(--border);padding-top:14px}summary{cursor:pointer;font-size:13px}details[open] summary{margin-bottom:16px}.preview-column{min-width:0}.preview-panel{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--card)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:13px 20px;border-bottom:1px solid var(--border);gap:12px}.preview-label{font:10px monospace;letter-spacing:.08em;display:flex;align-items:center;gap:7px;white-space:nowrap}.preview-label i{width:6px;height:6px;background:var(--moss);border-radius:50%}.sizes{display:flex;gap:3px;background:#eee8dd;padding:3px;border-radius:6px}.sizes button{background:none;border:0;border-radius:4px;font-size:12px;color:var(--muted);padding:6px 12px}.sizes [aria-pressed=true]{background:var(--card);color:var(--ink);box-shadow:0 1px 3px #221f1b12}.preview-stage{background-color:#eee9df;background-image:radial-gradient(#c8c0b3 0.7px,transparent .7px);background-size:14px 14px;padding:28px;display:flex;align-items:center;justify-content:center;min-height:555px}.frame-wrap{width:100%;max-width:790px;height:495px;border:1px solid #d9d0c0;border-radius:9px;overflow:hidden;box-shadow:0 10px 26px #221f1b10;background:var(--paper)}iframe{border:0;display:block;width:100%;height:100%}.frame-wrap.short{height:240px}.frame-wrap.tall{max-width:360px;height:600px}.preview-caption{padding:12px 20px;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}.preview-caption a{white-space:nowrap;text-underline-offset:3px}.embed-panel{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:23px;padding:27px 28px;background:#e9e9dd;border:1px solid #d3d5c4;border-radius:12px;align-items:center}.embed-panel .eyebrow{font-size:10px}.embed-panel h2{font-size:27px;letter-spacing:-.5px}.embed-panel p{font-size:13px;color:#5b5e50;margin:12px 0 0;max-width:340px}.embed-panel p.small-note{font-size:11px}.copy-area{min-width:0;display:flex;flex-direction:column;gap:8px}.copy-area>label{font-size:12px}#embed-link{font:12px monospace;text-overflow:ellipsis;background:#f7f8ef}.primary{background:var(--ink);color:#fdfaf3;border:1px solid var(--ink);border-radius:7px;font-size:14px;padding:13px 15px;display:flex;justify-content:space-between;gap:12px}.primary:hover{background:#443b31}.help{margin:25px 0}.help details{padding:16px 0}.help summary{font-size:14px}.help p{font-size:14px;color:var(--muted);max-width:670px;line-height:1.7}.site-footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:25px 0 35px;font-size:12px;color:var(--muted);gap:20px}.site-footer a{text-decoration:none}[hidden]{display:none!important}@media(min-width:1500px){.preview-stage{min-height:585px}.frame-wrap{height:525px}}@media(max-width:1100px){.shell{padding:0 26px}.workspace{grid-template-columns:300px minmax(0,1fr);gap:20px}.preview-stage{padding:18px}.embed-panel{grid-template-columns:1fr;gap:20px}.nav-note{display:none}fieldset{padding:20px}.preview-caption{font-size:11px}}@media(max-width:800px){.workspace{display:flex;flex-direction:column}.editor{width:100%;order:2}.preview-column{width:100%;order:1}.page-header{padding:28px 0}.page-header h1{font-size:43px}.stamp{font-size:16px;padding:10px 13px}.intro{max-width:330px;font-size:14px}.preview-stage{min-height:0;padding:18px}.frame-wrap{height:510px}.help{display:none}.embed-panel{grid-template-columns:1fr 1fr}.editor-heading{padding:18px 22px}.themes{max-width:330px}.colors{justify-content:flex-start;gap:30px}.view-options{max-width:450px}.period-choices{grid-template-columns:repeat(4,1fr)}.site-footer{margin-top:28px}nav{height:77px}}@media(max-width:480px){.shell{padding:0 16px}.brand{font-size:27px}.brand i{font-size:25px}.all{font-size:12px}.stamp{display:none}.page-header h1{font-size:42px}.intro{font-size:14px}.eyebrow{font-size:9px}.preview-toolbar{padding:10px 12px;gap:6px}.sizes button{padding:7px 9px}.preview-label{font-size:9px}.preview-stage{padding:12px}.frame-wrap{height:510px}.preview-caption{padding:11px 12px}.preview-caption>span{max-width:60%}.embed-panel{grid-template-columns:1fr;padding:22px;gap:20px}.embed-panel h2{font-size:25px}.embed-panel p{max-width:none}.period-choices{grid-template-columns:repeat(3,1fr)}}
.frame-wrap{height:580px}.preview-stage{min-height:638px}.frame-wrap.short{height:240px}.frame-wrap.tall{height:620px}@media(max-width:800px){.preview-stage{min-height:0}.frame-wrap{height:600px}.frame-wrap.short{height:240px}.frame-wrap.tall{height:620px}}@media(max-width:480px){.frame-wrap{height:600px}.frame-wrap.short{height:240px}.frame-wrap.tall{height:620px}}
.field,.view-choice>span,.period-choices label,.sizes button,.copy-area>label,summary{font-size:14px}.text-button{font-size:14px}.themes button,.colors label,.preview-label,.eyebrow,.nav-note,.preview-caption,.embed-panel .eyebrow,.embed-panel p.small-note{font-size:12px}.preview-caption>span{line-height:1.5}@media(max-width:480px){.preview-label{font-size:12px;letter-spacing:0}.preview-toolbar{flex-wrap:wrap}.view-choice>span{font-size:14px}.eyebrow{font-size:12px}.preview-caption{font-size:12px}}
/* Release refinement: preserve room for the keyboard/touch date inspector. */
.frame-wrap { height: 660px; }
.frame-wrap.short { height: 240px; }
.frame-wrap.tall { height: 720px; }
.preview-stage { min-height: 716px; }
@media(max-width:800px) { .preview-stage { min-height: 0; } .frame-wrap { height: 720px; } .frame-wrap.short { height: 240px; } }
@media(max-width:480px) { .frame-wrap { height: 720px; } .frame-wrap.short { height: 240px; } }
@media(max-width:800px) { .help { display: block; } }
