:root{color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172e2a;background:#f4f5ee}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{touch-action:manipulation}button{border:1px solid #95a8a2;border-radius:8px;background:#fff;color:#193c32;padding:10px 14px;cursor:pointer;min-height:44px;font-weight:650}button:hover{background:#e6eee9}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a04416;outline-offset:3px}.primary{background:#1d5944;color:#fff;border-color:#1d5944}.primary:hover{background:#153e31}.app-head{padding:22px 30px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border-bottom:1px solid #d9e0d7}.app-head h1{margin:8px 0;font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.04em}.app-head p{max-width:700px;margin:0;color:#465e55;line-height:1.5}.back{font-size:.88rem;color:#235c46;text-decoration:none}.local-badge{background:#e9f1de;padding:8px 12px;border-radius:20px;font-size:.8rem;white-space:nowrap;font-weight:650}.savebar{padding:14px 30px 0;display:flex;gap:10px;flex-wrap:wrap;align-items:center}#save-state{font-size:.85rem;color:#4a6056;padding:6px}#status{margin:12px 30px 16px;font-size:.9rem;min-height:1.4em;color:#335348}#status.error{color:#a02b18}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;margin:0 30px 30px}.details,.preview{background:#fff;border:1px solid #d8e0d5;border-radius:14px}.details{padding:20px;max-height:calc(100vh - 260px);overflow:auto;scroll-margin-top:15px}.details h2,.preview h2{font-size:1.1rem;margin:0 0 8px}.hint{font-size:.84rem;line-height:1.5;color:#52665d;margin:0 0 18px}.details label{display:block;font-size:.86rem;font-weight:650;margin:16px 0 0}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #9eafa6;border-radius:7px;padding:9px;margin-top:6px;color:#1c382d;background:white;min-width:0}textarea{resize:vertical;line-height:1.5}.check{display:flex!important;align-items:center;gap:8px}.check input{width:18px;height:18px}.help{border-top:1px solid #dde3da;margin-top:20px;padding-top:16px;font-size:.84rem;line-height:1.55}.help summary{font-weight:700;cursor:pointer}.help ol{padding-left:22px}.help a{color:#235c46}.preview{overflow:hidden;min-width:0}.preview-head{padding:20px;display:flex;justify-content:space-between;align-items:center;gap:14px}.preview-head .hint{margin:0}.view-buttons{display:flex;gap:5px}.view-buttons button[aria-pressed=true]{background:#dceada;border-color:#32684d}.canvas-note{font-size:.75rem;color:#5f6b60;margin:0;padding:12px 20px;background:#f9faf5}#editor{height:620px!important;min-height:500px;border-top:1px solid #d8e0d5}.gjs-cv-canvas{width:100%!important;height:100%!important;top:0!important;background:#e3e6df}.gjs-pn-panels,.gjs-toolbar,.gjs-badge,.gjs-rte-toolbar,.gjs-resizer{display:none!important}.gjs-cv-canvas__frames{min-width:0!important}.gjs-frame{background:#fff}.gjs-frame-wrapper{max-width:100%}dialog{max-width:440px;width:calc(100% - 32px);padding:26px;border:1px solid #98aa9c;border-radius:15px;color:#18362b}dialog::backdrop{background:#123b2b66}dialog h2{font-size:1.3rem}dialog p{line-height:1.6}.dialog-actions{display:flex;gap:10px;justify-content:flex-end}.skip{position:absolute;left:10px;top:-50px;background:white;padding:10px;z-index:20}.skip:focus{top:10px}@media(max-width:1000px){.workspace{grid-template-columns:270px minmax(0,1fr);gap:12px;margin:0 16px 20px}.preview-head{align-items:flex-start;flex-direction:column}.app-head{padding:18px 16px;align-items:flex-start;flex-direction:column;gap:10px}.savebar{padding:12px 16px 0}#status{margin:10px 16px}.details{max-height:720px;padding:16px}.local-badge{font-size:.75rem}}@media(max-width:700px){.workspace{display:flex;flex-direction:column}.details{max-height:none}.preview{order:-1}.preview-head{flex-direction:row;padding:16px}.preview-head .hint{max-width:220px}.view-buttons{flex-direction:column}.view-buttons button{padding:7px 12px}#editor{height:480px!important;min-height:480px}.app-head p{font-size:.9rem}.savebar button{flex:1 1 42%;font-size:.85rem;padding:10px 6px}#save-state{width:100%}}

#import-review{max-height:45vh;overflow:auto;border:1px solid #dde3da;padding:14px;border-radius:8px}#import-review dt{font-weight:700;margin-top:12px}#import-review dt:first-child{margin-top:0}#import-review dd{margin:4px 0 12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.5}dialog{max-height:calc(100dvh - 32px);overflow:auto}

.export-privacy{margin:12px 30px 0;font-size:.8rem;line-height:1.5;color:#465e55;max-width:900px}@media(max-width:1000px){.export-privacy{margin:12px 16px 0}}

[hidden]{display:none!important}
