/* Every menu section uses the same centred sheet footprint as the map. */
html:has(>body.section-mode){background:#2a2e2d}
body.section-mode{
  width:min(calc(100% - 32px),calc((100svh - 32px)*1.4));
  height:calc(100svh - 32px);min-height:0;margin:16px auto;padding:0;
  display:grid;grid-template-columns:190px minmax(0,1fr);overflow:hidden;
  background:#f5f2e8;border:1px solid #d2d4c4;box-shadow:0 9px 35px #12202433;
}
.section-mode .sidebar{
  position:relative;inset:auto;width:auto;height:100%;min-height:0;
  padding:28px 18px 20px;border-right:1px solid var(--line);overflow-y:auto;
}
.section-mode .brand{font-size:19px;gap:10px}
.section-mode .brand-mark{font-size:39px}
.section-mode .side-label{font-size:6.5px;letter-spacing:.7px;margin:28px 0 15px}
.section-mode #navigation{flex-direction:column;gap:4px;margin:0;padding:0;overflow:visible}
.section-mode .nav-link{font-size:11px;padding:11px 12px;gap:10px}
.section-mode .nav-link>span{font-size:11px}
.section-mode .nav-link .icon{height:17px;width:17px}
.section-mode .nav-separator{margin:10px 8px}
.section-mode .sidebar-bottom{padding-top:24px}
.section-mode .side-sketch{max-width:125px}
.section-mode .sidebar-bottom p{font-size:13px}
.section-mode .local-badge{font-size:7px;white-space:normal;line-height:1.6}
.section-mode main{
  margin:0;padding:0 30px;max-width:none;width:100%;height:100%;min-width:0;min-height:0;
  display:flex;flex-direction:column;overflow:hidden;
}
.section-mode .topbar{height:54px;min-height:54px;gap:14px}
.section-mode .breadcrumb{font-size:8px;letter-spacing:.7px}
.section-mode .season{font-size:7px;letter-spacing:.7px}
.section-mode .page-heading{flex-shrink:0;padding:26px 0 24px;align-items:center}
.section-mode .page-heading h1{font-family:'Neucha',sans-serif;font-size:36px;letter-spacing:0;max-width:none;margin-top:9px}
.section-mode .page-heading p{font-size:11px;line-height:1.7;max-width:520px}
.section-mode #page-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:20px}
.section-mode .section-page{min-height:100%;display:flex;flex-direction:column}
.section-mode .section-page>.empty-card{flex:1;min-height:260px}
.section-mode .packing-page{max-width:none}
.section-mode .packing-page .packing{flex:1;min-height:260px}
.section-mode main>footer{flex-shrink:0;padding:15px 0;border-top:1px solid var(--line);font-size:8px}
@media(max-width:900px){
  body.section-mode{grid-template-columns:164px minmax(0,1fr)}
  .section-mode .sidebar{padding:23px 12px 16px}
  .section-mode main{padding:0 22px}
  .section-mode .brand{font-size:17px;letter-spacing:-.5px}
  .section-mode .brand-mark{font-size:34px}
  .section-mode .side-label{font-size:6px;letter-spacing:.35px}
  .section-mode .topbar .season{display:none}
  .section-mode .page-heading h1{font-size:31px}
  .section-mode .page-heading p{font-size:10px}
}
@media(max-width:720px){
  body.section-mode{width:calc(100% - 24px);height:calc(100svh - 24px);margin:12px auto;display:flex;flex-direction:column}
  .section-mode .sidebar{position:static;display:block;width:100%;height:auto;flex-shrink:0;overflow:visible;padding:14px 15px 0;border-right:0;border-bottom:1px solid var(--line)}
  .section-mode .brand{font-size:16px;gap:8px}
  .section-mode .brand-mark{font-size:27px}
  .section-mode .brand>span:last-child{display:flex;align-items:center;gap:5px}
  .section-mode .brand br,.section-mode .side-label,.section-mode .sidebar-bottom{display:none}
  .section-mode #navigation{flex-direction:row;gap:3px;margin-top:12px;padding-bottom:10px;overflow-x:auto}
  .section-mode .nav-link{flex-shrink:0;padding:8px 10px;gap:6px}
  .section-mode .nav-link>span{font-size:10px}
  .section-mode .nav-link .icon{height:14px;width:14px}
  .section-mode .nav-separator{display:none}
  .section-mode main{height:auto;flex:1;padding:0 18px}
  .section-mode .topbar{height:38px;min-height:38px}
  .section-mode .breadcrumb{font-size:6px;letter-spacing:.5px}
  .section-mode .page-heading{padding:20px 0;gap:10px;align-items:flex-start}
  .section-mode .page-heading h1{font-size:29px;margin:8px 0}
  .section-mode .page-heading p{font-size:10px;max-width:none}
  .section-mode .page-heading>.button{font-size:0;width:34px;min-height:34px;padding:5px;margin-top:23px;flex-shrink:0}
  .section-mode .page-heading>.button span{font-size:22px}
  .section-mode .section-page>.empty-card,.section-mode .packing-page .packing{min-height:220px}
  .section-mode .section-page>.empty-card h3{font-size:22px}
  .section-mode .section-page>.empty-card p{font-size:11px}
  .section-mode main>footer{padding:12px 0;font-size:7px}
  .section-mode main>footer>span:last-child{display:none}
}
