/* WerkDok C3.3.3 - compact dual home tab and optional vehicle attachment.
   No public garage exposure, no new backend writes, no desktop menu rewrite. */
.wdc333-start-switch{display:none;box-sizing:border-box;gap:9px;min-width:0;width:100%;order:0}
.wdc333-start-switch[hidden]{display:none!important}
.wdc333-start-option{min-width:0;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--border,rgba(60,175,193,.24));border-radius:14px;background:var(--surface,#0b2333)}
.wdc333-start-option.is-active{border-color:var(--teal,#1fd1d5);background:var(--surface-2,#102c3b)}
.wdc333-start-link{min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:9px 3px;line-height:1.25;color:var(--text);font-size:clamp(11px,2.7vw,14px);font-weight:800;text-decoration:none;white-space:normal;text-align:center}
.wdc333-start-link svg{width:17px;height:17px;flex:0 0 17px;fill:none;color:var(--teal,#1fd1d5)}
.wdc333-start-star{width:34px;min-width:34px;height:36px;flex:0 0 34px;display:grid;place-items:center;border-radius:9px;border:1px solid var(--border,rgba(60,175,193,.24));background:transparent;color:var(--subtext);cursor:pointer}
.wdc333-start-star svg{width:17px;height:17px;fill:none;stroke:currentColor}
.wdc333-start-star.is-favorite{color:#dfb45d;border-color:rgba(223,180,93,.6);background:rgba(223,180,93,.10)}
.wdc333-start-star.is-favorite svg{fill:currentColor}
.wdc333-start-link:focus-visible,.wdc333-start-star:focus-visible{outline:2px solid var(--teal,#1fd1d5);outline-offset:2px}
@media(max-width:1280px){
 body.on-community-feed .wdc333-start-switch:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:380px){.wdc333-start-option{gap:1px;padding:3px}.wdc333-start-link{gap:4px}.wdc333-start-star{width:30px;min-width:30px;flex-basis:30px}}
.wdc333-vehicle-details{border-radius:13px;border:1px solid var(--border,rgba(65,157,182,.34));background:var(--surface-2,#103044);min-width:0}
.wdc333-vehicle-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;cursor:pointer;list-style:none;color:var(--text);font-weight:800;font-size:14px}
.wdc333-vehicle-toggle::-webkit-details-marker{display:none}
.wdc333-vehicle-chevron{color:var(--teal,#1fd1d5);font-size:20px;transition:transform .18s}
.wdc333-vehicle-details[open] .wdc333-vehicle-chevron{transform:rotate(180deg)}
.wdc333-vehicle-toggle:focus-visible{outline:2px solid var(--teal,#1fd1d5);outline-offset:3px;border-radius:12px}
.wdc333-vehicle-content{border-top:1px solid var(--border,rgba(65,157,182,.3));padding:13px 16px 16px;display:grid;gap:12px;min-width:0}
.wdc333-vehicle-help{margin:0;color:var(--subtext);font-size:12px;line-height:1.65}
.wdc333-model-row[hidden],.wdc333-add-model[hidden]{display:none!important}
.wdc333-add-model{justify-self:start;cursor:pointer;font:800 12px/1.4 'Manrope',sans-serif;color:var(--teal);background:transparent;border:1px solid var(--border);border-radius:10px;padding:10px 14px}
.wdc333-add-model:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
/* The feed has its real composer directly under the category selector. Avoid
   a second oversized 'Write post' CTA above that composer on mobile. */
@media(max-width:720px){
 .wd-live-community:not(:has(.wdk32-results-heading)) .wd-live-header .wd-live-actions{width:auto;max-width:100%;margin-left:auto}
 .wd-live-community:not(:has(.wdk32-results-heading)) .wd-live-header .wd-live-actions>.wd-live-button{flex:0 0 auto;padding:9px 12px}
 .wd-live-form{gap:12px}
}

/* C33.3 R2: In tablet landscape, never re-enable the previous three-column
   ready garage grid under the mobile/drawer shell. Keep the central experience
   first and the car filter below, preserving all existing controls. */
@media (orientation:landscape) and (max-width:1280px) and (min-width:540px){
 body.on-community-feed.on-my-cars .feed-layout,
 body.on-community-feed.on-my-cars.on-my-cars-ready .feed-layout{display:flex!important;flex-direction:column!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;height:auto!important;max-height:none!important;min-width:0!important;overflow:visible!important;}
 body.on-community-feed.on-my-cars .my-cars-panel{order:1!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;}
 body.on-community-feed.on-my-cars.on-my-cars-ready .feed-sidebar-right{order:2!important;width:100%!important;max-width:100%!important;display:grid!important;position:static!important;overflow:visible!important;}
 body.on-community-feed.on-my-cars .feed-sidebar-left{order:0!important;}
 body.on-community-feed.on-my-cars #mycars-side-panel{max-width:100%;min-width:0;}
 body.on-community-feed.on-my-cars #mycars-side-panel .mycars-car-list{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))!important;}
 body.on-community-feed.on-my-cars .mycars-hero{min-height:180px!important;}
 body.on-community-feed.on-my-cars .mycars-hero-content{max-width:100%!important;}
 body.on-community-feed.on-my-cars .mycars-submit-line{flex-wrap:wrap;}
 body.on-community-feed.on-my-cars .mycars-posts-section,
 body.on-community-feed.on-my-cars .mycars-create{min-width:0;max-width:100%;}
}
