/* Release 8: account screens. Legacy AJAX class names remain unchanged. */
.teho-legacy .teho-account-page{color:#14315a;min-width:0;padding-top:8px;padding-bottom:48px}
.teho-legacy .teho-account-page *{box-sizing:border-box}
.teho-legacy .teho-account-page :is(h1,h2,h3,p,a,label){overflow-wrap:anywhere}
.teho-legacy .teho-account-intro{grid-column:1/-1;padding:30px 34px;border:1px solid #5284d655;border-radius:26px;background:radial-gradient(ellipse at 100% 0,#397ff0,transparent 70%),linear-gradient(125deg,#112f6b,#1951ba);color:#fff}
.teho-legacy .teho-account-intro h1{margin:8px 0 12px;font-size:clamp(27px,3.4vw,40px);font-weight:650;line-height:1.18;letter-spacing:-.03em;color:inherit}
.teho-legacy .teho-account-intro p{margin:0;max-width:700px;color:#e0ecff;font-size:15px;line-height:1.65}
.teho-legacy .teho-account-kicker{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#cfe2ff}
.teho-legacy .teho-account-page .teho-section-title{font-size:19px;line-height:1.35;font-weight:650;color:#153c78;margin:0 0 20px}
.teho-legacy .teho-account-page .teho-account-help{font-size:12px;line-height:1.5;color:#526b90;margin:12px 0 0}
/* Labels stay in document flow, including filled and dynamically cloned fields. */
.teho-legacy .teho-company-page form fieldset,.teho-legacy .teho-lab-edit form fieldset{position:relative;min-width:0;width:100%;max-width:none;margin:0 0 20px;padding:0;border:0;float:none}
.teho-legacy .teho-company-page .teho-field-label,.teho-legacy .teho-lab-edit .teho-field-label{display:block;width:100%;margin:0;min-width:0;color:#14315a}
.teho-legacy .teho-company-page form .input_title,.teho-legacy .teho-lab-edit form fieldset .input_title{position:static!important;inset:auto!important;display:block!important;transform:none!important;width:auto;height:auto;margin:0 0 8px;padding:0;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:0;text-transform:none;color:#294d7c;white-space:normal}
.teho-legacy .teho-company-page form :is(input:not([type=hidden]),textarea),.teho-legacy .teho-lab-edit form fieldset input:not([type=hidden]){width:100%;min-width:0;max-width:100%;height:auto;min-height:48px;margin:0;padding:12px 14px;font:400 16px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#15345f;background:#f7faff;border:1px solid #b9cff1;border-radius:13px;box-shadow:none}
.teho-legacy .teho-account-page :is(input,textarea)::placeholder{color:#667c9c;opacity:1}
.teho-legacy .teho-company-page form input:focus,.teho-legacy .teho-lab-edit form fieldset input:focus{border-color:#3879db;background:#fff}
.teho-legacy .teho-company-page form .row,.teho-legacy .teho-lab-edit form .contacts_cont .row,.teho-legacy .teho-lab-edit form .edit_block>.row{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;max-width:none;margin:0;padding:0}
.teho-legacy .teho-company-page form fieldset .add_field,.teho-legacy .teho-lab-edit form fieldset>.add_field{position:static;inset:auto;transform:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:top;margin:8px 8px 0 0;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid #b7cfee;border-radius:12px;background:#e0edff}
.teho-legacy .teho-company-page form fieldset .remove_field,.teho-legacy .teho-lab-edit form fieldset>.remove_field{position:static;inset:auto;transform:none;justify-content:center;align-items:center;vertical-align:top;margin:8px 0 0;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid #c7d7ef;border-radius:12px;background:#edf3fc}
.teho-legacy .teho-company-page form fieldset:not(:first-child)>.remove_field,.teho-legacy .teho-lab-edit form fieldset:not(:first-child)>.remove_field{display:inline-flex}
.teho-legacy .teho-company-page form fieldset :is(.add_field,.remove_field) img,.teho-legacy .teho-lab-edit form fieldset>:is(.add_field,.remove_field) img{width:22px;height:22px;margin:0}
.teho-legacy .teho-account-page .error{position:static;inset:auto;display:block;clear:both;margin:7px 0 0;font-size:13px;line-height:1.5;color:#9d293a}
.teho-legacy .teho-company-page form [aria-invalid=true]{border-color:#b44150}
.teho-legacy .teho-company-status,.teho-legacy .teho-company-avatar-status{margin:0 0 20px;padding:14px 16px;border:1px solid #b5cdf0;border-radius:14px;background:#dfeaff;color:#18437b;font-size:14px;line-height:1.5}
.teho-legacy :is(.teho-company-status,.teho-company-avatar-status)[data-state=error]{border-color:#e4adb4;background:#fff0f2;color:#8d2736}
.teho-legacy :is(.teho-company-status,.teho-company-avatar-status)[data-state=success]{border-color:#a9d5c1;background:#e0f3e9;color:#1b6143}
.teho-legacy .teho-company-status ul{margin:8px 0 0;padding-left:20px}
/* Company layout and editor. */
.teho-legacy .teho-company-page>.container{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:24px}
.teho-legacy .teho-company-page .left_cont{width:100%;max-width:none;padding:24px;background:linear-gradient(145deg,#dce9ff,#c9ddfb);border:1px solid #b9cef0;border-radius:24px}
.teho-legacy .teho-company-page .left_cont figure{margin:0;min-height:160px;overflow:hidden;background:#eff5ff;border-color:#bfd2ef;border-radius:18px}
.teho-legacy .teho-company-page .left_cont figure .inside{min-height:160px;padding:20px}
.teho-legacy .teho-company-page .left_cont figure .inside img.has_avatar{object-fit:contain;padding:12px;background:#f4f8ff}
.teho-legacy .teho-company-page .left_cont figure:has(.has_avatar) p{visibility:hidden}
.teho-legacy .teho-company-page .left_cont .add_logo{min-height:48px;padding:10px 12px;margin-top:16px;border:1px solid #719edb;border-radius:13px;color:#164785;background:#e6f0ff;font-size:12px;line-height:1.4;text-transform:none;text-align:center}
.teho-legacy .teho-company-page .left_cont .add_logo:hover{background:#cfe2ff;border-color:#3578cf}
.teho-legacy .teho-company-page .right_cont{min-width:0;width:100%;max-width:none;margin:0;padding:28px;border:1px solid #c1d3ef;border-radius:24px;background:linear-gradient(145deg,#edf4ff,#dae8ff)}
.teho-legacy .teho-company-page .right_cont .describe_company{display:block;margin:0 0 9px;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:0;color:#294d7c}
.teho-legacy .teho-company-page .right_cont textarea{min-height:230px;resize:vertical}
.teho-legacy .teho-account-page :is(.tox,.tox-tinymce){width:100%!important;max-width:100%;min-width:0;border-color:#b9cfee!important;border-radius:14px}
.teho-legacy .teho-account-page .tox .tox-menubar,.teho-legacy .teho-account-page .tox .tox-toolbar,.teho-legacy .teho-account-page .tox .tox-toolbar__primary{background:#edf4ff}
.teho-legacy .teho-company-page .right_cont .blue_btn{display:inline-flex;align-items:center;justify-content:center;max-width:100%;margin-top:24px;white-space:normal;text-transform:none;line-height:1.45}
.teho-legacy .teho-company-page [aria-busy=true]{cursor:progress}
.teho-legacy .teho-company-page button:disabled{opacity:.65;transform:none;cursor:wait}
/* Editing a point: clear sections and labels, no floating controls over values. */
.teho-legacy .teho-lab-edit>.container{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
.teho-legacy .teho-lab-edit .left_nav{min-width:0;width:100%;max-width:none;top:96px;padding:18px;background:linear-gradient(145deg,#e3edff,#d0e2fc);border-color:#b9d1ef}
.teho-legacy .teho-lab-edit .left_nav ul{margin:0 0 18px}
.teho-legacy .teho-lab-edit .left_nav ul li{margin:0 0 6px}
.teho-legacy .teho-lab-edit .left_nav ul li a{display:block;min-height:44px;padding:12px;font-size:13px;text-transform:none;letter-spacing:0;line-height:1.5;color:#284e81}
.teho-legacy .teho-lab-edit .left_nav ul li a.active{background:#c6ddff;color:#124593}
.teho-legacy .teho-lab-edit .left_nav .save_btn{width:100%;text-align:center;white-space:normal;text-transform:none}
.teho-legacy .teho-lab-edit .editing_lab_form{min-width:0;width:100%;max-width:none;padding:30px;background:linear-gradient(150deg,#edf4ff,#dceaff);border-color:#bcd0f0}
.teho-legacy .teho-lab-edit form .set_lab_services{display:block;width:100%;min-width:0;margin:0;padding:0}
.teho-legacy .teho-lab-edit form .back_link{justify-content:flex-start;margin:0 0 24px;min-height:44px;text-transform:none;font-size:13px;letter-spacing:0}
.teho-legacy .teho-lab-edit form .title{font-size:clamp(25px,2.6vw,34px);line-height:1.22;margin:0 0 28px;color:#153769}
.teho-legacy .teho-lab-edit .edit_block,.teho-legacy .teho-lab-edit .edit_block.edit_block_last{margin:0 0 32px;padding:0;min-width:0}
.teho-legacy .teho-lab-edit form .set_lab_info .title_block{font-size:20px;line-height:1.35;padding:0 0 12px;border-color:#b8cfee;margin:0 0 20px;color:#153769;scroll-margin-top:100px}
.teho-legacy .teho-lab-edit .edit_block .title_block_small,.teho-legacy .teho-lab-edit .send_messages,.teho-legacy .teho-lab-edit .tiny_title{font-size:14px;line-height:1.6;color:#3b5b84;text-transform:none;letter-spacing:0;margin-bottom:16px}
.teho-legacy .teho-lab-edit .map_cont{width:100%;height:auto;margin-top:20px}
.teho-legacy .teho-lab-edit #lab_map{height:330px;min-height:280px}
.teho-legacy .teho-lab-edit .work_time .worktime_row{display:block;width:100%;max-width:none}
.teho-legacy .teho-lab-edit .work_time .worktime_fieldset{width:100%!important;max-width:none;margin-bottom:18px}
.teho-legacy .teho-lab-edit form .work_time input.worktime{background:transparent!important;color:transparent!important;caret-color:transparent;cursor:pointer;position:relative;z-index:2}
.teho-legacy .teho-lab-edit .work_time .worktime_inputs{top:28px;left:0;width:100%;height:48px;padding:0 14px;background:transparent;pointer-events:none;flex-wrap:wrap;gap:2px;justify-content:flex-start}
.teho-legacy .teho-lab-edit .work_time .worktime_inputs span{font-size:14px;line-height:1.4;color:#15345f}
.teho-legacy .teho-lab-edit .work_time .graphic_cont{display:none;position:relative;inset:auto;margin-top:12px;padding:20px;max-width:100%;width:100%;background:#edf5ff;border-color:#b4cdef;box-shadow:none;opacity:1;visibility:visible;z-index:auto}
.teho-legacy .teho-lab-edit .work_time .graphic_cont.active{display:block}
.teho-legacy .teho-lab-edit .work_time .graphic_cont .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:none;margin:14px 0 0}
.teho-legacy .teho-lab-edit .work_time .graphic_cont .row fieldset{width:100%;margin:0}
.teho-legacy .teho-lab-edit .work_time .graphic_cont .week_days{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}
.teho-legacy .teho-lab-edit .work_time .graphic_cont .week_days label span{min-width:38px;min-height:40px;line-height:40px}
.teho-legacy .teho-lab-edit .service_list{width:100%;max-width:100%;min-width:0}
.teho-legacy .teho-lab-edit .service_list .service_child{min-width:0;gap:12px;align-items:center;max-width:100%}
.teho-legacy .teho-lab-edit .service_list .service_child .left{min-width:0;flex:1 1 auto;max-width:100%}
.teho-legacy .teho-lab-edit .service_list .service_child span{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.teho-legacy .teho-lab-edit .service_list .service_child>.price_field{flex:0 0 104px;width:104px;min-width:0;max-width:100%;min-height:44px;padding:10px;color:#15345f;font-size:16px}
.teho-legacy .teho-lab-edit .service_list .service_child .addit_serv_name{width:100%;min-width:0;max-width:100%;padding:10px;font-size:16px}
.teho-legacy .teho-lab-edit .save_changes{width:auto;min-width:220px;max-width:100%;text-transform:none}
/* Calendar hero must never inherit the site's global fixed <header> styles. */
.teho-legacy .teho-calendar .teho-calendar-hero{position:relative;inset:auto;width:100%;height:auto;min-height:0;z-index:auto;margin-top:0;padding:30px 34px}
.teho-legacy .teho-calendar .teho-calendar-hero>div{min-width:0}
.teho-legacy .teho-calendar .teho-calendar-hero h1{color:#fff}
.teho-legacy .teho-calendar .teho-calendar-filter select{min-height:48px;height:48px;font-size:15px;padding:10px 36px 10px 14px;text-overflow:ellipsis}
.teho-legacy .teho-calendar .teho-calendar-filter :is(input,label,button){min-width:0}
.teho-legacy .teho-calendar :is(section,article){min-width:0}
.teho-legacy .teho-calendar .teho-calendar-card form{width:100%;max-width:none;padding:0}
/* Point inventory: stable statistics, real table semantics on desktop. */
.teho-legacy .teho-owner-labs .profile_labs_wrap{padding:0 0 24px}
.teho-legacy .teho-owner-labs .profile_labs_wrap_top{gap:24px;margin:0 0 24px}
.teho-legacy .teho-owner-labs .profile_labs_wrap_top h1{font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.03em;font-weight:650;color:#153769}
.teho-legacy .teho-owner-labs .profile_labs_wrap_top .blue_btn{max-width:100%;min-height:48px;text-transform:none;white-space:normal;font-size:13px;line-height:1.4;padding:14px 18px}
.teho-legacy .teho-owner-labs .profile_lab_statistic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch;padding:0;margin:0}
.teho-legacy .teho-owner-labs .profile_lab_statistic>li{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-width:0;width:auto;padding:22px;margin:0;border:1px solid #c0d4f2;border-radius:20px;background:linear-gradient(140deg,#dbe9ff,#edf4ff)}
.teho-legacy .teho-owner-labs .profile_lab_statistic>li>p{margin:0;min-width:0;max-width:none;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;color:#3f5e87}
.teho-legacy .teho-owner-labs .profile_lab_statistic>li>span{display:block;margin:0;font-size:30px;font-weight:650;line-height:1;color:#133d7b}
.teho-legacy .teho-owner-labs .profile_lab_statistic .figure{display:none}
.teho-legacy .teho-owner-labs .requests_filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:22px 0 18px;padding:16px;background:linear-gradient(120deg,#deebff,#edf4ff);border-color:#c0d4f2}
.teho-legacy .teho-owner-labs .requests_filter .filter_title{margin:0 8px 0 0;color:#33577f;text-transform:none;letter-spacing:0}
.teho-legacy .teho-owner-labs .requests_filter :is(select,.select2,.selectric-wrapper){min-width:0;width:220px;max-width:100%}
.teho-legacy .teho-owner-labs .requests_table_wrap{width:100%;max-width:100%;overflow:visible;border:1px solid #bfd3ef;border-radius:20px;background:#eaf2ff}
.teho-legacy .teho-owner-labs .requests_table_wrap table{display:table;width:100%;min-width:0;border-collapse:separate;border-spacing:0;table-layout:fixed;border:0}
.teho-legacy .teho-owner-labs .requests_table_wrap table thead{display:table-header-group;background:#d7e6fc}
.teho-legacy .teho-owner-labs .requests_table_wrap table tbody{display:table-row-group}
.teho-legacy .teho-owner-labs .requests_table_wrap table tr{display:table-row;float:none;width:auto;background:transparent;border:0;transform:none}
.teho-legacy .teho-owner-labs .requests_table_wrap table :is(th,td){display:table-cell;width:auto;padding:14px 12px;text-align:left;vertical-align:middle;border:0;border-bottom:1px solid #c5d8f4;background:transparent;font-size:13px;line-height:1.5;overflow-wrap:anywhere;color:#193d6c}
.teho-legacy .teho-owner-labs .requests_table_wrap table th{padding-top:16px;padding-bottom:16px;font-size:12px;font-weight:650;text-transform:none;letter-spacing:0;background:#d7e6fc;color:#204d83}
.teho-legacy .teho-owner-labs .requests_table_wrap table th:first-child{border-top-left-radius:20px}
.teho-legacy .teho-owner-labs .requests_table_wrap table th:last-child{border-top-right-radius:20px}
.teho-legacy .teho-owner-labs .requests_table_wrap table :is(td,th)::before{display:none}
.teho-legacy .teho-owner-labs .requests_table_wrap table .open_lab{width:52px;padding:4px;text-align:center}
.teho-legacy .teho-owner-labs .requests_table_wrap table .adress{width:18%}
.teho-legacy .teho-owner-labs .requests_table_wrap table .lab_name{width:18%}
.teho-legacy .teho-owner-labs .requests_table_wrap table .phone{width:12%}
.teho-legacy .teho-owner-labs .requests_table_wrap table .email{width:15%}
.teho-legacy .teho-owner-labs .requests_table_wrap table .added_date{width:10%;font-variant-numeric:tabular-nums}
.teho-legacy .teho-owner-labs .requests_table_wrap table .status{width:11%}
.teho-legacy .teho-owner-labs .requests_table_wrap table .activity_with_lab{width:120px;position:relative}
.teho-legacy .teho-owner-labs .requests_table_wrap table .lab_name{font-weight:600}
.teho-legacy .teho-owner-labs .requests_table_wrap table .status .lab{display:inline-block;max-width:100%;padding:6px 10px;line-height:1.35;font-size:12px;border-radius:11px;white-space:normal}
.teho-legacy .teho-owner-labs .requests_table_wrap table .lab_active{background:#d0eedf!important;color:#195c3e!important}
.teho-legacy .teho-owner-labs .requests_table_wrap table .lab_moder{background:#e0eaff!important;color:#21519b!important}
.teho-legacy .teho-owner-labs .requests_table_wrap table .lab_deactive{background:#e0e5ef!important;color:#3f5270!important}
.teho-legacy .teho-owner-labs .requests_table_wrap table td :is(img,svg){width:15px;height:15px;max-width:none;margin-right:5px;vertical-align:middle}
.teho-legacy .teho-owner-labs .requests_table_wrap table .count_item{display:inline-flex;margin:4px 0 0 4px}
.teho-legacy .teho-owner-labs .teho-lab-expand{display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:8px;border:0;border-radius:11px;background:transparent;color:#21549b;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4}
.teho-legacy .teho-owner-labs .teho-lab-expand span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.teho-legacy .teho-owner-labs .teho-lab-actions{width:100%;min-width:0;position:relative}
.teho-legacy .teho-owner-labs .teho-lab-actions summary{list-style:none;display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 10px;border:1px solid #b4cdef;border-radius:11px;color:#174b98;background:#dbeaff;font-size:12px;font-weight:650;line-height:1.4;cursor:pointer}
.teho-legacy .teho-owner-labs .teho-lab-actions summary::-webkit-details-marker{display:none}
.teho-legacy .teho-owner-labs .teho-lab-actions summary::after{content:'⌄';margin-left:7px}
.teho-legacy .teho-owner-labs .requests_table_wrap table .activity_with_lab .teho-lab-actions:not([open]) .activities_list{display:none}
.teho-legacy .teho-owner-labs .requests_table_wrap table .activity_with_lab .teho-lab-actions[open] .activities_list{display:grid;position:absolute;inset:auto 0 auto auto;top:calc(100% + 6px);width:220px;max-width:calc(100vw - 48px);z-index:15;padding:8px;background:#eff5ff;border:1px solid #b9cfee;border-radius:15px;box-shadow:0 12px 28px #12396c22}
.teho-legacy .teho-owner-labs .requests_table_wrap table .activities_list a{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:10px;margin:0;border:0;border-radius:10px;color:#214773;font-size:13px;line-height:1.4}
.teho-legacy .teho-owner-labs .requests_table_wrap table .activities_list a:hover{background:#d9e9ff;color:#123f86}
.teho-legacy .teho-owner-labs .requests_table_wrap table .activities_list .delete_lab{color:#9b3541}
.teho-legacy .teho-owner-labs .requests_table_wrap table .activities_list svg{fill:currentColor;flex:0 0 16px;margin:0}
.teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr_details{display:none}
.teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr_details.active{display:table-row}
.teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr_details>td{width:auto;display:table-cell;padding:20px;background:#dceafe}
.teho-legacy .teho-owner-labs .teho-lab-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.teho-legacy .teho-owner-labs .teho-lab-detail-grid>div{min-width:0}
.teho-legacy .teho-owner-labs .teho-lab-detail-grid h3{font-size:13px;font-weight:650;line-height:1.5;color:#264f80;margin:0 0 8px}
.teho-legacy .teho-owner-labs .teho-lab-detail-grid :is(p,li,a){font-size:13px;line-height:1.6;color:#36577f;overflow-wrap:anywhere}
.teho-legacy .teho-owner-labs .teho-lab-detail-grid ul{padding:0;margin:0;list-style:none}
.teho-legacy .teho-owner-labs .add_lab_cont{margin-top:24px;padding:28px;border:1px solid #c0d4f2;border-radius:22px;background:linear-gradient(120deg,#dae9ff,#edf5ff)}
@media(max-width:1250px){
 .teho-legacy .teho-owner-labs .requests_table_wrap{border:0;background:transparent;border-radius:0}
 .teho-legacy .teho-owner-labs .requests_table_wrap table,.teho-legacy .teho-owner-labs .requests_table_wrap table tbody{display:block;width:100%;min-width:0}
 .teho-legacy .teho-owner-labs .requests_table_wrap table thead{display:none}
 .teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #bcd1ef;border-radius:20px;padding:8px 18px;margin:0 0 16px;background:linear-gradient(145deg,#edf4ff,#deebff);width:100%}
 .teho-legacy .teho-owner-labs .requests_table_wrap table .laboratory_tr>td{display:block;width:100%;min-width:0;max-width:100%;padding:12px 10px;border-bottom:1px solid #c6d8f1;font-size:14px}
 .teho-legacy .teho-owner-labs .requests_table_wrap table .laboratory_tr>td[data-label]::before{content:attr(data-label);display:block;position:static;width:auto;margin:0 0 6px;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:0;text-transform:none;color:#557195}
 .teho-legacy .teho-owner-labs .requests_table_wrap table .laboratory_tr>.open_lab{grid-column:1/-1;order:7;text-align:left}
 .teho-legacy .teho-owner-labs .requests_table_wrap table .laboratory_tr>.activity_with_lab{grid-column:1/-1;order:8;border:0}
 .teho-legacy .teho-owner-labs .requests_table_wrap table .laboratory_tr>.activity_with_lab::before{display:none}
 .teho-legacy .teho-owner-labs .teho-lab-expand{width:auto;padding:8px 0;gap:8px;min-height:44px}
 .teho-legacy .teho-owner-labs .teho-lab-expand span{position:static;clip-path:none;width:auto;height:auto;white-space:normal;overflow:visible}
 .teho-legacy .teho-owner-labs .teho-lab-actions summary{justify-content:flex-start;font-size:13px}
 .teho-legacy .teho-owner-labs .requests_table_wrap table .activity_with_lab .teho-lab-actions[open] .activities_list{position:static;width:100%;max-width:none;margin-top:8px;box-shadow:none;background:#e5efff}
 .teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr_details.active{display:block;width:100%;margin:-16px 0 16px;padding:0 18px 18px;border:1px solid #bcd1ef;border-top:0;border-radius:0 0 20px 20px;background:#dceafe}
 .teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr_details>td{display:block;width:100%!important;padding:12px 10px;border:0}
 .teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr.active{border-radius:20px 20px 0 0}
 .teho-legacy .teho-lab-edit>.container{grid-template-columns:190px minmax(0,1fr);gap:18px}
}
@media(max-width:800px){
 .teho-legacy .teho-account-page{padding-bottom:32px}
 .teho-legacy .teho-account-intro{padding:24px;border-radius:22px}
 .teho-legacy .teho-company-page>.container{grid-template-columns:minmax(0,1fr);gap:18px}
 .teho-legacy .teho-company-page .left_cont{max-width:none;padding:22px}
 .teho-legacy .teho-company-page .left_cont figure{max-width:240px}
 .teho-legacy .teho-company-page .left_cont .add_logo{max-width:240px}
 .teho-legacy .teho-company-page .right_cont{padding:24px}
 .teho-legacy .teho-lab-edit>.container{grid-template-columns:minmax(0,1fr);gap:18px}
 .teho-legacy .teho-lab-edit .left_nav{position:static;display:block;padding:14px}
 .teho-legacy .teho-lab-edit .left_nav ul{display:flex;flex-wrap:wrap;gap:6px;margin:0}
 .teho-legacy .teho-lab-edit .left_nav ul li{width:auto;margin:0}
 .teho-legacy .teho-lab-edit .left_nav ul li a{padding:11px 12px;min-height:44px;background:#e9f2ff}
 .teho-legacy .teho-lab-edit .left_nav ul li a::before{display:none}
 .teho-legacy .teho-lab-edit .left_nav .save_btn{display:none}
 .teho-legacy .teho-lab-edit .editing_lab_form{padding:24px}
 .teho-legacy .teho-calendar .teho-calendar-hero{padding:24px}
 .teho-legacy .teho-owner-labs .profile_labs_wrap_top{flex-direction:column;align-items:flex-start;gap:18px}
 .teho-legacy .teho-owner-labs .profile_labs_wrap_top h1{margin:0}
 .teho-legacy .teho-owner-labs .profile_lab_statistic{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .teho-legacy .teho-owner-labs .profile_lab_statistic>li{padding:18px}
 .teho-legacy .teho-owner-labs .teho-lab-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .teho-legacy .teho-account-intro{padding:22px 20px}
 .teho-legacy .teho-account-intro h1{font-size:27px}
 .teho-legacy .teho-company-page .right_cont,.teho-legacy .teho-lab-edit .editing_lab_form{padding:20px 16px;border-radius:20px}
 .teho-legacy .teho-company-page .right_cont .blue_btn,.teho-legacy .teho-lab-edit .save_changes{width:100%;min-width:0}
 .teho-legacy .teho-lab-edit .left_nav ul{gap:5px}
 .teho-legacy .teho-lab-edit .left_nav ul li a{font-size:12px;padding:10px}
 .teho-legacy .teho-lab-edit .work_time .graphic_cont{padding:16px 12px}
 .teho-legacy .teho-lab-edit .work_time .graphic_cont .row{grid-template-columns:minmax(0,1fr)}
 .teho-legacy .teho-lab-edit .work_time .worktime_inputs span{font-size:12px}
 .teho-legacy .teho-lab-edit .service_list .service_child{flex-wrap:wrap;gap:10px;padding:12px 0}
 .teho-legacy .teho-lab-edit .service_list .service_child>.price_field{margin-left:30px;flex-basis:calc(100% - 30px);width:calc(100% - 30px)}
 .teho-legacy .teho-calendar .teho-calendar-hero{padding:22px 20px}
 .teho-legacy .teho-calendar .teho-calendar-hero h1{font-size:27px}
 .teho-legacy .teho-calendar .teho-calendar-hero p{font-size:14px}
 .teho-legacy .teho-owner-labs .profile_labs_wrap_top .blue_btn{width:100%}
 .teho-legacy .teho-owner-labs .profile_lab_statistic>li{padding:16px 13px}
 .teho-legacy .teho-owner-labs .profile_lab_statistic>li>p{font-size:12px}
 .teho-legacy .teho-owner-labs .requests_filter{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .teho-legacy .teho-owner-labs .requests_filter :is(select,.select2,.selectric-wrapper){width:100%!important}
 .teho-legacy .teho-owner-labs .requests_table_wrap table tbody .laboratory_tr{grid-template-columns:minmax(0,1fr);padding:6px 14px}
 .teho-legacy .teho-owner-labs .requests_table_wrap table .laboratory_tr>td{padding:12px 4px}
 .teho-legacy .teho-owner-labs .teho-lab-detail-grid{grid-template-columns:minmax(0,1fr)}
 .teho-legacy .teho-owner-labs .add_lab_cont{padding:22px}
 .teho-legacy .teho-owner-labs .add_lab_cont .blue_btn{width:100%;padding:14px;text-align:center}
}

.teho-legacy .teho-company-session-link{display:block;width:fit-content;min-height:44px;padding:12px 0 0;color:#164a99;font-weight:650;text-decoration:underline}

.teho-legacy .teho-calendar.container{padding-inline:0}

/* Company contact controls are native buttons, including clearing the last row. */
.teho-legacy .teho-company-page form fieldset>.remove_field{display:inline-flex}
/* The calendar retains legacy Select2; size its generated control as well. */
.teho-legacy .teho-calendar .teho-calendar-filter .select2-container{width:100%!important;max-width:100%;min-width:0;display:block}
.teho-legacy .teho-calendar .teho-calendar-filter .select2-selection--single{display:flex;align-items:center;width:100%;height:48px;min-height:48px;border:1px solid #b7cef1;border-radius:13px;background:#f7faff}
.teho-legacy .teho-calendar .teho-calendar-filter .select2-selection__rendered{display:block;min-width:0;width:100%;padding:0 38px 0 14px;font-size:15px;line-height:46px;color:#173155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teho-legacy .teho-calendar .teho-calendar-filter .select2-selection__arrow{height:46px;top:1px;right:10px}
.teho-legacy .teho-calendar .teho-calendar-filter .select2-container--focus .select2-selection--single{outline:3px solid #57adff;outline-offset:3px}
