/* Scoped to the invitation editor; public invitations keep their own layout. */
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-field-validation-error{margin:6px 0 12px;color:#8e2d23;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready{--tc-studio-gold:#b89d74;--tc-studio-ink:#3f382e;--tc-studio-muted:#756b5d}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel,
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel *{box-sizing:border-box;min-width:0}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel :is(input,select,textarea,button,fieldset){max-width:100%}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel :is(input[type="url"],input[type="file"],input[type="date"],input[type="time"],input[type="datetime-local"]){width:100%;min-width:0}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel :is(p,a,label,button,small){overflow-wrap:anywhere}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready [hidden]{display:none!important}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready :is(.tc-editor-grid,.tc-edit-grid,.tc-preview-col,.tc-edit-preview-col){min-width:0}
.tc-studio{margin:22px 0;color:var(--tc-studio-ink)}
.tc-studio :is(h4,.tc-studio-title){font-size:19px;line-height:1.35;margin:0 0 8px;color:var(--tc-studio-ink)}
.tc-studio-copy{font-size:12px;line-height:1.65;color:var(--tc-studio-muted);margin:0 0 16px}
.tc-studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:144px;text-align:left;padding:14px;border:1px solid #ded7ca;border-radius:14px;background:#fffdf9;color:#494136;font:inherit;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tc-studio-card .tc-studio-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f1eade;color:#8d7147;font-size:22px;font-weight:400}
.tc-studio-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tc-studio-card strong{font-size:13px;line-height:1.4}
.tc-studio-card small{font-size:11px;line-height:1.5;color:#786e60;flex:1}
.tc-studio-card-status{font-size:10px;line-height:1.5;color:#806843;font-weight:600}
.tc-studio-card:hover{border-color:#b89d74;transform:translateY(-2px);box-shadow:0 6px 18px #b89d7426}
:is(#tc_editor_wrap,.tc-edit-wrap) :is(.tc-studio button,.tc-studio-coach button,.tc-studio-idea button):focus-visible{outline:3px solid #b89d74;outline-offset:3px}
.tc-studio-workspace{padding:16px;border:1px solid #ded7ca;background:#fffdf9;border-radius:16px;animation:tcStudioEnter .22s ease-out}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-back{padding:8px 0;margin:0 0 14px;background:transparent;border:0;color:#806843;font:inherit;font-size:12px;min-height:44px;cursor:pointer;text-align:left}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-done{width:100%;padding:12px;margin-top:18px;min-height:44px;background:#f1eade;border:1px solid #caba9e;border-radius:10px;color:#5d4d34;font:inherit;font-size:12px;cursor:pointer}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-unfolded,
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-module-fields{background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;overflow:visible!important;border-radius:0!important}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready #tc_section_main{overflow:visible!important;border-radius:0!important}
/* Astra and other themes can remove input borders. Give native controls their
   own visible edge instead of relying on a shadow outside a clipped details. */
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],input[type="number"],input[type="date"],input[type="time"],input[type="datetime-local"],textarea,select){border:1px solid #ded7ca!important;border-radius:10px!important;box-shadow:none!important;background-color:#fffdf9!important}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel :is(input,textarea,select):focus-visible{outline:2px solid #b89d74!important;outline-offset:2px!important;box-shadow:none!important}
:is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel input:is([type="checkbox"],[type="radio"]):not([hidden]){appearance:auto!important;-webkit-appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;margin:0!important;vertical-align:middle;accent-color:#8e734b;box-shadow:none!important}
.tc-studio-unfolded>summary,.tc-studio-module-fields>summary{display:none!important}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-unfolded>.tc-acc-body,
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-module-fields>.tc-module-config-body{padding:0!important}
.tc-studio-native-switch,.tc-studio-native-select{display:none!important}
.tc-studio .tc-module-config-list{display:block}
.tc-studio-module-grid{display:grid;grid-template-columns:1fr;gap:10px}
.tc-studio-module-card{border:1px solid #e0d8ca;border-radius:12px;padding:14px;background:#fff}
.tc-studio-module-card.is-enabled{border-color:#baa077;background:#fbf7ef}
.tc-studio-module-card>strong{display:block;font-size:13px}
.tc-studio-module-card>p{font-size:11px;line-height:1.5;color:#776b59;margin:5px 0 12px}
.tc-studio-module-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-switch{min-height:44px;padding:7px 10px;border:1px solid #d6cebf;border-radius:9px;background:#f8f6f1;color:#716755;font:inherit;font-size:11px;cursor:pointer}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-switch[aria-checked="true"]{background:#e9f1e7;border-color:#96af8b;color:#36552e}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-configure{min-height:44px;padding:7px 10px;border:0;border-radius:9px;background:#2f2f2f;color:#fff;font:inherit;font-size:11px;cursor:pointer}
.tc-studio-title-options{margin:12px 0;padding:10px;background:#f8f5ef;border:1px solid #e5ddcf;border-radius:9px}
.tc-studio-title-options>summary{font-size:11px;cursor:pointer;min-height:24px;color:#78684e}
.tc-studio-title-options[open]>summary{margin-bottom:10px}
.tc-studio-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:14px}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-choices button{min-height:44px;padding:8px 4px;background:#fff;border:1px solid #ded7ca;border-radius:9px;color:#73644e;font:inherit;font-size:11px;cursor:pointer}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-choices button:is([aria-pressed="true"],[aria-selected="true"]){border-color:#b89d74;background:#f1eade;color:#524329;font-weight:700}
.tc-studio-decor-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-calendar-trigger{display:block;min-height:36px;padding:6px 0;margin:3px 0;background:transparent;border:0;color:#816840;font:inherit;font-size:11px;text-align:left;cursor:pointer}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-calendar{height:42px;padding:6px 8px;border:1px solid #ded7ca;border-radius:8px;background:#fffdf9;color:#67583f;font-size:12px}
.tc-studio-coach{margin:16px 0;padding:15px;border:1px solid #d9ccb5;border-radius:14px;background:linear-gradient(125deg,#faf5e9,#f2e9d9);color:#4c402e}
.tc-studio-coach>strong{display:block;font-size:13px}
.tc-studio-coach-copy,.tc-studio-message{font-size:12px;line-height:1.6;margin:7px 0 12px;color:#726149}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-coach-action{min-height:44px;width:100%;padding:10px 12px;background:#2f2f2f;border:0;border-radius:10px;color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.tc-studio-message{margin:10px 0 0}
.tc-studio-message:empty{display:none}
.tc-studio-idea{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-idea button{padding:9px 11px;min-height:44px;border:1px solid #caba9e;border-radius:10px;background:#faf5e9;color:#66512e;font:inherit;font-size:12px;cursor:pointer}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-idea .tc-studio-undo{border-color:#ded7ca;background:transparent;color:#786d5b}
.tc-studio .tc-assistant-photo-copy{margin:0 0 12px}
.tc-studio .tc-assistant-photo-reset{margin:12px 0}
:is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio .tc-upload-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
.tc-studio .jcl-visual-decor{margin:14px 0 0}
.tc-studio-invite{animation:tcStudioInvite 1.6s ease-in-out 3}
@keyframes tcStudioInvite{50%{box-shadow:0 0 0 4px #b89d7433,0 6px 18px #0002;filter:brightness(1.1)}}
@keyframes tcStudioEnter{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){
  :is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-mobile-drawer-panel{overflow-x:hidden!important;overscroll-behavior-x:none;background:#faf8f3!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;max-width:100vw!important;padding:18px!important}
  :is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-mobile-drawer-head{top:-18px!important;background:#fff!important}
  :is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-mobile-drawer-panel :is(.tc-field-grid-2,.tc-form-grid){grid-template-columns:minmax(0,1fr)}
  :is(#tc_editor_wrap,.tc-edit-wrap).tc-studio-ready .tc-panel input[type="color"]{width:100%;height:42px}
  .tc-studio-workspace{padding:13px}
  :is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-card{padding:12px;min-height:142px}
}
@media(max-width:350px){.tc-studio-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){
  .tc-studio-invite,.tc-studio-workspace{animation:none!important}
  :is(#tc_editor_wrap,.tc-edit-wrap) .tc-studio-card{transition:none!important;transform:none!important}
}
