/* Problems pane on /services 1.0.2 (1.0.2: titles in sentence case on phones. 1.0.1: the problem titles show above each drawing below 768 px) (2026-11-26, agent opus-5.5|claude-code|hr5b7; QA/problems-pane/DESIGN.md). Restyles the existing tab component in #start-from-the-problem: problems listed on the left, drawing, answer and a glass link chip on the right; one vertical sequence below 768 px. */
#start-from-the-problem .mw-dp-svc-panel-heading,#start-from-the-problem .mw-dp-card{display:none!important}
#start-from-the-problem .mw-dp-svc-panel{display:flex;flex-direction:column;gap:1rem;padding:clamp(1rem,2.4vw,2rem);border-radius:var(--_space---radius-card,1.75rem);background-color:#405548;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 5.1'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23a)' opacity='.42'/%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='19' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .96 0 0 0 0 .93 0 0 0 -9 5.3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23b)' opacity='.2'/%3E%3C/svg%3E");color:var(--_website---text-on-inverse,#f4f5ee);box-shadow:none;border:0}
#start-from-the-problem .mw-dp-svc-panel-copy{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;max-width:none}
#start-from-the-problem .mw-dp-svc-panel-body{font-size:1.0625rem;line-height:1.6;max-width:34rem;margin:0;color:var(--_website---text-on-inverse,#f4f5ee)}
#start-from-the-problem .mw-dp-svc-panel .mw-button{background:var(--glass-liquid-fill,rgba(255,255,255,.84));-webkit-backdrop-filter:var(--glass-liquid-filter,blur(18px));backdrop-filter:var(--glass-liquid-filter,blur(18px));box-shadow:var(--glass-liquid-edge,0 0 0 1px rgba(31,32,27,.06)),var(--glass-liquid-shadow,0 8px 24px rgba(0,0,0,.25));color:var(--_website---text-primary,#1f201b);border:0;min-height:2.5rem;padding:.5rem 1rem;font-size:.9375rem}
#start-from-the-problem .mw-dp-svc-panel .mw-button:focus-visible{outline:.1875rem solid var(--_website---text-on-inverse,#f4f5ee);outline-offset:.1875rem}
#start-from-the-problem .mw-pp-art{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:calc(var(--_space---radius-card,1.75rem) - .75rem)}
#start-from-the-problem .mw-pp-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
#start-from-the-problem .mw-pp-before{display:none}
@media (min-width:768px){
#start-from-the-problem .mw-dp-tabs{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(2rem,4vw,3rem);align-items:start}
#start-from-the-problem .mw-dp-svc-tablist-wrap{grid-column:1;position:static;overflow:visible;margin:0;padding:0;-webkit-mask-image:none;mask-image:none}
#start-from-the-problem .mw-dp-tablist{display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:visible;padding:0;margin:0;border:0;background:none;box-shadow:none;width:auto}
#start-from-the-problem .mw-dp-tab{all:unset;position:relative;display:block;cursor:pointer;padding:1.125rem 0 1.125rem 1.25rem;border-top:1px solid var(--_website---border-subtle,#d8d9cf);font-family:var(--_typography---font-display,'Host Grotesk'),sans-serif;font-weight:500;font-size:1.375rem;line-height:1.25;letter-spacing:-.01em;color:color-mix(in srgb,var(--_website---text-primary,#1f201b) 62%,transparent);transition:color .2s;text-wrap:pretty}
#start-from-the-problem .mw-dp-tab:first-child{border-top:0;padding-top:.25rem}
#start-from-the-problem .mw-dp-tab::before{content:"";position:absolute;left:0;top:1.125rem;bottom:1.125rem;width:3px;border-radius:2px;background:#405548;transform:scaleY(0);transition:transform .24s}
#start-from-the-problem .mw-dp-tab:first-child::before{top:.25rem}
#start-from-the-problem .mw-dp-tab[aria-selected=true]{color:var(--_website---text-primary,#1f201b);font-weight:600}
#start-from-the-problem .mw-dp-tab[aria-selected=true]::before{transform:none}
#start-from-the-problem .mw-dp-tab:hover{color:var(--_website---text-primary,#1f201b)}
#start-from-the-problem .mw-dp-tab:focus-visible{outline:.1875rem solid var(--_website---border-strong,#1f201b);outline-offset:.25rem;border-radius:.25rem}
#start-from-the-problem .mw-dp-panels{grid-column:2;display:grid}
#start-from-the-problem .mw-dp-panel{grid-area:1/1;display:block!important;visibility:hidden;opacity:0;transition:opacity .24s,visibility 0s .24s}
#start-from-the-problem .mw-dp-panel:not([hidden]){visibility:visible;opacity:1;transition:opacity .24s}
#start-from-the-problem .mw-dp-panel-title{display:none}
html.mw-js #start-from-the-problem .mw-pp-before{display:block}
#start-from-the-problem .mw-dp-panel .mw-pp-after{opacity:0}
#start-from-the-problem .mw-dp-panel:not([hidden]) .mw-pp-after{animation:mwppIn .7s ease .35s both}
#start-from-the-problem .mw-dp-panel:not([hidden]) .mw-pp-before{animation:mwppOut .7s ease .35s both}
}
@media (min-width:1280px){#start-from-the-problem .mw-dp-tab{font-size:1.5rem}}
@keyframes mwppIn{from{opacity:0}to{opacity:1}}@keyframes mwppOut{from{opacity:1}to{opacity:0}}
@media (max-width:767px){#start-from-the-problem .mw-dp-svc-tablist-wrap{display:none}#start-from-the-problem .mw-dp-panel{display:block!important;margin-bottom:2rem}#start-from-the-problem .mw-dp-panel-title{display:block!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;opacity:1!important;text-transform:none!important;letter-spacing:-.01em!important;font-family:var(--_typography---font-display,'Host Grotesk'),sans-serif;font-weight:500;font-size:1.375rem;line-height:1.25;margin:0 0 1rem;color:var(--_website---text-primary,#1f201b)}}
@media (prefers-reduced-motion:reduce){#start-from-the-problem .mw-dp-panel .mw-pp-after{opacity:1!important;animation:none!important}#start-from-the-problem .mw-pp-before{display:none!important}#start-from-the-problem .mw-dp-panel{transition:none!important}}
