/* Shared mobile layout. Desktop tables retain their usual presentation. */
input,select,textarea,button{font-family:inherit}
button,input[type=submit],select{min-height:44px}
img{max-width:100%}
.report-wrap{max-width:1000px;margin:20px auto;padding:0 14px 30px;font-family:Arial,sans-serif;color:#111827}
.report-wrap h1{font-size:26px;color:#14532d}
.report-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.report-nav a,.report-filter button{display:inline-block;padding:13px 16px;background:#14532d;color:#fff;text-decoration:none;border:0;border-radius:12px;font-weight:700}
.report-filter{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0;align-items:end}
.report-filter label{display:grid;gap:6px}
.report-filter select{padding:10px;border:1px solid #ccc;border-radius:10px;background:white;font-size:16px}
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.report-card{padding:20px;border:1px solid #dce8df;background:white;border-radius:16px;min-width:0;overflow-wrap:anywhere}
.report-card h2{font-size:20px;margin:0 0 12px}
.report-card .money{font-size:24px;font-weight:800;color:#14532d;margin:8px 0}
.report-card p{line-height:1.5;margin:8px 0}
.report-card a{display:inline-block;padding:12px 0;color:#14532d;font-weight:bold}
.report-muted{color:#4b5563;line-height:1.5}
@media(max-width:700px){
 input,select,textarea{font-size:16px!important;max-width:100%}
 .report-grid{grid-template-columns:minmax(0,1fr)}
 .report-nav a{flex:1;text-align:center}
 .report-filter label{flex:1;min-width:120px}
 .report-filter button{width:100%}
 .table-wrap{overflow:visible!important}
 table.mobile-cards{display:block;min-width:0!important;width:100%!important}
 table.mobile-cards tbody{display:block}
 table.mobile-cards tr{display:block;margin:0 0 14px;padding:12px;background:white;border:1px solid #dce8df;border-radius:14px}
 table.mobile-cards tr:has(th){display:none}
 table.mobile-cards td{display:grid;grid-template-columns:minmax(90px,35%) minmax(0,1fr);gap:10px;text-align:left!important;padding:10px 4px!important;min-width:0!important;overflow-wrap:anywhere;align-items:center}
 table.mobile-cards td::before{content:attr(data-label);font-weight:700;color:#4b5563;font-size:13px}
 table.mobile-cards td[colspan]{display:block}
 table.mobile-cards td[colspan]::before{content:none}
 table.mobile-cards .menu-name{display:block;font-size:18px}
 table.mobile-cards .menu-name::before{content:none}
 table.mobile-cards .menu-url{display:none}
 .card:has(table.mobile-cards){overflow:visible}
}
@media(max-width:600px){
 .page-products .grid{grid-template-columns:minmax(0,1fr)}
 .page-products .card-main{flex-direction:column;gap:16px}
 .page-products .card-main>div{width:100%;min-width:0}
 .page-products .photo{width:100%;height:200px;min-width:0}
 .page-products .photo img{object-fit:contain}
 .page-products .choose-wrap{width:100%}
 .page-products .info{padding-right:0;overflow-wrap:anywhere}
 .page-products .card-menu-btn{z-index:1}
 .page-bron .item{flex-direction:column}
 .page-bron .item-info{padding-top:0;width:100%}
 .page-bron .item-left{width:100%;min-width:0}
 .page-bron .item-name{width:auto;min-width:0}
 .page-bron .item-photo{width:100%;min-width:0;height:180px}
 .page-bron .item-photo img{object-fit:contain}
 .page-bron .cancel-btn{width:100%;min-width:0}
 .page-bron .line{flex-wrap:wrap}
 .page-bron .place-actions{grid-template-columns:minmax(0,1fr)}
}
