/* Scoped improvements from the November 28 task document. */
.tm-guide{font-size:16px;line-height:1.65;margin:24px 0 36px;max-width:100%;overflow-wrap:break-word}
.tm-guide p{font-size:16px;line-height:1.65;margin:0 0 18px;text-align:left}
.tm-guide h2{font-size:22px;line-height:1.35;margin:28px 0 12px;text-align:left}
.tm-guide a{overflow-wrap:anywhere}
#footer .footercol a{white-space:normal;overflow-wrap:break-word}
#footer .phones a{color:inherit;text-decoration:none}
.cons .cons2 .elems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:'name-label time-label phone-label' 'name time phone' 'text-label text-label text-label' 'text text text' '. . submit';gap:8px 16px;font-size:16px}
.cons .cons2 .elems>.tm-cons-label{display:block;position:static;width:auto;height:auto;line-height:1.4;font-size:16px;color:#333;margin:0;font-weight:600;text-align:left}
.cons .cons2 .elems>.tm-label-name{grid-area:name-label}
.cons .cons2 .elems>.tm-label-time{grid-area:time-label}
.cons .cons2 .elems>.tm-label-phone{grid-area:phone-label}
.cons .cons2 .elems>.tm-label-text{grid-area:text-label;margin-top:8px}
.cons .cons2 .elems>.cons_name{grid-area:name}
.cons .cons2 .elems>.cons_time{grid-area:time}
.cons .cons2 .elems>.cons_phone{grid-area:phone}
.cons .cons2 .elems>.cons_text{grid-area:text}
.cons .cons2 .elems>button{grid-area:submit}
.cons .cons2 .elems>input,.cons .cons2 .elems>textarea,.cons .cons2 .elems>button{box-sizing:border-box;float:none;min-width:0;width:100%;max-width:100%;min-height:44px;height:auto;margin:0;padding:12px;font-size:16px;line-height:1.4}
.cons .cons2 .elems>textarea{min-height:120px;resize:vertical}
#modalform>.tm-field-label{display:block;position:static;line-height:1.4;font-size:16px;margin:0 0 6px;font-weight:600;height:auto}
#modalform>input:not([type=hidden]){min-height:44px;font-size:16px;box-sizing:border-box}
.tm-desktop #menu .tm-search-toggle{width:105px;height:54px;flex-direction:column;gap:2px;padding:3px 4px;line-height:1.1}
.tm-search-label{display:block;font:14px/1.1 Arial,sans-serif;white-space:normal;text-align:center}
.tm-search-toggle svg{pointer-events:none}
.tm-search-toggle .tm-search-label{pointer-events:none}
.tm-mobile-top{flex-wrap:wrap}
.tm-mobile-top #menu-icon{order:1}
.tm-mobile-top .tm-mobile-brand{order:2}
.tm-mobile-top #korzina{order:3}
.tm-header-mobile .tm-mobile-top .tm-search-toggle{order:4;flex:0 0 100%;width:100%;height:auto;min-height:44px;gap:10px;padding:10px;border:1px solid #dedee3;border-radius:8px;margin-top:8px}
.tm-header-mobile .tm-search-label{font-size:16px;line-height:1.3}
#search input[name=q]{min-height:44px;box-sizing:border-box;font-size:16px}
#search button[type=submit]{min-width:44px;min-height:44px}
.tm-mobile .cons .cons2 .elems{grid-template-columns:minmax(0,1fr);grid-template-areas:'name-label' 'name' 'time-label' 'time' 'phone-label' 'phone' 'text-label' 'text' 'submit';gap:8px}
.tm-mobile .cons .cons2 .elems>.tm-cons-label{margin-top:8px}
.tm-mobile .cons .cons2 .elems>button{margin-top:8px}
.tm-mobile .tm-guide{width:100%;min-width:0}
.tm-mobile .tm-guide h2{font-size:21px}
.tm-mobile #footer .footercol{min-width:0;max-width:100%}
@media(max-width:600px){.cons .cons2 .elems{grid-template-columns:minmax(0,1fr);grid-template-areas:'name-label' 'name' 'time-label' 'time' 'phone-label' 'phone' 'text-label' 'text' 'submit'}}
