/* 11.9.26 - mobiele laag. Alle regels staan bewust binnen een mobiele mediaquery,
   zodat pc/laptopweergave en -werking ongewijzigd blijven. */
.mobile-nav-toggle{display:none}
.group-board-mobile-hint{display:none}

@media screen and (max-width:767px), screen and (max-width:950px) and (pointer:coarse){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden}
  body{overflow-x:hidden;min-width:0}
  body.filter-menu-open,body.modal-open{overflow:hidden}

  /* Algemene maatvoering en touchdoelen */
  .container{width:100%;max-width:none;padding:12px 10px 82px}
  .pagehead{align-items:flex-start;margin-bottom:12px}.pagehead h1,h1{font-size:22px;line-height:1.15}
  h2{font-size:17px}.panel{padding:14px;margin-bottom:12px}.card{padding:15px}
  .cards,.grid2,.formgrid,.compactlist,.action-center-grid,.health-grid,.report-selection-grid,.proposal-stats,.sync-preview-grid,.label-settings-grid{grid-template-columns:1fr!important;gap:10px}
  .kpi{font-size:27px}
  button,.button,input,select,textarea{font-size:16px}
  button,.button{min-height:44px;padding:10px 12px}
  input,select{min-height:44px}textarea{min-height:96px}
  .compact-button{min-height:40px}
  .warning,.flash{padding:11px 12px;margin-bottom:12px;overflow-wrap:anywhere}
  .statrow{gap:10px;flex-wrap:wrap}.config{grid-template-columns:1fr;gap:2px}.config dd{margin:0 0 10px;overflow-wrap:anywhere}

  /* Hoofdnavigatie: inklapbaar op mobiel, desktop blijft intact. */
  .topbar{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;min-height:0!important;padding:8px 10px!important;overflow:visible!important}
  .brand{min-width:0;gap:8px}.brandlogo{width:37px;height:auto}.brand span{font-size:14px;overflow:hidden;text-overflow:ellipsis}
  .mobile-nav-toggle{display:inline-flex!important;align-items:center;gap:6px;min-width:86px;min-height:44px;background:#2a303a;color:#fff;border:1px solid #444c58;padding:8px 10px}
  .mobile-nav-toggle:hover{background:#343b46}.mobile-nav-toggle>span:first-child{font-size:21px;line-height:1}
  .mainnav{display:none!important;grid-column:1/-1;width:100%!important;max-height:68dvh;overflow-y:auto!important;overflow-x:hidden!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;padding:8px 0 2px;border-top:1px solid #39414d}
  .topbar.mobile-nav-open .mainnav{display:flex!important}
  .mainnav>a,.nav-parent>a{display:flex!important;align-items:center;min-height:42px;padding:9px 10px!important;border-radius:7px!important}
  .nav-parent{display:block!important;width:100%!important;padding:0!important;margin:0!important}
  .nav-hover-submenu{display:block!important;position:static!important;min-width:0!important;margin:0 0 5px 12px;padding:2px 0 3px 9px!important;border:0!important;border-left:2px solid #444c58!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  .nav-hover-submenu::before{display:none!important}.nav-hover-submenu a{min-height:39px;padding:8px 10px!important;font-size:14px;color:#d6dae0!important}
  .topbar .user{display:none!important;grid-column:1/-1;width:100%;justify-content:space-between;gap:8px;padding:7px 2px 2px;white-space:normal}
  .topbar.mobile-nav-open .user{display:flex!important}.logoutform{margin-left:auto}.linkbutton{min-height:40px!important}
  .entity-subnav,.children-subnav{position:sticky!important;top:0!important;z-index:35!important;display:flex!important;flex-wrap:nowrap!important;gap:5px!important;padding:6px 8px!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;background:rgba(255,255,255,.98)}
  .entity-subnav a,.children-subnav a{flex:0 0 auto;display:flex;align-items:center;min-height:40px;padding:7px 9px!important;font-size:12px!important;white-space:nowrap}

  /* Werkbalken, formulieren en knoppen */
  .toolbar,.search,.reportpicker,.inlineform,.record-actions,.record-build-ranges,.undo-flash{align-items:stretch!important;flex-direction:column!important;width:100%}
  .toolbar>*,.toolbar>form,.search>*,.reportpicker>*,.inlineform>*,.record-actions>.actions,.record-actions>.actions>*{width:100%!important;max-width:none!important;min-width:0!important}
  .actions{display:grid!important;grid-template-columns:1fr!important;width:100%;gap:8px}.actions>*,.actions>form,.actions button,.actions .button{width:100%}
  .search input,.reportpicker select{width:100%!important;min-width:0!important}
  .record-section{padding:13px}.record-row-2,.record-row-3,.record-row-4,.record-row-5,.record-row-6{grid-template-columns:1fr!important}.record-field.field-narrow,.record-field.field-compact{max-width:none!important}
  .custom-layout-band{display:block!important}.custom-layout-column,.custom-layout-section{width:100%!important;max-width:100%!important;flex-basis:100%!important;padding:0!important;margin:0 0 10px!important}
  .layout-editor-columns{display:block!important}.layout-editor-column{width:100%!important;margin-bottom:10px}.layout-editor-section-head{grid-template-columns:34px minmax(0,1fr)!important}.layout-editor-section-head .layout-width-control{grid-column:1/-1}

  /* Tabellen blijven volledig beschikbaar via horizontaal vegen. */
  .tablewrap,.entity-overview-wrap,.particulars-wrap,.registration-chart-scroll{max-width:100%;overflow-x:auto!important;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
  .entity-overview-table{min-width:920px!important}.assignment-overview-table,.group-assignment{min-width:920px!important}.particulars-table{min-width:820px}.group-proposal-table{min-width:880px}.school-class-report table{min-width:820px}
  th,td{padding:9px 9px}.list-view-hint{font-size:12px;line-height:1.4}

  /* Excel-achtige filters worden op mobiel een bijna schermvullend paneel. */
  .excel-filter>summary{width:38px!important;height:38px!important}
  .filter-popover-backdrop{background:rgba(16,24,40,.48)!important;backdrop-filter:none!important}
  .excel-filter-popover.filter-portal-open{left:10px!important;right:10px!important;top:max(10px,env(safe-area-inset-top))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;max-height:none!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:12px!important}
  .excel-filter-popover.filter-portal-open .filter-option-list{flex:1 1 auto;max-height:none!important;min-height:160px;overflow-y:auto!important}
  .filter-option-search{min-height:44px}.filter-select-all,.filter-option-list label{min-height:38px}
  .filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filter-actions>*{width:100%}
  .sort-modal{padding:8px!important;align-items:flex-end!important}.sort-modal-card{width:100%!important;max-width:none!important;max-height:90dvh!important;border-radius:14px 14px 0 0!important;padding:13px!important}.sort-dialog-level{grid-template-columns:1fr!important}.sort-dialog-actions,.sort-level-toolbar{display:grid!important;grid-template-columns:1fr!important}.sort-dialog-actions>*{width:100%}

  /* Groepenbord: één kolom, grotere touchdoelen en tap-to-move naast drag/drop. */
  .group-board-shell{grid-template-columns:1fr!important;gap:12px}.group-board-main{min-width:0}
  .group-board-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:8px}.group-board-build-tabs,.group-board-occupancy-filter{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;width:100%;justify-content:stretch!important}.group-board-build-tabs button,.group-board-occupancy-filter button{width:100%;min-width:0!important;min-height:44px;font-size:12px}
  .group-board-grid,.group-board-unassigned-list,.group-board-total-grid{grid-template-columns:1fr!important;gap:10px!important}
  .group-board-note,.group-board-note:nth-child(even){min-height:0;padding:14px;transform:none!important}.group-board-note>header h2{font-size:20px}
  .group-board-unassigned{position:static!important;max-height:none!important;padding:13px}.group-board-role-tabs{gap:6px}.group-board-role-tabs button{min-height:42px;font-size:12px}
  .group-board-unassigned-priority{grid-template-columns:1fr}.group-board-unassigned-grouping{min-height:44px}
  .group-board-person{min-height:50px;padding:9px;touch-action:manipulation}.group-board-grip{font-size:22px}.group-board-person-copy strong{white-space:normal}
  .group-board-savebar{position:sticky!important;bottom:max(0px,env(safe-area-inset-bottom));z-index:25;align-items:stretch!important;flex-direction:column!important;padding:10px}.group-board-savebar form,.group-board-savebar button{width:100%}.group-board-savebar>div{display:grid;gap:2px}
  .group-board-mobile-hint{display:block;margin:0 0 10px;padding:9px 10px;border:1px solid #bcd0f2;border-radius:8px;background:#f3f7ff;color:#285ca8;font-size:12px;line-height:1.4}
  .group-board-shell.mobile-touch-mode .group-board-person[draggable="true"]{cursor:pointer}.group-board-shell.mobile-touch-mode .group-board-person.mobile-selected{outline:3px solid #2767e6;outline-offset:2px;background:#eef5ff}.group-board-shell.mobile-touch-mode.mobile-person-selected [data-group-card]:not([data-drop-disabled="1"]){box-shadow:0 0 0 2px rgba(39,103,230,.16),0 8px 20px rgba(16,24,40,.08)}
  .group-board-shell.mobile-touch-mode.mobile-person-selected [data-unassigned-zone]{box-shadow:0 0 0 2px rgba(39,103,230,.14)}

  /* Rapporten en overige compacte grids */
  .school-class-heading{grid-template-columns:1fr!important;gap:4px}.label-settings-help{grid-template-columns:1fr!important;padding:10px}.measure-page{transform:scale(.82);transform-origin:center}.history-list>div{grid-template-columns:1fr!important}.group-board-total-actions,.group-board-total-build-head{align-items:stretch!important;flex-direction:column!important}.group-board-total-summary{justify-content:flex-start!important}
  .registration-chart-heading{display:grid}.registration-month-legend{justify-content:flex-start}
  .authcard{margin:24px 10px;padding:18px}
  .scroll-to-top{right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom))}
}

@media screen and (max-width:390px){
  .group-board-build-tabs,.group-board-occupancy-filter{grid-template-columns:1fr!important}
  .brand span{max-width:190px}
  .filter-actions{grid-template-columns:1fr}
}

/* Extra mobile-only bediening die via mobile.js wordt toegevoegd. */
.group-board-mobile-drop-button{display:none}
@media screen and (max-width:767px), screen and (max-width:950px) and (pointer:coarse){
  .column-drag-handle{display:none!important}
  .group-board-shell.mobile-touch-mode.mobile-person-selected .group-board-mobile-drop-button{display:flex;width:100%;margin:0 0 10px;min-height:44px;background:#2767e6;color:#fff}
  .group-board-shell.mobile-touch-mode.mobile-person-selected .group-board-unassigned .group-board-mobile-drop-button{background:#eef0f3;color:#252a32;border:1px solid #d9dde3}
}

.mobile-layout-field-actions{display:none}
@media screen and (max-width:767px), screen and (max-width:950px) and (pointer:coarse){
  .layout-editor-row-fields{grid-template-columns:1fr!important}
  .field-drag-handle,.layout-drag-handle,.column-layout-handle{display:none!important}
  .mobile-layout-field-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;grid-column:1/-1;width:100%}
  .mobile-layout-field-actions button{min-height:38px;padding:6px;font-size:13px}
  .layout-editor-field{grid-template-columns:minmax(0,1fr) auto auto!important}
}

/* 11.9.29 - mobiele tabelcorrectie.
   Op kleine schermen mogen brede administratietabellen nooit worden samengeperst
   tot letterbrede kolommen. De tabel behoudt zijn inhoudsbreedte en de wrapper
   verzorgt horizontaal vegen. Desktopregels blijven onaangeroerd. */
@media screen and (max-width:767px), screen and (max-width:950px) and (pointer:coarse){
  /* Alle tabelwrappers zijn de scrollcontainer; niet de volledige pagina. */
  .tablewrap,
  .entity-overview-wrap,
  .volunteer-type-wrap,
  .particulars-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain;
    touch-action:pan-x pan-y;
  }

  /* Tabellen bepalen mobiel hun breedte uit de kolommen in plaats van uit het
     telefoonvenster. Hierdoor worden cellen niet tot enkele pixels gecomprimeerd. */
  .tablewrap>table{
    width:max-content!important;
    min-width:100%!important;
    table-layout:auto!important;
  }
  .tablewrap>table th,
  .tablewrap>table td{
    overflow-wrap:normal;
    word-break:normal;
  }

  /* Algemeen deelnemersoverzicht: behoud de desktopkolombreedtes, maar laat de
     totale tabel breder worden dan het scherm en dus horizontaal scrollen. */
  .entity-overview-table{
    width:max-content!important;
    min-width:1100px!important;
    table-layout:auto!important;
  }
  .entity-overview-table th,
  .entity-overview-table td{
    min-width:72px;
  }
  .entity-overview-table .col-name{min-width:190px!important;width:190px!important}
  .entity-overview-table .col-age{min-width:62px!important;width:62px!important}
  .entity-overview-table .col-pref1,
  .entity-overview-table .col-pref2{min-width:128px!important;width:128px!important}
  .entity-overview-table .col-together{min-width:170px!important;width:170px!important}
  .entity-overview-table .col-notes{min-width:260px!important;width:300px!important;max-width:300px!important}
  .entity-overview-table td.col-notes,
  .entity-overview-table td.multi-line-cell{
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  .entity-overview-table .table-head-cell>a,
  .entity-overview-table .plain-column-title{
    min-width:max-content!important;
    white-space:nowrap!important;
  }

  /* Posten/EHBO: in de oude layout kregen 220 + 75 + auto + 680 px samen slechts
     980 px. Daardoor kon de auto-kolom tot vrijwel nul krimpen. Geef iedere kolom
     nu een expliciete bruikbare maat. */
  .volunteer-type-table{
    width:1275px!important;
    min-width:1275px!important;
    table-layout:fixed!important;
  }
  .volunteer-type-table th:nth-child(1),
  .volunteer-type-table td:nth-child(1){width:220px!important;min-width:220px!important}
  .volunteer-type-table th:nth-child(2),
  .volunteer-type-table td:nth-child(2){width:75px!important;min-width:75px!important}
  .volunteer-type-table th:nth-child(3),
  .volunteer-type-table td:nth-child(3){width:300px!important;min-width:300px!important;max-width:300px!important}
  .volunteer-type-table th:nth-child(4),
  .volunteer-type-table td:nth-child(4){width:680px!important;min-width:680px!important}
  .volunteer-type-notes{
    white-space:pre-wrap!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    line-height:1.4;
  }

  /* Aanwezigheidsregistratie behoudt zes leesbare dagkolommen. */
  .attendance-overview-grid{
    grid-template-columns:repeat(6,100px)!important;
    min-width:630px;
  }
  .attendance-overview-grid label{min-width:100px}
  .attendance-overview-grid select{min-width:100px!important;width:100px!important}

  /* Andere brede tabellen houden minimaal een bruikbare breedte. */
  .assignment-overview-table{min-width:1100px!important}
  .particulars-table{min-width:900px!important}
  .group-proposal-table{min-width:900px!important}
  .school-class-report table{min-width:850px!important}

  /* Op mobiel is kolommen slepen niet beschikbaar; de hint benoemt alleen de
     handelingen die op touch wel werken. */
  .list-view-hint{margin:8px 0 10px;font-size:12px;line-height:1.4}
}

/* 11.9.31 - Datum aanmelding blijft op mobiel leesbaar in de horizontaal scrollbare overzichten. */
@media (max-width: 900px), (pointer: coarse) and (max-width: 1100px) {
  .entity-overview-table .col-registration_date { min-width: 118px; width: 118px; max-width: 118px; white-space: nowrap; }
}


/* 11.9.32 - resizegreep blijft ook op touch beschikbaar; custom breedtes scrollen horizontaal. */
@media (max-width: 900px), (pointer: coarse) and (max-width: 1100px) {
  .entity-overview-table[data-reorder-table] .column-resize-handle{width:14px;right:-7px}
  .entity-overview-wrap.has-custom-column-widths{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
}

/* 12.0.0 · mobiele bediening nieuwe functies */
@media (max-width: 820px), (pointer: coarse) and (max-width: 1100px){
  .topbar-global-search{order:4;width:100%;margin:8px 0 0}.topbar-global-search input{flex:1;width:auto;min-width:0}.topbar-global-search .linkbutton{white-space:nowrap}
  .saved-views-bar{align-items:stretch}.saved-view-picker,.saved-view-picker label,.saved-view-picker select,.saved-view-save,.saved-view-save label,.saved-view-save input[name="name"]{width:100%;min-width:0}.saved-view-save{display:grid;grid-template-columns:1fr}.saved-views-bar form:last-child{width:100%}
  .global-search-page{width:100%}.global-search-page input{min-width:0;width:100%}.global-search-result{padding:12px}
  .sync-field-diff{grid-template-columns:1fr;gap:2px;padding:8px 0}.sync-field-diff span:nth-of-type(2){display:none}.sync-field-diff span:first-of-type:before{content:"Van: ";font-weight:600}.sync-field-diff span:last-of-type:before{content:"Naar: ";font-weight:600}
  .year-switch-steps{grid-template-columns:1fr}.timeline-head,.timeline-preview-event{flex-direction:column}.timeline-head span,.timeline-preview-event span{text-align:left}.record-timeline{padding-left:24px}
}

/* 12.1.0 */
@media(max-width:760px){
  .group-card-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .group-card-attendance{grid-template-columns:repeat(2,minmax(0,1fr))}
  .start-check-item{grid-template-columns:1fr}
  .start-check-item .badge{justify-self:start}
}
@media(max-width:420px){.group-card-summary{grid-template-columns:1fr}}

/* 12.1.10 - compacte mobiele globale zoekresultaten met belknoppen. */
@media screen and (max-width:767px), screen and (max-width:950px) and (pointer:coarse){
  .global-search-result-desktop{display:none!important}
  .global-search-result-mobile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px;border:1px solid #e4e4e4;border-radius:10px;background:#fff}
  .global-search-mobile-name{min-width:0;color:inherit;text-decoration:none;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
  .global-search-mobile-name:hover,.global-search-mobile-name:focus-visible{text-decoration:underline;color:var(--red-dark)}
  .global-search-mobile-group{display:flex;align-items:baseline;justify-content:flex-end;gap:5px;white-space:nowrap;font-size:13px;color:#667085}
  .global-search-mobile-group strong{color:inherit}
  .global-search-mobile-phones{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}
  .global-search-phone{display:inline-flex;align-items:center;min-height:42px;padding:8px 11px;border:1px solid #cfd5dc;border-radius:9px;background:#f7f8fa;color:#1f2937;text-decoration:none;font-weight:700;line-height:1}
  .global-search-phone::before{content:"☎";margin-right:6px;font-size:15px}
  .global-search-phone:active,.global-search-phone:focus-visible{border-color:var(--red-dark);background:#fff6f7}
}


/* 12.3.2 - Aanwezigheid groepsleiding: mobiel zonder horizontaal scrollen. */
@media (max-width: 820px), (pointer: coarse) and (max-width: 1100px) {
  .attendance-volunteer-wrap{max-height:none!important;overflow:visible!important}
  .attendance-volunteer-table{display:block!important;width:100%!important;min-width:0!important}
  .attendance-volunteer-table thead{display:none!important}
  .attendance-volunteer-table tbody{display:grid!important;gap:12px!important}
  .attendance-volunteer-table .attendance-volunteer-row{display:block!important;border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--panel,#fff)}
  .attendance-volunteer-table .attendance-volunteer-row>th,
  .attendance-volunteer-table .attendance-volunteer-row>td{display:grid!important;grid-template-columns:minmax(92px,35%) minmax(0,1fr);gap:8px;align-items:center;width:100%!important;min-width:0!important;padding:7px 2px!important;border:0!important;border-bottom:1px solid rgba(86,94,106,.12)!important;white-space:normal!important}
  .attendance-volunteer-table .attendance-volunteer-row>th:last-child,
  .attendance-volunteer-table .attendance-volunteer-row>td:last-child{border-bottom:0!important}
  .attendance-volunteer-table .attendance-volunteer-row>th::before,
  .attendance-volunteer-table .attendance-volunteer-row>td::before{content:attr(data-label);font-size:11px;font-weight:750;color:var(--muted);line-height:1.2}
  .attendance-volunteer-table .attendance-volunteer-day.is-mobile-past{display:none!important}
  .attendance-volunteer-table .attendance-volunteer-day select{width:100%!important;min-width:0!important}
  .attendance-volunteer-table .attendance-volunteer-comments textarea{width:100%!important;min-width:0!important;min-height:72px}
  .attendance-volunteer-table .attendance-volunteer-action{align-items:start!important}
  .attendance-volunteer-table .attendance-volunteer-action>button{justify-self:start}
  .attendance-autosave-status{display:block;font-size:11px;color:var(--muted);margin-top:3px;grid-column:2}
  .attendance-autosave-status[data-state="saved"]{color:#287a3d}
  .attendance-autosave-status[data-state="error"]{color:#a61b1b}
}


/* 12.3.6 - robuuste mobiele Groepsleiding-layout.
   De oudere algemene .tablewrap>table-regel heeft een hogere specificiteit dan
   alleen .attendance-volunteer-table. Gebruik daarom de wrapper + tabel samen.
   De html-class wordt aanvullend door mobile.js gezet op echte touch/mobile
   apparaten, zodat de layout ook in landscape/tablet betrouwbaar actief blijft. */
@media (max-width: 900px), (pointer: coarse) {
  .attendance-volunteer-wrap.tablewrap{
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
  }
  .attendance-volunteer-wrap.tablewrap > table.attendance-volunteer-table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .attendance-volunteer-wrap.tablewrap > table.attendance-volunteer-table > thead{display:none!important}
  .attendance-volunteer-wrap.tablewrap > table.attendance-volunteer-table > tbody{display:grid!important;width:100%!important;gap:12px!important}
  .attendance-volunteer-wrap .attendance-volunteer-row{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
}

html.jvw-attendance-mobile .attendance-volunteer-wrap.tablewrap{
  width:100%!important;
  max-width:100%!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
}
html.jvw-attendance-mobile .attendance-volunteer-wrap.tablewrap > table.attendance-volunteer-table{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
html.jvw-attendance-mobile .attendance-volunteer-table thead{display:none!important}
html.jvw-attendance-mobile .attendance-volunteer-table tbody{display:grid!important;width:100%!important;gap:12px!important}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-row{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--panel,#fff)
}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-row>th,
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-row>td{
  display:grid!important;grid-template-columns:minmax(92px,35%) minmax(0,1fr);gap:8px;align-items:center;
  width:100%!important;max-width:100%!important;min-width:0!important;padding:7px 2px!important;border:0!important;
  border-bottom:1px solid rgba(86,94,106,.12)!important;white-space:normal!important
}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-row>th:last-child,
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-row>td:last-child{border-bottom:0!important}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-row>th::before,
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-row>td::before{
  content:attr(data-label);font-size:11px;font-weight:750;color:var(--muted);line-height:1.2
}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-day.is-mobile-past{display:none!important}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-day select{width:100%!important;min-width:0!important}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-comments textarea{width:100%!important;min-width:0!important;min-height:72px}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-action{align-items:start!important}
html.jvw-attendance-mobile .attendance-volunteer-table .attendance-volunteer-action>button{justify-self:start}
html.jvw-attendance-mobile .attendance-autosave-status{display:block;font-size:11px;color:var(--muted);margin-top:3px;grid-column:2}
