/* SupportCandy owns forms, privacy and ticket state. Only the theme's portal
   pages receive this skin; admin screens and unrelated WordPress pages do not. */
.gm-plugin-surface{background:var(--surface);color:var(--ink)}
.gm-plugin-surface{font-family:var(--sans);line-height:1.6;overflow-wrap:anywhere}
.gm-plugin-surface a{color:#315a38}
.gm-plugin-surface input,.gm-plugin-surface select,.gm-plugin-surface textarea{font-family:inherit;max-width:100%}
.gm-plugin-surface :focus-visible{outline:2px solid #a64c22;outline-offset:3px}
.gm-plugin-surface .wpsc-shortcode-container{font-family:inherit}
.gm-nav-list{display:flex;gap:inherit;list-style:none;margin:0;padding:0}
.mobile-nav .gm-nav-list{display:flex;flex-direction:column;gap:0}
.brand-custom img{max-width:45px;height:auto;max-height:50px;object-fit:contain}
.gm-faq-answer{padding:0 32px 22px 0}.gm-faq-answer p:last-child{padding-bottom:0;margin-bottom:0}
.gm-faq-answer a{color:var(--rust);text-decoration:underline;text-underline-offset:4px}
.article-row>span{flex:1}.article-row>svg:first-child{flex-shrink:0}.article-row>svg:last-child{width:18px;flex-shrink:0}
.gm-checkbox{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.6}.gm-checkbox input{margin-top:5px}.gm-checkbox a{color:var(--rust);text-decoration:underline}
.gm-contact-form{max-width:720px}.gm-contact-form .button{margin-top:20px}
.gm-editor-content{max-width:800px}.gm-editor-content:empty{display:none}
@media(max-width:620px){.gm-nav-list{display:block}}

.gm-nav-list .current-menu-item>a{color:var(--ink)}.gm-nav-list .current-menu-item>a:after{transform:scaleX(1)}

/* Shared support journey. */
.gm-portal-links a[aria-current=page]{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}
.gm-ticket-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}
.gm-ticket-layout>*{min-width:0}
.gm-service-start{display:flex;align-items:center;gap:10px;padding:14px 18px;background:var(--soft);border:1px solid var(--line);border-radius:10px;font-size:.875rem;margin-bottom:16px}
.gm-service-start svg{width:20px;flex-shrink:0}
.gm-ticket-assist{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:25px;position:sticky;top:110px;min-width:0}
.gm-ticket-assist h2{font:2rem/1.2 var(--serif);margin:13px 0 15px;letter-spacing:-.5px}
.gm-ticket-assist>p:not(.eyebrow):not(.sr-only){font-size:.875rem;color:var(--muted);line-height:1.7}
.gm-ticket-suggestions{margin:17px 0 22px;display:grid;gap:10px}
.gm-ticket-suggestions>a{display:block;padding:15px;border:1px solid var(--line);background:var(--surface);border-radius:9px}
.gm-ticket-suggestions>a:hover{border-color:var(--rule)}
.gm-ticket-suggestions strong{font:500 .9375rem/1.5 var(--sans);display:block;color:var(--ink)}
.gm-ticket-suggestions span{display:block;font-size:.875rem;color:var(--muted);line-height:1.6;margin-top:6px}
.gm-ticket-suggestions small{display:block;font-size:.75rem;color:var(--rust);margin-top:10px}
.gm-ticket-suggestions>p{font-size:.875rem;margin:0}
.gm-ticket-suggestions[aria-busy=true]{opacity:.65}
.gm-ticket-note{display:flex;align-items:flex-start;gap:13px;border-top:1px solid var(--line);padding-top:22px;margin-top:25px}
.gm-ticket-note>svg{flex-shrink:0;width:20px;height:20px;margin-top:3px}
.gm-ticket-note h3{font:500 .875rem/1.6 var(--sans);margin:0 0 8px}
.gm-ticket-note p{font-size:.875rem;line-height:1.7;color:var(--muted);margin:0}

/* Native SupportCandy 3.x components. !important is limited to declarations
   competing with SupportCandy's own generated CSS and inline appearance values. */
body.gms-supportcandy #wpsc-container,
body.gms-supportcandy .wpsc-modal{font:1rem/1.7 var(--sans)!important;color:var(--ink)}
body.gms-supportcandy .gm-plugin-surface #wpsc-container{min-width:0;max-width:100%}
body.gms-supportcandy .gm-plugin-surface .wpsc-shortcode-container{background:var(--surface)!important;color:var(--ink);border:0!important;border-radius:10px;min-width:0}
body.gms-supportcandy .gm-plugin-surface .wpsc-body{padding:0;min-width:0}
body.gms-supportcandy .gm-plugin-surface .wpsc-header{background:var(--soft)!important;border:1px solid var(--line);border-radius:9px;margin-bottom:25px;padding:9px 12px}
body.gms-supportcandy .gm-plugin-surface :is(.wpsc-menu-list,.wpsc-humbargar,.wpsc-humbargar-title){color:var(--ink)!important;font-size:.875rem}
body.gms-supportcandy :is(.wpsc-humbargar-menu,.wpsc-popover-menu){background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
body.gms-supportcandy :is(.wpsc-humbargar-menu-item,.wpsc-popover-menu-item){font-size:.875rem;border-color:var(--line)}
body.gms-supportcandy :is(.wpsc-humbargar-menu-item:hover,.wpsc-humbargar-menu-item.active,.wpsc-popover-menu-item:hover){background:var(--soft)!important;color:var(--ink)!important}
body.gms-supportcandy .wpsc-tickets-nav.active{color:var(--rust)!important;border-bottom-color:var(--rust)}
body.gms-supportcandy .gm-plugin-surface .wpsc-tff{padding:0 12px 24px;min-width:0}
body.gms-supportcandy .gm-plugin-surface .wpsc-create-ticket{margin-inline:-12px}
body.gms-supportcandy .gm-plugin-surface :is(.wpsc-tff-label,.wpsc-input-group .label-container){font:500 .9375rem/1.5 var(--sans);color:var(--ink);margin-bottom:9px}
body.gms-supportcandy .gm-plugin-surface :is(.extra-info,.help-block){color:var(--muted);font-size:.8125rem;line-height:1.6;margin-bottom:9px}
body.gms-supportcandy :is(#wpsc-container,.wpsc-modal) :is(input[type=text],input[type=password],input[type=email],input[type=number],select,textarea),
body.gms-supportcandy .select2-container .select2-selection{background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:8px!important;font:1rem/1.5 var(--sans)!important;min-height:46px!important;padding:10px 12px;max-width:100%;box-sizing:border-box}
body.gms-supportcandy :is(#wpsc-container,.wpsc-modal) textarea{min-height:180px}
body.gms-supportcandy :is(#wpsc-container,.wpsc-modal) :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
body.gms-supportcandy .select2-container{max-width:100%;font:1rem/1.5 var(--sans)!important}
body.gms-supportcandy .select2-container .select2-selection__rendered{padding:0!important;line-height:1.5!important;color:var(--ink)!important}
body.gms-supportcandy .select2-container .select2-selection__arrow{height:44px!important}
body.gms-supportcandy .select2-container .select2-selection__clear{color:var(--muted)}
body.gms-supportcandy .select2-dropdown{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:8px;overflow:hidden}
body.gms-supportcandy .select2-results__option{font-size:.9375rem;padding:10px 14px}
body.gms-supportcandy .select2-container--default :is(.select2-results__option[aria-selected=true],.select2-results__option--highlighted){background:var(--soft);color:var(--ink)}
body.gms-supportcandy .select2-search__field{background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line)!important;font-size:1rem!important}
body.gms-supportcandy .select2-container .select2-selection--multiple{height:auto!important}
body.gms-supportcandy .select2-selection__choice{background:var(--soft)!important;color:var(--ink)!important;border-color:var(--line)!important}
body.gms-supportcandy :is(#wpsc-container,.wpsc-modal) :is(input,select,textarea):focus,
body.gms-supportcandy .select2-container--focus .select2-selection,
body.gms-supportcandy .select2-search__field:focus{outline:2px solid var(--rust)!important;outline-offset:3px!important;border-color:var(--rust)!important}
body.gms-supportcandy :is(.gm-plugin-surface,.wpsc-modal) :focus-visible{outline:2px solid var(--rust)!important;outline-offset:3px!important}
body.gms-supportcandy :is(.gm-plugin-surface,.wpsc-modal) .wpsc-button{border-radius:8px;padding:12px 19px;min-height:44px;font:500 .875rem/1.5 var(--sans);transition:background .18s,box-shadow .18s}
body.gms-supportcandy :is(.gm-plugin-surface,.wpsc-modal) .wpsc-button.primary{background:var(--accent)!important;color:var(--accent-text)!important;border:1px solid var(--accent)!important}
body.gms-supportcandy :is(.gm-plugin-surface,.wpsc-modal) .wpsc-button.secondary{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important}
body.gms-supportcandy :is(.gm-plugin-surface,.wpsc-modal) .wpsc-button:hover{box-shadow:var(--shadow)}
body.gms-supportcandy :is(.gm-plugin-surface,.wpsc-modal) .wpsc-link{color:var(--rust);font-size:.875rem;text-underline-offset:4px}
body.gms-supportcandy .gm-plugin-surface :is(.wpsc-section-header,.wpsc-it-subject-container h2){color:var(--ink)!important;font:2rem/1.3 var(--serif)!important;letter-spacing:-.5px}
body.gms-supportcandy .gm-plugin-surface .wpsc-search input{color:var(--ink)!important}
body.gms-supportcandy .gm-plugin-surface .wpsc-ticket-list-tbl{font-size:.9375rem;border-collapse:collapse;width:100%}
body.gms-supportcandy .gm-plugin-surface .wpsc-ticket-list-tbl th{background:var(--soft);color:var(--ink);font:500 .8125rem/1.5 var(--sans);padding:15px 12px;border-color:var(--line)}
body.gms-supportcandy .gm-plugin-surface .wpsc-ticket-list-tbl tbody tr:nth-child(n){background:var(--surface);color:var(--ink)}
body.gms-supportcandy .gm-plugin-surface .wpsc-ticket-list-tbl tbody tr:hover{background:var(--soft);color:var(--ink)}
body.gms-supportcandy .gm-plugin-surface .wpsc-ticket-list-tbl td{padding:18px 12px;border-color:var(--line);font-size:.9375rem;line-height:1.6}
body.gms-supportcandy .gm-plugin-surface .dataTables_wrapper{min-width:0;max-width:100%}
body.gms-supportcandy .gm-plugin-surface :is(.dt-container,.dt-scroll,.wpsc-ticket-list){max-width:100%;overflow-x:auto}
body.gms-supportcandy .gm-plugin-surface .wpsc-auth-container{background:transparent;padding:12px 0}
body.gms-supportcandy .gm-plugin-surface .auth-inner-container{max-width:460px;width:100%;padding:15px;margin:auto}
body.gms-supportcandy .gm-plugin-surface .wpsc-it-container{gap:24px;min-width:0;margin:0}
body.gms-supportcandy .gm-plugin-surface .wpsc-it-sidebar-widget-container{margin-left:0}
body.gms-supportcandy .gm-plugin-surface .wpsc-it-mob-widget-trigger-btn{background:var(--soft)!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:8px;padding:14px;box-shadow:none}
body.gms-supportcandy .gm-plugin-surface .wpsc-it-mob-widget-trigger-btn h2{color:var(--ink)!important;font:500 .9375rem/1.5 var(--sans)!important}
body.gms-supportcandy .gm-plugin-surface .wpsc-it-body{min-width:0}
body.gms-supportcandy .gm-plugin-surface .wpsc-widget-header{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:9px 9px 0 0;padding:14px 17px}
body.gms-supportcandy .gm-plugin-surface .wpsc-widget-header h2{color:var(--ink);font:500 .9375rem/1.5 var(--sans)}
body.gms-supportcandy .gm-plugin-surface .wpsc-widget-body{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-top:0;border-radius:0 0 9px 9px;padding:17px;font-size:.875rem}
body.gms-supportcandy .gm-plugin-surface :is(.wpsc-widget-body .info-label,.wpsc-lg-label){color:var(--muted)}
body.gms-supportcandy .gm-plugin-surface .wpsc-thread.reply{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:11px;padding:22px;gap:16px;margin-bottom:20px}
body.gms-supportcandy .gm-plugin-surface .wpsc-thread.reply h2{font:500 .9375rem/1.5 var(--sans);color:var(--ink)}
body.gms-supportcandy .gm-plugin-surface .wpsc-thread.reply :is(.thread-time,.wpsc-thread-logs){color:var(--muted);font-size:.75rem}
body.gms-supportcandy .gm-plugin-surface .wpsc-thread.reply .actions{color:var(--muted)}
body.gms-supportcandy .gm-plugin-surface .thread-text{font-size:1rem;line-height:1.8;overflow-wrap:anywhere}
body.gms-supportcandy .gm-plugin-surface .thread-body{min-width:0}
body.gms-supportcandy .gm-plugin-surface .wpsc-thread-attachments{margin-top:17px;padding-top:14px;border-top:1px solid var(--line);font-size:.875rem}
body.gms-supportcandy .gm-plugin-surface .wpsc-thread.log .thread-body{color:var(--muted);font-size:.8125rem}
body.gms-supportcandy :is(.wpsc-modal-header,.wpsc-modal-footer){background:var(--soft);color:var(--ink);border-color:var(--line);padding:20px}
body.gms-supportcandy .wpsc-modal-body{background:var(--surface);color:var(--ink);padding:24px}
body.gms-supportcandy .wpsc-modal .inner-container{border:1px solid var(--line);border-radius:12px;overflow:hidden;max-width:calc(100vw - 32px)}
body.gms-supportcandy .wpsc-modal-header h2{font:1.5rem/1.4 var(--serif);color:var(--ink)}
body.gms-supportcandy .wpsc-modal-body .info-label{color:var(--muted)}
body.gms-supportcandy .gm-plugin-surface :is(.mce-panel,.mce-toolbar-grp,.mce-statusbar,.mce-edit-area){background:var(--surface);border-color:var(--line)}
body.gms-supportcandy .gm-plugin-surface :is(.mce-btn,.mce-flow-layout){background:var(--soft)}
body.gms-supportcandy .gm-plugin-surface :is(.mce-ico,.mce-btn button,.mce-path-item){color:var(--ink);text-shadow:none}
@media(max-width:980px){.gm-ticket-layout{grid-template-columns:minmax(0,1fr)}.gm-ticket-assist{position:static}.gm-ticket-suggestions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gm-ticket-suggestions{grid-template-columns:minmax(0,1fr)}.gm-ticket-assist{padding:22px}.gm-portal-links a{flex:1;text-align:center}.gm-portal-links a:last-child{flex-basis:100%}body.gms-supportcandy .gm-plugin-surface .wpsc-tff{width:100%;padding-inline:8px}body.gms-supportcandy .gm-plugin-surface .wpsc-create-ticket{margin-inline:-8px}body.gms-supportcandy .gm-plugin-surface .wpsc-thread.reply{padding:16px;gap:10px}body.gms-supportcandy .gm-plugin-surface .thread-header{flex-wrap:wrap}body.gms-supportcandy .gm-plugin-surface .wpsc-it-subject-container h2{font-size:1.6rem!important}}
@media(prefers-reduced-motion:reduce){body.gms-supportcandy .wpsc-button{transition:none}}

/* Consent checkbox labels carry links to the privacy policy and support terms.
   SupportCandy's framework sets `.checkbox-container label{display:flex}` with an
   absolutely-positioned :before marker, so an inline <a> inside that label is laid out
   as a flex child and collapses to a narrow column, making the copy look overlapped.
   Restore normal inline flow for labels that contain a link. Equal specificity on the
   plugin selectors, loaded after them, so no !important wars are needed for layout. */
body.gms-supportcandy #wpsc-container .checkbox-container label:has(a),
body.gms-supportcandy .wpsc-modal .checkbox-container label:has(a) {
  display: block;
  padding-left: 26px;
  line-height: 1.65;
}
body.gms-supportcandy #wpsc-container .checkbox-container label:has(a) a,
body.gms-supportcandy .wpsc-modal .checkbox-container label:has(a) a {
  display: inline;
  color: var(--rust, var(--accent));
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: normal;
}
