/**
 * Consent module UI.
 * Shared Suite admin shell/components remain owned by suite-admin-ui.css.
 */

/* Admin */
.wcsuite-admin-shell--consent { --wcsuite-admin-shell-max-width: 1440px; }
.wcsuite-consent-admin__content,.wcsuite-consent-admin__section { min-width:0; }
.wcsuite-consent-admin__section + .wcsuite-consent-admin__section { margin-top:26px; }
.wcsuite-consent-overview-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;box-sizing:border-box;min-width:0;min-height:38px;margin:0 0 12px;padding:4px 14px;border:1px solid #dcdcde;border-radius:999px;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.025)}
.wcsuite-consent-metrics{display:flex;align-items:center;justify-content:flex-start;gap:16px;min-width:0;margin:0;flex:0 0 auto}
.wcsuite-consent-metric{--wcsuite-consent-metric-accent:var(--wcsuite-status-neutral-accent,#8c8f94);display:inline-flex;align-items:center;gap:5px;box-sizing:border-box;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none;white-space:nowrap;font-size:13px;line-height:1.2}
.wcsuite-consent-metric:before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--wcsuite-consent-metric-accent)}
.wcsuite-consent-metric.is-success{--wcsuite-consent-metric-accent:var(--wcsuite-status-success-accent,#00a32a)}
.wcsuite-consent-metric.is-attention{--wcsuite-consent-metric-accent:var(--wcsuite-status-attention-accent,#dba617)}
.wcsuite-consent-metric.is-info{--wcsuite-consent-metric-accent:var(--wcsuite-status-info-accent,#2271b1)}
.wcsuite-consent-metric span,.wcsuite-consent-metric strong{display:inline;margin:0;font-size:13px;line-height:1.2}
.wcsuite-consent-metric span{color:#646970;font-weight:600}
.wcsuite-consent-metric strong{color:#1d2327;font-weight:700;font-variant-numeric:tabular-nums}
.wcsuite-consent-location-status{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;min-width:280px;max-width:560px;margin:0 0 0 auto;padding:0;text-align:right}
.wcsuite-consent-location-status__heading{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;font-size:13px;line-height:1.2;white-space:nowrap}
.wcsuite-consent-location-status__heading>strong,.wcsuite-consent-location-status__state{font-size:13px;line-height:1.2}
.wcsuite-consent-location-status__heading>strong{font-weight:650;color:#1d2327}
.wcsuite-consent-location-status__state{font-weight:600}
.wcsuite-consent-location-status__state.is-success{color:#008a20}
.wcsuite-consent-location-status__state.is-attention{color:#996800}
.wcsuite-consent-location-status__state.is-neutral{color:#646970}
.wcsuite-consent-location-status__meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;margin:0;color:#646970;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden}
.wcsuite-consent-location-status__meta span{font-size:11px;line-height:1.25}
.wcsuite-consent-location-status__meta a{display:inline-block;min-width:0;max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;font-size:11px;line-height:1.25}
@media screen and (max-width:1000px){.wcsuite-consent-overview-summary{align-items:flex-start;flex-wrap:wrap;border-radius:18px;padding:7px 12px;gap:7px 12px}.wcsuite-consent-metrics{width:100%;flex:1 1 100%;gap:12px}.wcsuite-consent-location-status{width:100%;max-width:none;min-width:0;margin-left:0;text-align:left}.wcsuite-consent-location-status__heading,.wcsuite-consent-location-status__meta{justify-content:flex-start}.wcsuite-consent-location-status__meta a{max-width:calc(100vw - 150px)}}
@media screen and (max-width:560px){.wcsuite-consent-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px}.wcsuite-consent-metric{font-size:12px}.wcsuite-consent-metric span,.wcsuite-consent-metric strong{font-size:12px}.wcsuite-consent-location-status__heading>strong,.wcsuite-consent-location-status__state{font-size:12px}.wcsuite-consent-location-status__meta,.wcsuite-consent-location-status__meta span,.wcsuite-consent-location-status__meta a{font-size:10.5px}.wcsuite-consent-location-status__meta{white-space:normal;align-items:flex-start}.wcsuite-consent-location-status__meta a{max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}}
.wcsuite-consent-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wcsuite-consent-option{display:flex;align-items:flex-start;gap:10px;box-sizing:border-box;min-width:0;padding:14px;border:1px solid #dcdcde;border-radius:7px;background:#fbfbfc;cursor:pointer}
.wcsuite-consent-option:hover{border-color:#8c8f94;background:#fff}
.wcsuite-consent-option input[type="checkbox"]{flex:0 0 auto;margin:2px 0 0}
.wcsuite-consent-option span{display:grid;gap:3px;min-width:0}.wcsuite-consent-option strong{font-size:14px}.wcsuite-consent-option small{color:#646970;line-height:1.45}
.wcsuite-consent-settings-field{display:grid;gap:6px;max-width:360px;margin-top:18px}.wcsuite-consent-settings-field label{font-weight:600}

.wcsuite-consent-admin__actions-heading,.wcsuite-consent-admin__actions-cell{width:1%;white-space:nowrap;text-align:right}
.wcsuite-consent-admin__delete-form{margin:0}
.wcsuite-consent-admin__delete{border-color:#d63638!important;color:#b32d2e!important;background:#fff!important}
.wcsuite-consent-admin__delete:hover,.wcsuite-consent-admin__delete:focus{border-color:#b32d2e!important;color:#8a2424!important;background:#fcf0f1!important}
.wcsuite-consent-admin__locked{color:#8c8f94}

@media screen and (max-width:900px){.wcsuite-consent-overview-summary{align-items:stretch;flex-wrap:wrap;border-radius:12px;padding:5px 7px}.wcsuite-consent-metrics{width:100%;flex:1 1 100%;justify-content:space-between}.wcsuite-consent-location-status{width:100%;flex:1 1 100%;margin:3px 0 0;padding:5px 8px 1px}.wcsuite-consent-location-status:before{width:100%;height:1px;flex:0 0 100%;margin:0 0 3px;background:#e2e4e7}.wcsuite-consent-location-status{flex-wrap:wrap}.wcsuite-consent-location-status__meta{flex:1 1 auto}}
@media screen and (max-width:560px){.wcsuite-consent-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}.wcsuite-consent-metric{width:100%;padding:3px 5px}.wcsuite-consent-metric strong{margin-left:auto}.wcsuite-consent-location-status{gap:4px}.wcsuite-consent-location-status__meta{flex:1 1 100%;width:100%;padding-left:0;white-space:normal;line-height:1.35}.wcsuite-consent-location-status__meta a{white-space:normal;overflow:visible;text-overflow:clip}.wcsuite-consent-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Frontend */
.wcsuite-consent{
 --wcsuite-consent-control-height:48px;
 --wcsuite-consent-border:var(--wcsuite-widget-border,#dcdcde);
 --wcsuite-consent-muted:var(--wcsuite-widget-muted,#646970);
 --wcsuite-consent-accent:var(--wcsuite-widget-accent,#2271b1);
 --wcsuite-consent-soft:color-mix(in srgb,var(--wcsuite-consent-accent) 7%,#fff);
 --wcsuite-consent-soft-border:color-mix(in srgb,var(--wcsuite-consent-accent) 28%,var(--wcsuite-consent-border));
 width:100%;max-width:none;margin-inline:0;font-family:inherit;font-size:inherit
}
.wcsuite-consent.is-customer-mode .wcsuite-consent__header{display:none}
.wcsuite-consent__header{margin:0 0 22px}.wcsuite-consent__title{margin:0;color:inherit;font-family:inherit}.wcsuite-consent__intro{margin-top:8px;color:var(--wcsuite-consent-muted);font-family:inherit;line-height:1.6}.wcsuite-consent__intro>:first-child{margin-top:0}.wcsuite-consent__intro>:last-child{margin-bottom:0}
.wcsuite-consent__stage{min-width:0}.wcsuite-consent__stage.is-loading{position:relative;pointer-events:none;opacity:.65}.wcsuite-consent__stage.is-loading:after{content:"";position:absolute;top:18px;right:18px;width:18px;height:18px;border:2px solid color-mix(in srgb,var(--wcsuite-consent-accent) 25%,transparent);border-top-color:var(--wcsuite-consent-accent);border-radius:50%;animation:wcsuite-consent-spin .7s linear infinite}@keyframes wcsuite-consent-spin{to{transform:rotate(360deg)}}
.wcsuite-consent__step{min-width:0}.wcsuite-consent__step>h3,.wcsuite-consent__step-heading h3{margin:0 0 6px;color:inherit;font-family:inherit}.wcsuite-consent__step-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.wcsuite-consent__step-heading p,.wcsuite-consent__muted{margin:0;color:var(--wcsuite-consent-muted);line-height:1.6}
.wcsuite-consent__eyebrow,.wcsuite-consent__customer-mark{display:inline-flex;align-items:center;min-height:26px;margin-bottom:9px;padding:4px 9px;border:1px solid var(--wcsuite-consent-soft-border);border-radius:999px;background:var(--wcsuite-consent-soft);color:var(--wcsuite-consent-accent);font-size:12px;font-weight:700;line-height:1.3}
.wcsuite-consent__lock{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border:1px solid var(--wcsuite-consent-border);border-radius:50%;color:var(--wcsuite-consent-muted);font-size:9px}.wcsuite-consent__artist-chip{display:inline-flex;align-items:center;max-width:260px;min-height:32px;padding:6px 10px;border:1px solid var(--wcsuite-consent-border);border-radius:999px;background:#fff;font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wcsuite-consent__form{display:grid;gap:18px}.wcsuite-consent__grid{display:grid;gap:16px}.wcsuite-consent__grid.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}.wcsuite-consent__field{display:grid;gap:7px;min-width:0}.wcsuite-consent__field>label{font-weight:650;line-height:1.4}.wcsuite-consent__field>small{color:var(--wcsuite-consent-muted);font-size:.88em;line-height:1.45}
.wcsuite-consent input[type="text"],.wcsuite-consent input[type="email"],.wcsuite-consent input[type="tel"],.wcsuite-consent input[type="search"],.wcsuite-consent input[type="password"],.wcsuite-consent input[type="date"],.wcsuite-consent select{box-sizing:border-box;width:100%;max-width:none;min-height:var(--wcsuite-consent-control-height);padding:10px 13px;border:1px solid var(--wcsuite-consent-border);border-radius:8px;outline:0;background:#fff;color:inherit;font:inherit;box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease}.wcsuite-consent input:focus,.wcsuite-consent select:focus{border-color:var(--wcsuite-consent-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--wcsuite-consent-accent) 18%,transparent)}
.wcsuite-consent__phone{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}.wcsuite-consent__button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;padding:10px 17px;border:1px solid transparent;border-radius:8px;font:inherit;font-weight:650;line-height:1.25;text-decoration:none;cursor:pointer;transition:transform .12s ease,opacity .12s ease,border-color .12s ease,background .12s ease}.wcsuite-consent__button:hover{transform:translateY(-1px)}.wcsuite-consent__button:active{transform:translateY(0)}.wcsuite-consent__button:disabled{opacity:.5;cursor:not-allowed;transform:none}.wcsuite-consent__button.is-primary{background:var(--wcsuite-consent-accent);color:#fff}.wcsuite-consent__button.is-secondary{border-color:var(--wcsuite-consent-border);background:#fff;color:inherit}.wcsuite-consent__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:2px}
.wcsuite-consent__segmented{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0 0 18px;padding:4px;border:1px solid var(--wcsuite-consent-border);border-radius:9px;background:#f5f5f5}.wcsuite-consent__segmented button{min-height:38px;padding:7px 13px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-weight:650;cursor:pointer}.wcsuite-consent__segmented button.is-active{background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.wcsuite-consent__results{display:grid;gap:8px;margin-top:12px}.wcsuite-consent__result{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:12px 14px;border:1px solid var(--wcsuite-consent-border);border-radius:8px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}.wcsuite-consent__result:hover,.wcsuite-consent__result:focus-visible{border-color:var(--wcsuite-consent-accent);background:var(--wcsuite-consent-soft);outline:0}.wcsuite-consent__result span:first-child{display:grid;gap:3px;min-width:0}.wcsuite-consent__result strong,.wcsuite-consent__result small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wcsuite-consent__result small{color:var(--wcsuite-consent-muted)}
.wcsuite-consent__selection{margin-top:18px;padding-top:18px;border-top:1px solid var(--wcsuite-consent-border)}.wcsuite-consent__selected-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid var(--wcsuite-consent-soft-border);border-radius:9px;background:var(--wcsuite-consent-soft)}.wcsuite-consent__selected-card>div{display:grid;gap:3px;min-width:0}.wcsuite-consent__selected-card span,.wcsuite-consent__selected-card small{color:var(--wcsuite-consent-muted);font-size:.88em}.wcsuite-consent__handoff-note{margin:8px 0 0;color:var(--wcsuite-consent-muted);font-size:.88em;line-height:1.5}
.wcsuite-consent__language-grid,.wcsuite-consent__treatment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.wcsuite-consent__choice-card{display:grid;gap:4px;min-height:96px;padding:16px;border:1px solid var(--wcsuite-consent-border);border-radius:10px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}.wcsuite-consent__choice-card:hover,.wcsuite-consent__choice-card:focus-visible,.wcsuite-consent__choice-card.is-primary-choice{border-color:var(--wcsuite-consent-accent);background:var(--wcsuite-consent-soft);outline:0}.wcsuite-consent__choice-card strong{font-size:1.04em}.wcsuite-consent__choice-card span{color:var(--wcsuite-consent-muted);font-size:.9em;line-height:1.45}
.wcsuite-consent__message,.wcsuite-consent__alert{box-sizing:border-box;margin:0 0 18px;padding:11px 13px;border:1px solid #dba617;border-radius:8px;background:#fffaf0;color:#6e4a00;line-height:1.5}.wcsuite-consent__message.is-error,.wcsuite-consent__alert.is-error{border-color:#e0a3a4;background:#fcf4f4;color:#8a2424}.wcsuite-consent__alert.is-info{border-color:#9bc4df;background:#f0f6fc;color:#0a4b78}.wcsuite-consent__empty{padding:14px;border:1px dashed var(--wcsuite-consent-border);border-radius:8px;color:var(--wcsuite-consent-muted);text-align:center}
.wcsuite-consent__success-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:14px;border-radius:50%;background:#edfaef;color:#14532d;font-size:24px;font-weight:800}.wcsuite-consent__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.wcsuite-consent__summary>div{display:grid;gap:4px;padding:13px;border:1px solid var(--wcsuite-consent-border);border-radius:8px;background:#fff}.wcsuite-consent__summary span{color:var(--wcsuite-consent-muted);font-size:.82em}
.wcsuite-consent__preview-flow{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px 12px;align-items:center;margin-top:20px}.wcsuite-consent__preview-flow span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--wcsuite-consent-soft);color:var(--wcsuite-consent-accent);font-weight:700}
@media(max-width:767px){.wcsuite-consent__grid.is-two,.wcsuite-consent__language-grid,.wcsuite-consent__treatment-grid,.wcsuite-consent__summary{grid-template-columns:minmax(0,1fr)}.wcsuite-consent__selected-card,.wcsuite-consent__step-heading{align-items:stretch;flex-direction:column}.wcsuite-consent__selected-card .wcsuite-consent__button{width:100%}.wcsuite-consent__phone{grid-template-columns:92px minmax(0,1fr)}.wcsuite-consent__segmented{display:grid;width:100%}}
@media(prefers-reduced-motion:reduce){.wcsuite-consent__button,.wcsuite-consent input,.wcsuite-consent select{transition:none}.wcsuite-consent__stage.is-loading:after{animation:none}}

.wcsuite-consent__reset-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:28px;padding-top:18px;border-top:1px solid var(--wcsuite-consent-border)}
.wcsuite-consent__reset-row small{max-width:560px;color:var(--wcsuite-consent-muted);font-size:.84em;line-height:1.5}
.wcsuite-consent__button.is-reset{min-height:40px;padding:8px 13px;font-size:.9em;font-weight:600}
@media(max-width:767px){.wcsuite-consent__reset-row{align-items:stretch;flex-direction:column-reverse}.wcsuite-consent__button.is-reset{width:100%}}

/* Tattoo consent flow */
.wcsuite-consent textarea{box-sizing:border-box;width:100%;max-width:none;min-height:120px;padding:11px 13px;border:1px solid var(--wcsuite-consent-border);border-radius:8px;outline:0;background:#fff;color:inherit;font:inherit;line-height:1.5;resize:vertical;box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease}
.wcsuite-consent textarea:focus{border-color:var(--wcsuite-consent-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--wcsuite-consent-accent) 18%,transparent)}
.wcsuite-consent__alert.is-success{border-color:#a8d5b2;background:#f1faf3;color:#14532d}
.wcsuite-consent__alert.is-warning{border-color:#dba617;background:#fffaf0;color:#6e4a00}
.wcsuite-consent__alert ul{margin:8px 0 0 18px;padding:0}.wcsuite-consent__alert li+li{margin-top:5px}
.wcsuite-consent__question-list{display:grid;gap:10px}
.wcsuite-consent__question{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;margin:0;padding:14px 15px;border:1px solid var(--wcsuite-consent-border);border-radius:9px;background:#fff}
.wcsuite-consent__question-text{font-weight:600;line-height:1.45}
.wcsuite-consent__yesno{display:flex;gap:7px;align-items:center}
.wcsuite-consent__yesno label{position:relative;display:inline-flex;cursor:pointer}
.wcsuite-consent__yesno input{position:absolute;opacity:0;pointer-events:none}
.wcsuite-consent__yesno span{display:inline-flex;align-items:center;justify-content:center;min-width:62px;min-height:38px;padding:7px 11px;border:1px solid var(--wcsuite-consent-border);border-radius:8px;background:#fff;font-size:.92em;font-weight:650;transition:border-color .15s ease,background .15s ease,color .15s ease}
.wcsuite-consent__yesno input:checked+span{border-color:var(--wcsuite-consent-accent);background:var(--wcsuite-consent-soft);color:var(--wcsuite-consent-accent)}
.wcsuite-consent__yesno input:focus-visible+span{outline:2px solid var(--wcsuite-consent-accent);outline-offset:2px}
.wcsuite-consent__info-card{display:grid;gap:7px;padding:16px 17px;border:1px solid var(--wcsuite-consent-soft-border);border-radius:10px;background:var(--wcsuite-consent-soft);line-height:1.6}
.wcsuite-consent__info-card strong{font-size:1.02em}.wcsuite-consent__info-card p{margin:0;color:inherit}
.wcsuite-consent__step > .wcsuite-consent__info-card{margin:16px 0}
.wcsuite-consent__declarations{display:grid;gap:10px}
.wcsuite-consent__declaration{display:grid;grid-template-columns:22px minmax(0,1fr);gap:11px;align-items:flex-start;padding:14px 15px;border:1px solid var(--wcsuite-consent-border);border-radius:9px;background:#fff;cursor:pointer}
.wcsuite-consent__declaration:hover{border-color:var(--wcsuite-consent-soft-border)}
.wcsuite-consent__declaration input[type="checkbox"]{width:18px;height:18px;margin:2px 0 0;accent-color:var(--wcsuite-consent-accent)}
.wcsuite-consent__declaration span{display:grid;gap:4px;min-width:0}.wcsuite-consent__declaration strong{font-size:.96em;line-height:1.5;font-weight:600}
.wcsuite-consent__declaration small{color:var(--wcsuite-consent-accent);font-size:.78em;font-weight:700;text-transform:uppercase;letter-spacing:.035em}
.wcsuite-consent__declaration.is-studio{border-color:var(--wcsuite-consent-soft-border);background:var(--wcsuite-consent-soft)}
.wcsuite-consent__signature-field{display:grid;gap:9px}.wcsuite-consent__signature-field>label{font-weight:650}
.wcsuite-consent__signature-canvas-wrap{position:relative;overflow:hidden;min-height:190px;border:1px solid var(--wcsuite-consent-border);border-radius:10px;background:#fff}
.wcsuite-consent__signature-canvas-wrap canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
.wcsuite-consent__signature-canvas-wrap span{position:absolute;left:14px;bottom:11px;color:#8c8f94;font-size:.82em;pointer-events:none}
.wcsuite-consent__signature-field.has-error .wcsuite-consent__signature-canvas-wrap{border-color:#d63638;box-shadow:0 0 0 1px #d63638}
.wcsuite-consent__signature-clear{justify-self:start;padding:0;border:0;background:transparent;color:var(--wcsuite-consent-accent);font:inherit;font-size:.88em;font-weight:650;text-decoration:underline;cursor:pointer}
.wcsuite-consent__guardian-block{display:grid;gap:16px;padding:17px;border:1px solid var(--wcsuite-consent-border);border-radius:10px;background:#fbfbfc}.wcsuite-consent__guardian-block h4{margin:0;font-size:1.08em}.wcsuite-consent__guardian-block>p{margin:-8px 0 0;color:var(--wcsuite-consent-muted);line-height:1.5}
@media(max-width:767px){.wcsuite-consent__question{grid-template-columns:minmax(0,1fr);gap:11px}.wcsuite-consent__yesno{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.wcsuite-consent__yesno label,.wcsuite-consent__yesno span{width:100%;box-sizing:border-box}.wcsuite-consent__signature-canvas-wrap{min-height:165px}}
