.gtbq-root{--gtbq-accent:#946526;--gtbq-bg:#faf7f0;max-width:1100px;margin:32px auto;padding:clamp(20px,4vw,48px);background:var(--gtbq-bg);border:1px solid #e9e2d6;border-radius:22px;color:#292722;font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}.gtbq-root *,.gtbq-admin *{box-sizing:border-box}.gtbq-root h2{font-size:clamp(28px,4vw,42px);line-height:1.2;letter-spacing:-.03em;color:inherit;margin:12px 0 18px}.gtbq-root h3{font-size:24px;line-height:1.3;color:inherit;margin:0 0 24px}.gtbq-eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;color:#6c614f}.gtbq-header{max-width:720px;margin-bottom:28px}.gtbq-header p{color:#655e52}.gtbq-gate{max-width:560px;margin:16px auto}.gtbq-gate form{display:grid;gap:14px;margin-top:30px}.gtbq-root button,.gtbq-lightbox button{font:inherit;cursor:pointer;border:1px solid transparent;border-radius:9px;background:var(--gtbq-accent,#946526);color:white;padding:12px 20px;font-weight:650;line-height:1.3}.gtbq-root button:hover{filter:brightness(.93)}.gtbq-root button:disabled{opacity:.55;cursor:wait}.gtbq-root button.gtbq-secondary{background:transparent;color:#4b4235;border-color:#c7bdac}.gtbq-root input:not([type=radio]):not([type=checkbox]),.gtbq-root textarea,.gtbq-root select{font:inherit;padding:12px 14px;min-height:48px;width:100%;border:1px solid #c9bfae;border-radius:8px;background:#fff;color:#292722;box-shadow:none}.gtbq-root input[type=radio],.gtbq-root input[type=checkbox]{width:19px;height:19px;min-width:19px;accent-color:var(--gtbq-accent);margin:4px 9px 0 0}.gtbq-root input:focus-visible,.gtbq-root button:focus-visible,.gtbq-root select:focus-visible,.gtbq-root textarea:focus-visible{outline:3px solid var(--gtbq-accent);outline-offset:3px}.gtbq-root .gtbq-test{background:#fff2cd;border:1px solid #e1ce91;border-radius:8px;padding:10px 16px;font-size:13px}.gtbq-progress{display:grid;grid-template-columns:1fr auto;gap:8px;margin:26px 0;color:#6b604f;font-size:13px}.gtbq-progress progress{width:100%;height:6px;grid-column:1/-1;border:0;border-radius:4px;overflow:hidden;accent-color:var(--gtbq-accent)}.gtbq-progress progress::-webkit-progress-bar{background:#e5dece}.gtbq-progress progress::-webkit-progress-value{background:var(--gtbq-accent)}.gtbq-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px;align-items:start}.gtbq-form{min-width:0}.gtbq-totals{position:sticky;top:25px;padding:22px;border:1px solid #ded4c3;border-radius:14px;background:#fffefa}.gtbq-total-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:15px 0;font-size:13px}.gtbq-total-row strong{white-space:nowrap}.gtbq-grand{padding:16px 0;border-top:1px solid #ddd4c5;border-bottom:1px solid #ddd4c5;font-size:18px}.gtbq-field{border:0;padding:0;margin:0 0 28px;min-width:0}.gtbq-field legend{font-weight:650;font-size:17px;float:none;width:auto;margin-bottom:10px;padding:0}.gtbq-help{font-size:13px;line-height:1.55;color:#6e6558;white-space:pre-line}.gtbq-choices{display:grid;grid-template-columns:repeat(var(--gtbq-columns-mobile,2),minmax(0,1fr));gap:12px}.gtbq-choice{background:#fff;border:1px solid #dcd4c6;border-radius:12px;overflow:hidden;transition:border-color .15s,box-shadow .15s}.gtbq-choice.is-selected{border:2px solid var(--gtbq-accent);box-shadow:0 0 0 2px #94652612}.gtbq-choice.is-disabled{opacity:.5}.gtbq-choice label{padding:15px 13px;display:flex;align-items:start;font-size:14px;cursor:pointer}.gtbq-price{display:block;padding:0 14px 12px;font-size:16px;color:var(--gtbq-accent)}.gtbq-gallery{padding:0 8px 8px}.gtbq-root .gtbq-image-button{display:block;width:100%;padding:0;border:0;background:none;border-radius:7px;overflow:hidden}.gtbq-image-button img{display:block;width:100%;height:170px;object-fit:cover}.gtbq-gallery-nav{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding-top:5px}.gtbq-root .gtbq-gallery-nav button{background:transparent;color:#554b3c;padding:6px 12px}.gtbq-lightbox{max-width:94vw;max-height:94vh;border:0;border-radius:15px;background:#fff;padding:16px}.gtbq-lightbox::backdrop{background:#000b}.gtbq-lightbox>img{display:block;max-width:85vw;max-height:70vh;object-fit:contain;margin:12px auto}.gtbq-lightbox button{margin:4px}.gtbq-check{display:flex;align-items:center}.gtbq-nav{display:flex;justify-content:space-between;gap:16px;margin-top:28px}.gtbq-nav button:only-child{margin-left:auto}.gtbq-status{font-size:14px;white-space:pre-line;color:#8b351f}.gtbq-status:empty{display:none}.gtbq-summary{padding:20px;background:#fff;border:1px solid #ddd4c5;border-radius:12px;margin-bottom:28px}.gtbq-summary dl{margin:0}.gtbq-summary dt{font-size:12px;color:#6e6558;margin-top:12px}.gtbq-summary dd{margin:0;font-size:14px;overflow-wrap:anywhere}.gtbq-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important}.gtbq-root a{color:#714807;text-decoration:underline}.gtbq-admin{max-width:1280px}.gtbq-admin h1 small{font-size:12px;color:#646970}.gtbq-toolbar{position:sticky;top:32px;z-index:10;display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #dcdcde;padding:12px 18px;margin:20px 0}.gtbq-admin-card{background:#fff;padding:22px 26px;border:1px solid #dcdcde;border-radius:8px;margin:18px 0}.gtbq-shortcode{display:inline-block;font-size:15px;padding:12px}.gtbq-admin-note{background:#fff6de;padding:14px;border-left:4px solid #b48c31}.gtbq-control{display:flex;flex-direction:column;gap:6px;flex:1;min-width:160px;margin:8px 0}.gtbq-control>span{font-weight:600;font-size:12px}.gtbq-control input:not([type=checkbox]):not([type=color]),.gtbq-control textarea,.gtbq-control select{width:100%;max-width:100%;margin:0;min-height:36px}.gtbq-control input[type=checkbox]{margin:8px 0}.gtbq-control input[type=color]{height:36px}.gtbq-admin-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.gtbq-field-editor{background:#fff;border:1px solid #dcdcde;border-radius:7px;margin:10px 0}.gtbq-field-editor summary{display:flex;justify-content:flex-start;cursor:pointer;padding:17px 20px;font-size:14px;font-weight:600;gap:15px}.gtbq-field-editor summary::before{content:'▸';color:#946526}.gtbq-field-editor[open]>summary::before{content:'▾'}.gtbq-field-editor summary strong{flex:1}.gtbq-field-editor summary small{font-weight:400;color:#646970}.gtbq-editor-body{padding:5px 22px 24px;border-top:1px solid #eee}.gtbq-option-editor{border:1px solid #dedad1;background:#faf9f6;padding:14px 18px;margin:12px 0;border-radius:6px}.gtbq-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.gtbq-thumbs>div{border:1px solid #ddd;background:#fff;padding:5px;max-width:110px}.gtbq-thumbs img{display:block;width:95px;height:75px;object-fit:cover;margin-bottom:5px}.gtbq-thumbs .button{padding:0 8px;min-height:24px;line-height:24px}.gtbq-field-actions{border-top:1px solid #eee;margin-top:20px;padding-top:18px}.gtbq-condition{padding:12px 18px;border-left:3px solid #946526;background:#f7f4ed}.gtbq-condition .gtbq-control{display:inline-flex;margin-right:18px;min-width:0}.gtbq-step-label{margin:28px 0 12px!important;font-size:15px;color:#6a542d}@media(max-width:760px){.gtbq-root{margin:12px 0;padding:20px 16px;border-radius:12px}.gtbq-layout{grid-template-columns:1fr;gap:20px}.gtbq-totals{position:static;order:1;padding:14px 18px}.gtbq-totals .gtbq-help{display:none}.gtbq-total-row{margin:8px 0}.gtbq-grand{padding:8px 0}.gtbq-totals .gtbq-eyebrow{display:none}.gtbq-nav{flex-wrap:wrap}.gtbq-root h3{font-size:21px}.gtbq-choice label{font-size:13px;padding:12px 9px}.gtbq-image-button img{height:140px}.gtbq-toolbar{top:46px}.gtbq-admin-row{display:block}.gtbq-field-editor summary small{display:none}}@media(prefers-reduced-motion:reduce){.gtbq-choice{transition:none}}

/* 0.3: adaptive gallery layout, comfortable spacing and full-image option. */
.gtbq-root{max-width:1440px;width:100%;container-type:inline-size}
.gtbq-layout{grid-template-columns:minmax(0,1fr) 275px;gap:36px}
.gtbq-choices{grid-template-columns:repeat(var(--gtbq-columns-desktop,3),minmax(0,1fr));gap:18px;margin-top:10px}
.gtbq-field{margin-bottom:36px}
.gtbq-field legend{margin-bottom:22px;line-height:1.5}
.gtbq-field>.gtbq-help{margin:0 0 22px}
.gtbq-choice label{padding:18px 14px;min-height:68px}
.gtbq-image-button img{height:clamp(190px,17vw,290px);object-fit:var(--gtbq-image-fit,contain);background:#f6f3ed}
.gtbq-gallery{padding:0 8px 10px}
.gtbq-lightbox{width:min(1260px,94vw);max-width:94vw;max-height:95vh}
.gtbq-lightbox>img{max-width:100%;width:100%;max-height:calc(95vh - 160px);object-fit:contain}
.gtbq-action-editor{border-top:1px solid #ddd;padding-top:16px;margin-top:16px}
.gtbq-action-editor summary{cursor:pointer;padding:10px 0}
.gtbq-admin #gtbq_global textarea{min-height:180px}
@container (max-width:1000px){.gtbq-layout{grid-template-columns:1fr}.gtbq-totals{position:static;order:1}.gtbq-totals .gtbq-help{display:block}.gtbq-choices{grid-template-columns:repeat(var(--gtbq-columns-desktop,3),minmax(0,1fr))}}
@container (max-width:680px){.gtbq-choices{grid-template-columns:repeat(var(--gtbq-columns-mobile,2),minmax(0,1fr));gap:12px}.gtbq-image-button img{height:220px}}

@media(max-width:760px){.gtbq-layout{grid-template-columns:1fr}.gtbq-choices{grid-template-columns:repeat(var(--gtbq-columns-mobile,2),minmax(0,1fr))}.gtbq-field legend{margin-bottom:20px}}


/* Landscape photographs keep their original 3:2 proportions at every screen size. */
.gtbq-root .gtbq-image-button img{width:100%;height:auto;aspect-ratio:3 / 2;object-fit:var(--gtbq-image-fit,contain)}

/* 0.4 additions; the existing photo grid and mobile layout keep their rules. */
.gtbq-option-text{margin-top:22px;padding:18px;border:1px solid #ded4c3;border-radius:10px;background:#fffefa}
.gtbq-option-text label{display:block;font-weight:600;margin-bottom:12px}
.gtbq-draft-notice{padding:12px 16px;background:#edf6ee;border:1px solid #bdd3c0;border-radius:8px;font-size:14px}
.gtbq-root .gtbq-restart{margin-top:18px;font-size:13px;padding:9px 14px}
.gtbq-youtube{padding:0 8px 10px}
.gtbq-video-surface{position:relative;width:100%;aspect-ratio:3/2;min-height:200px;background:#181818;border-radius:7px;overflow:hidden}
.gtbq-video-surface iframe{display:block;width:100%;height:100%;position:absolute;inset:0;border:0}
.gtbq-root .gtbq-video-poster,.gtbq-lightbox .gtbq-video-poster{display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;border:0;background:#181818;color:#fff}
.gtbq-video-poster img{display:block;width:100%;height:100%;object-fit:contain}
.gtbq-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:28px;padding:8px 20px;background:#000a;border-radius:12px}
.gtbq-video-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:9px;flex-wrap:wrap}
.gtbq-root .gtbq-video-nav button,.gtbq-lightbox .gtbq-video-nav button{padding:8px 10px;font-size:12px;margin:0}
.gtbq-video-notice:empty{display:none}
.gtbq-video-notice{margin:10px 0 0}
.gtbq-video-large{padding:0}
.gtbq-video-large .gtbq-video-surface{aspect-ratio:16/9;max-height:68vh}
.gtbq-video-dialog{color:#292722;--gtbq-accent:#946526;max-height:95vh}
.gtbq-video-dialog a{color:#714807}
@container(max-width:780px){.gtbq-choices:has(.gtbq-youtube){grid-template-columns:repeat(var(--gtbq-columns-desktop,2),minmax(0,1fr))}}


/* Grouped field editor: edit and move each field in one place. */
.gtbq-sorter{margin:20px 0}
.gtbq-sort-step{background:#fff;border:1px solid #dcdcde;border-radius:8px;margin:18px 0;padding:16px 20px}
.gtbq-sort-step h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.gtbq-page-number{font-size:12px;font-weight:600;color:#50575e;background:#f0f0f1;border-radius:4px;padding:4px 8px}
.gtbq-sort-list{margin:0;padding:8px;min-height:64px;border:1px dashed #c3c4c7;border-radius:6px}
.gtbq-sort-list:empty::before{content:"Nessun campo in questa pagina. Trascina qui un campo.";display:block;padding:18px 8px;color:#646970;font-style:italic}
.gtbq-sort-item{display:flex;align-items:center;gap:12px;background:#faf9f6;border:1px solid #dcdcde;border-radius:5px;padding:14px;margin:8px 0;cursor:grab}
.gtbq-field-info{flex:1;min-width:0;overflow-wrap:anywhere}
.gtbq-field-info strong{display:block}
.gtbq-field-meta{display:block;font-size:12px;line-height:1.5;color:#646970;margin-top:3px}
.gtbq-field-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.gtbq-sort-handle{font-size:26px;color:#787c82;flex-shrink:0}
.gtbq-sort-item.is-dragging{opacity:.5;border:2px dashed #946526}
.gtbq-sort-status{color:#256029;font-weight:600}
.gtbq-sort-status.is-error{color:#b32d2e}
@media(max-width:782px){.gtbq-sort-item{flex-wrap:wrap}.gtbq-field-info{flex-basis:calc(100% - 45px)}.gtbq-field-controls{width:100%}.gtbq-sort-step{padding:12px}}
/* Whole-page ordering and visible module navigation. */
.gtbq-page-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-bottom:12px}
.gtbq-page-header[draggable=true]{cursor:grab}
.gtbq-page-header h3{flex:1;margin:0;min-width:200px}
.gtbq-page-handle{font-size:26px;color:#50575e;font-weight:400}
.gtbq-page-controls{display:flex;flex-wrap:wrap;gap:8px}
.gtbq-sort-step.is-dragging{opacity:.55;outline:2px dashed #946526;outline-offset:2px}
.gtbq-module-tabs .nav-tab-active{background:#fff;color:#1d2327;border-top:3px solid #946526;font-weight:700}
@media(max-width:782px){.gtbq-page-controls{width:100%}}
.gtbq-coupon{border:1px solid #ded4c3;background:#fffefa;border-radius:10px;padding:18px;margin-bottom:24px}
.gtbq-coupon>label{display:block;font-weight:650;margin-bottom:8px}
.gtbq-coupon-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.gtbq-coupon-status{font-size:14px;margin:10px 0 0;overflow-wrap:anywhere}
.gtbq-multiple-notice{background:#fff3cd;border:1px solid #dfc36e;border-radius:10px;padding:16px;margin:18px 0 24px;color:#59460b}
.gtbq-multiple-notice>strong{display:block;font-size:16px}
.gtbq-multiple-notice p{font-size:14px;line-height:1.5;margin:8px 0}
.gtbq-multiple-notice .gtbq-check{margin-top:14px}

/* Compact mobile choices and price summary after the form. */
@container(max-width:680px){
.gtbq-choices,.gtbq-choices:has(.gtbq-youtube){grid-template-columns:repeat(var(--gtbq-columns-mobile,2),minmax(0,1fr));gap:12px}
.gtbq-choice{min-width:0}
.gtbq-choice label{padding:12px 8px}
.gtbq-choice label span{min-width:0;overflow-wrap:anywhere}
.gtbq-price{font-size:14px;padding:0 10px 12px;overflow-wrap:anywhere}
.gtbq-root .gtbq-gallery-nav button{padding:6px 8px}
.gtbq-choices .gtbq-video-surface{min-height:0}
.gtbq-choices .gtbq-video-play{font-size:22px;padding:6px 12px}
}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1100px){
.gtbq-choices,.gtbq-choices:has(.gtbq-youtube){grid-template-columns:repeat(var(--gtbq-columns-mobile,2),minmax(0,1fr));gap:12px}
.gtbq-choice{min-width:0}
.gtbq-choice label{padding:12px 8px}
.gtbq-choice label span{min-width:0;overflow-wrap:anywhere}
.gtbq-price{font-size:14px;padding:0 10px 12px;overflow-wrap:anywhere}
.gtbq-root .gtbq-gallery-nav button{padding:6px 8px}
.gtbq-choices .gtbq-video-surface{min-height:0}
.gtbq-choices .gtbq-video-play{font-size:22px;padding:6px 12px}
}

.gtbq-page-columns{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 12px}
.gtbq-page-columns p{margin:0}
.gtbq-page-columns select{min-width:160px}
/* Google Calendar availability picker */
.gtbq-root .gtbq-booking-calendar{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(210px,1fr);gap:28px;padding:24px;background:#fff;border:1px solid #ded7ca;border-radius:16px;margin-bottom:32px;align-items:start}
.gtbq-root .gtbq-booking-calendar.is-day{display:block;max-width:780px}
.gtbq-root .gtbq-booking-calendar .gtbq-field{margin:0}
.gtbq-root .gtbq-calendar-date{width:100%;background:#fff}
.gtbq-root .gtbq-time-slots{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:440px;overflow-y:auto;padding:3px}
.gtbq-root .gtbq-time-slot{background:#fff;color:var(--gtbq-accent);border:1px solid #d1c5b2;padding:12px 6px;font-size:15px;min-height:46px}
.gtbq-root .gtbq-time-slot.is-selected{background:var(--gtbq-accent);border-color:var(--gtbq-accent);color:#fff}
.gtbq-root .gtbq-selected-day{margin:0 0 16px;font-weight:600;font-size:15px;color:#5b5143}
.gtbq-root .gtbq-time-value{display:none}
.gtbq-root .gtbq-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;text-align:center}
.gtbq-root .gtbq-calendar-nav button{min-width:42px;padding:7px;font-size:24px;line-height:1}
.gtbq-root .gtbq-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.gtbq-root .gtbq-calendar-grid .gtbq-calendar-weekday{text-align:center;font-size:12px;color:#675f54;padding:5px 0}
.gtbq-root .gtbq-calendar-grid .gtbq-calendar-day{width:100%;aspect-ratio:1;padding:0;min-width:0;border:1px solid #dfd8cb;border-radius:8px;background:#faf7f0;color:#302b23;font-size:15px;margin:0}
.gtbq-root .gtbq-calendar-grid .gtbq-calendar-day:hover:not(:disabled){border-color:var(--gtbq-accent)}
.gtbq-root .gtbq-calendar-grid .gtbq-calendar-day.is-selected{background:var(--gtbq-accent);color:#fff;border-color:var(--gtbq-accent)}
.gtbq-root .gtbq-calendar-grid .gtbq-calendar-day:disabled{background:#f5f5f5;color:#aaa;border-color:#eee;cursor:not-allowed;text-decoration:line-through;opacity:1}
.gtbq-root .gtbq-calendar-date .gtbq-help{margin:14px 0 0;font-size:13px}
.gtbq-root .gtbq-calendar-refresh{font-size:13px;padding:8px 12px;margin-top:12px}
.gtbq-root .gtbq-calendar-error{color:#9e2924;background:#fff0ed;padding:10px;border-radius:8px;font-size:14px}
.gtbq-root .gtbq-calendar-duration{padding:12px 16px;background:#f2eee5;border-radius:10px;font-size:14px;color:#534a3a;margin:16px 0 26px}
.gtbq-admin .gtbq-duration-table input[type=number]{width:100px;max-width:100%}
.gtbq-admin .gtbq-calendar-uri{display:inline-block;overflow-wrap:anywhere;max-width:100%}
@container(max-width:760px){.gtbq-root .gtbq-booking-calendar{grid-template-columns:1fr;padding:18px;gap:28px}.gtbq-root .gtbq-time-slots{grid-template-columns:repeat(3,minmax(0,1fr));max-height:320px}}
@media(max-width:480px){.gtbq-root .gtbq-booking-calendar{padding:12px}.gtbq-root .gtbq-calendar-date{padding:0}.gtbq-root .gtbq-calendar-grid{gap:4px}.gtbq-root .gtbq-calendar-grid .gtbq-calendar-day{font-size:14px;min-height:40px}.gtbq-admin .gtbq-duration-table th,.gtbq-admin .gtbq-duration-table td{padding:8px 5px}.gtbq-admin .gtbq-duration-table input[type=number]{width:75px}}
/* Tattoo viewer: scoped to the plugin so theme styles cannot distort it. */
.gtbq-root .gtbq-body-picker{display:grid;gap:14px;margin-top:14px;grid-column:1/-1}
.gtbq-root .gtbq-body-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gtbq-root .gtbq-rotation-value{font-size:13px;color:#675e52;font-variant-numeric:tabular-nums}
.gtbq-root .gtbq-body-stage{position:relative;width:100%;max-width:520px;height:620px;margin:0 auto;border:1px solid #ded8cd;border-radius:16px;overflow:hidden;background:#f4f1eb;isolation:isolate}
.gtbq-root canvas.gtbq-mannequin-canvas{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;touch-action:none;cursor:crosshair;outline-offset:-4px}
.gtbq-root canvas.gtbq-mannequin-canvas:active{cursor:grabbing}
.gtbq-root .gtbq-body-loading{position:absolute;z-index:2;inset:35% 18px auto;text-align:center;background:#f4f1eb;padding:16px}
.gtbq-root .gtbq-body-controls{display:grid;gap:12px;max-width:520px;width:100%;margin:auto}
.gtbq-root .gtbq-body-views,.gtbq-root .gtbq-body-zoom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}
.gtbq-root .gtbq-body-controls button,.gtbq-root .gtbq-pain-card button{width:auto!important;min-height:42px;padding:8px 14px!important;margin:0!important}
.gtbq-root .gtbq-body-controls input[type=range]{padding:0!important;margin:0;width:100%;min-height:30px;accent-color:var(--gtbq-accent);cursor:pointer}
.gtbq-root [data-field=body_zone]>.gtbq-choices[hidden],.gtbq-root [data-field=body_zone]>select[hidden]{display:none!important}
.gtbq-root .gtbq-pain-card,.gtbq-root .gtbq-session-estimate{display:grid;gap:7px;padding:14px 16px;border:1px solid #ded8cd;border-radius:12px;background:#fff}
.gtbq-root .gtbq-session-estimate{margin-top:14px}.gtbq-root .gtbq-session-estimate span,.gtbq-root .gtbq-pain-card small{color:#675e52}
.gtbq-root .gtbq-placement-preview{margin:20px 0;max-width:400px}.gtbq-root .gtbq-placement-preview img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #ded8cd}.gtbq-root .gtbq-placement-preview figcaption{font-size:13px;line-height:1.5;margin-top:8px}
.gtbq-capture-host{position:fixed!important;left:-10000px!important;top:0!important;width:600px!important;height:770px!important;pointer-events:none!important}
@media(max-width:600px){.gtbq-root .gtbq-body-stage{height:510px}.gtbq-root .gtbq-body-controls button{padding:8px 10px!important;font-size:13px!important}}

.gtbq-pricing-wrap{overflow:auto;max-width:100%;margin:12px 0 24px}.gtbq-pricing-table{min-width:900px;border-collapse:collapse}.gtbq-pricing-table th{white-space:nowrap;vertical-align:middle}.gtbq-pricing-table td{min-width:115px}.gtbq-pricing-table input[type=number]{width:100%;min-width:90px;box-sizing:border-box}
.gtbq-page-name{flex:1;min-width:220px}.gtbq-page-name input{max-width:460px}.gtbq-page-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gtbq-page-controls label{margin-right:8px}.gtbq-page-delete{color:#b32d2e!important}.gtbq-upload-box{display:grid;gap:12px}.gtbq-upload-list{display:grid;gap:10px}.gtbq-upload-item{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(0,0,0,.12);border-radius:10px;background:#fff}.gtbq-upload-item img{width:72px;height:72px;object-fit:cover;border-radius:8px}.gtbq-upload-item span{flex:1;overflow-wrap:anywhere}.gtbq-upload-box input[type=file]{max-width:100%}
@media(max-width:700px){.gtbq-page-header{align-items:flex-start}.gtbq-page-controls{width:100%}.gtbq-upload-item{align-items:flex-start;flex-wrap:wrap}.gtbq-upload-item span{min-width:160px}}

/* Stable editor sorting; the clone is outside the form. */
.gtbq-sort-handle,.gtbq-page-handle{cursor:grab;user-select:none;padding:5px 8px;touch-action:none}
.gtbq-sort-item{cursor:default}
.gtbq-field-placeholder,.gtbq-page-placeholder{box-sizing:border-box;min-height:66px;border:2px dashed #946526;border-radius:6px;background:#f7f0e2;margin:8px 0;list-style:none}
.gtbq-page-placeholder{min-height:120px;margin:18px 0}
.gtbq-sort-item.ui-sortable-helper,.gtbq-sort-step.ui-sortable-helper{box-shadow:0 8px 24px #0003;opacity:.92}

.gtbq-sort-item[hidden]{display:none!important}

/* Keep the form list readable at phone widths. Large price matrices scroll within their section. */
.gtbq-admin fieldset { min-inline-size: 0; }
.gtbq-admin input:not([type=checkbox]):not([type=radio]), .gtbq-admin select,
.gtbq-admin textarea, .gtbq-admin .button { max-width: 100%; }
.gtbq-admin .button { white-space: normal; }
@media (max-width: 700px) {
  .gtbq-admin .gtbq-forms-table, .gtbq-forms-table tbody, .gtbq-forms-table tr, .gtbq-forms-table td { display: block; }
  .gtbq-forms-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .gtbq-forms-table td { overflow-wrap: anywhere; }
  .gtbq-forms-table td[data-label]::before { display: block; font-weight: 600; content: attr(data-label); }
  .gtbq-forms-table tr + tr { border-top: 1px solid #c3c4c7; }
  .gtbq-admin .nav-tab-wrapper { display: flex; flex-wrap: wrap; gap: 4px; }
  .gtbq-admin .nav-tab { margin: 0; white-space: normal; }
}
