.incident-screen{color:#263b4e;box-sizing:border-box;overflow-wrap:anywhere;width:100%;min-width:0;max-width:1200px;padding:16px;font-size:14px;line-height:1.65}.incident-screen *{box-sizing:border-box;min-width:0}.incident-screen header,.incident-screen nav,.incident-filter,.incident-residents>div{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.incident-screen header{justify-content:space-between}.incident-screen h1{margin:0;font-size:20px}.incident-screen button,.incident-screen input,.incident-screen select,.incident-screen textarea{font:inherit;box-sizing:border-box;color:inherit;background:#fff;border:1px solid #bdccd5;border-radius:8px;padding:9px 12px}.incident-screen button{cursor:pointer;min-height:42px}.incident-screen button:disabled{cursor:default;opacity:.55}.incident-screen button[aria-pressed=true],.incident-screen .incident-primary{color:#fff;background:#246f6a;border-color:#246f6a}.incident-screen label{margin:10px 0;display:block}.incident-screen label>input,.incident-screen label>select,.incident-screen textarea{width:100%;margin-top:4px;display:block}.incident-screen textarea{resize:vertical}.incident-screen fieldset{border:1px solid #dce3e8;border-radius:10px;min-width:0;margin:16px 0}.incident-screen details{margin:12px 0}.incident-screen summary{cursor:pointer;font-weight:600}.incident-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.incident-screen .incident-list-row{text-align:left;border-left:5px solid #e4b52e;flex-direction:column;width:100%;margin-bottom:10px;display:flex}.incident-screen .incident-list-row.accident{border-left-color:#e85454}.incident-banner{background:#fff5cf;border-radius:9px;flex-wrap:wrap;gap:10px;padding:14px;display:flex}.incident-banner.accident{background:#fff0f0;border-left:5px solid #e85454}.incident-error,.incident-return{color:#962c2c;background:#fff0f0;border-radius:8px;padding:12px}.incident-help{color:#536b7d;font-size:12px}.incident-pre{white-space:pre-wrap;overflow-wrap:anywhere}.incident-screen a{color:#176b69;margin:8px;display:inline-block}@media (width<=480px){.incident-screen{padding:6px 0}.incident-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.incident-screen fieldset{padding:10px}.incident-screen h1{font-size:17px}}.incident-statistics-totals{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.incident-statistics-totals>div{text-align:center;background:#f2f6f8;border-radius:9px;padding:12px 8px}.incident-statistics-totals strong{font-size:23px;display:block}.incident-statistics-tables{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:start;gap:16px;display:grid}.incident-statistics-breakdown{min-width:0}.incident-statistics-breakdown h3{margin-bottom:8px}.incident-statistics-breakdown table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:13px}.incident-statistics-breakdown th,.incident-statistics-breakdown td{text-align:right;overflow-wrap:anywhere;border:1px solid #dce3e8;padding:7px 4px}.incident-statistics-breakdown th:first-child{text-align:left;width:40%}.incident-statistics-breakdown thead{background:#f2f6f8}.incident-screen input[type=month],.incident-screen input[type=date]{min-width:0;font-size:16px}.incident-screen input:not([type=checkbox]),.incident-screen select,.incident-screen textarea{max-width:100%;font-size:16px}.incident-screen input:not([type=checkbox]),.incident-screen select,.incident-screen button{min-height:44px}.incident-screen input[type=date],.incident-screen input[type=time],.incident-screen input[type=month]{appearance:none}.incident-screen input::-webkit-date-and-time-value{text-align:left;min-width:0}@media (width<=359px){.incident-grid{grid-template-columns:minmax(0,1fr)}}.incident-screen .incident-list-row{gap:4px;padding:9px 8px}.incident-row-line{flex-wrap:wrap;align-items:baseline;gap:4px;width:100%;display:flex}.incident-row-subject{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:2em;overflow:hidden}.incident-row-kind,.incident-row-state,.incident-row-marker,.incident-row-count{flex:none;font-size:12px}.incident-row-marker{color:#8a370b;background:#fff0da;border-radius:3px;padding:0 3px}.incident-row-secondary{color:#536b7d;font-size:12px}.incident-row-type{flex:1}.incident-confirmation{border:1px solid #bdccd5;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:12px 0;padding:12px;display:flex}.incident-confirmation button{flex:none;max-width:100%}.incident-readonly{border:1px solid #dce3e8;border-radius:10px;margin:16px 0;padding:12px}.incident-readonly dl{grid-template-columns:6em minmax(0,1fr);gap:8px;display:grid}.incident-readonly dt{font-weight:600}.incident-readonly dd{margin:0}.incident-readonly h3{font-size:15px}.incident-readonly p{margin-bottom:20px}.app-shell{min-height:100dvh;padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}.app-shell.app-schedule-layout{min-height:0;padding-bottom:0}.app-main-content{box-sizing:border-box;width:100%;min-width:0;max-width:1600px;padding:16px 20px}.app-main-content input:not([type=checkbox]):not([type=radio]),.app-main-content select,.app-main-content textarea{box-sizing:border-box;min-width:0;max-width:100%;font-size:16px!important}.app-main-content input:not([type=checkbox]):not([type=radio]),.app-main-content select{min-height:44px}.app-main-content input[type=date],.app-main-content input[type=time],.app-main-content input[type=month]{appearance:none}.app-main-content input::-webkit-date-and-time-value{text-align:left;min-width:0}.date-parts{grid-template-columns:minmax(64px,1.5fr) auto minmax(40px,1fr) auto minmax(40px,1fr) auto;align-items:center;gap:4px;max-width:320px;display:grid}.date-parts>input{min-width:0;min-height:44px;width:100%!important;padding-left:6px!important;padding-right:6px!important;font-size:16px!important}.resident-basic-info{max-width:1280px}.resident-basic-details{grid-template-columns:minmax(0,1fr);column-gap:24px;display:grid}.resident-basic-details>div,.page-heading{min-width:0}.page-heading>button{white-space:nowrap;flex-shrink:0;min-height:44px}.page-heading>div{overflow-wrap:anywhere;min-width:0}.app-header{box-sizing:border-box}.app-header-brand{min-width:0}.app-header button{min-height:44px}.app-header button[aria-label=メニュー]{min-width:44px}.app-bottom-nav{box-sizing:border-box;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}.app-bottom-nav>button{min-height:44px}.record-resident-picker{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px;margin-bottom:12px;display:grid}.dashboard-residents{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.dashboard-residents>div{min-width:0}.dashboard-residents button{min-height:44px}.record-modal-overlay{box-sizing:border-box}.record-modal{min-width:0;max-height:calc(var(--dialog-height,100vh) - 12px)}.record-modal,.record-modal *{box-sizing:border-box}.record-modal-heading{gap:12px;min-width:0}.record-modal-heading>div{overflow-wrap:anywhere;min-width:0}.record-modal-heading>button{flex-shrink:0;min-width:44px;min-height:44px}.record-modal-body{overscroll-behavior:contain;min-height:0}.record-modal input:not([type=checkbox]):not([type=radio]),.record-modal select,.record-modal textarea{min-width:0;max-width:100%;font-size:16px!important}.record-modal input:not([type=checkbox]):not([type=radio]),.record-modal select{min-height:44px}.record-modal input[type=date]{appearance:none}.record-modal input::-webkit-date-and-time-value{text-align:left;min-width:0}.record-modal-datetime{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;max-width:440px;display:grid}.record-modal-datetime>span{grid-column:1/-1}.record-modal-datetime>input{width:100%}.record-modal-body button{min-height:44px}.record-modal-types{grid-template-columns:repeat(2,minmax(0,1fr))!important}.record-modal-types>button{overflow-wrap:anywhere;min-width:0}.record-modal-types>button>span:first-child{flex-shrink:0}.record-modal-footer{padding-bottom:calc(11px + env(safe-area-inset-bottom,0px))!important}.viewport-dialog[data-short-viewport] .record-modal{overscroll-behavior:contain;overflow-y:auto;display:block!important}.viewport-dialog[data-short-viewport] .record-modal-body{overflow:visible!important}@media (width>=768px){.dashboard-residents,.resident-basic-details{grid-template-columns:repeat(2,minmax(0,1fr))}.record-modal-overlay{padding:20px;align-items:center!important}.record-modal{max-height:calc(var(--dialog-height,100vh) - 40px);overflow:hidden;border-radius:20px!important;max-width:720px!important}}@media (width>=1440px){.app-main-content{padding:20px 24px}.dashboard-residents{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=479px){.app-main-content{padding:12px 10px}.app-header{gap:6px!important;padding-left:6px!important;padding-right:8px!important}.app-header-brand{gap:3px!important}.app-header-date{display:none}.record-modal-types>button{gap:7px!important;padding:10px!important}}@media (height<=500px){.record-modal-overlay{padding:6px;align-items:center!important}.record-modal{max-height:calc(var(--dialog-height,100vh) - 12px);border-radius:12px!important}}.viewport-dialog{box-sizing:border-box;height:var(--dialog-height,100vh);top:var(--dialog-top,0px)!important;bottom:auto!important}@supports (height:100dvh){.viewport-dialog{height:var(--dialog-height,100dvh)}}.shared-note-screen{min-width:0;max-width:1200px}.shared-note-screen button{min-height:44px}.shared-note-screen input,.shared-note-screen textarea,.shared-note-screen select{min-width:0;max-width:100%;font-size:16px!important}.shared-note-screen input,.shared-note-screen select{min-height:44px}.shared-note-header{flex-wrap:wrap}.shared-note-identity{flex:240px}.shared-note-actions{margin-left:auto}.shared-note-title{overflow-wrap:anywhere;white-space:normal!important}
