/* CECOR keeps a flat, compact strip at every PC width. */
#app.epic-system .cecor-nav.desk-section-tabs{flex-wrap:wrap;overflow:visible}
#app .cloth-bag .cloth-state{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:24px;padding:4px 7px;border:1px solid;border-radius:5px;font-size:10px;line-height:1.2;font-weight:750;white-space:nowrap;box-sizing:border-box}
#app .cloth-bag.pendent{border-left-color:#b42332}#app .cloth-bag.preparat{border-left-color:#bd8900}#app .cloth-bag.lliurat{border-left-color:#226b3d}
#app .cloth-bag.pendent .cloth-state{background:#fde8e9;color:#981c29;border-color:#e5a9af}
#app .cloth-bag.preparat .cloth-state{background:#fff0ab;color:#654d00;border-color:#d3b247}
#app .cloth-bag.lliurat .cloth-state{background:#dff3e5;color:#165f32;border-color:#92c5a1}
#app .cloth-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
#app .cloth-actions button{min-width:0;padding:7px 6px;font-size:10px;min-height:34px;white-space:nowrap}
#app .cloth-actions button:disabled{opacity:.45;cursor:default}
.housing-room-dialog{width:min(740px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 40px);padding:0;margin:auto;border:1px solid var(--epic-border,#e1d9de);border-radius:9px;background:var(--epic-surface,#fff);color:var(--epic-ink,#242424);box-shadow:0 20px 70px #0004;overflow:auto;box-sizing:border-box}
.housing-room-dialog::backdrop{background:#231f2099}
#app .housing-room-dialog .housing-room-detail{margin:0;border:0;padding:16px}
#app .housing-room-dialog .housing-toolbar{margin:0 0 10px;align-items:start}
#app .housing-room-dialog h3{font-size:16px;margin:0;line-height:1.3}
.housing-room-dialog .housing-toolbar p{margin:5px 0;font-size:12px}
.housing-dialog-occupants{max-height:60dvh;overflow:auto}
.housing-dialog-actions{margin-top:12px;justify-content:flex-end}
@media(max-width:700px){#app .cloth-actions button{min-height:40px}#app .housing-room-dialog .housing-room-detail{padding:12px}.housing-room-dialog{max-height:calc(100dvh - 24px)}.housing-room-dialog .housing-assignment{align-items:start;gap:7px}.housing-room-dialog .housing-assignment>div:first-child{flex-basis:100%}}
@media print{.housing-room-dialog{display:none!important}}
#app .vol-cards>.vol-card{min-width:0;overflow-wrap:anywhere}
@media(min-width:1024px){#app.epic-system .volunteer-roster .vol-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}}
@media(max-width:699px){#app.epic-system .volunteer-roster .vol-cards{grid-template-columns:minmax(0,1fr)}}
