#dock,.touchTabs{display:none}.menuList{display:grid;gap:5px}.menuList button{text-align:left}#utility h2{margin-bottom:12px}
@media screen and (max-width:850px){
html,body{overflow-x:clip}body{min-height:100dvh}.shell{display:block}aside{display:none}
header{position:sticky;top:0;z-index:4;height:auto;min-height:52px;padding:calc(7px + env(safe-area-inset-top)) 14px 7px;background:#0d2240;color:white}
header>span{font-weight:bold;font-size:17px;display:flex;align-items:center;gap:8px}header img{width:32px;height:32px}#stat{color:#caf3ef;font-size:12px}
main{padding:18px 12px calc(90px + env(safe-area-inset-bottom))}h1{font-size:27px}.heading{margin-bottom:14px}.heading button{margin-left:auto}
#dock{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:5;background:#0d2240;padding:5px 5px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px #0d22401a}
#dock button{display:grid;align-content:center;justify-items:center;gap:2px;padding:3px 0;min-width:0;min-height:48px;font-size:11px;border:0;background:transparent;color:#def3ff}#dock button b{font-size:19px;color:#69c8f3}#dock button.active{background:#214262;color:white}
button,input:not([type=checkbox]),select{min-height:44px}label:has(input[type=checkbox]){min-height:44px}input,select,textarea{font-size:16px}input[type=checkbox]{width:20px;height:20px}
.editor,.editionEditor,.structureEditor{display:flex;flex-direction:column;gap:12px}.editor>*,.editionEditor>*,.structureEditor>*{width:100%;min-width:0}.row{flex-wrap:wrap}.form{grid-template-columns:1fr}.panel{padding:14px}.form .wide{grid-column:auto}.bar{gap:6px}.bar>select,.bar>input,#jumpPage{max-width:100%}
.touchTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;background:#dde7ed;padding:4px;border-radius:9px;margin-bottom:10px}.touchTabs button{border:0;background:transparent}.touchTabs [aria-pressed=true]{background:white}
main[data-pane=fields]>.editor:not(.editionEditor):not(.structureEditor) .panel:has(.drop),main[data-pane=fields]>.editor:not(.editionEditor):not(.structureEditor)>.previewcol,
main[data-pane=photos]>.editor:not(.editionEditor):not(.structureEditor) .form,main[data-pane=photos]>.editor:not(.editionEditor):not(.structureEditor)>.previewcol,
main[data-pane=proof]>.editor:not(.editionEditor):not(.structureEditor)>div:first-child{display:none}
.previewcol{position:static;padding:8px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile img{height:106px}.tile section{padding:10px}.tile h3{font-size:15px}.coverHero{padding:20px;min-height:145px}.coverHero h2{font-size:30px}.views{display:grid;grid-template-columns:1fr}.views .template{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 12px}.template .frame{grid-row:span 2}.structureEditor .row input[type=text]{flex-basis:100%}.structureEditor .row label{flex:1}.thumbs button{min-width:55px}
dialog{padding:15px;max-height:88dvh}.markerArea .pin:before{content:'';position:absolute;inset:-10px}.markerArea{touch-action:none}.markerArea .pin{width:28px;height:28px}.drop{min-height:72px;display:grid;place-items:center}
#notice{bottom:calc(75px + env(safe-area-inset-bottom));right:10px}.previewNav{flex-wrap:wrap}.template h3{align-self:end}.template>span{align-self:start}.pageForm select{width:100%}
}
@media print{#dock,#utility,.touchTabs{display:none!important}}

