.role-shortcuts,.diary-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.role-shortcuts .button,.diary-jumps .button{white-space:normal;min-height:44px;text-align:center}.diary-jumps{position:sticky;top:8px;background:#f5f8f5;padding:10px;border-radius:14px;z-index:4}.daily-entry,.field-finish{max-width:850px}.daily-entry .field,.field-finish .field{margin:16px 0}.daily-entry input,.daily-entry select,.field-finish input,.field-finish select,.field-finish textarea{max-width:100%;width:100%;min-height:44px;font-size:16px}.daily-entry .daily-previous{margin:18px 0;font-size:14px}.daily-extras{margin-top:18px}.daily-extras summary,.attendance-extra summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#126c5a}.finish-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center}.finish-photos{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.finish-photos img{width:86px;height:86px;object-fit:cover;border-radius:10px}.finish-save,.daily-save{display:grid;grid-template-columns:1fr 1fr}.finish-save .button,.daily-save .button{width:100%;min-height:48px;white-space:normal}.day-choice{padding:0;margin:12px 0 0;border:0}.day-choice legend{font-size:13px;margin-bottom:6px}.day-choice>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.day-choice label{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 4px;min-height:44px;border:1px solid #d7e3dc;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer}.day-choice input{width:17px!important;height:17px;min-height:17px!important;accent-color:#126c5a}.day-choice label:has(input:checked){background:#e5f4eb;border-color:#126c5a;color:#0e5946}.day-choice label:focus-within{outline:2px solid #126c5a;outline-offset:2px}.attendance-extra .form-grid{margin-top:4px}.attendance-extra summary{font-size:13px}.attendance-person h2{font-size:17px}.attendance-person{padding:16px}.attendance-person .field input{font-size:16px}.pdf-surface{max-height:70vh}#diary-photos,#diary-review,#drawing-publish,#acceptance-review{scroll-margin-top:110px}
@media(max-width:760px){.role-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.role-shortcuts .button{font-size:13px;padding:10px}.day-choice label{font-size:14px}.field-finish .detail-panel,.daily-entry .detail-panel{padding:18px}.daily-save,.finish-save{padding:10px;gap:8px}.field-finish .help-note{margin-top:12px}.diary-jumps{top:4px;margin:12px 0}.diary-jumps .button{flex:1;font-size:13px;padding:10px}}
@media print{.role-shortcuts,.diary-jumps{display:none}.pdf-surface{max-height:none}}

.machine-entry{max-width:800px}.machine-entry .field{margin:16px 0}.machine-entry input:not([type=checkbox]),.machine-entry select,.machine-entry textarea{width:100%;min-height:44px;font-size:16px}.machine-entry .check-field{display:flex;align-items:center;gap:14px;min-height:44px}.machine-entry input[type=checkbox]{width:24px;height:24px}.machine-photo{max-width:100%;width:260px;max-height:240px;object-fit:contain;border-radius:12px;display:block;margin:16px 0}.machine-incident{padding:20px 0;border-bottom:1px solid #dce6e1;overflow-wrap:anywhere}.machine-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.machine-facts strong{overflow-wrap:anywhere}.machine-warning{color:#8b5017!important}.machine-incident .stack-form{margin-top:16px}@media(max-width:400px){.machine-facts{grid-template-columns:1fr}}
.field-finish .enhanced-picker,.machine-entry .enhanced-picker{position:absolute;width:1px!important;height:1px!important;min-height:0!important;padding:0;opacity:0;pointer-events:none;clip-path:inset(50%)}.day-choice label{white-space:nowrap;font-size:13px;gap:4px;height:100%}.day-choice input{flex:none}@media(max-width:360px){.day-choice label{font-size:12px;gap:2px;padding:8px 2px}.day-choice input{width:14px!important;height:14px;min-height:14px!important}}
.section-menu>summary{display:none}.section-menu{margin:12px 0}@media(max-width:760px){.section-menu>summary{display:flex;align-items:center;min-height:44px;color:#126c5a;font-weight:650;cursor:pointer}.section-menu>summary:before{content:"＋";margin-right:10px}.section-menu[open]>summary:before{content:"−"}}
@media(max-width:760px){.form-panel>.data-form>.form-footer{position:sticky;bottom:8px;z-index:5;background:#fff;border:1px solid #dce6e1;border-radius:14px;padding:12px;box-shadow:0 4px 26px #183e3220}.form-panel>.data-form>.form-footer>small{display:none}.form-panel>.data-form>.form-footer>.button{width:100%;min-height:44px}}

.record-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.record-cards h2{overflow-wrap:anywhere}.record-cards .panel{min-width:0}.record-cards p{overflow-wrap:anywhere}

input.compact-file{position:absolute;width:1px!important;height:1px!important;min-height:0!important;opacity:0;padding:0;clip-path:inset(50%)}.file-choice{min-height:44px}.data-form small[role=status]{overflow-wrap:anywhere}

.receiving-form{max-width:920px}.receiving-form .field{margin-top:16px}.receiving-form .form-grid>.field{margin-top:0}.receiving-form .form-grid>.wide{grid-column:1/-1}.receiving-form .sticky-save{max-width:920px}.receiving-form summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.receiving-form .panel>p{margin-bottom:18px}
