:root{color-scheme:light;--ink:#1d2840;--subtle:#687386;--line:#e0e5eb;--muted:#f3f6fa;--deep:#17263f;--link:#204e96;--accent:#2e6db5;--white:#fff;--radius:14px}
*{box-sizing:border-box}
body{margin:0;background:#f8fafc;color:var(--ink);font:16px/1.58 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}
button,input,select{font:inherit}
button{padding:12px 18px;cursor:pointer;border:1px solid var(--link);border-radius:10px;color:#fff;background:var(--link)}
button:hover{filter:brightness(.94)}
input,select{width:100%;padding:10px 12px;border:1px solid #bdc8d5;border-radius:9px;background:#fff;color:var(--ink);margin:4px 0 16px}
input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #86baff;outline-offset:2px}
.container{max-width:1190px;margin:auto;padding:0 22px}
.skip-link,.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;clip:auto;width:auto;height:auto;left:8px;top:8px;background:#fff;padding:8px;z-index:9}
.header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font-size:23px;font-weight:850;letter-spacing:-.03em;color:var(--deep)}
.brand-symbol{display:inline-flex;justify-content:center;align-items:center;width:34px;height:34px;border-radius:10px;color:#fff;background:var(--deep);font-size:22px}
.nav{display:flex;gap:25px;font-weight:650}
main.container{padding-top:28px;padding-bottom:70px;min-height:65vh}
h1,h2,h3{line-height:1.2;letter-spacing:-.025em;color:var(--deep)}
h1{font-size:clamp(30px,4vw,50px);margin:10px 0 20px}
h2{font-size:clamp(22px,2.6vw,28px);margin:7px 0 19px}
h3{font-size:19px;margin:8px 0}
p{margin:0 0 15px}
.eyebrow{display:inline-block;color:#4c6485;font-size:12px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}
.subtle{color:var(--subtle)}.small{font-size:13px}.lede{font-size:18px;line-height:1.65;color:#54617a;max-width:740px}
.hero{padding:52px 48px;border-radius:24px;background:linear-gradient(120deg,#edf4fc,#fff);border:1px solid #dce8f6}
.hero h1{max-width:730px}.hero-search{display:flex;gap:12px;max-width:760px;margin-top:27px}
.hero-search input{margin:0}.hero-search button{min-width:140px}.hero .small{margin-top:16px}
.section{margin-top:45px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;flex-wrap:wrap;margin-bottom:18px}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.category-tile,.panel,.product-card,.search-result{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.category-tile{min-height:84px;padding:19px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:650}
.category-tile:hover,.product-card:hover{box-shadow:0 10px 28px #1d284011;text-decoration:none}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.product-card{padding:22px;display:flex;flex-direction:column;align-items:start}
.product-mark{width:52px;height:52px;border-radius:12px;margin-bottom:18px;display:flex;align-items:center;justify-content:center;background:#e8f0fa;color:var(--deep);font-weight:800}
.product-card-bottom{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;width:100%;margin-top:auto;padding-top:15px}
.tag{font-size:12px;font-weight:650;color:#536c8b;background:#eaf0f8;border-radius:30px;padding:6px 10px}
.panel{padding:23px}
.breadcrumbs{display:flex;gap:9px;flex-wrap:wrap;font-size:13px;color:var(--subtle);margin-bottom:25px}
.product-head{display:grid;grid-template-columns:1.5fr 1fr;gap:35px;align-items:center;margin:35px 0}
.product-head h1{font-size:clamp(27px,3vw,40px)}
.product-illustration{background:linear-gradient(140deg,#ecf3fa,#f9fbfe);border:1px dashed #c9d7e7;border-radius:20px;padding:55px 20px;text-align:center;color:#687b92}
.product-illustration-mark{font-size:65px;color:#becfe3}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start;gap:18px;margin:32px 0}
.detail-sidebar{display:grid;gap:18px}
.secondary-action{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #aabed7;border-radius:10px;font-weight:700}
.source-card{margin:14px 0;padding:15px;background:var(--muted);border-radius:10px}.source-title{font-weight:700;margin:10px 0 5px}
.table-scroll{width:100%;overflow-x:auto}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.spec-table th{width:45%;font-weight:550;color:#566780}.spec-table td{font-weight:650}
.compare-table th{min-width:170px}.compare-table th:first-child{min-width:150px}
.compare-table thead th{background:#f2f6fa}.compare-table .different{background:#f0f7ff}
.page-heading{margin-bottom:30px}
.catalog-layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:22px}
.filter-panel h2{font-size:20px}.filter-panel label{font-size:14px;font-weight:600;display:block}
.filter-panel fieldset{border:none;border-top:1px solid var(--line);padding:18px 0;margin:4px 0}
.filter-panel legend{padding-right:12px;font-weight:700}.filter-name{font-weight:600;font-size:14px}
.filter-pair{display:flex;gap:10px}.filter-pair>*{flex:1;min-width:0}.full-width{width:100%}
.clear-filter{display:block;text-align:center;margin-top:12px}
.search-result-list{display:grid;gap:10px}.search-result{padding:20px;display:grid;grid-template-columns:85px 1fr auto;gap:18px;align-items:center}
.compare-check{font-size:13px;display:flex;gap:8px;align-items:center}
.compare-check input{width:auto;margin:0}.search-result .tag{align-self:start}
.pagination{display:flex;gap:20px;align-items:center;margin-top:25px}.footer{background:#fff;border-top:1px solid var(--line);padding:25px 0;font-size:13px;color:var(--subtle)}
.footer-inner{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.empty-state,.form-error{padding:22px;border-radius:10px;background:#fff;border:1px solid var(--line)}.form-error{color:#9a3030}
.error-panel{max-width:700px;margin:auto;text-align:center}
@media(max-width:850px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-layout,.detail-layout{grid-template-columns:1fr}.filter-panel{order:2}.product-head{grid-template-columns:1fr}}
@media(max-width:570px){.hero{padding:27px 23px}.hero-search{flex-direction:column}.category-grid,.product-grid{grid-template-columns:1fr}.search-result{grid-template-columns:1fr}.header-inner{min-height:64px}.container{padding:0 15px}main.container{padding-top:22px}.product-illustration{padding:20px}}

/* Account and editorial screens */
.nav{align-items:center;flex-wrap:wrap}
.nav-logout{margin:0;display:inline-flex}
.nav-logout button{font-size:14px;background:transparent;color:var(--link);border:0;padding:3px 0}
.auth-panel,.article-form{max-width:760px;margin:20px auto}
.auth-panel form,.article-form form{max-width:690px}
.auth-panel input:not([type="checkbox"]),.article-form input:not([type="checkbox"]){max-width:100%}
input[type="checkbox"],input[type="radio"]{width:auto;max-width:none;margin:0 7px 0 0}
form ul{list-style:none;padding:0;margin:6px 0 18px}
form ul li{margin:8px 0}
form label{display:block;font-weight:600}
form label:has(input[type="checkbox"]){display:flex;align-items:center;font-weight:400}
textarea{width:100%;max-width:100%;padding:10px 12px;border:1px solid #bdc8d5;border-radius:10px;font:inherit;color:var(--ink)}
.article-layout{max-width:920px;margin:0 auto}
.article-layout header{margin-bottom:24px}
.article-body{font-size:17px;line-height:1.8;overflow-wrap:anywhere}
.inline-submit{display:inline-block;margin:6px 0}
.inline-submit button{font-size:13px;padding:7px 11px}
@media(max-width:630px){.header-inner{flex-wrap:wrap;align-items:start;padding-top:13px;padding-bottom:14px}.nav{gap:12px}.nav a{font-size:14px}}

/* DIY-project editing */
.project-editor{max-width:960px;margin:0 auto;display:grid;gap:20px}
.project-editor .panel{display:block}
.project-editor textarea{width:100%}
.formset-row{padding:18px;margin:12px 0;background:#f6f9fc;border:1px solid var(--line);border-radius:12px}
.formset-row h3{font-size:16px}
.formset-row input,.formset-row select{max-width:100%}
.project-editor input[type=checkbox]{width:auto}

/* Compact registration: four essential fields visible without excessive scrolling
   on common 13-inch notebook viewports. Keep 44px touch targets on mobile. */
.registration-panel{
  max-width:610px;
  margin:0 auto;
  padding:24px 28px;
}
.registration-panel h1{
  font-size:clamp(27px,3vw,32px);
  margin:5px 0 8px;
}
.registration-intro{
  color:var(--subtle);
  font-size:14px;
  line-height:1.45;
  margin:0 0 19px;
}
.registration-panel form{max-width:none}
.registration-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:16px;
  row-gap:12px;
}
.registration-field{min-width:0}
.registration-field label{
  font-size:14px;
  line-height:1.4;
  margin-bottom:5px;
}
.registration-field input{
  display:block;
  width:100%;
  min-height:43px;
  padding:9px 11px;
  margin:0;
}
.registration-field .errorlist{
  color:#9a3030;
  font-size:13px;
  line-height:1.4;
  margin:5px 0 0;
}
.registration-password-details{
  font-size:13px;
  color:var(--subtle);
  margin:12px 0 14px;
}
.registration-password-details summary{
  cursor:pointer;
  color:var(--link);
  width:max-content;
  max-width:100%;
}
.registration-password-details ul{
  margin:6px 0 8px;
  padding-left:19px;
  list-style:disc;
}
.registration-password-details ul li{margin:3px 0}
.registration-roles{
  padding:12px 0 0;
  margin:0 0 16px;
  border:0;
  border-top:1px solid var(--line);
}
.registration-roles legend{
  padding:0 8px 0 0;
  font-size:14px;
  font-weight:650;
}
.registration-roles #id_roles{
  display:flex;
  flex-wrap:wrap;
  column-gap:18px;
  row-gap:7px;
  margin:2px 0 7px;
}
.registration-roles #id_roles>div{margin:0}
.registration-roles #id_roles label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  font-size:13px;
  font-weight:400;
  white-space:nowrap;
}
.registration-roles input[type="checkbox"]{margin:0}
.registration-roles .subtle{font-size:12px;line-height:1.45;margin:0}
.registration-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.registration-actions button{padding:10px 15px;min-height:43px}
.registration-actions p{font-size:13px;margin:0}
.registration-form-errors{
  font-size:14px;
  border-left:3px solid #ad3434;
  background:#fff5f5;
  padding:8px 12px;
  margin:0 0 12px;
}
@media(max-width:620px){
  .registration-panel{max-width:500px;padding:20px}
  .registration-fields{grid-template-columns:1fr;row-gap:12px}
  .registration-intro{margin-bottom:16px}
}
@media(max-width:380px){
  .registration-panel{padding:16px}
  .registration-roles #id_roles{display:grid;row-gap:8px}
  .registration-actions button{width:100%}
}

/* Shared compact layout for laptops, desktops and touch screens.
   Information-dense pages retain readable text and accessible tap targets. */
body{font-size:15.5px;line-height:1.5}
.container{max-width:1160px}
.header-inner{min-height:70px}
.nav{gap:18px}
main.container{padding-top:22px;padding-bottom:54px}
h1{font-size:clamp(29px,3.3vw,44px);margin:7px 0 14px}
h2{font-size:clamp(21px,2.2vw,27px);margin:6px 0 13px}
h3{font-size:18px}
p{margin-bottom:12px}
.lede{font-size:16px;line-height:1.55;max-width:700px}
.hero{padding:36px 39px;border-radius:20px}
.hero-search{margin-top:20px}
.section{margin-top:32px}
.section-heading{margin-bottom:14px}
.category-grid{gap:10px}
.category-tile{min-height:70px;padding:14px 16px}
.product-grid{gap:13px}
.product-card{padding:18px;min-width:0}
.product-mark{width:46px;height:46px;margin-bottom:12px}
.product-card-bottom{padding-top:10px}
.panel{padding:19px}
.breadcrumbs{margin-bottom:16px}
.product-head{gap:24px;margin:20px 0}
.product-illustration{padding:34px 20px}
.product-illustration-mark{font-size:50px}
.detail-layout{gap:14px;margin:24px 0}
.source-card{padding:12px;margin:10px 0}
th,td{padding:10px 11px}
.page-heading{margin-bottom:20px}
.catalog-layout{grid-template-columns:minmax(215px,250px) minmax(0,1fr);gap:17px}
.filter-panel fieldset{padding:12px 0}
.search-result{padding:15px;grid-template-columns:78px minmax(0,1fr) auto;gap:12px}
.search-result > :only-child{grid-column:1 / -1;min-width:0}
.search-result-list{gap:9px}
.pagination{margin-top:18px}
.footer{padding:20px 0}
.empty-state,.form-error{padding:16px}
button{padding:10px 15px;min-height:42px}
input,select{margin:3px 0 10px;padding:9px 11px;min-height:42px}
textarea{padding:9px 11px}
:where(.auth-panel,.article-form,.profile-panel) form > p,
.project-editor .panel > p:has(> label),
.formset-row p{margin-bottom:12px}
:where(.auth-panel,.article-form,.profile-panel) form > p input,
:where(.auth-panel,.article-form,.profile-panel) form > p select,
:where(.auth-panel,.article-form,.profile-panel) form > p textarea,
.project-editor .panel > p:has(> label) input,
.project-editor .panel > p:has(> label) select,
.project-editor .panel > p:has(> label) textarea,
.formset-row p input,.formset-row p select,.formset-row p textarea{margin:4px 0 0}
.auth-panel:not(.registration-panel){max-width:560px;margin:14px auto}
.article-form{max-width:700px;margin:14px auto}
.article-layout{max-width:850px}
.article-layout header{margin-bottom:18px}
.article-body{font-size:16px;line-height:1.7}
.project-editor{max-width:900px;gap:16px}
.formset-row{padding:14px;margin:9px 0}
.profile-panel{max-width:790px;margin:0 auto}
.profile-panel form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
.profile-panel form > p{min-width:0}
.profile-panel form > p:has(textarea),
.profile-panel form > p:has(#id_roles){grid-column:1/-1}
.profile-panel form button{justify-self:start}
.profile-panel .secondary-action{margin:3px 5px 6px 0}
.registration-panel{padding:24px 28px}

/* Compact landscape notebooks (including 13-inch displays). */
@media(max-width:1500px){
  .container{max-width:1080px}
  .nav{gap:15px;font-size:14px}
  .header-inner{min-height:65px}
  .hero{padding:30px 33px}
  .section{margin-top:27px}
}
@media(max-height:900px) and (min-width:701px){
  main.container{padding-top:16px;padding-bottom:40px}
  .header-inner{min-height:62px}
  .hero{padding-top:26px;padding-bottom:26px}
  .section{margin-top:26px}
  .page-heading{margin-bottom:16px}
  .product-head{margin-top:16px;margin-bottom:16px}
}
@media(max-width:950px){
  .catalog-layout{grid-template-columns:1fr}
  .filter-panel{order:0}
  .search-result{grid-template-columns:78px minmax(0,1fr) auto}
  .profile-panel{max-width:740px}
}
@media(max-width:760px){
  .header-inner{flex-wrap:wrap;gap:10px;padding-top:13px;padding-bottom:13px}
  .nav{width:100%;gap:10px 16px;font-size:14px}
  .hero{padding:25px 23px}
  .project-editor{gap:12px}
  .project-editor .panel{padding:15px}
  .product-head{margin:15px 0}
}
@media(max-width:650px){
  body{font-size:16px;line-height:1.5}
  .container{padding-left:15px;padding-right:15px}
  main.container{padding-top:17px;padding-bottom:35px}
  h1{font-size:clamp(27px,6vw,34px)}
  .lede{font-size:16px}
  .brand{font-size:21px}
  .section{margin-top:27px}
  .product-grid,.category-grid{grid-template-columns:1fr}
  .search-result{grid-template-columns:minmax(0,1fr);gap:8px}
  .search-result > *{min-width:0}
  .search-result .tag{justify-self:start}
  .panel{padding:16px}
  .registration-panel{padding:20px}
  .profile-panel form{grid-template-columns:1fr}
  .profile-panel form > p:has(textarea),
  .profile-panel form > p:has(#id_roles){grid-column:auto}
  input,select,textarea{font-size:16px}
  button,input,select{min-height:44px}
  .filter-pair{gap:8px}
  .product-illustration{padding:20px}
  .compare-table{min-width:660px}
  .footer-inner{display:block}
  .footer-inner span{display:block;margin-bottom:6px}
}
@media(max-width:380px){
  .nav{gap:8px 12px}
  .nav a{font-size:13px}
  .hero{padding:21px 17px}
  .category-tile{padding:13px}
}

/* MISTERCHIP UI v2: compact catalog on laptop screens.
   Font uses locally installed family/fallbacks; no third-party tracking. */
:root{--ui-font:"Avenir Next","Helvetica Neue","Segoe UI",Arial,sans-serif}
body{font-family:var(--ui-font);letter-spacing:-.006em}
button,input,select,textarea{font-family:inherit}
.brand{
  display:inline-flex;align-items:center;gap:8px;flex-shrink:0;
  text-decoration:none;font-size:23px;line-height:1;letter-spacing:-.045em;
  font-weight:800;
}
.brand:hover{text-decoration:none}
.brand-wordmark{white-space:nowrap}
.brand-mister{color:#17263f}
.brand-chip{color:#276eb8}
.brand-symbol{
  order:2;width:27px;height:27px;border-radius:6px;
  font-size:16px;background:#e7f1fb;color:#276eb8;
}
/* Shared filter controls with predictable dimensions */
.filter-panel h2{font-size:19px;margin:0 0 12px}
.filter-form{display:flex;flex-direction:column;gap:10px;min-width:0}
.filter-field{min-width:0}
.filter-field label,.filter-field.filter-field{font-size:14px;font-weight:600}
.filter-field label{display:block;margin-bottom:5px}
.filter-field input,.filter-field select,
.filter-field.filter-field > input,.filter-field.filter-field > select{
  display:block;margin:0;width:100%;min-width:0;max-width:100%;
  text-overflow:ellipsis;overflow:hidden;font-size:14px;
  min-height:42px;
}
.filter-field:has(>select){min-width:0}
.filter-form .filter-pair{gap:8px}
.filter-pair label{min-width:0;flex:1}
.filter-pair input{width:100%;min-width:0}
.filter-specs{min-width:0;margin:3px 0 0;padding:12px 0 0}
.filter-specs legend{font-size:14px;font-weight:700}
.filter-specs-grid{display:grid;grid-template-columns:1fr;gap:11px}
.filter-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.filter-actions button{flex:1;min-width:145px;padding:9px 12px;white-space:nowrap}
.filter-actions .clear-filter{display:inline-block;text-align:center;margin:0;font-size:13px}
.catalog-results{min-width:0}
.search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:center}
.search-result-info{min-width:0}
.search-result-info h3{margin:5px 0;overflow-wrap:anywhere}
.search-result-info p{margin:0}
.search-result-actions{display:flex;flex-direction:column;align-items:flex-end;gap:14px;justify-content:center}
.search-result-actions .compare-check{white-space:nowrap;min-height:26px;cursor:pointer}
.search-result-actions .tag{align-self:flex-end}
.compare-note{margin:14px 0 9px}

/* At ordinary laptop sizes, put the filters above results instead of
   forcing them into a narrow sidebar beside cards. */
@media(max-width:1599px){
  .catalog-layout{grid-template-columns:minmax(0,1fr);gap:17px}
  .filter-panel{order:0;padding:16px 19px}
  .filter-panel h2{margin-bottom:9px}
  .filter-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
  .filter-specs{grid-column:1/-1;padding-top:10px}
  .filter-specs-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .filter-actions{grid-column:1/-1;justify-content:flex-end}
  .filter-actions button{flex:0 0 auto}
  .filter-panel .clear-filter{margin:0}
  .catalog-results .section-heading{margin-bottom:12px}
}
@media(min-width:1101px) and (max-width:1599px){
  .container{max-width:1180px}
}
@media(max-width:1100px){
  .filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .filter-specs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .brand{font-size:21px;gap:6px}
  .brand-symbol{width:25px;height:25px}
  .filter-form{grid-template-columns:1fr;gap:10px}
  .filter-specs-grid{grid-template-columns:1fr}
  .filter-panel{padding:15px}
  .filter-actions{justify-content:stretch}
  .filter-actions button{flex:1}
  .search-result{grid-template-columns:minmax(0,1fr);gap:10px}
  .search-result-actions{flex-direction:row;justify-content:space-between;align-items:center}
  .search-result-actions .tag{align-self:center}
  .search-result-actions .compare-check{align-self:center}
}

/* Exact approved visual assets; header must stay low on a 13-inch MacBook. */
.brand{display:inline-flex;align-items:center;flex-shrink:0;line-height:1}
.brand-logo{display:block;width:200px;height:auto;max-width:100%}
@media(max-width:700px){.brand-logo{width:176px}}
@media(max-width:380px){.brand-logo{width:162px}}

/* MISTERCHIP UI v3 — lighter SF-style typography and consistent filter rhythm. */
:root{
  --ui-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;
}
body{
  font-family:var(--ui-font);
  font-size:15.5px;
  font-weight:400;
  letter-spacing:0;
}
h1,h2,h3{
  font-weight:600;
  letter-spacing:-.022em;
}
h1{font-size:clamp(28px,2.7vw,37px);line-height:1.17}
h2{font-size:clamp(20px,2vw,25px)}
h3{font-size:17px}
.page-heading h1{margin:6px 0 11px}
.page-heading .subtle{font-size:14px;line-height:1.5}
.eyebrow{font-weight:600;letter-spacing:.085em}
.nav,.nav a{font-weight:500}
.brand{font-weight:600}
label,form label{font-weight:500}
button,.secondary-action{font-weight:500}
.category-tile{font-weight:500}
.tag{font-weight:500}
.product-mark{font-weight:600}
.spec-table td{font-weight:500}
.source-title{font-weight:600}
.filter-panel h2{font-weight:600}
.filter-panel .filter-field label,
.filter-panel .filter-name{font-weight:500}
.filter-panel .filter-spec-title{font-weight:500}
.filter-panel input,.filter-panel select{font-weight:400}
.search-result-info h3,.product-card h3{font-weight:600}
.filter-panel{min-width:0}
.filter-form{align-items:start}
.filter-panel .filter-form>.filter-field{align-self:stretch}
.filter-form>.filter-field>label{
  display:block;
  min-height:20px;
  margin:0 0 6px;
  line-height:20px;
  font-size:13px;
  font-weight:500;
}
.filter-form>.filter-field>input,
.filter-form>.filter-field>select{
  height:42px;
  padding:8px 11px;
  margin:0;
  width:100%;
  font-size:14px;
  font-weight:400;
}
.filter-form select{white-space:nowrap;text-overflow:ellipsis}
.filter-panel h2{margin:0 0 12px}
.filter-actions{align-self:end;gap:12px;margin:0}
.filter-actions button{min-height:40px;padding:8px 13px;font-size:14px}
.filter-actions .clear-filter{font-size:13px}
.filter-specs{
  grid-column:1/-1;
  width:100%;
  border:0;
  border-top:1px solid var(--line);
  margin:0;
  padding:0;
  min-width:0;
}
.filter-specs>summary{
  display:flex;
  align-items:center;
  gap:5px;
  cursor:pointer;
  list-style:none;
  padding:9px 0;
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  color:var(--ink);
}
.filter-specs>summary::-webkit-details-marker{display:none}
.filter-specs>summary::before{
  content:"▸";
  display:inline-block;
  color:var(--link);
  margin-right:5px;
}
.filter-specs[open]>summary::before{content:"▾"}
.filter-specs>summary:focus-visible{outline:3px solid #86baff;outline-offset:2px}
.filter-spec-type{color:var(--subtle);font-weight:400}
.filter-specs-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  gap:13px 16px;
  padding:8px 0 4px;
}
.filter-spec-field{min-width:0;display:flex;flex-direction:column}
.filter-spec-field>.filter-spec-title{
  display:block;
  min-height:37px;
  margin:0 0 6px;
  line-height:1.35;
  font-size:13px;
  font-weight:500;
}
.filter-spec-field>.filter-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.filter-spec-field input,.filter-spec-field select{
  display:block;
  width:100%;
  height:42px;
  min-height:42px;
  padding:8px 11px;
  margin:0;
  font-size:14px;
  font-weight:400;
}
.filter-spec-field input::placeholder{color:#778395;opacity:1}
@media(max-width:1100px){
  .filter-specs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body{font-size:16px}
  .filter-specs-grid{grid-template-columns:1fr}
  .filter-specs>summary{flex-wrap:wrap}
  .filter-spec-field>.filter-spec-title{min-height:0}
  .filter-spec-field input,.filter-spec-field select{min-height:44px}
}
