/* Trichosphere Directory – form styles (loaded on form pages only). */
/* Forms */
.tps-scope .tps-form-wrap{max-width:none}
.tps-scope .tps-form__intro{font-size:1.05rem}
.tps-scope .tps-form__section{margin:0 0 28px;padding:0 0 8px;border:0;border-bottom:0}
.tps-scope .tps-form__heading{font-size:1.3rem;margin:0 0 12px}
.tps-scope .tps-form__note{color:var(--tps-muted)}
.tps-scope .tps-form__actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}
.tps-scope .tps-counter{font-size:.88em;color:var(--tps-muted);margin:4px 0 0}
.tps-scope .tps-counter.is-over{color:var(--tps-err);font-weight:700}
.tps-scope .tps-subfield{margin:0 0 10px}
.tps-scope .tps-field--error{border-left:5px solid var(--tps-err);padding-left:14px}
.tps-scope .tps-error-msg{color:var(--tps-err);font-weight:700;margin:0 0 6px}
.tps-scope .tps-error-summary{padding:16px 20px;border:4px solid var(--tps-err);border-radius:var(--tps-radius);margin:0 0 24px;background:#fff}
.tps-scope .tps-error-summary__title{font-size:1.2rem}
.tps-scope .tps-error-summary ul{margin:0;padding-left:1.2em}
.tps-scope .tps-error-summary a{color:var(--tps-err);font-weight:700}
.tps-scope .tps-hours__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--tps-soft)}
.tps-scope .tps-hours__day{width:6.5em;font-weight:600}
.tps-scope .tps-hours__range{display:inline-flex;align-items:center;gap:4px}
.tps-js .tps-scope .tps-hours__range--extra{display:none}
.tps-scope .tps-hours.is-disabled .tps-hours__table{opacity:.45;pointer-events:none}
.tps-scope .tps-hours__tools{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.tps-scope .tps-photo-slot{padding:12px 0;border-bottom:1px solid var(--tps-soft)}
.tps-js .tps-scope .tps-photo-slot--later{display:none}
.tps-scope .tps-photo-slot__kept{font-weight:600;color:var(--tps-ok)}
.tps-scope .tps-photo-preview{display:block;max-width:160px;max-height:120px;border-radius:8px;margin:8px 0;object-fit:cover}
.tps-scope .tps-file{display:block;max-width:100%;padding:6px 0}
.tps-scope .tps-current-photos__grid{display:flex;flex-wrap:wrap;gap:12px}
.tps-scope .tps-current-photo label{display:flex;flex-direction:column;gap:4px;font-size:.9em}
.tps-scope .tps-current-photo img{width:96px;height:96px;object-fit:cover;border-radius:8px}
.tps-scope .tps-done{max-width:680px}

/* Dialog */
.tps-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:var(--tps-radius);box-shadow:0 20px 60px #0006}
.tps-dialog::backdrop{background:#0f172a99}
.tps-dialog__inner{display:flex;flex-direction:column;max-height:calc(100vh - 48px)}
.tps-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--tps-line)}
.tps-dialog__head h2{font-size:1.2rem;margin:0}
.tps-dialog__body{padding:16px 20px;overflow:auto}

/* Full-width form pages */
.tps-scope .tps-form-page__head{margin:0 0 20px}
.tps-scope .tps-form-page__title{font-size:clamp(1.9rem,3.6vw,2.4rem);line-height:1.2;margin:0}
@media (min-width:900px){.tps-form-page section.tps-form__section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}.tps-form-page section.tps-form__section>*{grid-column:1/-1}.tps-form-page section.tps-form__section>:is(.tps-field--text,.tps-field--email,.tps-field--tel,.tps-field--url,.tps-field--postcode,.tps-field--number,.tps-field--date,.tps-field--time,.tps-field--select,.tps-field--location,.tps-field--term_select,.tps-field--venue){grid-column:auto}}

/* 1.4.0 (D7): "Add more details (optional)" – a clear green button (native <details>) */
.tps-scope .tps-form__section--more{margin:8px 0 28px;padding:0;border:0}
.tps-scope .tps-more-toggle{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;padding:12px 18px;box-sizing:border-box;background:var(--tps-gold-soft);color:var(--tps-text);border:1.5px solid var(--tps-gold);border-radius:var(--tps-radius);cursor:pointer;list-style:none;font-weight:700;font-size:1.08rem;line-height:1.3;box-shadow:0 2px 0 #0f2a4a1f;transition:background .15s}
.tps-scope .tps-more-toggle::-webkit-details-marker{display:none}
.tps-scope .tps-more-toggle::marker{content:""}
.tps-scope .tps-more-toggle:hover{background:#f7ecc8}
.tps-scope .tps-more-toggle:focus-visible{outline:3px solid var(--tps-accent);outline-offset:3px}
.tps-scope .tps-more-toggle__icon{flex:0 0 auto;position:relative;width:28px;height:28px;border-radius:50%;background:var(--tps-accent)}
.tps-scope .tps-more-toggle__icon::before,.tps-scope .tps-more-toggle__icon::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:3px;margin:-1.5px 0 0 -7px;background:#fff;border-radius:2px}
.tps-scope .tps-more-toggle__icon::after{transform:rotate(90deg);transition:transform .15s}
.tps-scope details[open]>.tps-more-toggle .tps-more-toggle__icon::after{transform:rotate(0)}
.tps-scope .tps-more-toggle__text{display:flex;flex-direction:column;gap:2px}
.tps-scope .tps-more-toggle__label{font-family:inherit}
.tps-scope .tps-more-toggle__hint{font-weight:400;font-size:.92rem;color:var(--tps-muted)}
.tps-scope details[open]>.tps-more-toggle{border-radius:var(--tps-radius) var(--tps-radius) 0 0}
.tps-scope .tps-more-body{padding:18px 18px 4px;border:1.5px solid var(--tps-gold);border-top:0;border-radius:0 0 var(--tps-radius) var(--tps-radius);background:var(--tps-bg)}
@media (min-width:900px){.tps-form-page .tps-more-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}.tps-form-page .tps-more-body>*{grid-column:1/-1}.tps-form-page .tps-more-body>:is(.tps-field--text,.tps-field--email,.tps-field--tel,.tps-field--url,.tps-field--postcode,.tps-field--number,.tps-field--date,.tps-field--time,.tps-field--select,.tps-field--location,.tps-field--term_select,.tps-field--venue){grid-column:auto}}
@media (prefers-reduced-motion:reduce){.tps-scope .tps-more-toggle,.tps-scope .tps-more-toggle__icon::after{transition:none}}

/* Trichosphere look */
.tps-scope.tps-form-page{max-width:880px;margin:0 auto}
.tps-scope .tps-form-page__head{text-align:center;margin:0 0 28px}
.tps-scope .tps-form-page__title{font-weight:400}
.tps-scope .tps-form__section{padding:28px 32px;margin:0 0 20px;background:var(--tps-bg);border-radius:var(--tps-radius);border:1px solid var(--tps-line)}
.tps-scope .tps-form__heading{font-weight:400;font-size:1.4rem}
.tps-scope .tps-form__heading::after{content:"";display:block;width:36px;height:2px;margin-top:10px;background:var(--tps-gold)}
.tps-scope .tps-private{display:inline-flex;align-items:center;gap:6px;padding:.2em .8em;border-radius:999px;background:var(--tps-green-soft);color:var(--tps-green);font-size:.8rem;font-weight:700}
.tps-scope .tps-field--error{border-left:3px solid var(--tps-err)}
.tps-scope .tps-error-summary{border:2px solid var(--tps-err);border-radius:var(--tps-radius-sm)}
.tps-scope .tps-dialog,.tps-dialog{border-radius:var(--tps-radius,18px)}
@media (max-width:640px){.tps-scope .tps-form__section{padding:20px 18px}}

/* ==========================================================================
   1.1 – modern form: three parts with their own header and colour
   (Part 1 free listing · Part 2 paid featured listing · Part 3 verification)
   ========================================================================== */
.tps-scope .tps-form{max-width:860px;margin:0 auto}
.tps-scope .tps-form__intro{margin:0 0 20px;font-size:.9rem;color:var(--tps-muted);text-align:center}

/* Parts */
.tps-scope .tps-form-group{position:relative;margin:0 0 32px;padding:28px 28px 8px;border-radius:calc(var(--tps-radius) + 10px)}
.tps-scope .tps-form-group__head{margin:0 0 22px;padding:0 4px}
.tps-scope .tps-form-group__eyebrow{margin:0 0 6px;font-size:.75rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.tps-scope .tps-form-group__title{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 6px;font-family:Lora,Georgia,serif;font-size:clamp(1.6rem,3vw,2.1rem);font-weight:400;line-height:1.2}
.tps-scope .tps-form-group__badge{display:inline-flex;align-items:center;padding:4px 14px;border-radius:999px;font-family:Lato,system-ui,sans-serif;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.4}
.tps-scope .tps-form-group__note{margin:0;font-size:1rem;color:var(--tps-muted);max-width:60ch}

/* Part 1 – free: calm white */
.tps-scope .tps-form-group--free{background:var(--tps-bg);border:1px solid var(--tps-line)}
.tps-scope .tps-form-group--free .tps-form-group__eyebrow{color:var(--tps-green)}
.tps-scope .tps-form-group--free .tps-form-group__badge{background:var(--tps-green-soft);color:var(--tps-green)}

/* Part 2 – paid: blush/mauve with champagne accents */
.tps-scope .tps-form-group--paid{background:linear-gradient(180deg,#f6eef2 0%,#fbf6f0 100%);border:1.5px solid var(--tps-accent-frame)}
.tps-scope .tps-form-group--paid::before{content:"";position:absolute;left:28px;right:28px;top:-1px;height:3px;border-radius:0 0 3px 3px;background:var(--tps-gold)}
.tps-scope .tps-form-group--paid .tps-form-group__eyebrow{color:var(--tps-accent)}
.tps-scope .tps-form-group--paid .tps-form-group__badge{background:var(--tps-accent);color:#fff}

/* Part 3 – verification: soft green, private */
.tps-scope .tps-form-group--private{background:#eef4f2;border:1px solid #d3e3de}
.tps-scope .tps-form-group--private .tps-form-group__eyebrow{color:var(--tps-green)}
.tps-scope .tps-form-group--private .tps-form-group__badge{background:transparent;color:var(--tps-green);box-shadow:inset 0 0 0 1.5px var(--tps-green)}
.tps-scope .tps-form-group--private .tps-form-group__badge::before{content:"";width:10px;height:12px;margin-right:7px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Crect x='0' y='5' width='10' height='7' rx='1.5'/%3E%3Cpath d='M2.5 5V3.5a2.5 2.5 0 0 1 5 0V5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Crect x='0' y='5' width='10' height='7' rx='1.5'/%3E%3Cpath d='M2.5 5V3.5a2.5 2.5 0 0 1 5 0V5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat}

/* Sections inside a part: white cards */
.tps-scope .tps-form-group .tps-form__section{margin:0 0 20px;padding:24px 26px;background:var(--tps-bg);border:1px solid rgba(43,42,44,.06);border-radius:var(--tps-radius);box-shadow:0 1px 2px rgba(43,42,44,.04)}
.tps-scope .tps-form-group--free .tps-form__section{border:0;box-shadow:none;padding:8px 4px 20px;border-bottom:1px solid var(--tps-line);border-radius:0}
.tps-scope .tps-form-group--free .tps-form__section:last-child{border-bottom:0}
.tps-scope .tps-form .tps-form__heading{font-family:Lora,Georgia,serif;font-size:1.3rem;font-weight:400;margin:0 0 6px}
.tps-scope .tps-form .tps-form__heading::after{display:none}
.tps-scope .tps-form__note{margin:0 0 16px;font-size:.92rem;font-weight:400;color:var(--tps-muted)}

/* Featured offer */
.tps-scope .tps-offer{display:grid;gap:20px;margin:6px 0 20px}
@media (min-width:640px){.tps-scope .tps-offer{grid-template-columns:1.4fr 1fr;align-items:start}}
.tps-scope .tps-offer__list{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.tps-scope .tps-offer__list li{display:flex;gap:10px;align-items:flex-start;font-size:.98rem}
.tps-scope .tps-offer__list .tps-icon{flex:none;width:20px;height:20px;padding:3px;border-radius:50%;background:var(--tps-accent-soft);color:var(--tps-accent);stroke-width:2.4;margin-top:1px}
.tps-scope .tps-offer__prices{display:grid;gap:10px;padding:18px;border-radius:var(--tps-radius-sm);background:#fbf7ef;border:1px solid var(--tps-gold-line)}
.tps-scope .tps-offer__price{display:flex;flex-direction:column;margin:0}
.tps-scope .tps-offer__amount{font-family:Lora,Georgia,serif;font-size:1.6rem;line-height:1.2;color:var(--tps-accent-dark)}
.tps-scope .tps-offer__per{font-size:.82rem;color:var(--tps-muted)}
.tps-scope .tps-offer__member{margin:4px 0 0;padding-top:10px;border-top:1px dashed var(--tps-gold-line);font-size:.85rem;color:var(--tps-gold-ink)}

/* "Yes, I am interested" – a big, clear toggle card */
.tps-scope .tps-consent-card{padding:16px 18px;border-radius:var(--tps-radius-sm);border:1.5px solid var(--tps-accent-line);background:var(--tps-bg);transition:border-color .15s,background .15s}
.tps-scope .tps-consent-card:has(input:checked){border-color:var(--tps-accent);background:var(--tps-accent-soft)}
.tps-scope .tps-consent-card .tps-choice label{font-weight:700;font-size:1.02rem}
.tps-scope .tps-consent-card__help{margin:6px 0 0 34px;font-size:.88rem}
.tps-scope .tps-form-group--paid .tps-form__section--more{border:1.5px dashed var(--tps-accent-frame);box-shadow:none;animation:tps-reveal .25s ease-out}
@keyframes tps-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* Controls – modern, theme-proof */
.tps-scope .tps-form .tps-label,.tps-scope .tps-form legend.tps-label{font-size:.95rem;font-weight:700;color:var(--tps-text);margin-bottom:6px}
.tps-scope .tps-form .tps-help{font-size:.86rem;line-height:1.5;color:var(--tps-muted)}
.tps-scope .tps-form .tps-req{font-weight:400;font-size:.82rem;color:var(--tps-accent)}
.tps-scope .tps-form input.tps-input,.tps-scope .tps-form select.tps-input,.tps-scope .tps-form textarea.tps-input,
.tps-scope .tps-form input[type=text],.tps-scope .tps-form input[type=email],.tps-scope .tps-form input[type=tel],.tps-scope .tps-form input[type=url],.tps-scope .tps-form input[type=number],.tps-scope .tps-form input[type=time]{
  min-height:52px;padding:12px 16px;border:1.5px solid #ddd0d6!important;border-radius:12px!important;background:#fff!important;font:inherit;font-size:1rem;color:var(--tps-text);box-shadow:none!important;transition:border-color .15s,box-shadow .15s}
.tps-scope .tps-form textarea.tps-input{min-height:130px;line-height:1.55}
.tps-scope .tps-form .tps-input:hover{border-color:var(--tps-accent-frame)!important}
.tps-scope .tps-form .tps-input:focus,.tps-scope .tps-form input:focus,.tps-scope .tps-form textarea:focus,.tps-scope .tps-form select:focus{border-color:var(--tps-accent)!important;box-shadow:0 0 0 4px var(--tps-accent-soft)!important;outline:0}
.tps-scope .tps-form ::placeholder{color:#a69ca1}

/* Checkboxes and radios: our own look (Uncode draws them almost invisible) */
.tps-scope .tps-form input[type=checkbox],.tps-scope .tps-form input[type=radio]{
  -webkit-appearance:none;appearance:none;flex:none;width:22px!important;height:22px!important;margin:1px 0 0!important;padding:0!important;
  border:2px solid #c9b6c0!important;background:#fff!important;cursor:pointer;display:inline-grid;place-content:center;transition:all .15s;position:static!important;opacity:1!important}
.tps-scope .tps-form input[type=checkbox]{border-radius:7px!important}
.tps-scope .tps-form input[type=radio]{border-radius:50%!important}
.tps-scope .tps-form input[type=checkbox]::before{content:"";width:12px;height:12px;transform:scale(0);transition:transform .12s;background:#fff;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0,43% 62%)}
.tps-scope .tps-form input[type=radio]::before{content:"";width:10px;height:10px;border-radius:50%;transform:scale(0);transition:transform .12s;background:#fff}
.tps-scope .tps-form input[type=checkbox]:checked,.tps-scope .tps-form input[type=radio]:checked{background:var(--tps-accent)!important;border-color:var(--tps-accent)!important}
.tps-scope .tps-form input[type=checkbox]:checked::before,.tps-scope .tps-form input[type=radio]:checked::before{transform:scale(1)}
.tps-scope .tps-form input[type=checkbox]:hover,.tps-scope .tps-form input[type=radio]:hover{border-color:var(--tps-accent)!important}
.tps-scope .tps-form input[type=checkbox]:focus-visible,.tps-scope .tps-form input[type=radio]:focus-visible{outline:3px solid var(--tps-focus);outline-offset:2px}
.tps-scope .tps-form input[type=checkbox]::after,.tps-scope .tps-form input[type=radio]::after{display:none!important}
.tps-scope .tps-form .tps-choice{align-items:center;gap:12px}
.tps-scope .tps-form .tps-choice label{font-size:.98rem;line-height:1.4}

/* Single-choice questions (type, country, language) as tappable cards */
.tps-scope .tps-form .tps-fieldset .tps-choices:not(.tps-choices--cols){display:grid;gap:10px}
@media (min-width:560px){.tps-scope .tps-form .tps-fieldset .tps-choices:not(.tps-choices--cols):has(input[type=radio]){grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}
.tps-scope .tps-form .tps-choices .tps-choice:has(input[type=radio]){padding:14px 16px;border:1.5px solid #e4d9de;border-radius:12px;background:#fff;transition:border-color .15s,background .15s;cursor:pointer}
.tps-scope .tps-form .tps-choices .tps-choice:has(input[type=radio]):hover{border-color:var(--tps-accent-frame)}
.tps-scope .tps-form .tps-choices .tps-choice:has(input[type=radio]:checked){border-color:var(--tps-accent);background:var(--tps-accent-soft)}
.tps-scope .tps-form .tps-choices .tps-choice:has(input[type=radio]:checked) label{font-weight:700;color:var(--tps-accent-dark)}

/* Multi-choice lists (services, languages, accessibility) as chips */
.tps-scope .tps-form .tps-choices--cols .tps-choice{padding:8px 12px;border-radius:10px;transition:background .15s}
.tps-scope .tps-form .tps-choices--cols .tps-choice:has(input:checked){background:var(--tps-accent-soft)}

/* File inputs */
.tps-scope .tps-form input[type=file]{width:100%;padding:12px;border:1.5px dashed #d6c6ce;border-radius:12px;background:#fff;font-size:.9rem;cursor:pointer}
.tps-scope .tps-form input[type=file]::file-selector-button{margin-right:12px;padding:8px 16px;border:0;border-radius:999px;background:var(--tps-accent-soft);color:var(--tps-accent-dark);font:inherit;font-weight:700;cursor:pointer}
.tps-scope .tps-form input[type=file]:hover{border-color:var(--tps-accent)}

/* Submit */
.tps-scope .tps-form__actions{display:flex;justify-content:center;margin:8px 0 12px}
.tps-scope .tps-form__actions .tps-btn{min-width:280px;min-height:56px;font-size:1.05rem}
@media (max-width:640px){
  .tps-scope .tps-form-group{padding:20px 14px 4px;margin-left:-6px;margin-right:-6px}
  .tps-scope .tps-form-group .tps-form__section{padding:18px 16px}
  .tps-scope .tps-form__actions .tps-btn{width:100%;min-width:0}
}
