#hms12 .dep50,#hms12 .new50{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0}
#hms12 .dep50 label,#hms12 .new50 label{flex:1 1 180px;min-width:0;max-width:360px}
#hms12 .summary50{display:grid;gap:5px;margin:16px 0;grid-template-columns:repeat(7,minmax(0,1fr));container-type:inline-size}
#hms12 .weekday50{text-align:center;color:#526b75;font-size:12px;padding:4px}
#hms12 .date50{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:9px;min-width:0;min-height:88px;overflow:hidden;color:#193849;background:#f7f9fa;border:1px solid #d9e2e5;border-radius:8px;text-align:left;cursor:pointer;font:inherit}
#hms12 .has50{background:#fff;border-top:3px solid #378477}
#hms12 .today50{outline:2px solid #186c67;outline-offset:-2px}
#hms12 .date50:hover,#hms12 .date50:focus-visible{background:#e8f5f1;border-color:#247368}
#hms12 .date50 strong{font-size:15px}#hms12 .date50 small{font-size:12px;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hms12 .count50{color:#28665e;font-weight:650;font-size:12px}#hms12 .more50{color:#516875}
#hms12 .dialog50{box-sizing:border-box;background:white;color:#173648;border:0;border-radius:14px;padding:0;width:min(640px,94vw);max-height:84dvh;box-shadow:0 16px 60px #15364944}
#hms12 .dialog50::backdrop{background:#142f42a3}
#hms12 .dialog50 header{position:sticky;top:0;z-index:1;background:white;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #d9e2e5}
#hms12 .dialog50 h2{font-size:20px;margin:0}#hms12 .dialog50 h3{font-size:16px;margin:0}
#hms12 .body50{padding:0 20px 18px;overflow-wrap:anywhere}#hms12 .body50 article{display:flex;align-items:center;gap:12px;justify-content:space-between;border-top:1px solid #dce5e8;padding:14px 0}
#hms12 .body50 article p{font-size:13px;margin:4px 0}#hms12 .scope50{font-weight:650}
#hms12 .members50 details{padding:10px 0;border-top:1px solid #dce5e8}#hms12 .members50 summary{cursor:pointer;font-weight:bold}
#hms12 .members50 label{display:grid;grid-template-columns:1fr 1fr;align-items:center;margin:8px 0}
#hms12 .h35-grid.day{width:100%;min-width:0}#hms12 .h35-grid.day tr>th:first-child{width:32%;max-width:180px;overflow-wrap:anywhere}
#hms12 .h35-grid.day td{overflow-wrap:anywhere}#hms12 .h35-plan{min-width:0;container-type:inline-size}
@container(max-width:700px){#hms12 .week50{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr))}#hms12 .month50 .date50{padding:5px;min-height:54px}#hms12 .month50 .date50 small,#hms12 .month50 .count50 span{display:none}#hms12 .month50 .count50{background:#e2f0ea;padding:1px 5px;border-radius:5px}}
@media(max-width:720px){#hms12 .summary50{gap:3px}#hms12 .week50{grid-template-columns:repeat(2,minmax(0,1fr))}#hms12 .month50 .date50{min-height:52px;padding:4px}#hms12 .month50 .date50 small,#hms12 .month50 .count50 span{display:none}#hms12 .body50 article{align-items:flex-start;flex-wrap:wrap}#hms12 .members50 label{grid-template-columns:1fr}}
#hms12 .hint50{margin:12px 0 0;font-size:13px;color:#476371}#hms12 .hint50+.summary50{margin-top:7px}
#hms12 .dialog50 .h12-field select{min-width:0;width:100%}#hms12 .dep50 select{width:100%}
