/* Release 8: account-specific components; no global input/header rules. */
.teho-legacy .teho-client-account,.teho-legacy .teho-review-workspace{min-width:0;overflow-wrap:anywhere}
.teho-legacy .teho-profile-shortcuts{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;margin:24px 0 36px}
.teho-legacy .teho-bookings-section,.teho-legacy .teho-client-reviews{margin:32px 0;padding:clamp(18px,3vw,32px);border:1px solid #bfd3f3;border-radius:28px;background:linear-gradient(130deg,#dbe8ff,#edf4ff 65%,#d4e6ff);scroll-margin-top:110px;min-width:0}
.teho-legacy .teho-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.teho-legacy .teho-section-heading h2{font-size:clamp(25px,3vw,34px);line-height:1.2;margin:8px 0;color:#12315d}
.teho-legacy .teho-booking-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.teho-legacy .teho-booking-stats>div{display:grid;gap:8px;background:linear-gradient(135deg,#174eab,#123779);color:#fff;border-radius:18px;padding:20px 16px}
.teho-legacy .teho-booking-stats strong{font-size:32px;line-height:1;font-variant-numeric:tabular-nums;color:#fff}.teho-legacy .teho-booking-stats span{font-size:14px;line-height:1.4;color:#e7efff}
.teho-legacy .teho-bookings-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.teho-legacy .teho-booking-card{min-width:0;border:1px solid #b9cee9;border-radius:22px;padding:24px;background:linear-gradient(155deg,#f4f8ff,#e4edff);color:#17325a;scroll-margin-top:110px}
.teho-legacy .teho-booking-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}.teho-legacy .teho-booking-top>div{flex:1 1 160px;min-width:0}
.teho-legacy .teho-booking-top h3{font-size:21px;line-height:1.3;margin:6px 0;color:#133261}.teho-legacy .teho-booking-top p{font-size:14px;line-height:1.5;color:#3b5575;margin:0}
.teho-legacy .teho-booking-status{display:inline-flex;align-items:center;border-radius:20px;background:#ccdcfa;color:#153f88;font-size:13px;line-height:1.4;font-weight:700;padding:8px 12px;max-width:100%}
.teho-legacy [data-booking-state=completed] .teho-booking-status,.teho-legacy [data-booking-state=confirmed] .teho-booking-status{background:#cfebdf;color:#16533c}
.teho-legacy [data-booking-state=cancelled] .teho-booking-status,.teho-legacy [data-booking-state=declined] .teho-booking-status{background:#f7dce1;color:#78283b}
.teho-legacy .teho-booking-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.teho-legacy .teho-booking-details dt{font-size:13px;color:#486180;margin-bottom:5px}.teho-legacy .teho-booking-details dd{font-size:16px;font-weight:600;line-height:1.4;margin:0;color:#14325e}
.teho-legacy .teho-booking-form{display:grid;gap:12px;padding-top:20px;border-top:1px solid #bfd0e9;min-width:0}.teho-legacy .teho-booking-form label{display:grid;gap:8px;font-size:14px;line-height:1.5;font-weight:600;position:static;transform:none;color:#244566}
.teho-legacy .teho-booking-form input:not([type=hidden]),.teho-legacy .teho-booking-form select,.teho-legacy .teho-booking-form textarea{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:auto;min-height:48px;padding:12px 14px;margin:0;border:1px solid #91add4;border-radius:12px;background:#f8fbff;color:#142f57;font:inherit;font-size:16px;line-height:1.4;box-shadow:none;appearance:auto}
.teho-legacy .teho-booking-form textarea{resize:vertical}.teho-legacy .teho-booking-form [hidden]{display:none!important}.teho-legacy .teho-booking-reschedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.teho-legacy [data-slot-feedback]{grid-column:1/-1;margin:0}
.teho-legacy .teho-booking-form button{justify-content:center;min-height:48px;border:0;cursor:pointer}.teho-legacy .teho-booking-form button:disabled{opacity:.6;cursor:wait}
.teho-legacy .teho-booking-hint,.teho-legacy .teho-dashboard-update{font-size:14px;line-height:1.6;color:#385578;margin:16px 0 0}.teho-legacy .teho-booking-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:20px}.teho-legacy .teho-booking-links a{color:#164fa9;text-decoration:underline;min-height:32px;line-height:1.5}
.teho-legacy [data-booking-feedback]:empty,.teho-legacy [data-slot-feedback]:empty{display:none}.teho-legacy [data-booking-feedback],.teho-legacy [data-slot-feedback]{line-height:1.5;font-size:14px;margin:0}.teho-legacy [data-state=error]{color:#91263d}.teho-legacy [data-state=success]{color:#176240}
.teho-legacy .teho-account-notice,.teho-legacy .teho-account-error,.teho-legacy .teho-account-empty{padding:20px;border-radius:18px;background:#dce9ff;color:#1d3e6c;line-height:1.6}.teho-legacy .teho-account-error{background:#fae4e8;color:#86243c}.teho-legacy .teho-account-empty h3{font-size:21px;color:#123361}.teho-legacy .teho-account-empty p{margin:10px 0 0;color:#345277}
.teho-legacy .teho-review-workspace{padding-top:32px;padding-bottom:48px}.teho-legacy .teho-review-workspace>h1{font-size:clamp(28px,4vw,42px);line-height:1.15;color:#15396c}.teho-legacy .teho-review-workspace>p{font-size:17px;line-height:1.6;color:#395878;max-width:760px;margin:18px 0 28px}
.teho-legacy .teho-review-search{display:flex;align-items:end;gap:12px;max-width:820px;margin:24px 0}.teho-legacy .teho-review-search label{display:grid;gap:8px;flex:1;min-width:0;color:#24476f;font-weight:600}.teho-legacy .teho-review-search input{width:100%;min-width:0;min-height:50px;border-radius:14px;padding:12px 16px;border:1px solid #9cb7de;background:#eff5ff;color:#17365d;font:inherit;font-size:16px}.teho-legacy .teho-review-search button{border:0;min-height:50px;cursor:pointer}
.teho-legacy .teho-review-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.teho-legacy .teho-review-choice{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;border-radius:24px;background:linear-gradient(145deg,#e7f0ff,#ccdfff);border:1px solid #b9cfef;min-width:0}.teho-legacy .teho-review-choice h2{font-size:21px;color:#16396a;line-height:1.3}.teho-legacy .teho-review-choice p{color:#36567c;line-height:1.6;margin:0}.teho-legacy .teho-review-choice a{margin-top:auto}.teho-legacy .teho-review-selected{background:#dce9ff;padding:22px;border-radius:20px;line-height:1.6}.teho-legacy .teho-review-selected h2{color:#153666;font-size:24px}.teho-legacy .teho-review-selected a{display:inline-block;margin-top:12px;color:#1954ad;text-decoration:underline}
.teho-legacy .teho-review-rating-options{display:flex;gap:10px;flex-wrap:wrap;border:0;padding:0;margin:10px 0;min-width:0}.teho-legacy .teho-review-rating-options legend{margin-bottom:10px;font-weight:700;color:#193d6a}.teho-legacy .teho-review-rating-options label{position:relative;display:inline-flex;align-items:center;gap:8px;border:1px solid #8faedb;border-radius:12px;padding:12px 16px;background:#e5eeff;color:#1a4281;min-height:48px;cursor:pointer}.teho-legacy .teho-review-rating-options input{position:static!important;opacity:1!important;width:18px!important;height:18px!important;margin:0!important;appearance:auto!important;accent-color:#2365d7}.teho-legacy .teho-review-rating-options label:focus-within{outline:3px solid #427ee7;outline-offset:2px}
.teho-legacy .teho-review-item-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.teho-legacy .teho-review-item{background:linear-gradient(145deg,#e5efff,#d9e7ff)}
.teho-legacy .teho-lab-quicklinks{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 26px}.teho-legacy .teho-lab-quicklinks a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:14px;background:#dce9ff;color:#194f9c;font-weight:600}
.teho-legacy .lab_content .right_area{min-width:0}.teho-legacy .lab_content .right_area .double_input{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.teho-legacy .lab_content .right_area .double_input .input_cont{width:100%!important;min-width:0;max-width:100%;margin:0;float:none}.teho-legacy .lab_content .right_area input{min-width:0;max-width:100%;box-sizing:border-box}
.teho-legacy .teho-booking-form :focus-visible,.teho-legacy .teho-review-search :focus-visible{outline:3px solid #467de0;outline-offset:3px}
@media(max-width:1000px){.teho-legacy .teho-bookings-list{grid-template-columns:minmax(0,1fr)}.teho-legacy .teho-review-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.teho-legacy .teho-booking-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.teho-legacy .teho-booking-stats>div{padding:16px}.teho-legacy .teho-bookings-section,.teho-legacy .teho-client-reviews{padding:18px 14px;border-radius:22px}.teho-legacy .teho-booking-card{padding:18px 14px}.teho-legacy .teho-booking-reschedule{grid-template-columns:minmax(0,1fr)}.teho-legacy .teho-profile-shortcuts{gap:14px}.teho-legacy .teho-review-choices{grid-template-columns:minmax(0,1fr)}.teho-legacy .teho-review-search{align-items:stretch;flex-direction:column}.teho-legacy .teho-review-search label{width:100%}.teho-legacy .teho-review-rating-options{gap:8px}.teho-legacy .teho-review-rating-options label{padding:10px 12px}.teho-legacy .teho-section-heading .teho-client-button{width:100%;justify-content:center}}
@media(max-width:370px){.teho-legacy .teho-booking-details{grid-template-columns:minmax(0,1fr)}}

.teho-legacy .lab_request_form fieldset{display:block;position:static;margin:0 0 18px;padding:0;border:0;width:100%;min-width:0;max-width:100%;box-sizing:border-box;float:none}
.teho-legacy .lab_request_form .double_input>fieldset{width:100%!important;max-width:100%;margin:0}
.teho-legacy .lab_request_form .teho-booking-field-label{display:block;position:static;transform:none;font-size:14px;font-weight:600;line-height:1.5;color:#20446c;margin:0 0 8px;padding:0}
.teho-legacy .lab_request_form fieldset input{width:100%;min-width:0;height:auto;min-height:48px;font-size:16px;line-height:1.4;padding:12px 14px;border-radius:12px;box-sizing:border-box}
.teho-legacy .lab_request_form .double_input{margin-bottom:20px}.teho-legacy .lab_request_form{scroll-margin-top:110px}
.teho-legacy .teho-workspace-heading{display:flex;gap:24px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;margin-bottom:24px}.teho-legacy .teho-workspace-heading>div{flex:1 1 280px;min-width:0}.teho-legacy .teho-workspace-heading h1{font-size:clamp(28px,4vw,42px);line-height:1.2;color:#153b70;margin:10px 0}.teho-legacy .teho-workspace-heading p{line-height:1.7;color:#395878;margin:14px 0}
/* Reset legacy generic form/fieldset spacing; radio controls must remain 18px. */
.teho-legacy .teho-booking-form,.teho-legacy .teho-review-form{padding:20px 0 0;background:transparent;box-shadow:none}
.teho-legacy .teho-review-rating-options input{padding:0!important;min-width:18px;min-height:18px;flex:0 0 18px}
