/* Tow Centre Mode 2: Yard Tiles. Every rule is scoped under html.mode-2 so
   this file is inert in Modes 1 and 3. Big tiles, big targets, no sidebar:
   navigation is the tab bar (bottom on phone, a strip under the header on
   desktop) and the More panel. */
html.mode-2 body{font-size:17px}
html.mode-2 .rail{display:none}
html.mode-2 .main{margin:58px 0 0 0;padding:20px 16px 110px}
html.mode-2 .card{border-radius:20px;padding:20px}
html.mode-2 .btn{min-height:56px;border-radius:16px}
html.mode-2 .btn.small{min-height:44px}
html.mode-2 input,html.mode-2 select,html.mode-2 textarea{min-height:56px;border-radius:16px}
html.mode-2 table th,html.mode-2 table td{padding:16px 12px}
html.mode-2 .topbar .tb-cname{font-weight:700;white-space:nowrap}
html.mode-2 .m2-alerts{background:var(--red);border-color:var(--red);border-radius:999px;font-weight:800}
html.mode-2 .m2-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--charcoal);display:flex}
html.mode-2 .m2-tabbar button{flex:1;min-height:64px;background:none;border:none;color:#d7d7da;font-weight:700;font-size:1rem}
html.mode-2 .m2-tabbar button.active{background:var(--red);color:#fff}
html.mode-2 .m2-more{position:fixed;left:0;right:0;top:58px;bottom:64px;overflow:auto;background:var(--wash);z-index:30;padding:16px}
html.mode-2 .m2-more[hidden]{display:none}
html.mode-2 .m2-more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
html.mode-2 .m2-more-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:14px}
html.mode-2 .m2-more-tile{min-height:64px;border-radius:16px;background:#fff;border:1px solid var(--line);font-weight:700;padding:12px;text-align:left;color:var(--ink)}
html.mode-2 .m2-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
html.mode-2 .m2-tile{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;text-align:left;min-height:110px;display:flex;flex-direction:column;gap:4px;color:var(--ink)}
html.mode-2 .m2-tile:hover{border-color:var(--red)}
html.mode-2 .m2-tile-num{font-size:2rem;font-weight:800;line-height:1.1}
html.mode-2 .m2-tile-label{font-weight:700}
html.mode-2 .m2-need{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 0;color:inherit;font-size:1rem}
html.mode-2 .m2-need.nav{cursor:pointer}
html.mode-2 .m2-plate{font-size:2rem;font-weight:800;color:var(--red);line-height:1.15}
html.mode-2 .m2-car-veh{font-size:1.15rem;font-weight:700}
html.mode-2 .board .col{border-radius:20px;padding:14px}
html.mode-2 .job{padding:16px;border-radius:16px}
html.mode-2 .rc2-counter{font-size:1.3rem;font-weight:800;margin:0}
html.mode-2 .rc2-item{display:block}
html.mode-2 .rc2-num{color:var(--red);font-weight:800;font-size:1.3rem;margin-right:8px}
html.mode-2 .rc2-name{font-weight:700;font-size:1.05rem}
html.mode-2 .rc2-opts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
html.mode-2 .rc2-opts button{flex:1 1 140px;min-height:56px;border-radius:14px;border:1px solid var(--line);background:#fff;font-weight:700;padding:0 14px;color:var(--ink)}
html.mode-2 .rc2-opts button.sel-pass{background:#e2f4e5;border-color:#14532d;color:#14532d}
html.mode-2 .rc2-opts button.sel-minor{background:#fdf0d5;border-color:#7a5b00;color:#7a5b00}
html.mode-2 .rc2-opts button.sel-major{background:var(--red);border-color:var(--red);color:#fff}
html.mode-2 .rc2-panel.minor{background:#fdf0d5;border-color:#e8cf8f}
html.mode-2 .rc2-panel.major{background:#fdecec;border-color:#f3b8bc}
html.mode-2 .rc2-submit.dim{opacity:.55}
html.mode-2 .authwrap{background:var(--charcoal)}
html.mode-2 .authcard{border-radius:20px}
html.mode-2 .authcard .btn{min-height:56px}
html.mode-2 .kv{font-size:1.02rem}
html.mode-2 .chip{min-height:44px}
@media(min-width:900px){
  html.mode-2 .m2-tabbar{top:58px;bottom:auto}
  html.mode-2 .main{margin:122px 0 0 0;padding-bottom:60px}
  html.mode-2 .m2-more{top:122px;bottom:0}
  html.mode-2 .m2-tiles{grid-template-columns:repeat(3,1fr)}
}
