:root{--viu-ui-focus:#9f302a}
body.viu-public :is(a,button,summary,input,select,textarea):focus-visible,body[data-staff-role] :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--viu-ui-focus);outline-offset:3px}
.viu-password-control{display:block;position:relative;margin-top:7px}.viu-password-control input{margin-top:0!important;padding-right:88px!important}.viu-password-control button{position:absolute;right:4px;top:4px;bottom:4px;min-width:76px;min-height:40px;border:0!important;border-radius:5px;background:#f2f3ef!important;color:#292725!important;font:inherit!important;font-size:13px!important;margin:0!important;padding:4px 10px!important;cursor:pointer}
.viu-connection-status{position:fixed;z-index:10000;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);box-sizing:border-box;border:1px solid #a65a21;background:#fff4dc;color:#513215;border-radius:10px;padding:14px 18px;font:400 15px/1.5 Viu,Arial,sans-serif;box-shadow:0 3px 16px #0002}.viu-connection-status[hidden]{display:none}
.viu-install-button{display:inline-flex;align-items:center;min-height:44px;padding:9px 0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left}
.viu-install-dialog{box-sizing:border-box;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #d9ddd6;border-radius:16px;color:#1d1d1b;background:#fff;font:16px/1.6 Viu,Arial,sans-serif}.viu-install-dialog::backdrop{background:#15191988}.viu-install-dialog img{width:64px;height:64px;border-radius:12px}.viu-install-dialog h2{font-size:28px;line-height:1.2;margin:18px 0 12px}.viu-install-dialog p{font-size:16px;line-height:1.6}.viu-install-dialog button{min-height:46px;padding:10px 18px;border:1px solid #1d1d1b;border-radius:999px;background:#fff;color:#1d1d1b;font:inherit;cursor:pointer;margin:8px 8px 0 0}.viu-install-dialog .viu-install-confirm{background:#1d1d1b;color:#fff}.viu-install-dialog button[hidden]{display:none}
.viu-scroll-table{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}.viu-scroll-table:focus-visible{outline:3px solid #a7352e;outline-offset:3px}.viu-scroll-table-hint{font-size:12px;color:#535e55;margin:8px 0}.viu-scroll-table-hint[hidden]{display:none}
@media(max-width:900px){
 body.viu-public .viu-magazine-header .viu-magazine-mast{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;row-gap:8px;min-height:0;height:auto;padding:12px 18px!important;align-items:center}
 body.viu-public .viu-magazine-header .viu-magazine-brand{grid-row:1;grid-column:1;display:flex;align-items:center;width:100%;min-height:32px;max-width:100%}
 body.viu-public .viu-magazine-header .viu-magazine-brand img{display:block;width:176px!important;height:auto!important;max-width:100%!important}
 body.viu-public .viu-magazine-header[data-viu-edition="info"] .viu-magazine-brand img{width:165px!important}
 body.viu-public .viu-magazine-header[data-viu-edition="kids"] .viu-magazine-brand img{width:120px!important}
 body.viu-public .viu-magazine-header[data-viu-edition="tviu"] .viu-magazine-brand img{width:130px!important}
 body.viu-public .viu-magazine-header[data-viu-edition="kitchen"] .viu-magazine-brand img,body.viu-public .viu-magazine-header[data-viu-edition="history"] .viu-magazine-brand img{width:min(320px,100%)!important}
 body.viu-public .viu-magazine-header .viu-group-tools{grid-row:2;grid-column:1;display:flex;align-items:center;justify-self:start;justify-content:flex-start;gap:8px;min-width:0;max-width:calc(100% - 66px);min-height:44px;margin:0}
 body.viu-public .viu-magazine-header .viu-language{flex:0 0 auto}
 body.viu-public .viu-magazine-header .viu-group-tools a.viu-reader-link{flex:0 1 auto!important;min-width:0;gap:7px}
 body.viu-public .viu-magazine-header .viu-reader-link svg{flex:0 0 18px}
 body.viu-public .viu-magazine-header .viu-reader-link span{display:block;min-width:0;max-width:150px;overflow:hidden;text-overflow:ellipsis}
 body.viu-public .viu-magazine-header .viu-magazine-explore summary{right:18px;bottom:12px;min-height:44px}
 body.viu-public .viu-magazine-explore>nav{max-height:calc(100dvh - var(--viu-ui-header-height,120px) - 12px);overscroll-behavior:contain}
 body.viu-public .viu-more-links a,body.viu-public .recipe-breadcrumb a,body.viu-public .recipe-ingredients>a,body.viu-public .kitchen-related>.section-heading>a{display:inline-flex;align-items:center;min-height:44px}
 body.viu-public .viu-reader-main{gap:18px;padding-top:24px}
 body.viu-public .viu-reader-intro{padding:0}
 body.viu-public .viu-reader-intro h1{font-size:32px!important;margin:8px 0 12px}
 body.viu-public .viu-reader-intro>p:not(.viu-reader-kicker){display:none}
 body.viu-public .viu-reader-intro>a{min-height:44px;display:inline-flex;align-items:center;margin-top:0}
 body.viu-public .viu-reader-panel h2{font-size:25px;margin-top:0}
}
@media(max-width:760px){
 body[data-staff-role] .staff-top :is(a,button),body[data-staff-role] .staff-nav .staff-nav-item{min-height:44px;box-sizing:border-box;display:flex;align-items:center}
 body[data-staff-role] .staff-top .staff-menu{display:flex}
 body[data-staff-role] .staff-top{gap:10px;padding:8px 16px;min-height:64px}
 body[data-staff-role] .staff-top>div{gap:14px}
 body[data-staff-role] .hi-columns,body[data-staff-role] .staff-team-grid{grid-template-columns:minmax(0,1fr)!important}
 body[data-staff-role] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-width:0;font-size:16px!important;box-sizing:border-box}
 body[data-staff-role] :is(.hi-panel,.staff-panel,.content-panel,.admin-main,.hi-main,fieldset){min-width:0;box-sizing:border-box}
 body[data-staff-role] :is(.staff-actions,.ads-campaign-actions,.ads-campaign-actions form){flex-wrap:wrap}
 body[data-staff-role] .staff-actions :is(button,select){min-height:44px;font-size:14px}
 body[data-staff-role] dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);box-sizing:border-box}
 body[data-staff-role].staff-menu-open .staff-nav{top:64px;height:calc(100dvh - 64px)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(display-mode:standalone){body{padding-bottom:env(safe-area-inset-bottom)}.viu-install-button{display:none!important}}
@media(max-width:760px){
 body[data-staff-role] .editor-dialog :is(button,.icon-btn),body[data-staff-role] .staff-nav input{min-height:44px}
 body[data-staff-role] .editor-dialog .icon-btn{min-width:44px}
 body[data-staff-role] .editor-toolbar{gap:6px;flex-wrap:wrap}
 body[data-staff-role] .editor-dialog .editor-footer{flex-wrap:wrap}
}
@media(max-width:760px){
 body[data-staff-role] .viu-scroll-table table{min-width:620px;width:100%}
 body[data-staff-role] .viu-scroll-table th,body[data-staff-role] .viu-scroll-table td{word-break:normal;overflow-wrap:normal}
 body[data-staff-role] .viu-scroll-table td :is(a,button){display:inline-flex;align-items:center;min-height:44px}
 body[data-staff-role] .viu-scroll-table td form{display:inline-block}
}
@media(max-width:900px){
 body.viu-public .viu-reader-panel .viu-reader-title-repeat{display:none}
 body.viu-public .viu-reader-panel nav a{display:flex;align-items:center;min-height:44px}
 body.viu-public .viu-reader-panel .viu-reader-links{gap:0}
}
