/* Complete product views stay in normal grid flow. Hidden panels contribute
   their intrinsic height, so switching tabs never crops or shifts the stage. */
.ao-announcement strong{font-weight:500}
.ao-hero-stage{min-height:0;padding:32px 28px;gap:26px}
.ao-hero-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;max-width:500px;margin:0}
.ao-hero-tabs button{padding:10px 6px;font-size:13px;line-height:1.35;min-height:44px;white-space:nowrap}
.ao-hero-panels{display:grid;width:100%;max-width:470px;height:auto;flex:none;align-items:stretch}
.ao-hero-panels>[role=tabpanel]{grid-area:1/1;position:static;inset:auto;display:flex;align-items:center;min-width:0;width:100%;animation:none}
.ao-hero-panels>[role=tabpanel][hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.ao-hero-stage .ao-product{max-width:none}
.ao-product-chrome img{width:22px;height:22px;flex:0 0 22px;border-radius:5px}
.ao-product-chrome{font-size:10px}
.ao-product .ao-product-kicker{line-height:1.6}
.ao-ui-view-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ao-ui-view-heading>div{min-width:0}
.ao-ui-view-heading .ao-ui-control{font-size:9px;background:#f5f2ee;border:1px solid #e7e0d8;padding:7px 9px;border-radius:6px;white-space:nowrap}
.ao-ui-view-heading h3{font-size:23px}
.ao-ui-search{display:flex;justify-content:space-between;align-items:center;border:1px solid #e9e4de;border-radius:7px;color:#8b8178;font-size:10px;padding:10px 12px;margin:16px 0 20px}
.ao-ui-search>span{font-size:17px;line-height:1;color:#82786c}
.ao-reservation-detail{padding:16px;background:#f7f5f1;border-radius:8px;margin-top:18px}
.ao-reservation-detail>div:first-of-type{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.5;margin-top:7px}
.ao-reservation-detail>div:first-of-type b{font-weight:500}
.ao-reservation-detail>div:first-of-type>span{color:#877b6e}
.ao-detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}
.ao-detail-tags>span{background:#fff;padding:5px 7px;border-radius:5px;font-size:8px;border:1px solid #eee8e0}
.ao-automation-flow{margin:21px 0 18px;display:flex;flex-direction:column}
.ao-automation-flow>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;position:relative;padding:14px 0}
.ao-automation-flow>div:not(:last-child):before{content:'';position:absolute;left:14px;top:40px;bottom:-15px;width:1px;background:#e6dfd8}
.ao-automation-node{display:grid;place-items:center;width:30px;height:30px;background:#f4efe7;border:1px solid #ebe1d4;border-radius:8px;z-index:1}
.ao-automation-node .ao-icon{width:15px;height:15px;color:#7d6b55}
.ao-automation-flow b{display:block;font-size:11px;line-height:1.4;font-weight:500}
.ao-automation-flow small{display:block;font-size:9px;line-height:1.5;color:#887c71;margin-top:4px}
.ao-ui-timing{font-size:8px;line-height:1.5;color:#8a7d70;white-space:nowrap}
.ao-automation-extra{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee8e1;padding-top:17px;font-size:10px}
.ao-workspace-shell{display:grid;grid-template-columns:48px minmax(0,1fr)}
.ao-workspace-rail{border-right:1px solid #eee8e1;background:#fbfaf8;display:flex;align-items:center;flex-direction:column;gap:12px;padding:22px 6px}
.ao-workspace-rail>span{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;color:#8c8177}
.ao-workspace-rail>span.is-current{background:#eee7dd;color:#625240}
.ao-workspace-rail .ao-icon{width:16px;height:16px}
.ao-workspace-main{padding:20px;min-width:0}
.ao-workspace-main h3{font:400 25px/1.25 var(--ao-heading);letter-spacing:-.7px;margin:6px 0 7px}
.ao-workspace-main>p{font-size:10px;color:#8a7e72;line-height:1.5;margin:0}
.ao-workspace-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}
.ao-workspace-stats>div{display:flex;flex-direction:column;gap:5px;padding:11px;background:#f5f1ea;border-radius:8px}
.ao-workspace-stats b{font-size:24px;line-height:1.2;font-weight:500}
.ao-workspace-stats span{font-size:9px;line-height:1.5;color:#89796b}
.ao-workspace-trip{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #ece6de}
.ao-date-tile{display:grid;gap:3px;text-align:center;width:36px;flex:0 0 36px;border:1px solid #e9dfd3;border-radius:7px;padding:7px 4px;background:#fbf8f3}
.ao-date-tile>b{font-size:18px;line-height:1;font-weight:500}
.ao-date-tile>small{font-size:7px;color:#8d7c6b;letter-spacing:1px}
.ao-workspace-trip>div{flex:1;min-width:0}
.ao-workspace-trip>div b{font-size:10px;line-height:1.5;font-weight:500;display:block}
.ao-workspace-trip>div small{display:block;color:#8c7f73;font-size:9px;line-height:1.5;margin-top:3px}
.ao-workspace-tasks{padding:14px 0;font-size:10px}
.ao-workspace-tasks>b{font-weight:500;display:block;margin-bottom:13px}
.ao-workspace-tasks>div{display:flex;align-items:center;gap:8px;color:#7c7065;margin-top:8px;line-height:1.5}
.ao-task-dot{height:5px;width:5px;flex:0 0 5px;border-radius:50%;background:#d7b99e}
.ao-workspace-team{display:flex;align-items:center;padding-top:12px;border-top:1px solid #ece6de;gap:4px}
.ao-workspace-team>.ao-avatar{height:25px;width:25px;flex-basis:25px;font-size:8px}
.ao-workspace-team>div{padding-left:6px;display:flex;flex-direction:column;gap:4px;font-size:9px;line-height:1.4}
.ao-workspace-team b{font-weight:500}
.ao-workspace-team small{font-size:8px;color:#887b6f}
@media(min-width:1200px){.ao-hero-stage{padding:32px 28px 36px}.ao-hero-panels{min-height:470px}}
@media(max-width:1199px){.ao-hero-stage{max-width:760px;width:100%;min-height:0;padding:32px;margin-inline:auto}.ao-hero-panels{max-width:470px}}
@media(max-width:767px){
 .ao-hero-stage{padding:23px 16px;gap:24px}
 .ao-hero-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-width:400px}
 .ao-hero-tabs button{grid-column:span 2;font-size:11px;padding:10px 5px;min-height:44px;border-radius:9px}
 .ao-hero-tabs button:nth-child(n+4){grid-column:span 3}
 .ao-hero-panels{height:auto;min-height:0;max-width:400px}
 .ao-hero-stage .ao-product-body{padding:18px}
 .ao-hero-stage .ao-booking-photo{height:120px}
 .ao-product-chrome img{width:20px;height:20px;flex-basis:20px}
 .ao-ui-view-heading h3{font-size:21px!important}
 .ao-ui-view-heading .ao-ui-control{font-size:8px;padding:6px}
 .ao-reservation-detail{padding:13px}
 .ao-reservation-detail>div:first-of-type{font-size:9px}
 .ao-detail-tags>span{font-size:7px;padding:5px 6px}
 .ao-automation-flow{margin-top:14px}
 .ao-automation-flow>div{grid-template-columns:28px minmax(0,1fr);gap:8px;padding:12px 0}
 .ao-automation-node{grid-row:span 2;width:28px;height:28px;align-self:start}
 .ao-automation-flow>div:not(:last-child):before{left:13px;top:37px;bottom:-12px}
 .ao-ui-timing{grid-column:2;white-space:normal;font-size:8px;margin-top:-2px}
 .ao-automation-flow b{font-size:10px}
 .ao-automation-flow small{font-size:8px}
 .ao-workspace-shell{grid-template-columns:35px minmax(0,1fr)}
 .ao-workspace-rail{padding:18px 4px;gap:11px}
 .ao-workspace-rail>span{width:25px;height:28px}
 .ao-workspace-rail .ao-icon{width:14px;height:14px}
 .ao-workspace-main{padding:18px 13px}
 .ao-workspace-main h3{font-size:23px!important}
 .ao-workspace-stats{gap:7px;margin:19px 0}
 .ao-workspace-stats>div{padding:11px 9px}
 .ao-workspace-stats span{font-size:8px}
 .ao-workspace-trip{gap:7px}
 .ao-workspace-trip>div b{font-size:9px}
 .ao-workspace-trip>div small{font-size:8px}
 .ao-workspace-tasks{font-size:9px}
 .ao-workspace-team>div{font-size:8px;padding-left:3px}
 .ao-workspace-team small{font-size:7px}
}
@media(max-width:374px){
 .ao-hero-stage{padding-inline:12px}
 .ao-hero-stage .ao-product-body{padding:15px}
 .ao-ui-view-heading h3{font-size:20px!important}
 .ao-product-reservations .ao-ui-view-heading{align-items:flex-start}
 .ao-product-reservations .ao-ui-view-heading .ao-ui-control{display:none}
 .ao-reservation-detail>div:first-of-type{flex-direction:column;gap:3px}
 .ao-workspace-main{padding-inline:10px}
 .ao-workspace-trip{flex-wrap:wrap}
 .ao-workspace-trip>.ao-status{margin-left:43px}
 .ao-workspace-team>.ao-avatar:nth-child(2){display:none}
}
