/* V36: viewport-bound dialog. Only its content scrolls; exit controls never do. */
html[data-yz-theme] dialog.yz-training-overlay{
 box-sizing:border-box!important;position:fixed!important;inset:16px!important;margin:auto!important;
 width:min(1200px,calc(100% - 32px))!important;max-width:calc(100% - 32px)!important;
 height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important;
 padding:0!important;overflow:hidden!important;transform:none!important;
}
html[data-yz-theme] dialog.yz-training-overlay[open]{display:flex!important;flex-direction:column!important}
html[data-yz-theme] .yz-training-overlay>.yz-appearance-bar{
 position:relative!important;inset:auto!important;flex:0 0 52px!important;height:52px!important;min-height:52px!important;
 padding:6px 16px!important;margin:0!important;border-radius:0!important;
}
html[data-yz-theme] .yz-training-overlay #yz-time-concept{
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;
 width:100%!important;overflow:hidden!important;border-radius:0!important;margin:0!important;
}
html[data-yz-theme] .yz-training-overlay #yz-time-concept>.header{
 position:relative!important;flex:0 0 auto!important;margin:0!important;padding:12px 16px!important;
 background:var(--glass-dialog,#172025)!important;gap:8px 16px!important;z-index:2;
}
html[data-yz-theme] .yz-training-overlay #yz-time-concept>.shell,
html[data-yz-theme] .yz-training-overlay #yz-time-concept>.yz-result{
 flex:1 1 auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain;
 -webkit-overflow-scrolling:touch;scroll-behavior:auto!important;overflow-anchor:none;
}
html[data-yz-theme] .yz-training-overlay #yz-time-concept #yz-time-close{min-width:96px;min-height:44px;box-shadow:none!important}
html[data-yz-theme] .yz-training-overlay #yz-time-save-status:empty{display:none!important}
@media(max-width:760px){
 html[data-yz-theme] dialog.yz-training-overlay{inset:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding-top:env(safe-area-inset-top)!important;padding-bottom:env(safe-area-inset-bottom)!important}
 html[data-yz-theme] .yz-training-overlay #yz-time-concept>.header>.toolbar{gap:8px!important}
 html[data-yz-theme] .yz-training-overlay #yz-time-concept .toolbar button{padding:8px 12px!important;min-height:44px!important}
}
@media(max-height:480px){
 html[data-yz-theme] .yz-training-overlay #yz-time-concept>.header>div:first-child{display:none}
 html[data-yz-theme] .yz-training-overlay #yz-time-concept>.header{justify-content:flex-end;padding:8px 12px!important}
}
