/* Equal working space for the editor and the live customer form. */
.form-studio{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.form-studio>form,.form-studio>.live-preview{min-width:0;max-height:calc(100dvh - 190px);overflow:auto;scrollbar-width:thin;scroll-padding:20px}.form-studio>form{padding:0 8px 16px 0}.form-studio>.live-preview{position:sticky;top:16px;margin-top:22px;padding:0}.form-studio>.live-preview>.row{position:sticky;top:0;margin:0;padding:14px 18px;z-index:4;background:var(--surface);border-bottom:1px solid var(--border)}.form-studio .live-preview h3{margin:0}.form-studio .live-preview .choice{margin:0;font-size:12px}.form-studio #live-customer-preview{padding:18px!important;min-height:480px}.form-studio .question-editor{border-left:4px solid transparent}.form-studio .question-editor[open]{border-left-color:var(--accent)}.question-editor .question-card-answer{display:grid;gap:10px;margin-top:18px;padding:0 0 6px;color:var(--muted);font-weight:400;font-size:13px}.question-editor[open] .question-card-answer{display:none}.question-editor summary strong{font-size:15px!important;line-height:1.5}.question-editor:not([open]) summary{padding:22px}.question-card-answer:empty{display:none}.form-background-controls{border-top:1px solid var(--border);padding-top:24px;margin-top:24px}.form-background-controls h3{margin-bottom:16px}.currently-editing{outline:2px solid var(--accent);outline-offset:2px}.form-canvas{padding:24px;min-height:100%;border-radius:10px}.form-canvas .customer-form{margin-top:0;margin-bottom:0}.public-container.form-canvas{padding:32px 20px;min-height:100dvh;border-radius:0}.form-canvas .form-banner{display:block}.form-section-heading{margin-top:12px}.form-preview-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(900px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid var(--border);padding:0;background:var(--page-bg);color:var(--text)}.form-preview-drawer::backdrop{background:#0009}.form-preview-drawer>.panel{margin:0;border:0;padding:0}.form-preview-drawer .no-print{position:sticky;top:0;z-index:5;padding:16px 22px;background:var(--surface);border-bottom:1px solid var(--border)}.form-preview-drawer .no-print h3{margin:0}.form-preview-drawer #customer-preview{border-radius:0;min-height:calc(100dvh - 80px)}
@media(max-width:1050px){.form-studio{grid-template-columns:minmax(0,1fr)}.form-studio>form,.form-studio>.live-preview{max-height:none;overflow:visible}.form-studio>.live-preview{position:static}.form-studio .live-preview>.row{position:static}.form-studio>form{padding:0}.form-studio #live-customer-preview{min-height:0}.form-canvas{padding:16px}.public-container.form-canvas{padding:20px 12px}.form-studio .formgrid{grid-template-columns:minmax(0,1fr)}}
@media print{.form-canvas{background:white!important;padding:0!important}.form-studio>form,.form-studio>.live-preview{max-height:none;overflow:visible}}
.question-editor .builder-logic>summary{padding:14px 0;font-size:13px}.question-editor .builder-logic{padding-top:0}
/* One form, edited in place. Settings stay out of the working canvas. */
.active-form-studio{display:block}.active-form-studio>form{max-height:none;overflow:visible;padding:0}.active-form-studio fieldset{min-width:0;margin:0}.active-canvas-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0}.active-canvas-tools p{font-size:13px;margin:0;color:var(--muted)}.active-canvas-tools .tabs{margin:0}.active-form-studio #active-form-canvas{padding:28px 20px;min-height:600px}.active-form-page{margin:0 auto;max-width:760px}.active-form-heading [name=title]{font-size:30px;line-height:1.35;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;padding:8px 0;color:var(--text)}.active-form-heading [name=title]:focus{border-color:var(--form-color)}.active-form-heading>label{font-size:12px;color:var(--muted)}.active-form-heading .rich-editor{border-color:transparent}.active-form-heading .rich-content{padding:8px 0;min-height:50px}.active-form-heading .rich-toolbar{display:none}.active-form-heading .rich-editor:focus-within .rich-toolbar{display:flex}.active-form-page .active-questions{background:transparent;border:0;padding:0;margin:20px 0}.active-questions>.row{position:sticky;top:0;z-index:2;background:var(--surface);padding:12px 16px;border:1px solid var(--border);border-radius:8px;gap:10px;flex-wrap:wrap}.active-questions>.row h3{margin:0;font-size:15px}.active-form-page .question-editor{border:1px solid var(--border);border-left:4px solid transparent;margin:12px 0}.active-form-page .question-editor[open]{border-left-color:var(--form-color);box-shadow:0 2px 10px #0001}.active-form-page .question-editor>summary{padding:24px;display:block}.active-form-page .question-editor>summary:before{display:none}.active-form-page .question-editor>summary strong{font-size:17px!important;font-weight:400}.active-form-page .question-editor>summary small{margin-top:20px;font-size:11px;color:var(--muted)}.active-form-page .question-editor[open]>summary{display:none}.active-form-page .question-editor .question-card-answer{display:grid;margin-top:22px;gap:14px}.canvas-answer-line{display:block;padding:12px 0 8px;border-bottom:1px solid var(--border);color:var(--muted);font-size:14px;font-weight:400;width:75%;margin:12px 0}.canvas-answer-choice{display:flex;gap:12px;font-size:14px;color:var(--text);align-items:center}.canvas-answer-choice>span{font-size:22px;color:var(--muted)}.canvas-answer-select{display:flex;justify-content:space-between;max-width:280px;border:1px solid var(--border);padding:14px;border-radius:6px;color:var(--muted)}.active-form-page .question-fields{padding:24px}.active-form-page .question-fields>.formgrid{grid-template-columns:minmax(0,1fr) minmax(160px,.45fr);gap:16px}.active-form-page .question-fields [data-label]+.rich-editor{margin:0}.active-form-page .question-fields .rich-content{min-height:48px;font-size:17px}.active-form-page .question-fields [data-help]+.rich-editor .rich-content{font-size:14px}.active-form-page .canvas-section-settings{margin-top:18px;border-top:1px solid var(--border)}.active-form-page .canvas-section-settings>summary,.active-form-page .builder-logic>summary{padding:14px 0;font-size:13px;display:block}.active-form-page .canvas-section-settings>summary:before,.active-form-page .builder-logic>summary:before{display:none}.active-form-page .canvas-question-actions{margin:18px 0 0;padding:16px 0 0;display:flex;gap:10px;flex-wrap:wrap}.canvas-question-actions>strong{margin-right:auto;font-size:12px;color:var(--muted)}.active-answer-sample{display:grid;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.canvas-product{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--border)}.form-settings-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(560px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid var(--border);background:var(--page-bg);color:var(--text);overflow:auto}.form-settings-drawer::backdrop{background:#0009}.form-settings-drawer>.panel{margin:16px;border:0;padding:16px}.canvas-drawer-heading{position:sticky;top:0;z-index:5;padding:18px 22px;background:var(--surface);border-bottom:1px solid var(--border);gap:16px}.canvas-drawer-heading h2{margin:0;font-size:20px}.form-settings-drawer .formgrid{grid-template-columns:minmax(0,1fr)}.active-form-studio .editor-savebar{bottom:12px;flex-wrap:wrap;gap:12px}.active-form-page .builder-section-divider{border-left-color:var(--form-color)}.active-form-page .question-editor .rich-toolbar button{font-size:12px;padding:5px 8px;min-height:30px}
@media(max-width:850px){.active-canvas-tools{display:block}.active-canvas-tools .tabs{display:grid;grid-template-columns:1fr 1fr;margin-top:12px}.active-canvas-tools .tabs button:last-child{grid-column:1/-1}.active-form-studio #active-form-canvas{padding:16px 10px}.active-form-page .question-fields{padding:18px}.active-form-page .question-fields>.formgrid{grid-template-columns:minmax(0,1fr)}.active-form-page .question-editor>summary{padding:20px}.active-form-heading [name=title]{font-size:26px}.active-questions>.row>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.active-form-studio .editor-savebar>[data-save-status]{flex-basis:100%}.canvas-answer-line{width:100%}}
.active-form-heading textarea[name=title]{min-height:0;resize:none;overflow:hidden;width:100%;font-family:inherit}.form-section-heading{color:var(--text);background:var(--surface);border:1px solid var(--border);padding:20px 24px;border-radius:8px}.form-section-heading h2{margin:0 0 8px}.form-section-heading:has(.rich-copy:empty) h2{margin:0}.active-form-studio [hidden]{display:none!important}
/* Focused question editing: quiet text fields, contextual formatting and inline options. */
.canvas-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.active-form-page .inline-rich-editor{display:flex;flex-direction:column;border:0;border-radius:0;overflow:visible;background:transparent;margin:0;min-width:0}
.active-form-page .inline-rich-editor .rich-content{padding:10px 0;min-height:40px;border:0;border-bottom:1px solid transparent;background:transparent;border-radius:0;box-shadow:none;line-height:1.5;overflow-wrap:anywhere;font-weight:400}
.active-form-page .inline-rich-editor .rich-content:focus{box-shadow:none;border-bottom:2px solid var(--form-color);outline:none}
.active-form-page .inline-rich-editor .rich-content:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}
.active-form-page .inline-rich-editor .rich-content p{margin:0}.active-form-page .inline-rich-editor .rich-toolbar{display:none;border:0;padding:4px 0;gap:3px;background:transparent;align-items:center;flex-wrap:wrap}
.active-form-page .inline-rich-editor:focus-within>.rich-toolbar{display:flex}
.active-form-page .inline-rich-editor .rich-toolbar button{display:inline-flex;align-items:center;justify-content:center;padding:4px;min-width:32px;min-height:32px;border:0;border-radius:50%;box-shadow:none;background:transparent;color:var(--muted);font-family:Arial,sans-serif;font-size:15px;font-weight:400}
.active-form-page .inline-rich-editor .rich-toolbar button:hover,.active-form-page .inline-rich-editor .rich-toolbar button:focus-visible{background:var(--surface-soft);color:var(--text)}.format-clear{font-size:11px;align-self:flex-end}
.active-form-page .compact-question .question-fields>.formgrid{align-items:start;gap:8px 24px}.active-form-page .compact-question .inline-text-field{margin:0;min-width:0}.active-form-page .compact-question [data-label]+.rich-editor .rich-content{font-size:17px}.active-form-page .compact-question [data-help]+.rich-editor .rich-content{font-size:14px;min-height:34px}
.active-form-page .compact-question .canvas-question-type select{margin:0;border:1px solid var(--border);border-radius:6px;padding:12px;font-size:14px;font-weight:400}
.active-form-page .compact-question .add-description{grid-column:1/-1;justify-self:start;margin:0;padding:6px 0;background:transparent;border:0;box-shadow:none;color:var(--muted);font-size:13px;min-height:32px;font-weight:400}
.active-form-page .compact-question .add-description:hover{text-decoration:underline;color:var(--text)}
.active-form-page .compact-question .active-answer-sample{margin:18px 0 0;padding:0;border:0}.active-form-page .compact-question .active-answer-sample:empty{display:none}
.canvas-option-row{display:flex;gap:12px;align-items:center;margin:2px 0;min-width:0}.canvas-option-row .option-symbol{font-size:23px;color:var(--muted);width:22px;flex:none}.active-form-page .canvas-option-row input{flex:1;min-width:0;width:auto;background:transparent;border:0;border-bottom:1px solid transparent;border-radius:0;padding:8px 0;margin:0;color:var(--text);font-size:14px;box-shadow:none}.active-form-page .canvas-option-row input:focus{border-bottom-color:var(--form-color);outline:none}.active-form-page .canvas-option-row button{flex:none;display:flex;align-items:center;justify-content:center;width:34px;min-height:34px;border:0;background:transparent;padding:0;color:var(--muted);font-size:22px;box-shadow:none}
.active-form-page .add-option{justify-self:start;background:transparent;border:0;box-shadow:none;padding:8px 0;color:var(--muted);font-size:14px;font-weight:400}
.active-form-page .compact-question .canvas-more-settings{margin-top:20px;border-top:1px solid var(--border)}.active-form-page .compact-question .canvas-more-settings>summary{display:block;padding:12px 0;font-size:12px;font-weight:400;color:var(--muted)}.active-form-page .compact-question .canvas-more-settings>summary:before{display:none}.active-form-page .compact-question .canvas-more-settings .canvas-section-settings{margin:0}.active-form-page .compact-question .canvas-more-settings .builder-logic{margin:0}
.active-form-page .compact-question .canvas-question-actions{margin:0;padding:12px 0 0;border-top:1px solid var(--border);gap:8px;align-items:center}.active-form-page .compact-question .canvas-question-actions>div{display:flex;gap:3px}.active-form-page .compact-question .canvas-question-actions>div>button{min-width:34px;min-height:34px;padding:6px;border:0;box-shadow:none;background:transparent;color:var(--muted);border-radius:50%}.active-form-page .compact-question .canvas-question-actions>button{background:transparent;border:0;box-shadow:none;color:var(--muted);font-size:12px;font-weight:400;padding:8px}
.active-form-page .compact-question .canvas-required-switch{margin:0 0 0 auto;display:flex;align-items:center;gap:10px;flex-direction:row;white-space:nowrap;font-size:13px;font-weight:400;color:var(--text)}.active-form-page .compact-question .canvas-required-switch input{appearance:none;-webkit-appearance:none;width:34px;height:18px;border:0;border-radius:12px;background:radial-gradient(circle at 9px 9px,#fff 6px,transparent 6.5px),var(--muted);margin:0;cursor:pointer;flex:none}.active-form-page .compact-question .canvas-required-switch input:checked{background:radial-gradient(circle at 25px 9px,#fff 6px,transparent 6.5px),var(--form-color)}.active-form-page .compact-question .canvas-required-switch input:focus-visible{outline:2px solid var(--form-color);outline-offset:3px}.active-form-page .compact-question .canvas-required-switch input:disabled{opacity:.4;cursor:default}
.active-form-page .compact-question>summary small{display:none}.active-form-page .compact-question{transition:box-shadow .15s,border-color .15s}
@media(max-width:700px){.active-form-page .compact-question .question-fields>.formgrid{grid-template-columns:minmax(0,1fr)}.active-form-page .compact-question .canvas-question-type{grid-row:2;margin-bottom:8px}.active-form-page .inline-rich-editor .rich-toolbar button{min-width:36px;min-height:36px}.active-form-page .compact-question .canvas-question-actions{gap:6px}.active-form-page .compact-question .canvas-question-actions>div>button{min-width:32px}.active-form-page .compact-question .canvas-required-switch{gap:6px}.active-form-page .compact-question .canvas-question-actions>button{padding:6px}}
.active-form-page .inline-rich-editor .rich-toolbar button[aria-pressed=true]{color:var(--form-color);background:var(--surface-soft)}
.active-form-page .builder-section-divider .canvas-section-title{margin:0;display:block}.active-form-page .builder-section-divider .canvas-section-title input{width:100%;font-family:inherit;font-size:20px;font-weight:400;line-height:1.4;color:var(--text);background:transparent;border:0;border-bottom:1px solid transparent;border-radius:0;padding:8px 0;margin:0;box-shadow:none}.active-form-page .builder-section-divider .canvas-section-title input:focus{border-bottom:2px solid var(--form-color);outline:none}.active-form-page .builder-section-divider .canvas-section-description{margin:6px 0 0;display:block}.active-form-page .builder-section-divider .canvas-section-description .rich-content{font-size:14px;min-height:34px}.active-form-page .builder-section-divider .add-section-description{padding:6px 0;margin:4px 0 0;background:transparent;border:0;box-shadow:none;color:var(--muted);font-size:13px;font-weight:400;min-height:32px}.active-form-page .builder-section-divider .add-section-description:hover{color:var(--text);text-decoration:underline}
/* Editable headings and grouped sections. */
.active-form-heading>label:has([name=title]) .rich-content{font-size:30px;line-height:1.35;min-height:46px}.active-booking-details .booking-fixed-note{font-size:11px;color:var(--muted);margin:0 0 12px}.active-booking-details .booking-copy-bookingTitle .rich-content{font-size:20px}.active-booking-details .booking-copy-bookingDescription .rich-content{font-size:13px;color:var(--muted)}.active-booking-details .booking-copy-field{margin:8px 0 0}.active-form-page .builder-section-divider .canvas-section-title .rich-content{font-size:21px;font-weight:400;min-height:42px}.active-form-page .builder-section-divider .canvas-section-title .rich-content:empty:before{content:'Section title'}
.canvas-section-group{padding:16px;margin:22px 0;border:1px solid color-mix(in srgb,var(--section-color) 45%,var(--border));border-left:4px solid var(--section-color);border-radius:12px;background:color-mix(in srgb,var(--section-color) 6%,var(--surface-soft))}.active-form-page .canvas-section-group>.builder-section-divider{margin:0 0 14px;border-left-color:var(--section-color);padding:16px 20px}.active-form-page .canvas-section-group>.question-editor{border-left-color:var(--section-color)}.active-form-page .canvas-section-group>.question-editor[open]{border-left-color:var(--section-color);outline:1px solid color-mix(in srgb,var(--section-color) 50%,transparent);outline-offset:1px}.active-form-page .canvas-section-group>.builder-section-divider>span{color:var(--section-color)}
.canvas-insert-dock{position:fixed;right:16px;top:45%;z-index:8;display:grid;gap:4px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 6px 24px #0002}.canvas-insert-dock button{display:grid;justify-items:center;gap:2px;min-width:66px;min-height:50px;padding:6px;border:0;background:transparent;box-shadow:none;color:var(--text)}.canvas-insert-dock button:hover{background:var(--surface-soft)}.canvas-insert-dock button b{font-size:23px;font-weight:400;line-height:1}.canvas-insert-dock button span{font-size:10px;font-weight:400}.form-link-drawer .button{display:inline-block;padding:12px 16px;border-radius:6px;text-decoration:none}.form-link-drawer .panel>.notice{margin-top:0}.form-link-drawer input[readonly]{font-size:13px}.form-heading .rich-copy p,.form-section-heading .rich-copy p{color:inherit;margin:0}
@media(max-width:1050px){.canvas-insert-dock{top:auto;bottom:116px;right:16px;display:flex;gap:4px}.canvas-insert-dock button{min-width:60px;min-height:44px}.active-form-studio>form{padding-bottom:65px}}
@media(max-width:700px){.canvas-section-group{padding:10px;margin:18px 0}.active-form-page .canvas-section-group>.builder-section-divider{padding:12px}.active-form-page .canvas-section-group>.question-editor>.question-fields{padding:14px}.active-form-heading>label:has([name=title]) .rich-content{font-size:25px}.active-form-page .builder-section-divider .canvas-section-title .rich-content{font-size:19px}.active-form-page .compact-question .canvas-required-switch{margin-left:auto}.active-form-page .compact-question .canvas-question-actions>button{font-size:11px}}
.active-form-page .inline-rich-editor.is-text-active>.rich-toolbar{display:flex}
@media(max-width:700px){.active-form-page .inline-rich-editor .rich-toolbar{flex-wrap:nowrap;max-width:100%;overflow-x:auto}.active-form-page .inline-rich-editor .rich-toolbar button{min-width:32px;width:32px;flex:none}}
.theme-mode-source{display:none!important}.theme-background-swatch.form-canvas{min-height:150px;display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;padding:24px;margin:16px 0}.theme-swatch-card{display:grid;gap:10px;background:var(--surface);color:var(--text);padding:18px 22px;border:1px solid var(--border);border-top:5px solid var(--form-color);border-radius:8px;box-shadow:0 4px 14px #0001}.theme-swatch-card span{font-size:12px;color:var(--muted)}.theme-style-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.theme-style-choices button{font-size:13px;font-weight:400;min-height:42px}.theme-style-choices button[aria-pressed=true]{border-color:var(--accent);outline:1px solid var(--accent);background:var(--surface-soft);color:var(--text)}.theme-colour-field{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;align-items:center}.theme-colour-caption{grid-column:1/-1}.theme-colour-field input[type=color]{width:56px;height:42px;min-height:42px;padding:4px;cursor:pointer;margin:0}.theme-colour-field input[data-theme-hex]{min-width:0;width:100%;font-family:ui-monospace,monospace;text-transform:uppercase;margin:0;font-size:14px;height:42px}.theme-colour-field input[aria-invalid=true]{border-color:var(--error)}.theme-save-actions{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--border);padding:16px 20px;z-index:5}.theme-save-actions p{font-size:12px;margin:0 0 12px}.theme-save-actions button{width:100%}.form-background-controls .formgrid{gap:16px}
.payment-preview-drawer>.canvas-drawer-heading{position:sticky;top:0;z-index:5;background:var(--surface);padding:18px 24px;border-bottom:1px solid var(--border)}
.payment-preview-drawer>.notice,.payment-preview-drawer>.tabs{margin:16px 24px}.payment-preview-drawer h2{margin:4px 0}.payment-preview-drawer [data-payment-customer]{padding:24px;min-height:420px}.payment-preview-drawer [data-payment-next]{margin:24px}.payment-connection-tools{border-top:1px solid var(--border);margin-top:24px;padding-top:8px}.payment-preview-drawer .customer-form{margin-top:0;margin-bottom:0}
@media(max-width:600px){.payment-preview-drawer [data-payment-customer]{padding:12px}.payment-preview-drawer>.canvas-drawer-heading{padding:14px}.payment-preview-drawer>.notice,.payment-preview-drawer>.tabs{margin:14px}.payment-preview-drawer [data-payment-next]{margin:14px}}
.form-canvas .section-progress{width:fit-content;max-width:100%;padding:10px 14px;background:var(--surface);color:var(--text);border-radius:10px}
.form-canvas .form-actions{padding:14px;background:var(--surface);color:var(--text);border-radius:12px}
.form-canvas .form-footer{padding:12px;background:var(--surface);color:var(--muted);border-radius:10px}
.theme-opacity-control{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:18px 0}.theme-opacity-control input,.theme-opacity-control small{grid-column:1/-1}.theme-opacity-control input{width:100%;padding:0;accent-color:var(--accent);cursor:pointer}.theme-opacity-control output{font-variant-numeric:tabular-nums;font-weight:700}.theme-opacity-control small{color:var(--muted);font-weight:400;line-height:1.5}
.form-studio-heading{margin:12px 0 8px;min-height:18px}.form-studio-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px}.form-studio-actions>button,.form-studio-actions>.upload-button{font-size:12px;padding:10px 12px;min-height:40px;margin:0}.form-studio-actions #forms-back{margin-left:auto}.active-canvas-tools{display:none}.active-form-studio{margin-top:0}.active-form-studio #active-form-canvas{padding-top:18px}main:has(.active-form-studio)>.top{margin-bottom:14px;padding-bottom:14px}.canvas-insert-dock{top:50%;transform:translateY(-50%);max-height:calc(100dvh - 160px);overflow-y:auto}.canvas-insert-dock .icon{width:22px;height:22px}.canvas-insert-dock [data-canvas-settings=theme]{border-top:1px solid var(--border);border-radius:0;padding-top:10px;margin-top:4px}
@media(max-width:1050px){.canvas-insert-dock{top:auto;transform:none;max-width:calc(100vw - 32px);max-height:none}}
@media(max-width:850px){.active-canvas-tools{display:block;margin:0 0 12px}.active-canvas-tools .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.active-canvas-tools .tabs button{display:grid;justify-items:center;align-content:center;gap:6px;font-size:11px;line-height:1.3;min-height:66px;padding:8px;white-space:normal}.active-canvas-tools .tabs button:last-child{grid-column:auto}.active-canvas-tools .icon{width:20px;height:20px}.canvas-insert-dock [data-canvas-settings]{display:none}.form-studio-heading{margin:8px 0}.form-studio-actions{gap:6px;margin-bottom:12px}.form-studio-actions>button,.form-studio-actions>.upload-button{font-size:11px;padding:9px 8px;min-height:38px}.active-form-studio #active-form-canvas{padding-top:12px}}
.booking-review[hidden],.checkout-layout[hidden]{display:none!important}.booking-review{margin:20px auto;max-width:760px}.booking-review-card h1{font-size:28px;margin:10px 0}.booking-review-card h2{font-size:18px;margin-top:24px}.booking-review-card details{margin-top:24px;border-top:1px solid var(--border);padding-top:16px}.booking-review-card details summary{font-weight:600;cursor:pointer}.booking-review-card details p{padding:8px 0;border-bottom:1px solid var(--border)}.booking-review-card .tabs{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px}.booking-review-card .notice{margin:18px 0}
.booking-review-card .summary-line{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}

.form-settings-drawer.form-library-drawer{padding:24px;width:min(560px,100%);max-width:100%;box-sizing:border-box}.form-library-drawer h2{margin:0}.form-library-drawer>.row{margin-bottom:28px}
.checkout-studio #checkout-editor-canvas{padding:28px 20px;min-height:650px}.checkout-studio .checkout-edit-hint{font-size:13px;margin:0 0 16px}.checkout-product-card h2,.checkout-contact-sample h2,.checkout-studio-summary h2{font-size:20px;margin:0 0 8px}.checkout-product-card>.row{gap:16px;flex-wrap:wrap;margin-bottom:16px}.checkout-product-card>.row p{margin:0}.checkout-editor-product{display:flex!important;align-items:center;gap:14px;padding:16px!important;margin:10px 0!important;border:1px solid var(--border);border-radius:10px;cursor:pointer;background:var(--surface)}.checkout-editor-product input{flex:0 0 20px;width:20px!important;height:20px;margin:0!important;accent-color:var(--form-color)}.checkout-editor-product>span{flex:1;min-width:0}.checkout-editor-product>span strong{display:block;font-size:16px}.checkout-editor-product small{display:block;color:var(--muted);margin-top:5px}.checkout-editor-product>strong{white-space:nowrap;font-size:16px}.checkout-editor-product.is-selected{border-color:var(--form-color);box-shadow:inset 3px 0 var(--form-color)}.checkout-contact-sample .formgrid{margin-top:24px;gap:24px}.checkout-sample-line{display:block;padding:14px 0;border-bottom:1px solid var(--border);font-weight:400;color:var(--muted);margin-top:8px}.checkout-studio-summary>button{width:100%;margin-top:16px}.checkout-add-product{padding:24px!important;max-width:100%;box-sizing:border-box}.checkout-add-product .product{display:grid;grid-template-columns:1fr;gap:20px;padding:0;border:0}.checkout-add-product .product-type-fields{display:grid;gap:16px}.checkout-add-product [type=submit]{margin-top:24px}.checkout-studio .editor-savebar{flex-wrap:wrap;gap:12px}.checkout-studio .active-form-heading .rich-content[aria-label="Checkout title"]{font-size:28px;font-weight:500;min-height:48px}
@media(max-width:850px){.checkout-studio #checkout-editor-canvas{padding:20px 10px}.checkout-studio .active-canvas-tools .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.checkout-studio .active-canvas-tools button{padding:10px 6px;font-size:12px;display:grid;justify-items:center;gap:5px}.checkout-studio .checkout-product-card,.checkout-studio .checkout-contact-sample,.checkout-studio .checkout-studio-summary{padding:20px}.checkout-editor-product{gap:10px}.checkout-editor-product>span strong{font-size:14px}.checkout-studio .editor-savebar>button{flex:1}.checkout-studio .editor-savebar>[data-save-status]{flex-basis:100%}}

.team-access-drawer [hidden]{display:none!important}.team-event-picker{margin:22px 0;padding:16px;border:1px solid var(--border);border-radius:10px;min-width:0}.team-event-picker legend{padding:0 6px;font-weight:600}.team-event-picker>p{font-size:12px;margin:0 0 12px}.team-event-options{max-height:300px;overflow:auto;display:grid;gap:8px}.team-access-drawer .team-event-option{display:flex;gap:12px;align-items:flex-start;padding:10px;border:1px solid var(--border);border-radius:7px;margin:0;background:var(--surface-soft)}.team-access-drawer .team-event-option input{width:18px;height:18px;flex-shrink:0;margin:2px 0 0}.team-event-option>span{min-width:0;display:grid;gap:4px}.team-event-option strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.team-event-option small{font-size:11px;color:var(--muted)}.team-event-summary{font-size:12px!important;line-height:1.6;max-width:560px;overflow-wrap:anywhere}.team-events-unassigned{font-weight:600}

.form-settings-drawer.team-access-drawer{padding:24px;box-sizing:border-box}.team-access-drawer>.row{margin-bottom:22px}.team-access-drawer>.row h2{margin:0;font-size:22px}.team-access-drawer form>p{font-size:13px;line-height:1.6}.team-access-drawer form>label{margin:16px 0}.team-access-drawer .team-event-options{max-height:260px}

.team-members-list{display:grid;gap:14px}.team-members-panel>h2{margin:0 0 20px}.team-members-list .team-member-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:20px;margin:0;border:1px solid var(--border,#dce5e2);border-left:4px solid #4d8472;border-radius:12px;background:var(--surface-soft,#f0f4f1)}.team-members-list .team-member-row[data-role=super_administrator],.team-members-list .team-member-row[data-role=finance]{border-left-color:#ffae00}.team-member-identity{min-width:0}.team-member-identity>strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.team-member-role-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0}.team-role-badge{display:inline-block;padding:4px 10px;border:1px solid #4d8472;border-radius:20px;background:#e4f0e9;color:#173c36;font-size:11px;line-height:1.4;font-weight:600}.team-member-row[data-role=super_administrator] .team-role-badge,.team-member-row[data-role=finance] .team-role-badge{border-color:#dfad3c;background:#fff1c9;color:#5c4000}.team-self-label{font-size:11px;color:var(--muted,#647780)}.team-member-identity .team-event-summary{margin:0}.team-member-row .team-member-actions{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:end;gap:10px;min-width:0}.team-member-actions>button{white-space:nowrap;font-size:12px;min-height:40px}.team-member-actions>[data-edit]{border-color:var(--primary,#175d54);font-weight:600}.team-member-actions>p{grid-column:1/-1;font-size:12px;line-height:1.5;margin:0}.team-member-actions>p:empty{display:none}.team-member-row .team-events-unassigned{color:var(--muted,#647780)}@media(max-width:750px){.team-members-list .team-member-row{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px}.team-member-row .team-member-actions{justify-content:start;grid-template-columns:auto auto}}

#app .workspace-main .team-members-list .team-member-row{padding:20px;gap:20px}@media(max-width:750px){#app .workspace-main .team-members-list .team-member-row{padding:16px;gap:16px}}

.team-role-guide{margin:16px 0 24px}.team-role-guide>summary{cursor:pointer;color:var(--accent,#e7bd57);font-weight:700;padding:10px 0}
.canvas-phone-sample{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;max-width:400px;margin:8px 0;color:var(--muted)}
.canvas-phone-sample>span{display:block;min-width:0;padding:12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);font-size:14px;line-height:20px}
.canvas-phone-sample>span:first-child{color:var(--text);font-weight:600}
