@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.block{display:block}}:root{color:#17211e;background:#f3f6f4;font-family:Inter,Noto Sans JP,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:176px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#103b31;height:100vh;padding:10px 8px;position:sticky;top:0}.brand{align-items:center;gap:9px;padding:0 8px 15px;display:flex}.brand>b{color:#17372f;background:#d6a64c;border-radius:9px;place-items:center;width:32px;height:32px;font-size:18px;display:grid}.brand strong,.brand small{display:block}.brand small{opacity:.68}.sidebar nav{grid-template-columns:minmax(0,1fr);gap:3px;display:grid}.sidebar nav button{color:#dbe9e4;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:9px;width:100%;min-width:0;padding:8px 9px;font-size:14px;font-weight:650;overflow:hidden}.sidebar nav button .report-icon{vertical-align:-3px;margin-right:7px}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#205247}.workspace{min-width:0}.topbar{background:#fff;border-bottom:1px solid #dfe7e3;justify-content:space-between;align-items:center;height:52px;padding:0 12px;display:flex}.topbar h1{margin:1px 0 0;font-size:17px}.topbar small{letter-spacing:.15em;color:#6a7d77;font-weight:800}.avatar{color:#17493d;background:#dcebe6;border:0;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.user-menu{position:relative}.user-popover{z-index:20;background:#fff;border:1px solid #d8e2de;border-radius:8px;gap:4px;width:260px;padding:12px;display:grid;position:absolute;top:38px;right:0;box-shadow:0 10px 30px #17372f24}.user-popover span{color:#65756f;overflow-wrap:anywhere;font-size:12px}.user-popover form{margin-top:7px}.user-popover form button{color:#24443b;background:#fff;border:1px solid #cad7d2;border-radius:6px;width:100%;padding:5px 8px}.content{max-width:1800px;margin:auto;padding:10px 12px 20px}.page-heading,.edit-toolbar,.record-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.page-heading h2,.record-title h2{margin:0;font-size:20px}.page-heading p{color:#708079;margin:2px 0}.actions{gap:8px;display:flex}.primary,.secondary,.danger,.back{border-radius:8px;padding:6px 10px;font-weight:700}.primary{color:#fff;background:#17644f;border:1px solid #17644f}.secondary,.back{color:#24443b;background:#fff;border:1px solid #cad7d2}.danger{color:#a62828;background:#fff;border:1px solid #c94b4b;min-width:58px}.danger:hover{background:#fff1f1}.danger-confirm,.danger-confirm:hover{color:#fff;background:#a62828;border-color:#a62828;min-width:88px}.back{background:0 0;border:0}.filterbar{background:#fff;border:1px solid #d8e2de;border-radius:10px;align-items:center;gap:9px;max-width:460px;margin:8px 0 6px;padding:0 10px;display:flex}.filterbar input{border:0;outline:0;width:100%;padding:5px 0}.table-wrap{background:#fff;border:1px solid #dbe4e0;border-radius:12px;overflow:auto}table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1050px}.col-no{width:68px}.col-kind{width:106px}.col-severity{width:100px}.col-date{width:82px}.col-title{width:280px}.col-status{width:122px}.col-reporter{width:105px}.col-people{width:187px}th{text-align:left;color:#60736c;white-space:nowrap;background:#f5f8f7;border-bottom:1px solid #dfe7e3;padding:4px 6px;font-size:12px}td{vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;border-bottom:1px solid #e8eeeb;height:30px;padding:4px 6px;font-size:12px;line-height:1.25;overflow:hidden}.sort-button{width:100%;color:inherit;white-space:nowrap;background:0 0;border:0;justify-content:space-between;gap:4px;padding:0;font-weight:750;display:flex}.sort-button span{color:#8b9994;font-size:9px}.column-filters th{background:#f5f8f7;padding:3px 4px 5px}.column-filters input{background:#fff;border:1px solid #d7e0dc;border-radius:4px;width:100%;height:24px;padding:2px 5px;font-size:11px}tr:hover td{background:#f7fbf9}tr.completed td{color:#7f8b87;background:#f5f6f6}.mono{font-family:ui-monospace,monospace;font-weight:700}.link{color:#17644f;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;max-width:100%;padding:0;font-weight:700;display:block;overflow:hidden}.type{white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:2px 6px;font-size:12px;font-weight:750;display:inline-flex}.report-icon{flex:0 0 18px;place-items:center;width:18px;height:18px;display:inline-grid;position:relative}.report-icon i{z-index:1;color:#fff;font-size:12px;font-style:normal;font-weight:950;line-height:1;position:relative}.report-icon.near_miss{background:#2878bd;border-radius:50%}.report-icon.incident{clip-path:polygon(50% 4%,98% 94%,2% 94%);background:#c84034;padding-top:4px}.type.incident{color:#a8352b;background:#fde8e6}.type.near_miss{color:#26629a;background:#e5f0fa}.status{white-space:nowrap;font-size:12px}.chips{flex-wrap:nowrap;gap:3px;display:flex;overflow:hidden}.chips>span{color:#285246;background:#e9f1ee;border-radius:999px;align-items:center;gap:5px;padding:1px 5px;font-size:12px;display:inline-flex}.chips button{background:0 0;border:0}.edit-toolbar{margin-bottom:10px}.record-title{background:#fff;border:1px solid #dbe5e1;border-left:5px solid #d1a24a;border-radius:11px;margin-bottom:9px;padding:11px 14px}.record-title>div{align-items:center;gap:8px;display:flex}.record-title h2{font-size:19px}.notice,.error{border-radius:9px;gap:8px;margin:8px 0;padding:8px 10px;display:flex}.notice{color:#225646;background:#e8f3ee}.error{color:#9c3026;background:#fff0ef;border:1px solid #f1c5c0;flex-direction:column}.form-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.form-card{background:#fff;border:1px solid #dce5e1;border-radius:11px;overflow:hidden}.form-card h3{background:#f5f8f7;border-bottom:1px solid #e2e9e6;margin:0;padding:8px 11px;font-size:15px}.form-body{gap:8px;padding:10px 11px;display:grid}.two{grid-template-columns:1fr 1fr;gap:8px;display:grid}.field{color:#53655f;gap:3px;font-size:12px;font-weight:700;display:grid}.field b{color:#bd362c;margin-left:3px}.field input,.field select,.field textarea,.person-picker{color:#16231f;background:#fff;border:1px solid #cbd8d3;border-radius:7px;width:100%;padding:6px 8px}.field textarea{resize:vertical;line-height:1.55}.field input:focus,.field select:focus,.field textarea:focus{border-color:#39816e;outline:3px solid #39816e1c}.field input:disabled{background:#f1f4f3}.field.invalid>span{color:#a62828}.field.invalid input,.field.invalid select,.field.invalid textarea,.field.invalid .person-picker{background:#fff7f6;border-color:#c83f35;box-shadow:0 0 0 2px #c83f3517}.field-error{color:#a62828;font-size:11px;font-weight:700}.person-picker{gap:5px;padding:5px;display:grid}.person-picker select{border:0}.audit{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.audit span{color:#718079;font-size:11px;display:grid}.audit strong{color:#17211e;margin-top:2px;font-size:13px}@media (max-width:1050px){.app-shell{grid-template-columns:164px 1fr}.form-grid{grid-template-columns:1fr}.sidebar nav button{font-size:11px}}@media (max-width:700px){.app-shell{display:block}.sidebar{height:auto;padding:10px;position:static}.brand{display:none}.sidebar nav{grid-template-columns:repeat(3,1fr)}.sidebar nav button{text-align:center;font-size:11px}table{table-layout:auto;min-width:720px}.topbar{padding:0 16px}.content{padding:18px 14px}.page-heading,.record-title{flex-direction:column;align-items:flex-start}.form-grid,.two,.audit{grid-template-columns:1fr}}
