/* Fold layouts: presentation only, shared across existing app screens. */
html.podium-black-gold{--podium-nav-space:calc(100px + env(safe-area-inset-bottom));scroll-padding-bottom:var(--podium-nav-space)}
html.podium-black-gold #app{padding-bottom:var(--podium-nav-space)!important}
html.podium-black-gold #app>:is(.p14-page,.pd-dashboard){max-width:1440px!important;min-width:0;padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
html.podium-black-gold #app :is(input,select,textarea){min-width:0;scroll-margin-block:24px var(--podium-nav-space)}
html.podium-black-gold #app :is(button,summary,a,input,select,textarea){scroll-margin-bottom:var(--podium-nav-space)}
html.podium-black-gold #app :is(.p14-month,.p14-detail-wrap,.rc-card,.rc-fold,.km-more-menu,.stats-grid,.stats-charts){min-width:0}
html.podium-black-gold :is(.p14-header,.p14-month-head,.p14-detail-heading,.p14-blockhead,.rc-head,.v9-card-head){flex-wrap:wrap}
html.podium-black-gold .p14-calendar-page .p14-filters{flex-wrap:wrap;row-gap:8px}
html.podium-black-gold .p14-calendar-page :is(.p14-filters>button,.p14-date-shortcut,.p14-display-menu>summary){min-height:44px}
html.podium-black-gold .p14-calendar-page :is(.p14-date-shortcut,.p14-display-menu>summary){min-width:44px}
html.podium-black-gold .p14-calendar-page .p14-facts>span{min-width:0;max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere}
html.podium-black-gold .p14-calendar-page :is(.p14-workline,.p14-work-window,.p14-overline){overflow-wrap:anywhere}
html.podium-black-gold .p14-calendar-page .p14-detail-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
html.podium-black-gold .p14-calendar-page .p14-month-actions{margin-left:auto}
html.podium-black-gold .rc-compact .rc-original>.screen{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html.podium-black-gold .rc-compact :is(.item>div,.record-detail,.detail-grid>div,.rc-head>div,.rc-header>div){min-width:0}
html.podium-black-gold .rc-compact :is(.item .main,.item .sub,.detail-grid b,.rc-fine,.rc-small-tag,.rc-date-label){overflow-wrap:anywhere}
html.podium-black-gold .rc-compact :is(.item,.screen-head,.record-summary){flex-wrap:wrap;gap:10px}
html.podium-black-gold .rc-compact :is(.rc-head h2,.rc-fold>summary b){line-height:1.5}
html.podium-black-gold .rc-compact .v9-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.podium-black-gold .rc-compact .v9-form>.v9-row{grid-column:1/-1;min-width:0;flex-wrap:wrap}
html.podium-black-gold .rc-compact .v9-form>label{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:8px}
html.podium-black-gold .rc-compact :is(.v9-form input,.v9-form select){width:100%}
html.podium-black-gold .km-more-menu .km-menu-row>span{min-width:0;overflow-wrap:anywhere}
html.podium-black-gold #toast{max-width:calc(100% - 28px);white-space:normal;bottom:var(--podium-nav-space)}
html.podium-black-gold .note.expanded{max-height:84dvh;overscroll-behavior:contain}
@media(min-width:700px){
 html.podium-black-gold #app>:is(.p14-page,.pd-dashboard){padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}
 html.podium-black-gold .rc-compact .rc-folds{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 html.podium-black-gold .rc-compact .rc-fold[open]{grid-column:1/-1}
 html.podium-black-gold .km-more-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}
 html.podium-black-gold .km-more-menu .km-menu-row{border:1px solid #39362d;border-radius:12px;padding:20px 16px;height:100%}
}
@media(min-width:900px){
 html.podium-black-gold .rc-compact .v9-form>.v9-row{grid-column:auto}
 html.podium-black-gold .rc-compact .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:699px){
 html.podium-black-gold .p14-calendar-page .p14-detail-bottom{grid-template-columns:minmax(0,1fr)}
 html.podium-black-gold .rc-compact .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.podium-black-gold .rc-compact .rc-small-tag{text-align:left}
 html.podium-black-gold .rc-compact .item .num{white-space:normal;overflow-wrap:anywhere}
}
/* A short landscape viewport keeps the same five destinations in a slimmer bar. */
@media(orientation:landscape) and (max-height:500px){
 html.podium-black-gold{--podium-nav-space:calc(72px + env(safe-area-inset-bottom))}
 html.podium-black-gold #bottomNav{min-height:56px!important;padding:4px max(10px,env(safe-area-inset-left)) max(5px,env(safe-area-inset-bottom))!important}
 html.podium-black-gold #bottomNav button{min-height:44px!important;flex-direction:row!important;gap:8px!important;padding:4px 6px!important}
 html.podium-black-gold #bottomNav button b{width:21px;height:21px;min-height:21px}
 html.podium-black-gold #bottomNav button span{font-size:12px!important}
 html.podium-black-gold #app>:is(.p14-page,.pd-dashboard){padding-top:14px}
 html.podium-black-gold :is(.p14-header,.rc-header,.km-header){min-height:48px;margin-bottom:16px;padding-bottom:10px}
 html.podium-black-gold .pd-header{min-height:0;padding-block:16px;gap:12px}
 html.podium-black-gold .pd-heading h1{font-size:24px}
 html.podium-black-gold .p14-recovery .v9-spark{height:180px!important}
 html.podium-black-gold .p14-recovery .v9-daily-table{max-height:none}
}
