/* Guardman UI system: shared visual rules for every guardman-facing screen. */
:root {
  --gm-primary:#1a2b52;--gm-primary-soft:#e8edf6;--gm-action:#176df5;
  --gm-success:#20a854;--gm-danger:#b42331;--gm-text:#2f3135;
  --gm-text-secondary:#59616e;--gm-text-muted:#818896;--gm-border:#d9dde4;
  --gm-border-soft:#e7e9ed;--gm-surface:#fff;--gm-background:#f7f8fa;
  --gm-radius:8px;--gm-space-1:4px;--gm-space-2:8px;--gm-space-3:12px;
  --gm-space-4:16px;--gm-space-5:20px;--gm-control-height:52px;
  --gm-subpage-top-space:16px;
  --act-primary:var(--gm-primary);--act-text:var(--gm-text);
  --act-text-secondary:var(--gm-text-secondary);--act-border:var(--gm-border);
}
body{color:var(--gm-text);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}

/* App frame and navigation */
.app,.register-page,.verify-page{background:var(--gm-background)}
.g-login{background:var(--gm-primary)}
.topbar,.register-bar,.verify-bar{height:56px;background:var(--gm-primary);color:#fff}
.topbar h1,.register-bar h1,.verify-bar h1{font-size:18px;font-weight:600;line-height:1.25}
.iconbtn,.register-back,.verify-back{min-width:48px;min-height:48px}
.main{padding:var(--gm-space-4) var(--gm-space-4) 88px;background:var(--gm-background)}
.topbar.subpage+.main{padding-top:var(--gm-subpage-top-space)}
.bottomnav{height:64px;border-top:1px solid var(--gm-border-soft);background:#fff;}
.navbtn{gap:2px;background:#fff;color:#929dae;font-size:12px;font-weight:500}
.navbtn.active{color:var(--gm-primary);font-weight:700}

/* Page hierarchy */
.section-head{min-height:36px;margin:var(--gm-space-5) 0 var(--gm-space-3);padding:0 0 var(--gm-space-2);border-bottom:1px solid var(--gm-primary);color:var(--gm-text);font-size:17px;font-weight:700;line-height:1.4}
.section-head:first-child{margin-top:0}.section-head small{color:var(--gm-text-secondary);font-size:13px;font-weight:500}
.site-title{color:var(--gm-text);font-size:17px;font-weight:700;line-height:1.45}
.contractor{color:var(--gm-text-secondary);font-size:14px;font-weight:500}

/* Surfaces and data rows */
.card,.summarybox,.qualification-table{margin-bottom:var(--gm-space-3);border:1px solid var(--gm-border);border-radius:var(--gm-radius);background:var(--gm-surface);}
.card{padding:14px}.member,.vehicle-card,.confirm-member,.confirm-vehicle{overflow:hidden;padding:0}
.memberhead,.summarybox h3,.qualification-table p:first-child{min-height:44px;padding:10px 14px;background:var(--gm-primary-soft);color:var(--gm-text);font-size:14px;font-weight:600}
.rows{margin-top:10px}.row{grid-template-columns:108px minmax(0,1fr);gap:12px;min-height:52px;padding:12px 0;align-items:center;border-top:1px solid var(--gm-border-soft);font-size:16px}
.row:first-child{border-top:0}.row dt{color:var(--gm-text-secondary);font-weight:600}.row dd{color:var(--gm-text);font-weight:400;line-height:1.55}
.row a{color:#075fc9;font-weight:600}
.home-site-card{overflow:hidden;padding:0 0 14px;}.home-site-header{padding:16px 14px 12px;border-bottom:0}
.home-site-header h2,.home-site-header p{margin:0}.home-site-header .contractor{margin-top:2px}.home-site-date{margin-top:7px!important;color:var(--gm-text-secondary);font-size:15px;font-weight:500}
.home-date{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 14px;border-bottom:1px solid var(--gm-border-soft)}
.home-date span,.home-time-grid span,.home-detail-block>span,.home-crew-grid span{display:block;color:var(--gm-text-secondary);font-size:14px;font-weight:600}
.home-date strong{font-size:16px;font-weight:500;text-align:right}.home-time-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:0 14px 8px;border:0;border-radius:8px;background:var(--gm-primary-soft)}
.home-time-grid.member-times{grid-template-columns:repeat(2,1fr)}
.home-time-grid>div{padding:11px 8px;text-align:center}
.home-time-grid strong{display:block;margin-top:2px;color:var(--gm-text);font-size:18px;font-weight:600}
.home-detail-block{margin:0 14px;padding:12px 0;border-bottom:1px solid var(--gm-border-soft)}.home-site-card>.home-detail-block:last-child{border-bottom:0}.home-detail-block>span{color:var(--gm-primary);font-size:15px;font-weight:700}.home-detail-block a,.home-detail-block p{display:block;margin:5px 0 0;color:var(--gm-text);font-size:16px;font-weight:400;line-height:1.65}
.home-note-block{margin-top:4px;padding:12px;border-radius:8px;background:#f2f4f7}
.home-detail-block a{color:#075fc9;font-weight:600}.home-crew-grid{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--gm-border-soft)}
.home-crew-grid>div{min-width:0;padding:12px 8px;text-align:center;border-left:1px solid var(--gm-border-soft)}.home-crew-grid>div:first-child{border-left:0}
.home-crew-grid strong{display:block;margin-top:3px;overflow-wrap:anywhere;font-size:15px;font-weight:600}.home-site-card .report-call{margin:14px}
.home-info-list{display:grid;margin:8px 14px;padding:4px 0;border-bottom:1px solid var(--gm-border-soft)}.home-info-list>div{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;min-height:42px;border-top:1px solid var(--gm-border-soft)}.home-info-list>div:first-child{border-top:0}.home-info-list span{color:var(--gm-primary);font-size:15px;font-weight:700}.home-info-list strong{font-size:16px;font-weight:500;text-align:right}
.home-report-action.report-call{
  margin-top:14px;
  padding:14px;
  border:1px solid #efc34a;
  border-radius:12px;
  background:#fffaf0
}
.home-report-action.report-call p{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:var(--gm-danger);
  font-size:16px;
  font-weight:700
}
.home-report-action.report-call .material-symbols-outlined{font-size:20px}
.home-report-action.report-call .fullbtn{
  width:100%;
  min-height:48px;
  padding:0 16px;
  border-radius:8px;
  font-size:16px
}

/* Controls */
.fullbtn,.ghostbtn,.act-button{min-height:var(--gm-control-height);padding:0 16px;border-radius:var(--gm-radius);font-size:16px;font-weight:700}
.fullbtn,.act-button{border:1px solid var(--gm-primary);background:var(--gm-primary);color:#fff}
.fullbtn.secondary,.ghostbtn{border:1px solid var(--gm-border);background:#fff;color:var(--gm-primary)}
.fullbtn.success{border-color:var(--gm-success);background:var(--gm-success)}
.fullbtn:disabled,.act-button:disabled,.bigbtn:disabled{border-color:#c9cdd4;background:#c9cdd4;color:#747b87}
.bigbtn{min-height:56px;border:0;border-radius:var(--gm-radius);background:var(--gm-action);color:#fff;font-size:19px;font-weight:700}
.bigbtn.danger{background:var(--gm-action)}.bigbtn.danger:disabled{background:#c9cdd4;color:#747b87}.btns{gap:var(--gm-space-3)}
.field{margin-bottom:var(--gm-space-4);padding-bottom:var(--gm-space-4);border-bottom:1px solid var(--gm-border-soft)}
.field>span,.act-label,.rating-label{margin-bottom:var(--gm-space-2);color:var(--gm-text);font-size:14px;font-weight:700}
.field input,.field select,.field textarea,.act-input,.act-select,.act-textarea,.rating-comment,.external-worker-name input,.timegrid input{min-height:48px;border:1px solid var(--gm-border);border-radius:var(--gm-radius);background:#fff;color:var(--gm-text);font-size:16px}
.field input,.field select,.field textarea,.act-input,.act-select,.act-textarea{padding:10px 12px}
.field input:focus,.field select:focus,.field textarea:focus,.act-input:focus,.act-select:focus,.act-textarea:focus,.rating-comment:focus{border-color:var(--gm-action);outline:3px solid rgba(23,109,245,.18);outline-offset:1px}

/* Feedback */
.notice,.status{min-height:48px;margin-bottom:var(--gm-space-3);padding:11px 14px;border-radius:var(--gm-radius);font-size:14px;line-height:1.5}
.notice{border:1px solid #e4ad29;background:#fff9e8;color:#704b00;font-weight:600}
.notice.red,.confirm-callout{border-color:#edc8cd!important;background:#fff0f1!important;color:var(--gm-danger)!important}
.status{border:1px solid #31b85b;background:#eefaf1;color:#168744;font-weight:700}
#clockStatus .notice{display:flex;align-items:center;gap:10px}
#clockStatus .notice .material-symbols-outlined{flex:0 0 auto;margin:0!important;font-size:24px;line-height:1}

/* Requests, schedule and menus */
.request-card{overflow:hidden;padding:0}
.request-card summary{display:flex;align-items:center;gap:10px;min-height:0;padding:14px}
.request-card summary>div{min-width:0;flex:1}
.request-card summary>.material-symbols-outlined{flex:0 0 auto;color:var(--gm-text-secondary);transition:transform .2s}
.request-card[open] summary{border-bottom:0}
.request-card[open] summary>.material-symbols-outlined{transform:rotate(180deg)}
.request-summary-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.request-date{color:var(--gm-text);font-size:15px;font-weight:700}
.request-status{display:inline-flex;align-items:center;min-height:24px;padding:1px 8px;border-radius:999px;background:#fff1cd;color:#775000;font-size:12px;font-weight:700}
.request-status.report{background:#e7efff;color:#174ea6}
.request-card .site-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.request-card .contractor{margin:1px 0 0}
.request-summary-times{margin:7px 0 0;color:var(--gm-text-secondary);font-size:13px;font-weight:500}
.request-card .reqbody{padding:12px;border-top:0;background:var(--gm-background)}
.request-card .reqbody .home-time-grid{margin:0 0 10px}
.request-card .reqbody .home-block-card{margin-bottom:10px}
.request-card .reqbody .card,
.schedule-job-detail>.card{
  }
.request-card .reqbody .home-info-list{margin:0}
.request-actions{display:grid;gap:10px}
.request-actions>.fullbtn{min-height:48px}
.request-list-empty{
  display:grid;
  min-height:calc(min(861px,100dvh) - 152px);
  place-items:center
}
.home-schedule-empty,
.request-empty-card{
  width:100%;
  margin:0;
  padding:28px 16px;
  text-align:center
}
.home-schedule-empty .material-symbols-outlined,
.request-empty-card .material-symbols-outlined{
  display:block;
  margin-bottom:12px;
  color:#8b96a8;
  font-size:40px
}
.home-schedule-empty strong,
.request-empty-card strong{display:block;color:var(--gm-primary);font-size:20px}
.home-schedule-empty p,
.request-empty-card p{margin:7px 0 0;color:var(--gm-text-secondary);font-size:15px}
.home-schedule-empty .fullbtn,
.request-empty-card .fullbtn{min-height:50px;margin-top:18px}
.request-report-link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:42px;
  border:0;
  background:transparent;
  color:var(--gm-primary);
  font-size:14px;
  font-weight:700
}
.request-report-link .material-symbols-outlined{font-size:18px}
.schedule-report-review{
  width:100%;
  min-height:56px;
  margin-top:10px;
  border:1px solid var(--gm-primary);
  border-radius:10px;
  background:#fff;
  color:var(--gm-primary);
  font-size:16px;
  font-weight:700
}
.schedule-report-review .material-symbols-outlined{font-size:22px}
.dev-list .dev-list-heading{
  margin-top:14px;
  margin-left:-18px;
  list-style:none;
  color:var(--gm-primary);
  font-weight:700
}
.dev-list .dev-list-heading:first-child{margin-top:0}
.schedule-day-card summary{min-height:64px;padding:12px 14px}
.date-group{color:var(--gm-text);font-size:18px;font-weight:700}
body[data-view="requests"] .main{padding-top:12px}
body[data-view="requests"] .date-group:first-child{margin-top:0}
body[data-view="mypage"] .main{padding-top:0}
.menu{margin:0}.menu button{min-height:56px;padding:0;border-bottom:1px solid var(--gm-border);color:var(--gm-text);font-size:16px;font-weight:500}
.calbar strong{color:var(--gm-text);font-size:18px;font-weight:700}
.travel{min-height:40px;border-radius:var(--gm-radius);background:var(--gm-primary);font-weight:700}

/* Notifications and personal information */
.notif{border-bottom:1px solid var(--gm-border)}.notif h3{color:var(--gm-text);font-size:15px;font-weight:600}
.notif p{color:var(--gm-text-secondary);font-size:14px}.notif time{color:var(--gm-text-muted);font-size:11px}
.info-section h2{padding:11px 16px;background:var(--gm-primary-soft);color:var(--gm-text);font-size:16px;font-weight:700}
.kv{min-height:48px;padding:10px 16px;border-bottom:1px solid var(--gm-border-soft)}
.kv span:first-child{color:var(--gm-text-secondary);font-size:13px;font-weight:500}
.kv span:last-child{color:var(--gm-text);font-size:16px;font-weight:500}
.qualification-info{
  padding:14px 16px 16px;
  background:#fff
}
.qualification-info-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px
}
.qualification-info-head strong{
  color:var(--gm-text);
  font-size:18px;
  font-weight:700
}
.qualification-info-head span{
  color:var(--gm-text-muted);
  font-size:12px;
  white-space:nowrap
}
.qualification-info-row{
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  align-items:center;
  min-height:42px
}
.qualification-info-row span{
  color:var(--gm-text-secondary);
  font-size:15px;
  font-weight:400
}
.qualification-info-row strong{
  color:var(--gm-text);
  font-size:16px;
  font-weight:400;
  text-align:right
}

/* Rating */
.rating-options{gap:6px;padding:10px;border:1px solid var(--gm-border);border-radius:var(--gm-radius)}
.rating-option{min-height:96px;border:2px solid transparent;border-radius:var(--gm-radius)}
.rating-option.active{border-color:var(--gm-primary);background:#edf3ff}

/* Report creation and confirmation */
.report-hub-intro{margin:2px 0 18px}
.report-hub-intro h2{
  margin:0;
  color:var(--gm-text);
  font-size:20px
}
.report-hub-intro p{
  margin:6px 0 0;
  color:var(--gm-text-secondary);
  font-size:14px;
  line-height:1.6
}
.report-task-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}
.report-task-card{
  display:flex;
  min-width:0;
  min-height:154px;
  padding:16px 10px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--gm-border);
  border-radius:var(--gm-radius);
  background:#fff;
  color:var(--gm-primary);
  text-align:center
}
.report-task-card>.material-symbols-outlined{font-size:34px}
.report-task-card>strong{font-size:16px;line-height:1.45}
.report-task-card>small{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:1px 9px;
  border-radius:999px;
  background:#eef0f3;
  color:var(--gm-text-secondary);
  font-size:12px;
  font-weight:700
}
.report-task-card.done{
  border-color:#69bd81;
  background:#f3fbf5
}
.report-task-card.done>small{background:#dff3e5;color:#137a37}
.report-final-submit{
  margin-top:14px;
  padding:14px
}
.report-final-submit p{
  margin:0 0 12px;
  color:var(--gm-text-secondary);
  font-size:14px;
  text-align:center
}
.report-review-info-card{
  overflow:hidden;
  padding:0
}
.report-review-info-card .home-info-list{
  margin:0;
  padding:4px 14px;
  border-bottom:0
}
.report-review-info-card .home-info-list span,
.report-review-info-card .home-info-list strong{font-size:16px}
.report-review-info-card .home-info-list strong{font-weight:400}
.bulk-time-toolbar{
  display:grid;
  gap:12px;
  padding:14px
}
.bulk-time-toolbar strong{
  display:block;
  color:var(--gm-primary);
  font-size:16px
}
.bulk-time-toolbar span{
  display:block;
  margin-top:3px;
  color:var(--gm-text-secondary);
  font-size:13px
}
.bulk-time-toolbar .ghostbtn{width:100%}
.bulk-time-toolbar .ghostbtn:disabled{
  border-color:#c9cdd4;
  background:#eef0f3;
  color:#9298a2;
  cursor:not-allowed
}
.report-member-head{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  align-items:center;
  gap:8px
}
.report-member-head>span{font-size:16px}
.trainee-member-head>span{font-size:16px}
.member-select{
  display:grid;
  place-items:center;
  width:28px;
  height:36px
}
.member-select input{
  display:grid;
  width:20px;
  height:20px;
  margin:0;
  appearance:none;
  place-content:center;
  border:1.5px solid var(--gm-text-muted);
  border-radius:var(--gm-space-1);
  background:#fff;
  -webkit-appearance:none
}
.member-select input:checked{
  border-color:var(--gm-primary);
  background:var(--gm-primary)
}
.member-select input:checked:after{
  width:5px;
  height:9px;
  transform:translateY(-1px) rotate(45deg);
  border:solid #fff;
  border-width:0 2px 2px 0;
  content:""
}
.member-select input:focus-visible{
  outline:3px solid rgba(23,109,245,.2);
  outline-offset:2px
}
.bulk-modal-group+.bulk-modal-group{margin-top:14px}
.bulk-modal-group>strong{
  display:block;
  margin-bottom:6px;
  color:var(--gm-primary);
  font-size:14px
}
.bulk-modal-times{
  display:grid;
  grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);
  align-items:center;
  gap:6px
}
.bulk-modal-times input{
  min-width:0;
  min-height:44px;
  padding:6px;
  border:1px solid var(--gm-border);
  border-radius:8px;
  background:#fff;
  color:var(--gm-text);
  font-size:15px
}
.bulk-modal-times span{text-align:center}
.report-time-row{padding:10px 14px 0}.report-time-row>span{color:var(--gm-text);font-size:14px;font-weight:600}.timegrid{gap:8px}
.confirm-screen .section-head{margin:var(--gm-space-5) 0 var(--gm-space-3);font-size:17px;font-weight:700}
.confirm-screen>.section-head:first-child{margin-top:0}
.confirm-screen .summarybox,.confirm-screen .qualification-table,.confirm-screen .confirm-vehicle,.confirm-screen .confirm-member,.confirm-screen .confirm-note{margin-bottom:var(--gm-space-3);border-color:var(--gm-border);border-radius:var(--gm-radius)}
.confirm-screen .memberhead,.confirm-screen .qualification-table p:first-child{min-height:44px;padding:10px 14px;background:var(--gm-primary-soft);font-size:14px;font-weight:600}
.confirm-screen .confirm-basic p,.confirm-screen .qualification-table p:not(:first-child),.confirm-screen .confirm-vehicle p,.confirm-screen .confirm-member p{min-height:44px;padding:10px 14px;border-top:1px solid var(--gm-border-soft);font-size:14px;font-weight:400}
.confirm-screen .confirm-basic p>span,.confirm-screen .confirm-member p strong{color:var(--gm-text-secondary);font-weight:600}
.confirm-screen .confirm-basic strong{color:var(--gm-text);font-weight:400}
.confirm-screen .confirm-basic strong{font-size:16px}
.confirm-screen .confirm-basic p,.confirm-screen .confirm-vehicle p,.confirm-screen .confirm-member p{min-height:48px;font-size:16px}
.confirm-screen .confirm-note{font-size:16px;line-height:1.65}
.confirm-screen .qualification-table p,
.confirm-screen .qualification-table p:not(:first-child){font-size:16px}

/* Dialog */
.modalbox{border-radius:16px;background:#fff}.modalbox h2{color:var(--gm-text);font-size:20px;font-weight:700}
.modal-actions .fullbtn{
  min-height:56px;
  border:0!important;
  border-radius:0;
  font-weight:700
}
.modal-actions .fullbtn.secondary{border:0!important;font-weight:400}
.modal-actions .fullbtn+.fullbtn{border-left:1px solid var(--gm-border)!important}
.modal-actions .fullbtn:last-child{
  color:var(--gm-primary);
  font-size:18px;
  font-weight:700
}
.modal{
  top:50%;
  bottom:auto;
  height:min(861px,100dvh);
  transform:translate(-50%,-50%)
}
.modal-summary p>span:first-child{font-weight:400}
.modal-summary-value{
  max-width:68%;
  font-weight:400;
  line-height:1.45;
  text-align:right
}
.modal-summary .modal-role{
  justify-content:center;
  margin-top:12px
}
.modal-role span{font-weight:400}
.modal-role strong{font-weight:700}

/* Authentication screens */
.g-form,.register-page,.verify-page{color:var(--gm-text)}
.g-form h2,.step-heading h2,.verify-intro h2{color:var(--gm-primary);font-size:24px;font-weight:700}
.g-form .act-label,.step-form .act-label{color:var(--gm-text);font-size:14px;font-weight:700}
.g-form .act-input,.step-form .act-input{height:52px}
.g-form .act-button,.step-form .act-button,.complete-panel .act-button,.verify-submit{height:52px;min-height:52px;font-size:16px}
.register-code input,.code-fields input{border-color:var(--gm-border);border-radius:var(--gm-radius);background:#fff}
@media(min-width:600px){.app,.g-login,.register-page,.verify-page{border-radius:28px}}

/* Home schedule */
.home-date-navigator{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  align-items:center;
  min-height:58px;
  margin-bottom:12px;
  border:1px solid var(--gm-border);
  border-radius:var(--gm-radius);
  background:#fff
}
.home-date-navigator button{
  display:grid;
  width:48px;
  height:48px;
  place-items:center;
  border:0;
  background:transparent;
  color:var(--gm-primary)
}
.home-date-navigator button:disabled{color:#b9bec8}
.home-date-navigator strong{
  font-size:17px;
  font-weight:700;
  text-align:center
}
.home-schedule-switch-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 7px;
  color:var(--gm-text-secondary);
  font-size:13px;
  font-weight:700
}
.home-schedule-switch-meta[hidden]{display:none}
.home-schedule-switch-meta strong{
  color:var(--gm-primary);
  font-size:14px
}
.home-schedule-switch{
  display:grid;
  gap:8px;
  margin:0 0 14px
}
.home-schedule-switch[hidden]{display:none}
.home-schedule-switch button{
  position:relative;
  display:flex;
  width:100%;
  min-width:0;
  min-height:62px;
  padding:9px 50px 9px 14px;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  border:1px solid var(--gm-border);
  border-radius:var(--gm-radius);
  background:#fff;
  color:var(--gm-text);
  font-size:14px;
  font-weight:700
}
.home-schedule-switch button[hidden]{display:none}
.home-schedule-switch button.active{
  border-color:var(--gm-primary);
  background:var(--gm-primary);
  color:#fff
}
.home-schedule-switch .home-schedule-check{
  position:absolute;
  top:50%;
  right:17px;
  display:none;
  width:auto;
  overflow:visible;
  font-size:25px;
  font-weight:400;
  line-height:1;
  transform:translateY(-50%)
}
.home-schedule-switch button.active .home-schedule-check{display:block}
.home-schedule-switch button>span:not(.home-schedule-check){
  display:block;
  width:100%;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left
}
.home-schedule-switch button small{
  margin-top:2px;
  color:var(--gm-text-secondary);
  font-size:11px;
  font-weight:500
}
.home-schedule-switch button.active small{color:#dce5f7}
.home-schedule-set{margin-bottom:16px}
.home-schedule-set>.card{margin-bottom:10px}
.home-summary-card{padding:14px}
.home-summary-card .home-site-date{
  margin:0 0 8px!important;
  color:var(--gm-text-secondary);
  font-size:15px;
  font-weight:500
}
.home-summary-card .site-title,
.home-summary-card .contractor{margin:0}
.home-summary-card .home-time-grid{margin:14px 0 0}
.home-block-card{overflow:hidden;padding:0}
.home-block-card>h3{
  margin:0;
  padding:11px 14px;
  border-bottom:1px solid var(--gm-border);
  background:var(--gm-primary-soft);
  color:var(--gm-primary);
  font-size:16px;
  font-weight:700
}
.home-vehicle-group{
  overflow:hidden;
  margin:12px 12px 0;
  border:1px solid var(--gm-border);
  border-radius:9px;
  background:#fff
}
.home-vehicle-group:last-child{margin-bottom:12px}
.home-vehicle-group h4{
  display:flex;
  align-items:center;
  margin:0;
  padding:9px 12px;
  border-bottom:1px solid var(--gm-border-soft);
  background:#fff;
  color:var(--gm-primary);
  font-size:15px;
  font-weight:700
}
.confirm-vehicle-unit>strong{
  display:block;
  padding:9px 14px;
  background:#e8edf6;
  color:var(--gm-primary);
  font-size:14px
}
.vehicle-input-guide{
  margin:-2px 0 10px;
  color:var(--gm-text-secondary);
  font-size:14px;
  line-height:1.5
}
.report-vehicle-card{
  margin-bottom:10px
}
.report-vehicle-card .memberhead span:last-child{
  color:var(--gm-text-secondary);
  font-size:13px;
  font-weight:600
}
.vehicle-card .field>span{
  display:block;
  margin-bottom:5px;
  color:var(--gm-text-secondary);
  font-size:13px;
  font-weight:700
}
.report-vehicle-card .field:after{
  top:auto;
  bottom:19px;
  transform:none
}
.confirm-vehicle-unit p{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0
}
.home-block-row{padding:12px 14px 4px}
.home-block-row>span{
  display:block;
  color:var(--gm-text-secondary);
  font-size:14px;
  font-weight:600
}
.home-block-row a{
  display:block;
  margin-top:0;
  color:#075fc9;
  font-size:16px;
  font-weight:600;
  line-height:1.6
}
.home-guidance{
  margin:0;
  padding:4px 14px 12px;
  color:var(--gm-text);
  font-size:16px;
  line-height:1.65
}
.home-note-card .home-guidance{padding:14px}
.home-block-card .home-info-list{
  margin:0;
  padding:4px 14px;
  border-bottom:0
}
.home-vehicle-card{
  background:#f6f8fb
}
.home-vehicle-card .home-info-list{
  padding:2px 12px
}
.home-vehicle-card .home-info-list>div:not(:first-child) span{
  color:var(--gm-text-secondary);
  font-size:14px;
  font-weight:600
}

/* Monthly schedule */
.calendar{
  grid-template-columns:repeat(7,minmax(0,1fr))
}
.calendar .dow,
.calendar .day{
  min-width:0;
  width:auto;
  overflow:hidden
}
.calendar .event{
  max-width:100%;
  padding-inline:2px;
  font-size:13px;
  text-overflow:clip
}
body[data-view="schedule"] .day{
  height:calc((min(861px,100dvh) - 208px)/var(--calendar-rows,6));
  min-height:calc((min(861px,100dvh) - 208px)/var(--calendar-rows,6))
}
.calbar #calendarMonth{
  white-space:nowrap;
  font-size:18px
}
.calbar [data-month-step]{
  display:grid;
  flex:0 0 40px;
  place-items:center;
  min-width:40px;
  min-height:40px;
  border-radius:50%;
  color:var(--gm-primary)
}
.calbar [data-month-step]:active{background:var(--gm-primary-soft)}
.day.no-schedule{
  cursor:default;
  color:var(--gm-text)
}
.day.no-schedule.paid-available{
  cursor:pointer;
  touch-action:manipulation
}
.day.no-schedule.paid-available:focus-visible{
  z-index:1;
  outline:3px solid rgba(23,105,232,.28);
  outline-offset:-3px
}
.day.is-today{background:#f1f5fc}
.day.is-today .day-number{
  display:inline-grid;
  width:28px;
  height:28px;
  place-items:center;
  border-radius:50%;
  background:var(--gm-primary);
  color:#fff;
  font-weight:700
}
.day.has-schedule,
.day.has-paid{
  cursor:pointer;
  touch-action:manipulation
}
.day.has-schedule:focus-visible,
.day.has-paid:focus-visible{
  z-index:1;
  outline:3px solid rgba(23,105,232,.28);
  outline-offset:-3px
}
body[data-view="schedule"] .event.paid{
  padding-top:2px;
  padding-bottom:2px;
  font-size:11px;
  line-height:1.05;
  white-space:normal
}
.event.paid-approved{background:#2aa84f}
.event.paid-pending{background:#d98a00}
.schedule-detail-head{margin-top:0}
.schedule-job-detail{margin-bottom:24px}
.schedule-job-detail:last-child{margin-bottom:0}
.schedule-job-number{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin:0 0 10px;
  padding:2px 10px;
  border-radius:999px;
  background:var(--gm-primary);
  color:#fff;
  font-size:13px;
  font-weight:700
}
.schedule-job-detail>.card{margin-bottom:10px}
.schedule-job-detail+.schedule-job-detail{
  padding-top:22px;
  border-top:2px solid var(--gm-border)
}
.paid-leave-detail{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px
}
.paid-leave-detail p{margin:0;color:var(--gm-text-secondary);font-size:14px}
.paid-leave-detail h2{margin:3px 0 0;color:var(--gm-text);font-size:20px}
.paid-leave-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:2px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:700
}
.paid-leave-status.approved{background:#e5f6ea;color:#137a37}
.paid-leave-status.pending{background:#fff2cf;color:#735000}
.paid-leave-detail .paid-leave-note{
  grid-column:1/-1;
  padding-top:12px;
  border-top:1px solid var(--gm-border-soft);
  color:var(--gm-text);
  font-size:15px;
  line-height:1.6
}
.paid-reapply-button{grid-column:1/-1;min-height:52px;margin-top:2px}
.paid-application-card{overflow:hidden;padding:0}
.paid-application-lead{
  margin:0;
  padding:18px 16px;
  border-bottom:1px solid var(--gm-border);
  color:var(--gm-text);
  font-size:16px;
  line-height:1.6
}
.paid-balance-change{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  padding:18px 16px
}
.paid-balance-change>div{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px
}
.paid-balance-change>div>span{color:var(--gm-text-secondary);font-size:14px;font-weight:600}
.paid-balance-change strong{color:var(--gm-text);font-size:24px;font-weight:700}
.paid-balance-change strong span{color:inherit;font-weight:inherit}
.paid-balance-change>.material-symbols-outlined{color:var(--gm-text-muted);font-size:24px}
.paid-submit-button{min-height:54px;margin-top:18px}
.schedule-empty-detail{padding:26px 18px;text-align:center}
.schedule-empty-detail>.material-symbols-outlined{color:var(--gm-text-muted);font-size:40px}
.schedule-empty-detail h2{margin:8px 0 6px;color:var(--gm-text);font-size:19px}
.schedule-empty-detail p{margin:0 0 22px;color:var(--gm-text-secondary);font-size:15px;line-height:1.6}
.schedule-empty-detail .fullbtn{min-height:52px}
.schedule-rating-card{overflow:hidden;padding:0;}
.schedule-rating-card h3{
  margin:0;
  padding:14px 16px;
  border-bottom:1px solid var(--gm-border);
  color:var(--gm-text);
  font-size:18px
}
.schedule-rating-value{
  display:flex;
  align-items:center;
  gap:9px;
  padding:16px 16px 10px
}
.schedule-rating-value .material-symbols-outlined{color:#24b34b;font-size:28px}
.schedule-rating-value strong{font-size:18px;font-weight:500}
.schedule-rating-card>p{
  margin:0 16px 16px;
  padding:12px 14px;
  border-radius:8px;
  background:#f2f3f5;
  color:var(--gm-text);
  font-size:15px;
  line-height:1.55
}
