/* Office home (UX-A): this device's till first, the setup card in one line, the pages as compact tiles;
   on a phone the tiles are a list. */
.homepg{max-width:1120px}
.hm-h1{margin:0 0 6px;font-size:24px;letter-spacing:-.015em}
.hm-till{display:flex;align-items:center;gap:16px;padding:18px 20px;margin:0 0 8px;text-decoration:none;border-color:var(--accent)}
.hm-till>span:first-child{flex:1;min-width:0}
.hm-till b{display:block;font-size:18px}
.hm-till small{display:block;color:var(--muted);margin-top:2px}
.hm-till .btn{min-height:48px;padding:0 22px;font-size:16px}
.hm-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.hm-grid a{padding:14px 16px;min-height:44px}
.hm-grid b{font-size:16px;margin-bottom:2px}
.hm-grid small{color:var(--muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hm-note{margin-top:22px}
/* the setup card (onboarding/_home_card.html) */
.hm-setup{display:flex;align-items:center;gap:16px;padding:16px 20px;margin:0 0 8px;text-decoration:none}
.hm-setup>span:first-child{flex:1;min-width:0}
.hm-setup b{display:block;font-size:16px}
.hm-setup small{display:block;color:var(--muted);margin-top:2px}
.hm-setup.todo{border-color:var(--accent)}
.hm-setup.warn{border-color:var(--amber-line)}
.hm-setup .btn{min-height:44px;flex:none}
.hm-bar{display:block;height:8px;border-radius:999px;background:var(--sunk);overflow:hidden;margin-top:8px;max-width:360px}
.hm-bar i{display:block;height:100%;background:var(--accent);border-radius:inherit}
@media (max-width:720px){
  .hm-till,.hm-setup{flex-wrap:wrap;padding:16px}
  .hm-till .btn,.hm-setup .btn{width:100%}
  .home-h{margin:18px 0 6px}
  .hm-grid{grid-template-columns:1fr;gap:0}
  .hm-grid a{display:flex;align-items:center;min-height:52px;padding:0 16px;border-radius:0;border-bottom-width:0;box-shadow:none}
  .hm-grid a:first-child{border-radius:12px 12px 0 0}
  .hm-grid a:last-child{border-radius:0 0 12px 12px;border-bottom-width:1px}
  .hm-grid a:only-child{border-radius:12px}
  .hm-grid a::after{content:"›";margin-left:auto;color:var(--muted);font-size:20px}
  .hm-grid b{margin:0;font-size:16px}
  .hm-grid small{display:none}
}
