/* Keep prototype/detail pages on the same grid and type scale as the Django home. */
:root{--container:100rem}
.page-hero{width:min(calc(100% - 48px),100rem);margin:24px auto 0;border-radius:16px}
.services-shell,.contacts-page-shell,.service-detail-shell{margin-top:0}
.services-main,.contacts-page-main,.service-detail-main{gap:24px}
.services-sidebar,.contacts-page-sidebar,.service-detail-sidebar{gap:16px}
.sidebar-panel{border-radius:12px}
.sidebar-panel + .sidebar-panel{margin-top:0}
.site-header__inner{width:min(calc(100% - 4rem),100rem);display:grid;grid-template-columns:minmax(25rem,28rem) minmax(0,1fr) auto;gap:1.5rem}
.brand{min-width:0}
.primary-nav{margin-left:0;min-width:0}
.primary-nav>ul{justify-content:flex-end;gap:.35rem}
.primary-nav a{font-size:.75rem}
.page-hero__content h1{font-size:clamp(3rem,4vw,4rem);line-height:1.08}
.prototype-page__layout--question .content-panel{border:0;background:transparent;box-shadow:none;padding:0}
.prototype-page__layout--question .prototype-page__content{padding:24px}
.prototype-page__layout--question .form-field{gap:8px;margin:0 0 16px}
.prototype-page__layout--question .form-field input:not([type="checkbox"]),.prototype-page__layout--question .form-field textarea,.prototype-page__layout--question .form-field select{box-sizing:border-box}
.prototype-page__layout--question .form-field:has(input[type="hidden"]){display:none}
.prototype-page__layout--question .form-field:has(input[type="checkbox"]){display:flex;align-items:flex-start;gap:10px;line-height:20px}
.prototype-page__layout--question .form-field:has(input[type="checkbox"]) input{order:-1;width:20px;min-width:20px;height:20px;min-height:20px;margin:0}
.prototype-page__layout--question .form-field:has(input[type="checkbox"]) .form-field__error{flex-basis:100%;margin-left:30px}
.prototype-page__layout--question .prototype-page__aside>.button{display:flex;width:100%;margin:0 0 10px;justify-content:center}
.prototype-page__layout--question .prototype-page__aside>.button:last-child{margin-bottom:0}
.question-form{display:grid;gap:0}
.prototype-page__layout:has(.question-form) .content-panel{border:0;background:transparent;box-shadow:none;padding:0}
.prototype-page__layout:has(.question-form) .prototype-page__content{padding:24px}
.prototype-page__layout:has(.question-form) .form-field{gap:8px;margin:0 0 16px}
.prototype-page__layout:has(.question-form) .form-field:has(input[type="hidden"]){display:none}
.prototype-page__layout:has(.question-form) .form-field:has(input[type="checkbox"]){display:flex;align-items:flex-start;gap:10px;line-height:20px}
.prototype-page__layout:has(.question-form) .form-field:has(input[type="checkbox"]) input{order:-1;width:20px;min-width:20px;height:20px;min-height:20px;margin:0}
.prototype-page__layout:has(.question-form) .form-field:has(input[type="checkbox"]) .form-field__error{flex-basis:100%;margin-left:30px}
.prototype-page__layout:has(.question-form) .prototype-page__aside>.button{display:flex;width:100%;margin:0 0 10px;justify-content:center}
.prototype-page__layout:has(.question-form) .prototype-page__aside>.button:last-child{margin-bottom:0}
.prototype-page__layout:has(#id_name) .content-panel{border:0;background:transparent;box-shadow:none;padding:0}
.prototype-page__layout:has(#id_name) .prototype-page__content{padding:24px}
.prototype-page__layout:has(#id_name) .form-field{gap:8px;margin:0 0 16px}
.prototype-page__layout:has(#id_name) .form-field:has(input[type="hidden"]){display:none}
.prototype-page__layout:has(#id_name) .form-field:has(input[type="checkbox"]){display:flex;align-items:flex-start;gap:10px;line-height:20px}
.prototype-page__layout:has(#id_name) .form-field:has(input[type="checkbox"]) input{order:-1;width:20px;min-width:20px;height:20px;min-height:20px;margin:0}
.prototype-page__layout:has(#id_name) .form-field:has(input[type="checkbox"]) .form-field__error{flex-basis:100%;margin-left:30px}
.prototype-page__layout:has(#id_name) .prototype-page__aside>.button{display:flex;width:100%;margin:0 0 10px;justify-content:center}
.prototype-page__layout:has(#id_name) .prototype-page__aside>.button:last-child{margin-bottom:0}
@media (max-width:56rem){.site-header__inner{width:min(calc(100% - 2rem),100rem);display:flex}.page-hero__content h1{font-size:clamp(2.5rem,11vw,3.5rem);line-height:1.08}.page-hero{width:calc(100% - 2rem);margin-top:16px;border-radius:12px}}
