/* One calm editor, retaining the established export engine and all original controls. */
body.gg130-atelier #gg114-page{width:min(1280px,calc(100% - 40px))!important;max-width:1280px!important;margin:30px auto 65px!important}
body.gg130-atelier #gg116-studio-root .gg103-layout{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(330px,.85fr)!important;gap:24px!important;margin:26px 0!important;align-items:start!important}
body.gg130-atelier #gg116-studio-root .gg103-main,body.gg130-atelier #gg116-studio-root .gg103-side{padding:26px!important;border:1px solid #e8d8c5!important;background:#fffdfa!important;border-radius:22px!important;box-shadow:0 8px 24px #4c382808!important;min-width:0!important}
body.gg130-atelier #gg116-studio-root :is(.gg103-section-head h2,.gg130-control-head h2){font:500 28px/1.2 var(--vv-font-serif,Georgia),serif!important;color:#3c3027!important;margin:6px 0 10px!important}
body.gg130-atelier #gg116-studio-root .gg103-section-head p{font-size:13px!important;line-height:1.7!important;color:#77695b!important}
body.gg130-atelier #gg116-studio-root .gg103-preview-head{margin:18px 0 10px!important}
body.gg130-atelier #gg116-studio-root .gg103-preview-slot{padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;overflow:hidden!important}
body.gg130-atelier #gg116-studio-root #vvPoemRenderCanvas{border:0!important;border-radius:0!important;box-shadow:none!important;width:100%!important;max-width:100%!important;aspect-ratio:var(--gg105-preview-ratio,1/1)!important;height:auto!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:4%!important;box-sizing:border-box!important}
body.gg130-atelier #gg116-studio-root #vvPoemRenderCanvas .preview-inner{display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:0!important;height:auto!important;max-height:94%!important;width:100%!important;padding:4%!important;box-sizing:border-box!important}
body.gg130-atelier #gg116-studio-root #vvRenderTitle{font-size:clamp(22px,2.4vw,32px)!important;line-height:1.2!important;margin:0 0 18px!important}
body.gg130-atelier .gg118-full-poem,.gg130-export .gg118-full-poem{line-height:1.6;text-align:center;overflow-wrap:anywhere}
body.gg130-atelier .gg118-full-poem p,.gg130-export .gg118-full-poem p{margin:0 0 .24em;min-height:1em;white-space:pre-wrap;line-height:inherit;font-size:inherit!important}
body.gg130-atelier #gg116-studio-root .gg116-author-credit,.gg130-export .gg116-author-credit{position:static!important;margin:18px 0 0!important;padding-top:12px!important;font-family:var(--vv-font-serif,Georgia),serif;font-size:16px;font-style:italic;border-top:1px solid #79614930;text-align:center;color:inherit!important}
.gg130-readable .preview-inner{background:rgba(255,251,244,.84)!important;border-radius:8px!important;color:#3b3029!important}
body.gg130-atelier .gg130-design-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border-radius:12px;background:#f3eade;margin:18px 0}
body.gg130-atelier .gg130-design-tabs button{background:transparent!important;color:#795c3d!important;border:0!important;border-radius:9px!important;min-height:42px;padding:10px!important;box-shadow:none!important;font-size:13px!important;cursor:pointer}
body.gg130-atelier .gg130-design-tabs button[aria-selected=true]{background:#fffdfa!important;box-shadow:0 2px 7px #5b3e2010!important}
body.gg130-atelier #gg116-studio-root [role=tabpanel][hidden],body.gg130-atelier #gg116-studio-root [hidden]{display:none!important}
body.gg130-atelier #gg116-studio-root .gg105-gallery{display:block!important;margin:0!important;border:0!important;padding:0!important;background:transparent!important}
body.gg130-atelier #gg116-studio-root .gg105-gallery>summary{display:none!important}
body.gg130-atelier #gg116-studio-root .gg105-gallery>p{font-size:12px!important;line-height:1.6!important;margin:0 0 14px!important}
body.gg130-atelier #gg116-studio-root .gg120-gallery-toolbar{margin:0 0 12px!important;gap:10px!important;display:flex!important;align-items:end!important;flex-wrap:wrap!important}
body.gg130-atelier #gg116-studio-root .gg120-gallery-label{min-width:0!important;flex:1!important;font-size:12px!important;display:grid!important;gap:6px!important}
body.gg130-atelier #gg116-studio-root .gg120-gallery-select{width:100%!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #e3cfb6!important;border-radius:10px!important;color:#5e4937!important;padding:10px!important;min-height:44px!important;font-size:14px!important}
body.gg130-atelier #gg116-studio-root .gg120-gallery-count{font-size:11px!important;color:#8d7253!important;padding-bottom:12px!important}
body.gg130-atelier #gg116-studio-root .gg105-gallery-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-height:300px!important;overflow-y:auto!important;padding:3px!important;align-content:start!important;grid-auto-rows:max-content!important}
body.gg130-atelier #gg116-studio-root .gg105-image-option{padding:2px!important;border:1px solid transparent!important;border-radius:10px!important;min-width:0!important;background:transparent!important;box-shadow:none!important;display:flex!important;gap:4px!important;flex-direction:column!important}
body.gg130-atelier #gg116-studio-root .gg105-image-option[aria-pressed=true]{border-color:#a77b48!important;background:#f1e3d0!important;outline:1px solid #a77b48!important}
body.gg130-atelier #gg116-studio-root .gg105-image-option img{width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:7px!important;display:block!important;margin:0!important}
body.gg130-atelier #gg116-studio-root .gg105-image-option span{font-size:10px!important;line-height:1.4!important;padding:0 3px 3px!important;text-align:left!important;color:#79654f!important}
body.gg130-atelier .gg130-readable-choice{display:flex!important;align-items:center!important;gap:9px!important;font-size:12px!important;line-height:1.6!important;color:#6d5945!important;padding:15px 0!important;margin:0!important}
body.gg130-atelier .gg130-readable-choice input{width:17px!important;height:17px!important;accent-color:#9b7448;flex-shrink:0}
body.gg130-atelier #gg116-studio-root .gg130-format-section{margin-top:23px!important;padding-top:22px!important;border-top:1px solid #e8d8c5!important}
body.gg130-atelier #gg116-studio-root .gg103-formats,body.gg130-atelier .gg130-format-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:16px!important}
body.gg130-atelier #gg116-studio-root button.gg103-format{min-height:90px!important;padding:10px 5px!important;border-radius:12px!important;gap:5px!important;background:#fffdfa!important;color:#68513a!important;border:1px solid #e4d4be!important;box-shadow:none!important}
body.gg130-atelier #gg116-studio-root button.gg103-format[aria-pressed=true]{background:#f3e7d7!important;border-color:#a77b48!important}
body.gg130-atelier #gg116-studio-root button.gg103-format strong{font-size:11px!important}body.gg130-atelier #gg116-studio-root button.gg103-format small{font-size:9px!important}
body.gg130-atelier .gg130-extra-formats summary{font-size:12px!important;cursor:pointer;color:#8a673d!important;padding:12px 0!important}
body.gg130-atelier .gg130-format-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:0!important}
body.gg130-atelier #gg116-studio-root .gg101-download-primary{padding:20px 0 0!important;background:transparent!important;border:0!important;border-top:1px solid #e8d8c5!important;border-radius:0!important;margin:15px 0 0!important;box-shadow:none!important}
body.gg130-atelier #gg116-studio-root #gg101Download{display:flex!important;align-items:center!important;justify-content:center!important;background:#9b7448!important;background-image:none!important;color:#fff!important;border:1px solid #9b7448!important;min-height:50px!important;border-radius:999px!important;width:100%!important;font-size:14px!important;font-weight:650!important;cursor:pointer!important;box-shadow:0 4px 12px #79614915!important}
body.gg130-atelier #gg116-studio-root #gg101Download:disabled{opacity:.55!important;cursor:wait!important}
body.gg130-atelier #gg116-studio-root :is(button,select,summary,input):focus-visible{outline:2px solid #94683b!important;outline-offset:3px!important}
@media(max-width:980px){body.gg130-atelier #gg116-studio-root .gg103-layout{grid-template-columns:minmax(0,1fr)!important}body.gg130-atelier #gg116-studio-root .gg103-preview-slot{max-width:580px!important;margin:auto!important}body.gg130-atelier #gg116-studio-root .gg105-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-height:320px!important}}
@media(max-width:600px){body.gg130-atelier #gg114-page{width:calc(100% - 20px)!important;margin-top:25px!important}body.gg130-atelier #gg116-studio-root .gg103-main,body.gg130-atelier #gg116-studio-root .gg103-side{padding:18px!important;border-radius:18px!important}body.gg130-atelier #gg116-studio-root .gg105-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.gg130-atelier #gg116-studio-root :is(.gg103-section-head h2,.gg130-control-head h2){font-size:25px!important}}
@media(prefers-reduced-motion:reduce){body.gg130-atelier *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

body.gg130-atelier #gg116-studio-root .gg130-design-tabs button{background:transparent!important;color:#795c3d!important;background-image:none!important;border:0!important;box-shadow:none!important}
body.gg130-atelier #gg116-studio-root .gg130-design-tabs button[aria-selected=true]{background:#fffdfa!important;color:#604629!important;box-shadow:0 2px 7px #5b3e2010!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot{margin-inline:auto!important;max-width:620px!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=story]{max-width:360px!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=print]{max-width:460px!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=portrait]{max-width:480px!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=pinterest]{max-width:420px!important}

/* A scaled, framed presentation; framing stays outside the downloadable canvas. */
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot{max-width:560px!important;margin:0 auto!important;padding:18px!important;border:1px solid #dcc5a7!important;border-radius:18px!important;background:linear-gradient(135deg,#f5ecdf,#eee1cf)!important;box-shadow:inset 0 0 0 1px #fff9,0 9px 25px #71502e12!important;box-sizing:border-box!important;overflow:hidden!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=story]{max-width:350px!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=print]{max-width:450px!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=portrait]{max-width:470px!important}
body.gg130-atelier #gg116-studio-root #gg103PreviewSlot[data-gg105-format=pinterest]{max-width:410px!important}
@media(max-width:600px){body.gg130-atelier #gg116-studio-root #gg103PreviewSlot{padding:12px!important;border-radius:14px!important}}

/* 3.2.2: No decorative divider above the author on exported poem prints. */
body.gg119-downloadatelier #gg116-studio-root .gg116-author-credit,
.gg130-export .gg116-author-credit{border-top:0!important;padding-top:0!important}
body.gg119-downloadatelier #gg116-studio-root .ornament,
.gg130-export .ornament{display:none!important}
