.task-gallery{--sg-ink:#192f48;--sg-mark:#a33b1c;--sg-wash:#f8f3e9;color:var(--sg-ink);background:var(--sg-wash);padding:clamp(36px,5vw,78px) 0;scroll-margin-top:95px}
.task-gallery.sg-logistics{--sg-ink:#113d46;--sg-mark:#065963;--sg-wash:#edf4f2}.task-gallery.sg-hospitality{--sg-ink:#403327;--sg-mark:#93432b;--sg-wash:#f8f1e6}.task-gallery.sg-facility{--sg-ink:#213e34;--sg-mark:#33614a;--sg-wash:#edf4ec}.task-gallery.sg-industry{--sg-ink:#1c3453;--sg-mark:#375576;--sg-wash:#edf2f7}
.task-gallery .sg-wrap{width:min(1160px,calc(100% - 2.4rem));margin:auto}.task-gallery [hidden]{display:none!important}
.task-gallery .sg-heading{max-width:38ch;margin:0;font-size:clamp(1.75rem,3.2vw,3.2rem);line-height:1.04;letter-spacing:-.04em;color:var(--sg-ink)}
.task-gallery .sg-intro{margin:.65rem 0 1.3rem;font-size:1rem;line-height:1.5;color:var(--sg-ink)}
.task-gallery .sg-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 11px}
.task-gallery .sg-controls button{display:flex;align-items:center;gap:.62rem;min-width:0;min-height:54px;border:1px solid #9aa6a6;background:#fff;color:var(--sg-ink);padding:.4rem .6rem;border-radius:6px;text-align:left;cursor:pointer;font:inherit;font-size:.96rem;font-weight:650;line-height:1.2}
.task-gallery .sg-controls button[aria-selected=true]{border:2px solid var(--sg-mark);padding:calc(.4rem - 1px) calc(.6rem - 1px);background:var(--sg-ink);color:#fff}
.task-gallery .sg-thumb{width:51px;height:36px;flex:none;object-fit:cover;border-radius:3px}
.task-gallery .sg-panel{padding:0;margin:14px 0 0;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);align-items:stretch;min-height:285px;overflow:hidden;border:1px solid #b4bdb8;border-radius:10px;background:#fff}
.task-gallery .sg-panel figure{min-width:0;position:relative;margin:0;min-height:250px;overflow:hidden}.task-gallery .sg-panel figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.task-gallery .sg-copy{padding:clamp(22px,3vw,46px);align-self:center}.task-gallery .sg-copy h3{margin:0 0 .7rem;font-size:clamp(1.45rem,2.1vw,2.2rem);line-height:1.12;color:var(--sg-ink)}
.task-gallery .sg-copy p{margin:.6em 0;font-size:1.02rem;line-height:1.5;color:var(--sg-ink)}
.task-gallery .sg-result{border-inline-start:3px solid var(--sg-mark);padding-inline-start:.74rem}
.task-gallery .sg-copy a{display:inline-flex;align-items:center;min-height:44px;margin:.6rem 0 0;padding:.42rem .9rem;border-radius:4px;background:var(--sg-ink);color:white;font-weight:650;text-underline-offset:.22em}
.task-gallery :is(button,a,[role=tabpanel]):focus-visible{outline:3px solid var(--sg-mark);outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.task-gallery button,.task-gallery a{transition:box-shadow .14s ease}.task-gallery button:hover,.task-gallery a:hover{box-shadow:0 0 0 2px var(--sg-mark)}}
@media(max-width:720px){.task-gallery{padding-block:32px}.task-gallery .sg-wrap{width:min(100% - 32px,42rem)}.task-gallery .sg-panel{grid-template-columns:1fr;margin-top:8px;min-height:0}.task-gallery .sg-panel figure{min-height:0;aspect-ratio:2.1}.task-gallery .sg-copy{padding:17px}.task-gallery .sg-copy p{font-size:.95rem}.task-gallery .sg-controls{gap:4px}.task-gallery .sg-controls button{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;height:100%;min-height:44px;padding:4px;border-radius:5px;font-size:.75rem;line-height:1.2;overflow-wrap:anywhere}.task-gallery .sg-controls button[aria-selected=true]{padding:3px}.task-gallery .sg-thumb{width:100%;height:35px}.task-gallery .sg-controls button span{display:block;padding:1px 2px 3px}.task-gallery .sg-heading{font-size:1.83rem}}
@media(prefers-reduced-motion:reduce){.task-gallery *{animation:none!important;transition:none!important}}

.task-gallery .sg-city{margin:0 0 1rem;color:var(--sg-ink)}.task-gallery .sg-city summary{cursor:pointer;text-decoration:underline;text-underline-offset:.2em}.task-gallery .sg-city label{display:grid;gap:.25rem;max-width:28rem;margin:.45rem 0}.task-gallery .sg-city select{width:100%;min-height:44px;font:inherit;padding:.4rem;border:1px solid #7c8b8a;background:white;color:var(--sg-ink)}
