/* Admin dashboard */
.admin-page{
  background:var(--alt);
  min-height:100vh;
}
.admin-page body{ padding-bottom:0; }

.admin-topbar{
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:12px 0;
  position:sticky;
  top:0;
  z-index:20;
}
.admin-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.admin-topbar__actions{
  display:flex;
  gap:8px;
}

.admin-main{ padding:24px 0 48px; }

.admin-shell{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:24px;
  align-items:start;
}

.admin-sidebar{
  display:flex;
  flex-direction:column;
  gap:16px;
  position:sticky;
  top:72px;
}

.admin-nav{
  display:flex;
  flex-direction:column;
  gap:6px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:8px;
  box-shadow:var(--shadow);
}
.admin-nav__btn{
  border:none;
  background:transparent;
  text-align:left;
  padding:10px 12px;
  border-radius:10px;
  font-weight:800;
  color:var(--navy);
  cursor:pointer;
}
.admin-nav__btn.is-active,
.admin-nav__btn:hover{
  background:rgba(11,95,255,.1);
  color:var(--brand);
}

.admin-stats h3{ margin:0 0 10px; font-size:16px; }
.admin-stats__total{ margin:0 0 10px; font-size:18px; }
.admin-stats__list{
  margin:0;
  padding-left:18px;
  font-size:14px;
  color:var(--muted);
}
.admin-stats__list li{ margin:6px 0; }

.admin-content{
  min-width:0;
}
.admin-view h1{ margin:0 0 8px; font-size:26px; }

.admin-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.admin-login-card{
  max-width:420px;
  margin:40px auto;
}
.admin-back{ margin-top:16px; font-size:14px; }

.admin-form{ max-width:640px; }
.admin-form__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Calendar */
.calendar-nav{
  display:flex;
  align-items:center;
  gap:8px;
}
/* Ghost buttons default to white-on-transparent (for dark hero sections);
   on the light admin page that makes them invisible, so force a visible look. */
.admin-page .btn--ghost{
  background:#fff;
  color:var(--navy);
  border:1px solid var(--line);
}
.admin-page .btn--ghost:hover{
  border-color:rgba(11,95,255,.45);
  color:var(--brand);
}
.admin-page .btn--accent{
  background:rgba(11,95,255,.1);
  color:var(--brand);
  border:1px solid rgba(11,95,255,.35);
}
.admin-page .btn--accent:hover{
  background:var(--brand);
  color:#fff;
}
#calendarTitle{
  font-weight:900;
  min-width:180px;
  text-align:center;
}

.calendar-grid{
  display:grid;
  grid-template-columns:repeat(7, minmax(0, 1fr));
  gap:8px;
  margin-top:16px;
}
.calendar-grid__head{
  text-align:center;
  font-size:12px;
  font-weight:900;
  color:var(--muted);
  padding:8px 0;
}
.calendar-cell{
  min-height:88px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:8px;
  text-align:left;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:6px;
  transition:box-shadow .15s, border-color .15s;
}
.calendar-cell:hover{
  border-color:rgba(11,95,255,.4);
  box-shadow:var(--shadow);
}
.calendar-cell--today{
  border-color:var(--brand);
  background:rgba(11,95,255,.06);
}
.calendar-cell--empty{
  background:transparent;
  border:none;
  cursor:default;
}
.calendar-cell__num{
  font-weight:900;
  font-size:15px;
  color:var(--navy);
}
.calendar-cell__badge{
  display:inline-block;
  font-size:11px;
  font-weight:800;
  background:rgba(11,95,255,.12);
  color:var(--brand);
  padding:3px 8px;
  border-radius:999px;
  width:fit-content;
}

/* Day modal */
.day-modal{
  border:none;
  border-radius:var(--radius);
  padding:0;
  max-width:560px;
  width:calc(100% - 32px);
  box-shadow:0 20px 50px rgba(10,30,60,.2);
}
.day-modal::backdrop{
  background:rgba(10,30,60,.45);
}
.day-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 20px;
  border-bottom:1px solid var(--line);
}
.day-modal__header h2{ margin:0; font-size:18px; }
.day-modal__close{
  border:none;
  background:transparent;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  color:var(--muted);
}
#dayModalBody{ padding:16px 20px 20px; max-height:70vh; overflow:auto; }
.day-modal__body{
  padding:16px 20px 20px;
  margin:0;
}
.day-modal__body .admin-form__actions{
  margin-top:8px;
}

.day-list{ display:flex; flex-direction:column; gap:12px; }
.day-customer{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  background:var(--alt);
}
.day-customer__head{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.day-customer__notes{
  font-size:14px;
  margin:8px 0 0;
  padding:8px;
  background:#fff;
  border-radius:8px;
}
.day-customer__actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:10px;
}

.tag{
  display:inline-block;
  font-size:11px;
  font-weight:800;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(10,42,74,.08);
  color:var(--navy);
}
.tag--extra{ background:rgba(11,95,255,.12); color:var(--brand); }
.tag--skip{ background:rgba(180,35,24,.12); color:#b42318; }

/* Customer list */
.customer-list{ display:flex; flex-direction:column; gap:12px; }
.customer-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px 16px;
  align-items:start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px;
  box-shadow:var(--shadow);
}
.customer-row > div:first-child{ min-width:0; }
.customer-row > div:first-child strong{ word-break:break-word; }
.customer-row--inactive{ opacity:.65; }
.customer-row__notes{
  font-size:14px;
  color:var(--muted);
  margin-top:6px;
  font-style:italic;
}
.customer-row__actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:flex-start;
  justify-content:flex-end;
}
@media (max-width:640px){
  .customer-row{
    grid-template-columns:1fr;
  }
  .customer-row__actions{ justify-content:flex-start; }
}

.form-status--success{ color:#0d7a3e; font-weight:700; }
.form-status--error{ color:#b42318; font-weight:700; }

.btn--danger{
  color:#b42318 !important;
}
.btn--danger:hover{
  background:rgba(180,35,24,.08) !important;
}

.tag--mapped{ background:rgba(13,122,62,.12); color:#0d7a3e; }
.tag--warn{ background:rgba(180,120,0,.12); color:#9a6700; }

.address-fieldset{
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 16px 4px;
  margin:0 0 16px;
}
.address-fieldset legend{
  font-weight:800;
  color:var(--navy);
  padding:0 6px;
}
.form-row--zip input{ max-width:140px; }

.address-fieldset input[readonly]{
  background:var(--alt);
  color:var(--muted);
  cursor:default;
}

.address-autocomplete-wrap{ position:relative; }
.address-autocomplete-hint{ margin:4px 0 0; }
.address-suggestions{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:30;
  margin:4px 0 0;
  padding:4px;
  list-style:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  box-shadow:0 8px 24px rgba(10,30,60,.12);
  max-height:220px;
  overflow:auto;
}
.address-suggestions__item{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:8px 10px;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
}
.address-suggestions__item strong{
  color:var(--navy);
  font-size:14px;
}
.address-suggestions__item span{
  color:var(--muted);
  font-size:12px;
}
.address-suggestions__item:hover,
.address-suggestions__item.is-active{
  background:rgba(11,95,255,.08);
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* Route planner */
.route-toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.route-date-label input{
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  font:inherit;
}

.route-panel{
  display:grid;
  grid-template-columns:minmax(280px, 360px) 1fr;
  gap:16px;
  margin-top:16px;
  align-items:stretch;
}
.route-panel__list{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-height:560px;
  overflow:auto;
}
.route-panel__title{
  margin:0 0 4px;
  font-size:18px;
}
.route-panel__stats{
  margin:0;
  font-weight:800;
  color:var(--brand);
}
.route-stop-list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.route-stop{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--alt);
  cursor:grab;
}
.route-stop--dragging{
  opacity:.65;
  border-color:var(--brand);
}
.route-stop__drag{
  flex-shrink:0;
  color:var(--muted);
  font-size:14px;
  line-height:28px;
  user-select:none;
  cursor:grab;
}
.route-stop__num{
  flex-shrink:0;
  width:28px;
  height:28px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-weight:900;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.route-stop__notes{
  font-size:13px;
  font-style:italic;
  color:var(--muted);
  margin:4px 0 0;
}
.route-warnings{
  padding:10px 12px;
  background:rgba(180,120,0,.08);
  border-radius:10px;
  font-size:14px;
}
.route-warnings ul{ margin:6px 0 0; padding-left:18px; }

.admin-map{
  height:480px;
  width:100%;
  min-height:480px;
  border-radius:10px;
  z-index:1;
  background:#e8eef5;
}
.admin-map--tall{ height:520px; }

.map-panel{ padding:0; overflow:hidden; }
.map-legend{
  padding:10px 14px 14px;
  margin:0;
}
.map-legend__dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--brand);
  margin-right:4px;
  vertical-align:middle;
}

.day-modal__toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.admin-server-notice{
  padding:10px 12px;
  background:rgba(11,95,255,.08);
  border-radius:10px;
  margin:0 0 14px;
}
.admin-server-notice--warn{
  background:rgba(180,35,24,.08);
  color:#8a1f1a;
}
.admin-server-notice code{
  font-size:12px;
}

.admin-remember label{ font-weight:700; }
.admin-remember .fineprint{ margin:6px 0 0; }

.route-start-panel{
  margin-top:16px;
  padding:0;
  overflow:hidden;
}
.route-start-panel summary{
  cursor:pointer;
  padding:14px 16px;
  font-size:15px;
}
.route-start-form{
  padding:0 16px 16px;
  border-top:1px solid var(--line);
}

.leaflet-div-icon.route-marker-wrap,
.leaflet-div-icon.map-pin-wrap{
  background:transparent !important;
  border:none !important;
}

.route-marker{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  background:var(--brand);
  border:2px solid #fff;
  border-radius:999px;
  box-shadow:0 2px 8px rgba(10,30,60,.25);
}
.route-marker--depot{ background:var(--navy); }
.route-marker__num{
  color:#fff;
  font-weight:900;
  font-size:12px;
  line-height:1;
}
.map-pin__dot{
  display:block;
  width:14px;
  height:14px;
  border-radius:999px;
  background:var(--brand);
  border:2px solid #fff;
  box-shadow:0 2px 6px rgba(10,30,60,.2);
}

@media (max-width: 900px){
  .admin-shell{ grid-template-columns:1fr; }
  .admin-sidebar{ position:static; }
  .admin-nav{ flex-direction:row; flex-wrap:wrap; }
  .calendar-cell{ min-height:64px; }
  .route-panel{ grid-template-columns:1fr; }
  .route-panel__list{ max-height:none; }
  .admin-map{ height:360px; }
}

@media (max-width: 520px){
  .calendar-cell__badge{ font-size:10px; padding:2px 6px; }
}

/* Messaging */
.msg-compose{ display:flex; flex-direction:column; gap:14px; }
.msg-mode{ display:flex; flex-wrap:wrap; gap:16px; }
.msg-mode label{ display:flex; align-items:center; gap:6px; font-weight:700; }
.msg-lang{ display:flex; gap:8px; }
.msg-preview{
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(11,95,255,.05);
  padding:12px 14px;
}
.msg-score{
  display:inline-flex;
  align-items:center;
  font-weight:900;
  font-size:13px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  cursor:default;
}
.msg-score--high{ background:rgba(16,185,129,.12); color:#047857; border-color:rgba(16,185,129,.4); }
.msg-score--mid{ background:rgba(245,158,11,.14); color:#b45309; border-color:rgba(245,158,11,.45); }
.msg-score--low{ background:rgba(225,29,72,.10); color:#be123c; border-color:rgba(225,29,72,.4); }
.msg-preview > label{ display:block; font-weight:900; color:var(--muted); font-size:12px; margin-bottom:6px; }
.msg-preview__text{ margin:0; white-space:pre-wrap; }
.msg-recipients{ margin-top:18px; }
.msg-recipient-list{ display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.msg-recipient{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px 14px;
}
.msg-recipient .btn{ flex:none; }
.msg-log{ margin-top:28px; }
.msg-log__actions{
  display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px 16px;
}
.msg-log__filter{
  display:flex; flex-direction:column; gap:4px; font-size:13px;
}
.msg-log__filter input[type="date"],
.msg-log__filter select{
  min-width:160px; padding:6px 8px; border:1px solid var(--border); border-radius:6px;
  background:var(--surface); color:inherit; font:inherit;
}
.msg-log__tabs{
  display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px;
}
.msg-log__tab{
  padding:6px 12px; border:1px solid var(--border); border-radius:999px;
  background:var(--surface); font:inherit; font-size:13px; cursor:pointer;
}
.msg-log__tab.is-active{
  border-color:var(--accent); background:color-mix(in srgb, var(--accent) 12%, var(--surface));
  font-weight:600;
}
.msg-log__tab-count{ opacity:.65; margin-left:4px; }
.msg-log__hint{ margin:0 0 12px; font-size:13px; }
.customer-import{ margin-bottom:24px; }
.customer-import h2{ margin-top:0; }
.import-results{ margin:8px 0 0; padding-left:18px; font-size:13px; }
.import-results li{ margin-bottom:4px; }
.worklog-export{
  max-width:520px;
}
.worklog-export .form-row input[type="date"],
.worklog-export .form-row select{
  width:100%; max-width:100%; padding:8px 10px; border:1px solid var(--line); border-radius:8px;
  background:var(--surface); color:inherit; font:inherit;
}
.worklog-export .admin-form__actions{ margin-top:8px; }
.btn--danger{ color:#e11d48; border-color:color-mix(in srgb, #e11d48 40%, var(--border)); }
.btn--danger:hover{ border-color:#e11d48; background:color-mix(in srgb, #e11d48 8%, var(--surface)); }
.msg-log__item{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:12px 14px;
  margin-bottom:8px;
}
.msg-log__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:6px; }
.msg-log__time{ margin-left:auto; font-size:13px; }
.msg-log__sent{ margin:0; white-space:pre-wrap; }
.msg-log__orig{ margin:6px 0 0; font-size:13px; white-space:pre-wrap; }
.msg-log__del{
  margin-left:8px;
  flex:none;
  width:28px;
  height:28px;
  border-radius:8px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-size:13px;
  line-height:1;
  cursor:pointer;
}
.msg-log__del:hover{ border-color:#e11d48; color:#e11d48; }

/* Phone-friendly messaging layout */
@media (max-width: 640px){
  .msg-mode{ flex-direction:column; gap:8px; }
  .msg-lang{ width:100%; }
  .msg-lang .btn{ flex:1; }
  .msg-compose .admin-form__actions .btn{ width:100%; }
  .msg-recipient{ flex-direction:column; align-items:stretch; gap:10px; }
  .msg-recipient .btn{ width:100%; padding:12px; font-size:16px; }
  .msg-log__time{ margin-left:0; }
  .msg-log__del{ margin-left:auto; }
}

/* ---- WorkDay ---- */
.btn--block{ display:block; width:100%; text-align:center; }
.admin-nav__btn--accent{ color:var(--brand); }
.admin-nav__btn--accent.is-active,
.admin-nav__btn--accent:hover{ background:var(--brand); color:#fff; }

.workday-start{ max-width:520px; width:100%; min-width:0; display:flex; flex-direction:column; gap:14px; box-sizing:border-box; overflow:hidden; }
.workday-start h2{ margin:0; }
.workday-start__count{ margin:0; font-weight:700; }
.workday-start .form-row{ max-width:100%; min-width:0; }
.date-input-wrap{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  border-radius:12px;
}
.workday-start input[type="date"],
.date-input-wrap input[type="date"]{
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  font:inherit;
  font-size:16px;
  line-height:1.2;
  background:#fff;
  -webkit-appearance:none;
  appearance:none;
}
.workday-start input[type="date"]::-webkit-date-and-time-value{
  text-align:left;
  min-width:0;
}

.workday-bar{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 16px; position:sticky; top:64px; z-index:5;
}
.workday-bar strong{ font-size:17px; }
.workday-bar p{ margin:2px 0 0; font-size:13px; }

.workday-progress{
  height:8px; border-radius:999px; background:rgba(11,95,255,.12);
  overflow:hidden; margin:12px 0 16px;
}
.workday-progress span{ display:block; height:100%; background:var(--brand); transition:width .3s; }

.workday-stops{ display:flex; flex-direction:column; gap:12px; }
.workday-stop{
  display:flex; gap:12px; align-items:flex-start;
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px;
  box-shadow:var(--shadow); transition:opacity .2s, border-color .2s;
}
.workday-stop.is-active{ border-color:var(--brand); box-shadow:0 6px 20px rgba(11,95,255,.16); }
.workday-stop.is-done{ opacity:.55; background:var(--alt); box-shadow:none; }
.workday-stop.is-skipped{ opacity:.5; background:var(--alt); box-shadow:none; }
.workday-stop.is-locked{ opacity:.7; }
.workday-stop__seq{
  flex-shrink:0; width:32px; height:32px; border-radius:999px;
  background:var(--brand); color:#fff; font-weight:900; font-size:14px;
  display:flex; align-items:center; justify-content:center;
}
.workday-stop.is-done .workday-stop__seq{ background:#0d7a3e; }
.workday-stop.is-skipped .workday-stop__seq{ background:var(--muted); }
.workday-stop__main{ min-width:0; flex:1; }
.workday-stop__head{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.workday-stop__head strong{ font-size:16px; }
.workday-stop__note{
  font-size:13px; margin:8px 0 0; padding:8px 10px;
  background:rgba(180,120,0,.08); border-radius:8px;
}
.workday-stop__actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }

/* Bottom-sheet style chooser */
.sheet{
  border:none; border-radius:18px 18px 0 0; padding:0; width:100%;
  max-width:520px; margin:auto auto 0; box-shadow:0 -10px 40px rgba(10,30,60,.25);
}
.sheet::backdrop{ background:rgba(10,30,60,.45); }
.sheet__header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; border-bottom:1px solid var(--line);
}
.sheet__header h2{ margin:0; font-size:17px; }
.sheet__body{ padding:16px 20px 24px; display:flex; flex-direction:column; gap:10px; }
.sheet__option{ padding:14px; font-size:16px; }

/* Job panel */
.job-modal{
  border:none; border-radius:var(--radius); padding:0;
  max-width:560px; width:calc(100% - 24px);
  box-shadow:0 20px 50px rgba(10,30,60,.25);
}
.job-modal::backdrop{ background:rgba(10,30,60,.5); }
.job-modal__header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; border-bottom:1px solid var(--line);
  position:sticky; top:0; background:#fff; z-index:2; border-radius:var(--radius) var(--radius) 0 0;
}
.job-modal__header h2{ margin:0; font-size:18px; }
.job-modal__body{ padding:16px 20px 24px; max-height:80vh; overflow:auto; }
.job-modal__addr{ margin:0 0 10px; }
.job-callout{
  padding:10px 12px; background:rgba(180,120,0,.1);
  border-radius:10px; font-size:14px; margin:10px 0;
}
.job-section{ margin-top:4px; }
.job-section h3{ margin:0 0 4px; font-size:16px; }
.job-section textarea{ width:100%; }
.job-section--complete h3{ color:#0d7a3e; }
.job-section .msg-lang{ margin:10px 0; }
.job-section .btn--block{ margin-top:10px; }

.job-photos{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:10px 0; }
.job-photo-add{ cursor:pointer; }
.job-photo-thumbs{ display:flex; flex-wrap:wrap; gap:8px; }
.job-thumb{ position:relative; width:56px; height:56px; }
.job-thumb img{ width:100%; height:100%; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.job-thumb button{
  position:absolute; top:-8px; right:-8px; width:22px; height:22px; border-radius:999px;
  border:none; background:#b42318; color:#fff; font-size:14px; line-height:1; cursor:pointer;
}

.workday-summary{ max-width:520px; text-align:center; display:flex; flex-direction:column; gap:14px; }
.workday-summary h2{ margin:0; }
.workday-summary__grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin:6px 0;
}
.workday-summary__grid > div{
  display:flex; flex-direction:column; gap:2px;
  padding:12px 6px; background:var(--alt); border-radius:12px;
}
.workday-summary__num{ font-size:22px; font-weight:900; color:var(--brand); }
.workday-summary__grid .muted{ font-size:12px; }

@media (max-width: 640px){
  .workday-bar{ top:56px; }
  .workday-stop__actions .btn{ flex:1 1 auto; padding:12px; font-size:15px; }
  .workday-summary__grid{ grid-template-columns:repeat(2, 1fr); }
}

.tag--owner{ background:rgba(11,95,255,.1); color:var(--brand); }
.tag--super{ background:rgba(11,95,255,.15); color:var(--brand); font-weight:700; }
.team-user-list{ display:flex; flex-direction:column; gap:12px; margin-top:16px; }
.team-user-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px 16px;
  align-items:start;
}
.team-user-row > div:first-child{ min-width:0; }
.team-user-row--restricted{ opacity:.75; }
.team-user-row__actions{ display:flex; flex-wrap:wrap; gap:8px; }
.team-add-form__actions{ display:flex; align-items:flex-end; }
.admin-nav__btn--super{ color:#7c3aed; }
.admin-nav__btn--super.is-active,
.admin-nav__btn--super:hover{ background:#7c3aed; color:#fff; }
@media (max-width:640px){
  .team-user-row__actions{ width:100%; }
}
