/* Phone layout (screens up to 700px wide). Desktop styles are in style.css. */
#day-select{display:none}
#burger{display:none}
@media (max-width:700px){
  header{position:static;gap:.5rem;padding:.6rem}
  h1{font-size:1.15rem}
  .bars{order:5;flex-basis:100%}
  .brow{gap:.6rem}
  .tools{order:4;flex-basis:100%;display:none;flex-direction:column;gap:.2rem}
  header.menu-open .tools{display:flex}
  .tools button,.tools .btn{width:100%;height:2.8rem;justify-content:flex-start;gap:.8rem;padding:0 .8rem;font-size:.95rem}
  .tools button::after,.tools .btn::after{content:attr(title)}
  #burger{display:inline-flex;order:3;align-items:center;justify-content:center;width:2.3rem;height:2.3rem;padding:0}
  #burger svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  #year{order:2}
  #year{margin-left:auto}
  #day-select{display:block;order:6;flex-basis:100%;width:100%;height:2.8rem;font:inherit;font-size:16px;padding:0 .6rem;border:0;border-radius:6px;background:var(--btn-bg);color:var(--btn-fg)}
  main{flex-direction:column;padding:.6rem}
  #grid{display:none}
  #panel{position:static;max-height:none;overflow:visible;align-self:stretch;width:auto}
  #close{display:none}
  #panel input:not([type=checkbox]),#panel textarea{font-size:16px}
  #panel .check{padding:.3rem 0}
  #panel input[type=checkbox]{width:1.4rem;height:1.4rem}
  .photo-add .btn{padding:.6rem 1rem}
  .ph button{padding:.5rem 1rem}
  #preview.full{width:100vw;pointer-events:auto;cursor:zoom-out}
}
