/* Content must determine height; long Ukrainian titles must remain inside it. */
.page-intro h1,.detail-grid h1,.prose h1,.login-form h1,.admin-content h1{overflow-wrap:anywhere}
.detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.detail-grid>*,.consultation>*,.contact-grid>*,.section-head>*,.cards>*,.footer>*,.admin-entries article>*{min-width:0}
.breadcrumbs,.prose p,.content-card h3,.content-card p,.card-meta,.lead-card,.admin-entries p{overflow-wrap:anywhere}
.section-head{flex-wrap:wrap}
.page-intro .eyebrow,.consultation .eyebrow{overflow-wrap:anywhere}
.button{max-width:100%}
input,textarea,select{max-width:100%;min-width:0}
.search input{min-width:0}
.card-image img.product-photo,.detail-image.product-photo{object-fit:contain;padding:20px;background:#fff}
.cards-projects .card-image{height:auto;aspect-ratio:16/9}
.cards-projects .card-image img{object-fit:contain;transform:none}
.detail-projects .detail-image{width:100%;height:auto;aspect-ratio:auto;justify-self:center;object-fit:contain}
.detail-image{aspect-ratio:4/3;height:auto}
.admin-entries article>div{flex:1 1 160px}
.admin-entries .text-link{flex:0 0 auto}
.admin-entries img.admin-thumbnail{width:110px;height:80px;object-fit:cover}
.admin-entries img.admin-thumbnail.product-photo{object-fit:contain;background:#fff;padding:5px}
.editor-preview.product-photo{object-fit:contain;background:#fff}
.blueprint-home .home-solution-photo,.blueprint-home .home-consult-photo,.blueprint-home .project-strip>a{background:none}
.blueprint-home .blue-band{background-image:linear-gradient(90deg,#0036a6e8,#0036a6a8),url('/images/editorial/solar-band-1440.webp');background-size:cover;background-position:center}
.blueprint-home .home-solution-photo img,.blueprint-home .home-consult-photo img{opacity:1;display:block;object-fit:cover;width:100%;height:100%}
.blueprint-home .home-solution-photo img{object-position:center 48%}
.blueprint-home .home-consult-photo img{object-position:42% center}
.blueprint-home .home-projects{height:auto}
.blueprint-home .project-strip{height:auto;min-width:0}
.blueprint-home .project-strip>a{height:auto;aspect-ratio:auto;display:flex;flex-direction:column;border:1px solid var(--line);background:var(--paper)}
.blueprint-home .project-strip img{opacity:1;display:block;object-fit:contain;width:100%;height:clamp(115px,13vw,210px);background:color-mix(in srgb,var(--navy) 7%,var(--paper))}
.blueprint-home .project-strip>a>span{position:static;flex:1;padding:10px 12px;transform:none;white-space:normal;font-size:clamp(13px,1.05vw,16px);line-height:1.45;overflow-wrap:anywhere;background:var(--paper);color:var(--navy)}
.blueprint-home .project-strip>a:hover>span,.blueprint-home .project-strip>a:focus-visible>span{color:var(--orange)}
.blueprint-home .home-solution-list p{font-size:clamp(12px,1vw,15px);line-height:1.5;letter-spacing:.035em}
.blueprint-home .home-equipment .section-note{font-size:clamp(14px,1.15vw,17px);line-height:1.6}
.blueprint-home .home-consultation{height:auto;min-height:clamp(260px,24cqw,350px);padding-block:24px;grid-template-rows:auto}
.blueprint-home .home-consultation .lead-form{margin-block:0;align-self:center}
.blueprint-home .home-consult-copy{align-self:center;padding-top:0}
.blueprint-home .home-consult-photo{min-height:250px;align-self:stretch}
.blueprint-home .home-consultation .consent{font-size:10px;line-height:1.6}
.blueprint-home .home-consultation .consent input{width:16px;height:16px;flex-basis:16px}
.lead-form .station-field{display:block;margin-block:12px}
.lead-form .station-label{display:block;color:var(--navy);font-size:13px;line-height:1.4}
.lead-form .station-field :is(input,select){min-height:44px;margin-top:4px;font-size:16px}
@media(min-width:641px) and (max-width:1000px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.consultation{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(min-width:761px) and (max-width:1100px){
 .blueprint-home .home-consultation{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;padding:32px 6%;min-height:0}
 .blueprint-home .home-consultation .home-sun,.blueprint-home .home-consult-photo,.blueprint-home .home-consult-note{display:none}
 .blueprint-home .home-consult-copy{padding:0}
 .blueprint-home .home-consultation .home-consult-copy h2{font-size:40px}
 .blueprint-home .home-consult-copy .eyebrow{font-size:10px;letter-spacing:1.5px}
 .blueprint-home .home-consult-copy p{font-size:10px;letter-spacing:1px}
 .blueprint-home .home-consultation .home-input-label input{font-size:16px;height:48px}
 .blueprint-home .home-consultation .button{font-size:12px;height:48px;white-space:normal;gap:8px}
 .blueprint-home .house-lab .house-selector button{flex-direction:column;gap:4px;white-space:normal;min-height:44px;padding:4px}
 .blueprint-home .house-selector span{font-size:9px}
 .blueprint-home .house-viewport{height:calc(100% - 70px);flex-basis:calc(100% - 70px)}
}
@media(max-width:760px){
 .page-intro h1{font-size:clamp(34px,10.5vw,64px);line-height:1.1}
 .detail-grid h1{font-size:clamp(34px,10vw,52px);line-height:1.12}
 .prose h1,.login-form h1,.admin-content h1{font-size:clamp(32px,9.5vw,44px);line-height:1.14}
 .detail-grid{grid-template-columns:minmax(0,1fr)}
 .detail-image{height:auto;max-height:420px}
 .page-intro,.detail-intro{padding-top:36px;padding-bottom:36px}
 .intro-cross{pointer-events:none}
 .section-head h2{font-size:clamp(30px,8vw,40px)}
 .consultation h2{font-size:clamp(34px,9vw,44px)}
 .consultation .eyebrow{font-size:10px;line-height:1.8;letter-spacing:1.5px}
 input,textarea,select,.home-consultation .home-input-label input{font-size:16px}
 .search input{flex:1 1 150px;width:auto}
 .search button{flex:0 0 auto}
 .search select{width:100%}
 .lead-form .button{gap:12px;white-space:normal;font-size:13px;min-height:48px}
 .card-image{height:auto;aspect-ratio:4/3}
 .content-card h3{font-size:26px}
 .card-meta{gap:10px;letter-spacing:.5px}
 .blueprint-home .home-solution-list{grid-template-rows:none}
 .blueprint-home .home-solution-list>a,.blueprint-home .home-solution-list>a:nth-child(3){grid-template-columns:24px minmax(0,1fr) 24px;grid-template-rows:auto auto;column-gap:12px;row-gap:8px;min-height:112px;padding:22px 0}
 .home-solution-list .number{grid-column:1;grid-row:1;align-self:center}
 .blueprint-home .home-solution-list h3{grid-column:2;grid-row:1;font-size:26px;width:auto;white-space:normal}
 .blueprint-home .home-solution-list p{grid-column:2;grid-row:2;max-width:280px}
 .home-solution-list .row-arrow{grid-column:3;grid-row:1/3;align-self:center}
 .blueprint-home .home-solution-photo{height:auto;aspect-ratio:1.6}
 .blueprint-home .home-projects{height:auto;grid-template-columns:minmax(0,1fr);gap:20px}
 .blueprint-home .home-projects .home-section-label{grid-column:auto}
 .blueprint-home .project-strip{display:grid;grid-template-columns:minmax(0,1fr);height:auto;overflow:visible;gap:16px}
 .blueprint-home .project-strip>a{width:100%;min-height:0}
 .blueprint-home .project-strip img{height:auto;aspect-ratio:16/9}
 .blueprint-home .project-controls{border-left:0;padding:0;font-size:10px;letter-spacing:1.5px}
 .blueprint-home .project-controls>a{display:block;min-height:44px;line-height:1.8}
 .blueprint-home .project-controls>a br{display:none}
 .blueprint-home .project-controls>div{display:none}
 .blueprint-home .home-consultation{min-height:0;padding:28px 6%;grid-template-columns:56px minmax(0,1fr);gap:24px 16px}
 .blueprint-home .home-consultation .home-sun{width:52px;height:52px}
 .blueprint-home .home-consultation .home-consult-copy h2{font-size:clamp(30px,8vw,40px);line-height:1.15}
 .blueprint-home .home-consult-copy .eyebrow{font-size:10px;letter-spacing:1.4px}
 .blueprint-home .home-consult-copy p{font-size:10px;line-height:1.8;letter-spacing:1px}
 .blueprint-home .home-consult-copy p br{display:none}
 .blueprint-home .home-consultation .lead-form{grid-column:1/-1;width:100%}
 .blueprint-home .home-consultation .button{height:auto;min-height:48px}
 .blueprint-home .home-consultation .home-input-label input{height:48px;font-size:16px}
 .blueprint-home .home-consult-photo{display:none}
 .footer>div:not(.footer-bottom){min-height:0}
 .footer>div:first-child{grid-column:1/-1}
 .footer>div:nth-child(3){grid-column:1/-1}
 .admin-nav{flex-wrap:wrap;white-space:normal;gap:5px 18px}
 .admin-nav>a{min-height:40px;display:inline-flex;align-items:center;padding:6px 0}
 .admin-entries article>div{min-width:0;flex-basis:calc(100% - 125px)}
 .admin-entries h3{overflow-wrap:anywhere}
 .admin-content .button{white-space:normal}
 .actions{gap:16px}
}
@media(max-width:380px){
 .card-meta{flex-wrap:wrap}
 .section-head{display:block}.section-head>.text-link{max-width:none;margin-top:16px}
 .contact-grid a{font-size:19px}
 .footer .footer-bottom{gap:0 12px}
 .blueprint-home .home-consultation{grid-template-columns:40px minmax(0,1fr);gap:24px 12px}
 .blueprint-home .home-consultation .home-sun{width:38px;height:38px}
}
/* Equipment navigation follows the site's architectural grid. */
.blueprint-home .house-lab .house-selector{left:22px;right:22px;bottom:14px;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0;padding:0;border:1px solid var(--line);border-radius:0;background:var(--paper);box-shadow:none;backdrop-filter:none;counter-reset:scene-part}
.blueprint-home .house-lab .house-selector button{counter-increment:scene-part;position:relative;min-width:0;min-height:70px;border:0!important;border-right:1px solid var(--line)!important;border-radius:0;padding:11px 12px 10px;display:grid;grid-template-columns:1fr 18px;grid-template-rows:16px 1fr;gap:7px 4px;align-items:start;justify-items:start;text-align:left;white-space:normal;background:transparent;color:var(--muted);box-shadow:none;transition:color .25s,background-color .25s}
.blueprint-home .house-lab .house-selector button:last-child{border-right:0!important}
.blueprint-home .house-selector button:before{content:'0' counter(scene-part);grid-column:1;grid-row:1;font:500 9px/16px var(--body);letter-spacing:1px;opacity:.7}
.blueprint-home .house-selector .part-icon{grid-column:2;grid-row:1;width:16px;height:16px;stroke-width:1.3}
.blueprint-home .house-selector span{grid-column:1/-1;grid-row:2;align-self:center;font:500 clamp(11px,1.05cqw,15px)/1.2 var(--heading);letter-spacing:.025em;text-transform:uppercase;overflow-wrap:normal}
.blueprint-home .house-selector button:after{content:'';position:absolute;left:-1px;right:-1px;top:-1px;height:2px;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.blueprint-home .house-lab .house-selector button[aria-pressed=true]{background:color-mix(in srgb,var(--orange) 7%,var(--paper));color:var(--navy);box-shadow:none}
.blueprint-home .house-selector button[aria-pressed=true]:after{transform:scaleX(1)}
.blueprint-home .house-selector button[aria-pressed=true] .part-icon{color:var(--orange)}
.blueprint-home .house-lab .house-selector button:hover:not(:disabled){background:color-mix(in srgb,var(--orange) 5%,var(--paper));color:var(--navy)}
.blueprint-home .house-lab .house-selector button:focus-visible{outline:2px solid var(--orange);outline-offset:-4px;z-index:1}
.blueprint-home .house-lab .lab-tools{left:auto;right:22px;top:16px;bottom:auto;gap:0}
.blueprint-home .house-lab .lab-tools button{width:36px;height:36px;border:1px solid var(--line);border-radius:0;background:var(--paper);box-shadow:none}
.blueprint-home .house-lab .lab-tools button+button{border-left:0}
@media(max-width:760px){
 .blueprint-home .house-lab .house-selector{left:6%;right:6%}
 .blueprint-home .house-lab .house-selector button{min-height:70px;padding:10px 8px;gap:6px 3px}
 .blueprint-home .house-selector span{font-size:clamp(10px,2.6vw,13px)}
 .blueprint-home .house-lab .lab-tools{right:6%;top:12px}
}
@media(max-width:380px){.blueprint-home .house-lab .house-selector button{padding-inline:6px}.blueprint-home .house-selector span{font-size:10px;letter-spacing:0}.blueprint-home .house-selector .part-icon{width:14px;height:14px}}
@media(prefers-reduced-motion:reduce){.blueprint-home .house-selector button:after{transition:none}}
/* Compact equipment information stays below the independent scene controls. */
.blueprint-home .house-tooltip{width:190px;max-width:calc(100% - 28px);padding:12px;box-shadow:0 5px 18px #071e391a;pointer-events:none}
.blueprint-home .house-tooltip .tip-category{font-size:10px;letter-spacing:1.3px;line-height:1.5;margin-bottom:7px}
.blueprint-home .house-tooltip .tip-model{font-size:12px;line-height:1.4}
.blueprint-home .house-tooltip .tip-spec{font-size:10px;line-height:1.5;margin:6px 0 8px}
.blueprint-home .house-tooltip .tip-flow{padding-top:8px;gap:8px}
.blueprint-home .house-tooltip .tip-flow span{font-size:9px}
.blueprint-home .house-tooltip .tip-flow b{font-size:21px;line-height:1.2;white-space:nowrap}
.blueprint-home .house-tooltip small{font-size:10px;line-height:1.5;margin-top:7px}
.blueprint-home .house-lab .lab-tools{z-index:10}
@media(max-width:760px){.blueprint-home .house-tooltip{width:170px;padding:10px}.blueprint-home .house-tooltip .tip-model{font-size:11px}.blueprint-home .house-tooltip .tip-spec{font-size:10px}}
