.hours-dialog{color:#26384e;background:#f5f9fe;border:1px solid #fff;border-radius:14px;width:min(96vw,490px);max-height:92dvh;padding:0;overflow:auto;box-shadow:0 20px 60px #243b6233;font:12px/1.5 system-ui}
.hours-dialog::backdrop{background:#4256744d;backdrop-filter:blur(4px)}
.hours-dialog header{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #dbe4ef;gap:8px}
.hours-dialog header strong{font-size:14px}.hours-dialog header small{display:block;font-size:11px;color:#7b8ba1;margin-top:3px}
.hours-dialog button{color:#365477;background:#eaf1fa;border:1px solid #cfdeef;padding:6px 9px;border-radius:8px;font-size:12px;cursor:pointer;min-height:32px}
.hours-dialog header button{width:32px;font-size:19px;flex:none}.hours-dialog .hours-body{padding:12px}.hours-dialog p{font-size:11px;color:#708197;margin:8px 0;line-height:1.5}
.hours-dialog .hours-amounts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hours-dialog label{font-size:12px;display:grid;gap:4px}
.hours-dialog input{background:white;color:#26384e;border:1px solid #cddbea;border-radius:8px;min-width:0;width:100%;padding:6px;font-size:14px;min-height:34px;box-sizing:border-box}
.hours-dialog .hours-amounts input{font-size:19px;font-weight:600}
.hours-dialog summary{cursor:pointer;padding:9px 0;color:#396ca7;font-size:12px}.hours-dialog .hours-interval{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 34px;align-items:center;gap:5px;margin:6px 0}
.hours-dialog .hours-row{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.hours-dialog .hours-error{color:#aa3e4c;font-size:12px}.hours-dialog footer{display:flex;justify-content:flex-end;gap:6px;padding:10px 12px;border-top:1px solid #dbe4ef}
.hours-dialog .hours-primary{background:#327bf0;color:white;border-color:#327bf0}
.schedule-person-hours{display:flex;align-items:baseline;gap:4px;margin:4px 0 0;padding:2px 4px;border:0;background:#eef4fb;border-radius:5px;color:#426b9b;font-size:9px;cursor:pointer;white-space:normal;text-align:left}
.schedule-person-hours b{display:inline!important;font-size:12px!important}.schedule-person-hours small{display:inline!important;opacity:.65;font-size:10px!important}
@media(max-width:760px){body .hours-dialog{width:calc(100vw - 12px);max-width:490px;max-height:94dvh;padding:0}body .hours-dialog input{font-size:16px;min-height:40px}body .hours-dialog button{min-height:40px;font-size:13px}body .hours-dialog .hours-amounts input{font-size:20px}body .hours-dialog p{font-size:12px}body .hours-dialog summary{font-size:13px;min-height:40px}}
