/* Create Travel Group and Add traveller on laptop and desktop screens: the same dialog design as the Garage's
   Add vehicle (rounded frame, serif title, bar stepper, pill buttons). Phones keep their own layout. */
@media (min-width:769px){
 :is(#group-dialog,#traveler-dialog){border-radius:24px;border:1px solid var(--av2-line,#d7e7ef);box-shadow:0 30px 70px #0b315c40;overflow:hidden}
 :is(#group-dialog,#traveler-dialog) :is(.gw-frame,.tw-frame)>header{padding:26px 28px 6px}
 :is(#group-dialog,#traveler-dialog) :is(.gw-frame,.tw-frame)>header h2{font:400 26px/1.2 Georgia,'Times New Roman',serif;letter-spacing:0;color:var(--av2-ink,#0b315c);margin:0}
 #group-dialog .gw-close,#traveler-dialog :is(.tw-close,[data-tw="close"]){width:40px;height:40px;border-radius:20px;border:1px solid var(--av2-line,#d7e7ef);display:flex;align-items:center;justify-content:center;line-height:1;font-size:24px;background:transparent}

 /* Bar stepper: a 4px bar over each step, filled up to the current one. */
 :is(#group-dialog .gw-progress,#traveler-dialog .tw-progress){padding:0 28px;margin:14px 0 6px;gap:8px}
 :is(#group-dialog .gw-progress,#traveler-dialog .tw-progress) li{flex:1;gap:8px;padding:14px 0 0;border-top:4px solid var(--av2-rule,#e7f1f5);border-radius:2px 2px 0 0;font-size:13px;font-weight:700;color:var(--av2-muted,#58758b)}
 :is(#group-dialog .gw-progress,#traveler-dialog .tw-progress) li:not(:last-child):after{display:none}
 :is(#group-dialog .gw-progress,#traveler-dialog .tw-progress) li>span{width:26px;height:26px;border:2px solid var(--av2-line,#d7e7ef);background:transparent;color:var(--av2-muted,#58758b);font:700 13px Arial,Helvetica,sans-serif;box-sizing:border-box}
 :is(#group-dialog .gw-progress,#traveler-dialog .tw-progress) small{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 :is(#group-dialog .gw-progress,#traveler-dialog .tw-progress) li:is([aria-current],.complete,:has(~li[aria-current])){border-top-color:var(--av2-accent,#007f94);color:var(--av2-ink,#0b315c)}
 :is(#group-dialog .gw-progress,#traveler-dialog .tw-progress) li:is([aria-current],.complete,:has(~li[aria-current]))>span{background:var(--av2-accent,#007f94);border-color:var(--av2-accent,#007f94);color:#fff}

 :is(#group-dialog .gw-body,#traveler-dialog .tw-body){padding:18px 28px 22px}
 :is(#group-dialog .gw-body,#traveler-dialog .tw-body)>h3:first-child{font-size:20px;line-height:1.3;margin:0 0 4px}

 /* Footer: Cancel / Back outlined, the next step filled; both pill-shaped. */
 :is(#group-dialog,#traveler-dialog) footer{padding:16px 28px;background:transparent;border-top:1px solid var(--av2-rule,#e7f1f5)}
 :is(#group-dialog,#traveler-dialog) footer .button{min-height:44px;min-width:0;padding:0 22px;border-radius:22px;font-size:14px;font-weight:700}
 :is(#group-dialog,#traveler-dialog) footer .button:not(.primary){background:#fff;border:1px solid var(--av2-line,#d7e7ef);color:var(--av2-ink,#0b315c)}
 :is(#group-dialog,#traveler-dialog) footer .button.primary{min-width:140px;background:var(--av2-accent,#007f94);border-color:var(--av2-accent,#007f94);color:#fff}
 html[data-theme=dark] :is(#group-dialog,#traveler-dialog) footer .button:not(.primary){background:transparent;color:var(--av2-ink,#e8f3f8)}
}

/* Group defaults: section heading in line with the fields, and the Garage link styled as a link. */
#group-dialog legend{padding:0}
#group-dialog .gw-manage-link{display:inline-flex;align-items:center;gap:6px;margin:12px 0 0;font-size:14px;font-weight:700;color:var(--av2-accent,#007f94);text-decoration:underline;text-underline-offset:3px}
