#mobileDock{display:none}
@media(max-width:760px){
 html{scroll-padding-bottom:100px}body{overflow-wrap:anywhere;-webkit-text-size-adjust:100%}body main{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));max-width:100%}
 body aside{padding-top:calc(14px + env(safe-area-inset-top,0px))}body aside h2{font-size:17px}body aside h2 small{font-size:11px}
 body main>header{gap:12px;padding-top:16px;padding-bottom:16px;flex-wrap:wrap}body main>header>div{flex:1;min-width:150px}body main>header #add{min-height:44px;max-width:100%;padding:11px 14px;font-size:14px}body h1{font-size:24px;line-height:1.25;overflow-wrap:anywhere}body header .tag{font-size:9px;letter-spacing:1.3px}body header .muted{font-size:12px}
 body :is(input,select,textarea){font-size:16px;min-height:46px;width:100%;max-width:100%}body input:is([type=checkbox],[type=radio]){width:20px;height:20px;min-height:20px;flex:0 0 20px;vertical-align:middle;accent-color:var(--action)}body input[type=file]{font-size:13px;padding:10px;overflow:hidden}body :is(button,a.secondary){min-height:44px;touch-action:manipulation}body button{white-space:normal;line-height:1.4}body label{line-height:1.5}
 body .two{grid-template-columns:minmax(0,1fr)}body .two>*,body .grid>*,body .stats>*{min-width:0}body .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body .stats{gap:10px}body :is(.stat,.panel,.card){padding:16px;border-radius:12px;max-width:100%}body .stat strong{font-size:25px;margin-top:8px}body .stat small{font-size:12px}body .price{font-size:20px}body .toolbar{flex-wrap:wrap;gap:10px}body .toolbar>:is(input,select){flex:1 1 160px}body .row{gap:10px}body .row>button{flex:0 1 auto}body .pubtabs{padding-bottom:5px}body .pubtabs button{min-height:44px}body .pubimages{grid-template-columns:repeat(2,minmax(0,1fr))}body fieldset{min-width:0;margin:0;padding:12px}body .rollform{grid-template-columns:minmax(0,1fr)}
 body dialog{width:calc(100vw - 20px);max-width:560px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;padding:20px;border-radius:16px;scroll-padding-bottom:85px}body dialog h2{font-size:20px;margin-top:0}body dialog form{gap:16px}body #modal form>.row:last-child{position:sticky;bottom:-20px;background:#fff;border-top:1px solid var(--line);margin:2px -20px -20px;padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));z-index:2;flex-wrap:nowrap}body #modal form>.row:last-child button{flex:1;min-width:0}body #modal :is(input,select,textarea){scroll-margin:65px 0 100px}
 body .scroll,body .tablewrap{max-width:100%;overscroll-behavior-x:contain}body :is(td,th){padding:11px 8px;font-size:13px}body table.mobile-table{display:block;border:0;background:transparent}body table.mobile-table tbody{display:block}body table.mobile-table tr:first-child:has(th){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body table.mobile-table tr:has(td){display:block;border:1px solid var(--line);background:#fff;border-radius:10px;margin:0 0 12px;padding:5px 12px}body table.mobile-table td{display:grid;grid-template-columns:minmax(90px,.9fr) minmax(0,1.3fr);gap:12px;align-items:start;border:0;border-bottom:1px solid #edf1f4;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important;padding:10px 0}body table.mobile-table td:last-child{border-bottom:0}body table.mobile-table td::before{content:attr(data-label);font-size:11px;font-weight:650;color:#617486;line-height:1.7}body table.mobile-table td>*{min-width:0;max-width:100%}
 body #mobileDock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:40;background:#fff;border-top:1px solid #dbe6eb;padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));box-shadow:0 -3px 18px #102a3b0b}body #mobileDock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:50px;padding:5px 2px;background:transparent;color:#627686;border:0;border-radius:10px;font-size:10px;line-height:1.3;font-weight:600;filter:none}body #mobileDock button[aria-current=page]{background:#e7f5f1;color:#0b625b}body #mobileDock svg{width:20px;height:20px;flex:0 0 20px}body:has(dialog[open]) #mobileDock,body.mobile-keyboard #mobileDock{display:none}body #toast{bottom:calc(85px + env(safe-area-inset-bottom,0px));left:14px;right:14px;max-width:none;font-size:13px;z-index:50}
}
@media(max-width:480px){body .grid{grid-template-columns:minmax(0,1fr)}body .stats{grid-template-columns:repeat(2,minmax(0,1fr))}body main{padding-left:14px;padding-right:14px}body main>header{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}body main>header .muted{display:none}body .carart{height:90px}body .panel h2{font-size:18px}body #mobileDock button{font-size:10px}}
@media print{#mobileDock{display:none!important}body table.mobile-table{display:table}body table.mobile-table tbody{display:table-row-group}body table.mobile-table tr{display:table-row!important;position:static!important;clip-path:none!important;width:auto!important;height:auto!important}body table.mobile-table td{display:table-cell}body table.mobile-table td::before{display:none}}
