.time-correction-mark{display:block;max-width:150px;margin-top:6px;color:#829077;font-size:9px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.time-view-filter{display:inline-flex;margin:0 0 15px;max-width:100%;flex-wrap:wrap}
.time-view-filter button{min-height:44px}
.time-view-filter button span{margin-left:5px;padding:2px 6px;border-radius:5px;background:#e8efdf;font-size:10px}
.time-edit-modal{width:min(660px,100%)}
.time-edit-modal,.time-detail-modal{max-height:calc(100dvh - 40px);overscroll-behavior:contain}
.time-edit-modal .modal-header,.time-detail-modal .modal-header{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line)}
.time-edit-modal .modal-header .icon-button,.time-detail-modal .icon-button{min-width:44px;min-height:44px;flex-shrink:0}
.time-edit-modal .modal-header h2{min-width:0;overflow-wrap:anywhere}
.time-edit-intro{margin:18px 0 22px;font-size:12px;line-height:1.8;color:#7b8d70}
.time-open-control,.time-pause-tools label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:12px;color:#577347;cursor:pointer}
.time-open-control input,.time-pause-tools input{width:16px;height:16px;accent-color:var(--green);flex-shrink:0;margin:0}
.time-edit-pauses{margin:20px 0 24px;border-block:1px solid var(--line);padding:18px 0}
.time-edit-section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}
.time-edit-section-heading h3{font-size:14px;margin:0;color:#466a36}
.time-edit-modal .button,.time-detail-modal .button{min-height:44px}
.time-edit-modal input[type="datetime-local"]{width:100%;min-width:0;font-size:12px;font-variant-numeric:tabular-nums;min-height:44px}
.time-edit-modal input:disabled{background:#f2f5ee;color:#8c9b80}
.time-pause-row{min-width:0;margin:12px 0 0;padding:12px 14px 10px;border:1px solid #e2eada;border-radius:10px;background:#fbfdf8}
.time-pause-row legend{font-size:10px;padding:0 6px;color:#859776}
.time-pause-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.time-pause-row .form-field{margin:0;font-size:11px}
.time-pause-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.time-pause-tools label{font-size:11px}
.time-pause-tools .button{border:0;background:transparent;padding:7px;color:#8b796d;font-size:10px}
.time-pause-empty{font-size:12px;color:#94a086;margin:14px 0 0}
.time-edit-reason textarea{min-height:86px;line-height:1.7;resize:vertical}
.time-edit-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:#f3f8eb;border:1px solid #e1ecd6;border-radius:9px;margin:18px 0 12px;color:#64854e;font-size:12px}
.time-edit-preview strong{font-size:15px;color:#37612c;font-variant-numeric:tabular-nums;text-align:right}
.time-edit-attribution{display:flex;align-items:flex-start;gap:7px;color:#88987b;font-size:10px;line-height:1.8}
.time-edit-attribution svg{width:14px;height:14px;margin-top:2px}
.time-edit-reload{display:flex;margin-top:10px}
.time-correction-notice{display:flex;align-items:flex-start;gap:10px;margin-top:21px;padding:13px 15px;border:1px solid #e3eada;border-radius:9px;background:#f7faf2;min-width:0}
.time-correction-notice>svg{width:16px;height:16px;color:#8da47a;margin-top:2px}
.time-correction-notice>div{min-width:0}
.time-correction-notice strong{display:block;font-size:11px;font-weight:600;color:#5c7a49;overflow-wrap:anywhere}
.time-correction-notice time{display:block;font-size:10px;color:#91a17f;margin-top:4px}
.time-correction-notice p{margin:8px 0 0;font-size:12px;line-height:1.7;color:#7b8d6e;white-space:pre-wrap;overflow-wrap:anywhere}
.time-history-toggle{margin-top:14px}
.time-history-item{margin-top:14px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.time-history-item .time-correction-notice{margin:0;border:0;border-radius:0}
.time-history-item details{padding:0 15px}
.time-history-item summary{min-height:44px;padding:13px 0;font-size:11px;color:#7c906b;cursor:pointer}
.time-history-item dl{margin:0 0 15px;display:grid;grid-template-columns:60px minmax(0,1fr);gap:14px 9px;font-size:11px;line-height:1.8;color:#6e845e}
.time-history-item dt{color:#91a17e}
.time-history-item dd{margin:0;overflow-wrap:anywhere}
.time-history-item small{display:block;color:#97a58a;margin-top:3px}
.time-detail-modal .detail-row>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:620px){
 .time-edit-modal,.time-detail-modal{max-height:calc(100dvh - 24px);border-radius:13px}
 .time-edit-modal .modal-header,.time-detail-modal .modal-header{padding:13px 15px 13px 19px}
 .time-edit-modal .modal-body,.time-detail-modal .modal-body{padding:18px 16px}
 .time-edit-modal input[type="datetime-local"],.time-edit-modal textarea{font-size:16px}
 .time-pause-fields{grid-template-columns:minmax(0,1fr);gap:12px}
 .time-pause-row{padding:11px 12px 6px}
 .time-pause-tools{gap:5px}
 .time-pause-tools label{font-size:10px}
 .time-edit-modal .modal-actions{flex-wrap:wrap;gap:8px}
 .time-edit-modal .modal-actions .button{flex:1;white-space:normal}
 .time-edit-preview{padding:12px;font-size:11px}
 .time-edit-preview strong{font-size:13px}
 .time-view-filter{width:100%}
 .time-view-filter button{flex:1;font-size:10px}
}
