.employee-name{display:block;color:var(--muted);margin-top:3px}
.import-help{font-size:13px;color:var(--muted);max-width:820px}
#import-table{max-height:360px;margin:16px 0}
#import-report p{margin-bottom:8px;font-size:13px}
#import-commit{margin-top:8px}
#admin-users td:last-child{min-width:160px}
#admin-users td:last-child button{display:block;margin:5px 0;text-align:left}

@media(max-width:800px){
  .topbar{min-height:44px;padding:6px 10px;gap:4px 10px;flex-wrap:wrap}
  .brand{font-size:14px;gap:7px;line-height:1.2}
  .brand small{display:none}
  .brand-icon{width:27px;height:27px;font-size:18px;border-radius:8px}
  .account{gap:6px;max-width:58%}
  .account span{font-size:11px;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .account .secondary{padding:5px 10px;font-size:12px}
  .topbar nav{display:none}
  body.authenticated .topbar nav{display:flex;flex-basis:100%;margin:1px 0 0;gap:5px}
  .nav{font-size:11px;padding:5px 8px}
  main{padding:6px 8px 12px;min-height:0}
  #map-page .page-heading{margin:0 0 6px;gap:0}
  #map-page .page-heading>div:first-child{display:none}
  .date-picker{padding:3px 6px;border-radius:8px;gap:6px;height:39px}
  .date-picker label>span{display:none}
  .date-picker label{flex:1;text-align:center}
  .date-picker input{font-size:14px;padding:0;margin:0 auto;width:auto;min-width:135px}
  .date-picker .icon-button{height:30px;font-size:22px}
  .workspace{gap:8px}
  .plan-panel{display:flex;flex-direction:column;border-radius:10px}
  .plan-top{order:0;padding:7px 10px 3px;align-items:center}
  .plan-top h2{display:none}
  .plan-top p,.plan-top .text-button{font-size:11px}
  .plan-controls{order:1;padding:4px 8px;flex-wrap:nowrap;gap:6px}
  .view-toggle{padding:2px;gap:2px}
  .view-toggle button{font-size:11px;padding:5px 9px}
  .zoom-controls{gap:3px}
  .zoom-controls button{font-size:10px;padding:3px 6px}
  .zoom-controls button:first-child,.zoom-controls button:last-child{font-size:16px;min-width:26px;line-height:18px}
  .legend{order:2;padding:3px 10px;gap:10px;font-size:10px}
  .legend span{gap:4px;white-space:nowrap}
  .legend i{width:8px;height:8px;border-radius:2px}
  #map{order:3;padding:3px 4px;min-height:0;max-height:calc(100svh - 220px)}
  #map svg{min-width:0;width:100%;height:auto}
  #weeks-overview{order:3;margin:6px 8px;max-height:calc(100svh - 240px)}
  #week-strip{order:4;margin:2px 8px 4px;padding:2px 1px 5px;gap:3px}
  .week-tile{min-width:35px;padding:3px 2px;gap:0;border-radius:5px}
  .week-tile span{font-size:9px}
  .week-tile strong{font-size:12px}
  .week-tile small{display:none}
  .quick-seat-label{order:5;display:flex;margin:2px 10px 8px;align-items:center;justify-content:space-between;gap:12px;font-size:11px}
  .quick-seat-label select{flex:1;max-width:200px;font-size:13px;padding:5px 8px;margin:0;height:31px}
  .plan-foot{display:none}
  body:not(.has-selection) #map-page aside{display:none}
  .selection{padding:11px 12px;border-radius:10px}
  .selection>.eyebrow,.selection #seat-date{display:none}
  .selection h2{font-size:18px;margin-bottom:5px}
  .selection p{font-size:12px;margin-bottom:8px}
  .selection .primary,.selection .danger{font-size:13px;padding:8px 10px;min-height:36px}
  .selection .booking-summary{padding:7px 9px}
  .future-panel{margin-top:8px;padding:12px}
  .future-panel h3{font-size:12px;margin-bottom:4px}
  #future-seat-label{display:none}
  .calendar-week-title{font-size:9px!important;margin:7px 0 5px}
  .calendar-grid{gap:4px}
  .calendar-weekday{font-size:10px}
  .calendar-day{height:28px;font-size:12px}
  .aside-note,footer{display:none}
  #notice{padding:7px 10px;margin-bottom:6px;font-size:12px}
  #admin-page .page-heading,#mine-page .page-heading{margin:12px 4px}
  #admin-page h1,#mine-page h1{font-size:24px}
  .surface{padding:14px;margin-bottom:10px}
  .surface h2{font-size:17px}
  .assignment-form{margin:12px 0;gap:10px}
  .surface>p{font-size:12px}
}
