/* The compact content is confined to task detail pages. */
.osn-shell.osn-v4 .osn-task-compact { padding-bottom:36px; }
.osn-shell.osn-v4 .osn-task-compact > .breadcrumbs { margin:18px 0 16px; font-size:12px; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-intro { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.85fr); gap:0; min-height:144px; margin:0 0 18px; overflow:hidden; border:1px solid var(--osn-border); border-radius:9px; background:#fff; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-intro-copy { position:relative; z-index:1; align-self:center; min-width:0; padding:22px 28px; }
.osn-shell.osn-v4 .osn-task-compact h1 { margin:0 0 10px; font-size:clamp(27px,2.5vw,38px); font-weight:700; letter-spacing:-.8px; line-height:1.15; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-intro p { max-width:620px; margin:0; font-size:16px; line-height:1.5; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-photo { position:relative; width:100%; height:100%; min-height:144px; max-height:none; aspect-ratio:auto; border-radius:0; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#fff,rgba(255,255,255,.2) 18%,transparent 40%); pointer-events:none; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-photo > .osn-task-atlas-crop { position:absolute; inset:0; display:block; width:100%; height:100%; color:inherit; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-materials { margin:0 0 22px; gap:8px; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-materials > a { min-height:44px; padding:10px 13px; font-size:13px; }
.osn-shell.osn-v4 .osn-task-layout { display:grid; grid-template-columns:216px minmax(0,1fr); align-items:start; gap:24px; }
.osn-shell.osn-v4 .osn-task-filter-column,.osn-shell.osn-v4 .osn-task-results { min-width:0; }
.osn-shell.osn-v4 .osn-task-filter-panel { background:#fff; border:1px solid var(--osn-border); border-radius:8px; }
.osn-shell.osn-v4 .osn-task-filter-panel > summary { display:none; }
.osn-shell.osn-v4 .osn-task-filter-form { padding:18px; }
.osn-shell.osn-v4 .osn-task-filter-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:16px; }
.osn-shell.osn-v4 .osn-task-filter-heading h2 { font-size:18px; font-weight:650; margin:0; letter-spacing:-.3px; }
.osn-shell.osn-v4 .osn-task-filter-heading a { color:#b33e00; font-size:12px; padding:8px 0; }
.osn-shell.osn-v4 .osn-task-filter-form fieldset { min-width:0; border:0; border-top:1px solid var(--osn-border); padding:16px 0; margin:0; }
.osn-shell.osn-v4 .osn-task-filter-form legend { float:none; width:auto; margin:0 0 6px; padding:0; font-size:14px; font-weight:600; line-height:1.4; }
.osn-shell.osn-v4 .osn-task-check { display:flex; align-items:center; gap:10px; min-height:44px; margin:0; cursor:pointer; font-size:14px; line-height:1.4; }
.osn-shell.osn-v4 .osn-task-check input { position:static; width:19px; height:19px; flex:0 0 19px; margin:0; accent-color:var(--osn-orange); cursor:pointer; }
.osn-shell.osn-v4 .osn-task-check span { min-width:0; overflow-wrap:anywhere; }
.osn-shell.osn-v4 .osn-task-filter-note { margin:5px 0 0; color:var(--osn-muted); font-size:12px; line-height:1.45; }
.osn-shell.osn-v4 .osn-task-price-range { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.osn-shell.osn-v4 .osn-task-price-range label { min-width:0; font-size:12px; color:var(--osn-muted); }
.osn-shell.osn-v4 .osn-task-price-range label > span { display:block; margin:0 0 4px; }
.osn-shell.osn-v4 .osn-task-price-range input { width:100%; min-width:0; min-height:44px; padding:8px; border:1px solid #cfd6dc; border-radius:5px; background:#fff; font-size:14px; color:var(--osn-ink); }
.osn-shell.osn-v4 .osn-task-manufacturers { border-top:1px solid var(--osn-border); padding:10px 0; }
.osn-shell.osn-v4 .osn-task-manufacturers > summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; cursor:pointer; font-size:14px; font-weight:600; list-style:none; }
.osn-shell.osn-v4 .osn-task-manufacturers > summary::-webkit-details-marker,.osn-shell.osn-v4 .osn-task-filter-panel > summary::-webkit-details-marker { display:none; }
.osn-shell.osn-v4 .osn-task-manufacturers > summary svg { width:17px; height:17px; }
.osn-shell.osn-v4 .osn-task-manufacturers[open] > summary svg { transform:rotate(180deg); }
.osn-shell.osn-v4 .osn-task-filter-apply { width:100%; min-height:44px; margin-top:8px; padding:10px 8px; font-size:13px; }
.osn-shell.osn-v4 .osn-task-mobile-reset { display:none; }
.osn-shell.osn-v4 .osn-task-compact .osn-task-results { margin:0; }
.osn-shell.osn-v4 .osn-task-compact .catalog-heading { align-items:center; gap:14px; margin:0 0 16px; }
.osn-shell.osn-v4 .osn-task-compact .catalog-heading h2 { margin:0 0 6px; font-size:clamp(22px,2vw,29px); font-weight:650; letter-spacing:-.6px; line-height:1.2; overflow-wrap:anywhere; }
.osn-shell.osn-v4 .osn-task-compact .result-count { font-size:12px; color:var(--osn-muted); }
.osn-shell.osn-v4 .osn-task-compact .sort-control { flex-shrink:0; gap:8px; font-size:12px; }
.osn-shell.osn-v4 .osn-task-compact .sort-control select { min-width:150px; max-width:100%; min-height:44px; font-size:13px; }
.osn-shell.osn-v4 .osn-task-compact .catalog-products { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.osn-shell.osn-v4 .osn-task-compact .product-card { min-width:0; }
.osn-shell.osn-v4 .osn-task-compact .product-image-wrap { height:auto; aspect-ratio:1.38; min-height:0; padding:16px 18px 10px; }
.osn-shell.osn-v4 .osn-task-compact .product-image { max-width:100%; max-height:100%; width:100%; height:100%; object-fit:contain; }
.osn-shell.osn-v4 .osn-task-compact .product-card-body { padding:10px 14px 14px; }
.osn-shell.osn-v4 .osn-task-compact .product-title { font-size:14px; line-height:1.45; min-height:41px; }
.osn-shell.osn-v4 .osn-task-compact .product-code { margin:5px 0 7px; font-size:11px; }
.osn-shell.osn-v4 .osn-task-compact .osn-product-card-heading { gap:4px; }
.osn-shell.osn-v4 .osn-task-compact .osn-wishlist-control { min-width:36px; width:36px; min-height:44px; height:44px; }
.osn-shell.osn-v4 .osn-task-compact .product-price { font-size:21px; font-weight:650; }
.osn-shell.osn-v4 .osn-task-compact .product-price-request { font-size:14px; font-weight:500; }
.osn-shell.osn-v4 .osn-task-compact .product-purchase { margin-top:10px; }
.osn-shell.osn-v4 .osn-task-compact .product-request { min-height:44px; font-size:12px; padding:9px 6px; }
.osn-shell.osn-v4 .osn-task-active-note { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:-4px 0 14px; font-size:12px; color:var(--osn-muted); }
.osn-shell.osn-v4 .osn-task-active-note a { color:#b33e00; text-decoration:underline; }
.osn-shell.osn-v4 .osn-task-compact :is(a,button,input,select,summary):focus-visible { outline:3px solid #246cb1; outline-offset:3px; }
.osn-shell.osn-v4 .osn-related-tasks { margin:36px 0 10px; }
.osn-shell.osn-v4 .osn-related-tasks h2 { margin:0 0 16px; font-size:clamp(22px,2vw,29px); font-weight:650; line-height:1.25; letter-spacing:-.5px; }
.osn-shell.osn-v4 .osn-related-task-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.osn-shell.osn-v4 .osn-related-task { display:flex; align-items:center; gap:14px; min-width:0; min-height:96px; padding:12px; border:1px solid var(--osn-border); border-radius:8px; background:#fff; color:var(--osn-ink); text-decoration:none; }
.osn-shell.osn-v4 .osn-related-task:hover { border-color:var(--osn-orange); }
.osn-shell.osn-v4 .osn-related-task-photo { flex:0 0 100px; align-self:stretch; min-height:72px; border-radius:5px; background-repeat:no-repeat; background-color:#f5f6f7; }
.osn-shell.osn-v4 .osn-related-task-name { min-width:0; flex:1; font-size:16px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; }
.osn-shell.osn-v4 .osn-related-task > svg { flex:0 0 20px; width:20px; height:20px; color:var(--osn-orange); }
@media(max-width:999px) { .osn-shell.osn-v4 .osn-related-task-grid { grid-template-columns:minmax(0,1fr); gap:10px; } }
@media(min-width:1360px) { .osn-shell.osn-v4 .osn-task-compact .catalog-products { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:999px) {
 .osn-shell.osn-v4 .osn-task-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
 .osn-shell.osn-v4 .osn-task-filter-panel > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px; padding:11px 14px; cursor:pointer; list-style:none; font-size:14px; font-weight:500; }
 .osn-shell.osn-v4 .osn-task-filter-panel > summary > span { display:flex; align-items:center; gap:9px; }
 .osn-shell.osn-v4 .osn-task-filter-panel > summary svg { width:18px; height:18px; }
 .osn-shell.osn-v4 .osn-task-filter-panel[open] > summary { border-bottom:1px solid var(--osn-border); }
 .osn-shell.osn-v4 .osn-task-filter-panel[open] > summary > svg { transform:rotate(180deg); }
 .osn-shell.osn-v4 .osn-task-filter-heading { display:none; }
 .osn-shell.osn-v4 .osn-task-filter-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:0 24px; }
 .osn-shell.osn-v4 .osn-task-filter-form fieldset:first-of-type { border-top:0; padding-top:0; }
 .osn-shell.osn-v4 .osn-task-filter-apply { align-self:end; }
 .osn-shell.osn-v4 .osn-task-mobile-reset { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:8px; color:#b33e00; font-size:13px; }
 .osn-shell.osn-v4 .osn-task-filter-count { display:grid; place-items:center; min-width:21px; height:21px; padding:0 5px; background:#fff0e6; border-radius:12px; color:#a83b00; font-size:12px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-intro { grid-template-columns:minmax(0,1fr) minmax(210px,.7fr); min-height:130px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-intro-copy { padding:20px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-photo { min-height:130px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-intro p { font-size:14px; }
}
@media(max-width:600px) {
 .osn-shell.osn-v4 .osn-related-tasks { margin-top:26px; }
 .osn-shell.osn-v4 .osn-related-task { min-height:88px; gap:12px; }
 .osn-shell.osn-v4 .osn-related-task-photo { flex-basis:86px; min-height:64px; }
 .osn-shell.osn-v4 .osn-related-task-name { font-size:15px; }
 .osn-shell.osn-v4 .osn-task-compact > .breadcrumbs { margin:12px 0; gap:7px; font-size:11px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-intro { grid-template-columns:minmax(0,1fr) 112px; min-height:126px; margin-bottom:14px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-intro-copy { padding:16px 12px 16px 16px; }
 .osn-shell.osn-v4 .osn-task-compact h1 { margin-bottom:8px; font-size:26px; letter-spacing:-.55px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-intro p { font-size:12px; line-height:1.5; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-photo { min-height:126px; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-photo::after { background:linear-gradient(90deg,#fff,transparent 38%); }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-materials { flex-wrap:nowrap; gap:7px; margin-bottom:14px; padding:0 1px 6px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
 .osn-shell.osn-v4 .osn-task-compact .osn-task-materials > a { flex:0 0 auto; max-width:230px; min-height:44px; padding:8px 10px; font-size:12px; }
 .osn-shell.osn-v4 .osn-task-layout { gap:14px; }
 .osn-shell.osn-v4 .osn-task-filter-form { grid-template-columns:minmax(0,1fr); padding:16px; }
 .osn-shell.osn-v4 .osn-task-compact .catalog-heading { align-items:start; margin-bottom:12px; gap:10px; flex-direction:row; flex-wrap:wrap; }
 .osn-shell.osn-v4 .osn-task-compact .catalog-heading > div { flex:1 1 180px; }
 .osn-shell.osn-v4 .osn-task-compact .catalog-heading h2 { font-size:22px; }
 .osn-shell.osn-v4 .osn-task-compact .sort-control { margin-left:auto; }
 .osn-shell.osn-v4 .osn-task-compact .sort-control > span { display:none; }
 .osn-shell.osn-v4 .osn-task-compact .sort-control select { min-width:0; width:150px; min-height:44px; }
 .osn-shell.osn-v4 .osn-task-compact .catalog-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .osn-shell.osn-v4 .osn-task-compact .product-image-wrap { aspect-ratio:1.2; padding:12px 12px 6px; }
 .osn-shell.osn-v4 .osn-task-compact .product-card-body { padding:8px 10px 12px; }
 .osn-shell.osn-v4 .osn-task-compact .product-title { font-size:13px; line-height:1.4; min-height:55px; }
 .osn-shell.osn-v4 .osn-task-compact .product-price { font-size:18px; }
 .osn-shell.osn-v4 .osn-task-compact .product-price-request { font-size:13px; }
 .osn-shell.osn-v4 .osn-task-compact .product-request { font-size:12px; white-space:normal; }
 .osn-shell.osn-v4 .osn-task-compact .osn-store-stock-card { font-size:10px; gap:3px; }
 .osn-shell.osn-v4 .osn-task-compact .product-code { font-size:10px; overflow-wrap:anywhere; }
 .osn-shell.osn-v4 .osn-task-compact .osn-pagination { gap:14px; flex-wrap:wrap; margin-top:20px; }
}

/* Visible surface choices keep other task/filter layouts intact. */
.osn-shell.osn-v4 .osn-task-compact .osn-task-alternatives{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 16px;padding:12px 16px;background:#fff;border:1px solid var(--osn-border);border-radius:9px;}
.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-label{font-size:15px;font-weight:600;color:var(--osn-text,#18232d);}
.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-links{display:flex;flex-wrap:wrap;gap:8px;min-width:0;}
.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:110px;padding:9px 16px;border:1px solid var(--osn-border);border-radius:7px;color:var(--osn-text,#18232d);background:#fff;font-size:16px;line-height:1.4;text-decoration:none;box-sizing:border-box;}
.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-links a:hover{border-color:var(--osn-orange,#ff5b00);}
.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-links a[aria-current="true"]{border-color:var(--osn-orange,#ff5b00);background:var(--osn-orange-soft,#fff3eb);font-weight:650;box-shadow:inset 0 -2px 0 var(--osn-orange,#ff5b00);}
.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-links a:focus-visible{outline:3px solid var(--osn-orange,#ff5b00);outline-offset:2px;}
@media(max-width:600px){.osn-shell.osn-v4 .osn-task-compact .osn-task-alternatives{padding:12px;gap:8px;}.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-label{width:100%;}.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-links{width:100%;}.osn-shell.osn-v4 .osn-task-compact .osn-task-alternative-links a{flex:1 1 0;min-width:0;padding:9px 8px;text-align:center;white-space:normal;}}
