@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-thai-thai-400-normal-BEOmKAI1.woff2)format("woff2"),url(/assets/noto-sans-thai-thai-400-normal-Dxb_unuU.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-thai-latin-ext-400-normal-nBP59pVw.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-ext-400-normal-B-1H0YkH.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-thai-latin-400-normal-BaWBrqFP.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-400-normal-Dh_FJjOB.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-thai-thai-500-normal-CU_X86GQ.woff2)format("woff2"),url(/assets/noto-sans-thai-thai-500-normal-BOGXO2tw.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-thai-latin-ext-500-normal-B-ZWb8SZ.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-ext-500-normal-CrEHO7C8.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-thai-latin-500-normal-fyBKClF1.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-500-normal-BC04jsmm.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-thai-thai-600-normal-Cs73sVjl.woff2)format("woff2"),url(/assets/noto-sans-thai-thai-600-normal-CmgB8_JK.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-thai-latin-ext-600-normal-maHHBsez.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-ext-600-normal-PkMZo0xa.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-thai-latin-600-normal-CemcjnVR.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-600-normal-Dbc-dNO6.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-thai-thai-700-normal-Cm52XUnT.woff2)format("woff2"),url(/assets/noto-sans-thai-thai-700-normal-C9ISMlQq.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-thai-latin-ext-700-normal-uJk63onE.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-ext-700-normal-xdwl2Xg6.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-thai-latin-700-normal-_dn-40wb.woff2)format("woff2"),url(/assets/noto-sans-thai-latin-700-normal-C4AMFKt5.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:#16233d;font-synthesis:none;text-rendering:optimizelegibility;--navy:#173b85;--navy-dark:#102a61;--navy-soft:#e8eefb;--red:#d62828;--ink:#16233d;--muted:#66738d;--line:#dce3ef;--surface:#fff;--canvas:#f3f6fb;--shadow:0 8px 24px #163b8514;background:#f3f6fb;font-family:Noto Sans Thai,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--canvas);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #d6282847}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{min-height:100vh}.sidebar{z-index:30;color:#fff;background:linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);flex-direction:column;width:260px;transition:width .22s,transform .22s;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:8px 0 28px #07193d1f}.sidebar__brand{border-bottom:1px solid #ffffff1f;align-items:center;gap:10px;min-height:92px;padding:14px 16px;display:flex;overflow:hidden}.sidebar__brand-line{background:var(--red);border-radius:99px;flex:none;width:5px;height:42px}.sidebar__brand-logo{object-fit:contain;flex:none;width:44px;height:50px;display:block}.sidebar__brand-copy{gap:2px;min-width:0;display:grid}.sidebar__brand-copy strong{letter-spacing:.09em;font-size:1rem}.sidebar__brand-copy span{color:#ffffffad;font-size:.67rem;line-height:1.45}.sidebar__nav{flex:1;align-content:start;gap:6px;padding:24px 14px;display:grid}.sidebar__link,.sidebar__login,.sidebar__collapse{color:#ffffffb8;white-space:nowrap;border-radius:10px;align-items:center;gap:13px;min-height:46px;padding:0 15px;transition:background .18s,color .18s;display:flex;overflow:hidden}.sidebar__link:hover,.sidebar__login:hover{color:#fff;background:#ffffff17}.sidebar__link--active{color:#fff;box-shadow:inset 3px 0 0 var(--red);background:#ffffff24}.sidebar__footer{border-top:1px solid #ffffff1a;padding:14px}.sidebar__user{color:#ffffffb8;align-items:center;gap:13px;min-height:50px;margin-bottom:8px;padding:7px 15px;display:flex;overflow:hidden}.sidebar__user>svg{flex:none}.sidebar__user>div{gap:1px;min-width:0;display:grid}.sidebar__user strong,.sidebar__user span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar__user strong{color:#fff;font-size:.76rem}.sidebar__user span{font-size:.64rem}.sidebar__login{margin-bottom:8px}.sidebar__collapse{cursor:pointer;background:#0000001f;border:0;width:100%}.icon-button.sidebar__mobile-close,.sidebar-backdrop{display:none}.app-main{min-height:100vh;margin-left:260px;transition:margin-left .22s}.app-shell--collapsed .sidebar{width:84px}.app-shell--collapsed .app-main{margin-left:84px}.app-shell--collapsed .sidebar__brand{justify-content:center;padding-inline:16px}.app-shell--collapsed .sidebar__brand-line{display:none}.app-shell--collapsed .sidebar__brand-logo{width:46px;height:52px}.app-shell--collapsed .sidebar__brand-copy,.app-shell--collapsed .sidebar__user>div,.app-shell--collapsed .sidebar__link span,.app-shell--collapsed .sidebar__login span,.app-shell--collapsed .sidebar__collapse span{display:none}.app-shell--collapsed .sidebar__user,.app-shell--collapsed .sidebar__link,.app-shell--collapsed .sidebar__login,.app-shell--collapsed .sidebar__collapse{justify-content:center;padding-inline:0}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20;background:#ffffffe0;align-items:center;gap:18px;height:72px;padding:0 34px;display:flex;position:sticky;top:0}.icon-button.topbar__menu{display:none}.topbar__logo{object-fit:contain;display:none}.topbar__title{flex:1;min-width:0;display:grid}.topbar__title strong,.topbar__title>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar__title strong{color:var(--navy);font-size:.9rem}.topbar__title>span{color:var(--muted);font-size:.7rem}.role-switcher{color:var(--muted);align-items:center;gap:9px;font-size:.76rem;display:flex}.role-switcher select{height:36px;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:8px;padding:0 30px 0 12px}.session-badge{min-width:0;max-width:220px;color:var(--muted);justify-items:end;font-size:.68rem;display:grid}.session-badge strong{max-width:100%;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.icon-button{cursor:pointer;width:38px;height:38px;color:inherit;background:0 0;border:0;border-radius:9px;place-items:center;display:inline-grid}.icon-button:hover{background:#ffffff1a}.page-wrap{max-width:1500px;margin:0 auto;padding:26px 34px 42px}.connection-status{border:1px solid var(--line);min-height:54px;color:var(--navy);background:#fff;border-radius:12px;align-items:center;gap:12px;margin-bottom:25px;padding:10px 15px;display:flex}.connection-status__icon{background:#eef3ff;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid}.connection-status--demo{color:#63480b;background:#fff9e9;border-color:#f1d595}.connection-status--demo .connection-status__icon{background:#ffe8aa}.connection-status--checking{color:#173b7a;background:#f4f7ff;border-color:#b9caee}.connection-status--healthy{color:#145a36;background:#f1fbf5;border-color:#add9c2}.connection-status--healthy .connection-status__icon{background:#d8f3e3}.connection-status--error{color:#8b1b1b;background:#fff5f5;border-color:#efb4b4}.connection-status--error .connection-status__icon{background:#ffe0e0}.connection-status div{gap:1px;display:grid}.connection-status strong{font-size:.82rem}.connection-status span{font-size:.72rem}.page-heading{justify-content:space-between;align-items:end;gap:24px;margin:0 0 24px;display:flex}.page-heading--compact{margin-top:8px}.page-heading h1,.detail-hero h1,.login-copy h1{letter-spacing:-.025em;margin:1px 0 4px;font-size:clamp(1.7rem,2.5vw,2.25rem);line-height:1.2}.page-heading p,.login-copy>p:last-child{color:var(--muted);margin:0;font-size:.88rem}.dashboard-page-heading>div{min-width:0}.dashboard-page-heading__action{white-space:nowrap;flex:none}.eyebrow{color:var(--red);letter-spacing:.09em;text-transform:uppercase;margin:0;font-size:.68rem;font-weight:700}.button{cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:.84rem;font-weight:600;transition:transform .16s,box-shadow .16s;display:inline-flex}.button:not(:disabled):hover{transform:translateY(-1px)}.button--primary{color:#fff;background:var(--red);box-shadow:0 7px 16px #d628282e}.button--secondary{color:var(--navy);border-color:var(--line);background:#fff}.button--full{width:100%}.button:disabled,.text-button:disabled{cursor:not-allowed;opacity:.52;box-shadow:none}.stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.dashboard-error,.dashboard-loading{margin-bottom:14px;padding:18px}.dashboard-error{color:#7b1f1f;justify-content:space-between;align-items:center;gap:14px;display:flex}.dashboard-error p{margin:0}.dashboard-filter{margin-bottom:14px;padding:18px}.filter-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.filter-toolbar__fields{gap:12px;min-width:0;display:grid}.filter-toolbar__fields--month,.filter-toolbar__fields--year{grid-template-columns:minmax(145px,.65fr) minmax(260px,1fr)}.filter-toolbar__fields--range{grid-template-columns:minmax(145px,.65fr) repeat(2,minmax(190px,1fr))}.filter-toolbar .field{min-width:0;margin:0}.filter-toolbar__actions{flex-wrap:wrap;align-items:center;gap:8px;padding-top:25px;display:flex}.filter-toolbar__actions .button{min-height:43px}.filter-toolbar__summary{color:var(--navy);margin-top:9px;font-size:.72rem;display:block}.thai-month-picker{grid-template-columns:minmax(135px,1fr) 118px;gap:8px;display:grid}.thai-month-picker__year{border:1px solid var(--line);height:43px;color:var(--muted);background:#fbfcfe;border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:center;display:grid;overflow:hidden}.thai-month-picker__year>span{padding-left:10px;font-size:.72rem;font-weight:600}.field .thai-month-picker__year input{background:0 0;border:0;border-radius:0;min-width:0;height:41px;padding-inline:6px 8px}.thai-month-picker__summary{min-height:16px;color:var(--navy);font-size:.65rem;font-weight:600}.stat-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:43px 1fr;align-items:center;gap:13px;min-height:122px;padding:19px;display:grid;position:relative;overflow:hidden;box-shadow:0 3px 14px #163b850a}.stat-card__icon{width:43px;height:43px;color:var(--navy);background:var(--navy-soft);border-radius:12px;place-items:center;display:grid}.stat-card div{display:grid}.stat-card strong{font-size:1.55rem;line-height:1.2}.stat-card div span{color:var(--muted);font-size:.75rem}.stat-card small{color:#8a95a8;font-size:.58rem;position:absolute;top:13px;right:15px}.stat-card--primary{color:#fff;border-color:var(--navy);background:var(--navy)}.stat-card--primary .stat-card__icon{color:#fff;background:#ffffff24}.stat-card--primary div span,.stat-card--primary small{color:#ffffffad}.stat-card--alert .stat-card__icon{color:var(--red);background:#fceaea}.charts-grid{grid-template-columns:minmax(0,1.65fr) minmax(360px,1fr);gap:14px;margin-bottom:14px;display:grid}.panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;box-shadow:0 3px 14px #163b850a}.chart-panel{min-height:320px;padding:20px}.panel__header{justify-content:space-between;align-items:start;gap:18px;margin-bottom:18px;display:flex}.panel h2,.form-section-heading h2,.system-card h2,.report-card h2{margin:2px 0 0;font-size:1rem}.demo-chip{color:#73540b;white-space:nowrap;background:#fff9e9;border:1px solid #efdcad;border-radius:99px;align-items:center;min-height:25px;padding:0 9px;font-size:.62rem;display:inline-flex}.bar-chart{border-bottom:1px solid var(--line);background-image:linear-gradient(#eef2f8 1px,#0000 1px);background-size:100% 25%;grid-template-columns:repeat(6,1fr);align-items:end;gap:14px;height:225px;padding:15px 5px 0;display:grid}.bar-chart__item{grid-template-rows:24px 1fr 26px;justify-items:center;height:100%;display:grid}.bar-chart__value{color:var(--muted);font-size:.66rem}.bar-chart__track{background:#173b8512;border-radius:7px 7px 0 0;align-items:end;width:min(33px,62%);height:100%;display:flex;overflow:hidden}.bar-chart__track span{background:linear-gradient(180deg, #3667c6, var(--navy));border-radius:7px 7px 0 0;width:100%}.bar-chart__item:last-child .bar-chart__track span{background:linear-gradient(180deg, #e24b4b, var(--red))}.bar-chart__label{color:var(--muted);align-self:end;font-size:.65rem}.donut-layout{grid-template-columns:150px 1fr;align-items:center;gap:21px;min-height:220px;display:grid}.donut-chart{aspect-ratio:1;background:conic-gradient(#173b85 0 38%, #d62828 38% 64%, #f0a202 64% 85%, #7a8aa6 85% 100%);border-radius:50%;place-items:center;width:145px;display:grid}.donut-chart:before{content:"";aspect-ratio:1;width:88px;box-shadow:inset 0 0 0 1px var(--line);background:#fff;border-radius:50%;grid-area:1/1}.donut-chart div{z-index:1;text-align:center;grid-area:1/1;display:grid}.donut-chart strong{font-size:1.35rem}.donut-chart span{color:var(--muted);font-size:.65rem}.chart-legend{gap:12px;margin:0;padding:0;list-style:none;display:grid}.chart-legend li{color:var(--muted);grid-template-columns:9px 1fr auto;align-items:center;gap:8px;font-size:.7rem;display:grid}.chart-legend strong{color:var(--ink)}.legend-dot{border-radius:3px;width:9px;height:9px}.recent-panel{padding:20px}.text-link,.back-link{color:var(--navy);align-items:center;gap:6px;font-size:.75rem;font-weight:600;display:inline-flex}.back-link{margin:2px 0 17px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.74rem}th{color:var(--muted);text-align:left;background:#f7f9fc;padding:10px 12px;font-size:.63rem;font-weight:600}td{border-top:1px solid #edf0f5;padding:13px 12px}.table-detail{text-overflow:ellipsis;white-space:nowrap;max-width:460px;color:var(--muted);overflow:hidden}.category-pill{min-height:25px;color:var(--navy);background:var(--navy-soft);white-space:nowrap;border-radius:99px;align-items:center;padding:0 9px;font-size:.63rem;display:inline-flex}.row-link{width:32px;height:32px;color:var(--navy);border:1px solid var(--line);border-radius:8px;place-items:center;margin-left:auto;display:grid}.filter-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:19px;display:flex}.search-field{width:min(560px,100%);min-height:42px;color:var(--muted);border:1px solid var(--line);background:#f9fbfd;border-radius:9px;align-items:center;gap:9px;padding:0 13px;display:flex}.search-field input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:.8rem}.incident-list{display:grid}.incident-month-group{border-bottom:1px solid var(--line)}.incident-month-group:last-child{border-bottom:0}.incident-month-toggle{width:100%;min-height:48px;color:var(--navy);text-align:left;background:#f7f9fd;border:0;align-items:center;gap:9px;padding:10px 18px;display:flex}.incident-month-toggle:hover{background:var(--navy-soft)}.incident-month-items .incident-row:last-child{border-bottom:0}.incident-row{border-bottom:1px solid #edf0f5;grid-template-columns:52px 1fr 34px;align-items:center;gap:16px;padding:17px 19px;display:grid}.incident-row:last-child{border-bottom:0}.incident-row__date{text-align:center;width:52px;height:55px;color:var(--navy);background:var(--navy-soft);border-radius:10px;place-content:center;display:grid}.incident-row__date strong{font-size:1.05rem;line-height:1}.incident-row__date span{font-size:.6rem}.incident-row__body{min-width:0}.incident-row__body>div{align-items:center;gap:9px;display:flex}.incident-row__body p{max-width:900px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:5px 0 2px;font-size:.75rem;overflow:hidden}.incident-row__body small{color:#8b96aa;font-size:.64rem}.list-empty{color:var(--muted);text-align:center;padding:42px 20px}.detail-hero{color:#fff;background:linear-gradient(125deg, var(--navy), #2456b3);min-height:145px;box-shadow:var(--shadow);border-radius:15px;justify-content:space-between;align-items:center;gap:25px;margin-bottom:14px;padding:25px 28px;display:flex}.detail-hero .eyebrow{color:#faa}.detail-hero .category-pill{color:#fff;background:#ffffff26}.detail-date{background:#ffffff1a;border:1px solid #ffffff2e;border-radius:11px;align-items:center;gap:11px;min-width:230px;padding:13px 16px;display:flex}.detail-date div{display:grid}.detail-date span{color:#ffffffa6;font-size:.64rem}.detail-date strong{font-size:.78rem}.detail-grid{grid-template-columns:1.6fr .8fr;gap:14px;display:grid}.detail-copy{padding:25px}.detail-copy>p:last-child{color:#46546d;font-size:.86rem;line-height:1.9}.photo-empty{color:#8390a5;text-align:center;border-style:dashed;place-content:center;justify-items:center;min-height:230px;padding:25px;display:grid}.photo-empty h2{color:var(--ink);margin:10px 0 2px}.photo-empty p{margin:0;font-size:.72rem}.form-layout{grid-template-columns:minmax(0,850px) minmax(220px,1fr);align-items:start;gap:14px;display:grid}.incident-form{padding:25px}.form-section-heading{align-items:center;gap:13px;margin-bottom:19px;display:flex}.form-section-heading>span{color:#fff;background:var(--navy);border-radius:10px;place-items:center;width:37px;height:37px;font-size:.72rem;display:grid}.form-section-heading p{color:var(--muted);margin:2px 0 0;font-size:.7rem}.field-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.field{gap:7px;margin-bottom:16px;display:grid}.field>span{font-size:.75rem;font-weight:600}.field input,.field select,.field textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcfe;border-radius:9px}.field input,.field select{height:43px;padding:0 12px}.field textarea{resize:vertical;min-height:145px;padding:11px 12px;line-height:1.7}.field small{color:var(--muted);font-size:.65rem}.form-divider{background:var(--line);height:1px;margin:10px 0 23px}.upload-zone{min-height:138px;color:var(--navy);cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8faff;border:1px dashed #9eb0d3;border-radius:12px;place-content:center;justify-items:center;gap:4px;display:grid;position:relative}.upload-zone strong{font-size:.8rem}.upload-zone span{color:var(--muted);font-size:.65rem}.upload-zone input{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upload-zone:focus-within{outline:2px solid var(--navy);outline-offset:2px}.field-error{color:var(--red);font-size:.7rem}.file-list{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.file-list li{color:var(--muted);background:#f5f7fb;border-radius:8px;align-items:center;gap:9px;padding:7px 10px;font-size:.68rem;display:flex}.file-list li span{width:23px;height:23px;color:var(--navy);background:var(--navy-soft);border-radius:6px;place-items:center;display:grid}.file-list li strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.file-list--previews li{min-height:76px}.file-list li .file-order{flex:0 0 29px;width:29px;height:29px}.file-thumbnail{object-fit:cover;background:#dfe5ef;border-radius:7px;flex:0 0 72px;width:72px;height:58px}.file-actions{gap:3px;display:flex}.file-actions button{border:1px solid var(--line);width:28px;height:28px;color:var(--navy);background:#fff;border-radius:7px;place-items:center;display:grid}.file-actions button:disabled{opacity:.38}.form-actions{justify-content:flex-end;gap:9px;margin-top:22px;display:flex}.detail-actions{justify-content:flex-end;gap:9px;margin:0 0 14px;display:flex}.button--danger{color:#fff;background:#9f1f1f}.detail-hero .demo-chip{color:#fff;background:#ffffff1f;border-color:#ffffff59;margin:10px 0 0 8px}.list-error p{margin:0 0 14px}.file-clear{align-items:center;gap:5px;margin-top:10px;display:inline-flex}.submit-error{margin-top:18px}.access-gate-content{display:contents}.draft-status{color:#173b7a;background:#f4f7ff;border:1px solid #b8c8e6;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin:0 0 18px;padding:10px 12px;font-size:.68rem;line-height:1.55;display:flex}.draft-status--saved{color:#145a36;background:#f1fbf5;border-color:#add9c2}.draft-status--warning{color:#6b4c0d;background:#fff9e9;border-color:#ead398}.draft-status--error{color:#8b1b1b;background:#fff5f5;border-color:#efb4b4}.draft-recovery{color:#5c4716;background:#fff9e9;border:1px solid #d6b867;border-radius:10px;gap:9px;margin:0 0 18px;padding:14px;display:grid}.draft-recovery strong{font-size:.78rem}.draft-recovery p{margin:0;font-size:.68rem;line-height:1.65}.draft-recovery__actions{flex-wrap:wrap;gap:8px;display:flex}.draft-device-note{color:var(--muted);margin:12px 0 0;font-size:.64rem;line-height:1.6}.form-note{color:#5c4716;background:#fff9e9;border:1px solid #ead398;border-radius:12px;align-items:flex-start;gap:10px;padding:16px;display:flex}.form-note svg{flex:none}.form-note div{gap:4px;display:grid}.form-note strong{font-size:.75rem}.form-note p{margin:0;font-size:.68rem;line-height:1.7}.report-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.report-card{padding:22px}.report-card__icon{width:46px;height:46px;color:var(--navy);background:var(--navy-soft);border-radius:12px;place-items:center;margin-bottom:18px;display:grid}.report-card>p:not(.eyebrow){min-height:48px;color:var(--muted);margin:8px 0 19px;font-size:.72rem;line-height:1.7}.report-controls{padding:20px}.report-downloads{flex-wrap:wrap;gap:8px;display:flex}.report-controls__source{margin-top:9px}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.report-export-note{grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0;display:grid}.report-export-note>div{border:1px solid var(--line);color:var(--navy);background:#fff;border-radius:9px;align-items:center;gap:9px;padding:12px;font-size:.7rem;display:flex}.report-export-note .is-blocked{color:var(--muted);background:#f8f9fb}.report-preview{gap:18px;display:grid}.report-page{border:1px solid var(--line);width:min(100%,210mm);min-height:297mm;box-shadow:var(--shadow);background:#fff;margin:0 auto;padding:10mm 12mm}.report-page--incident{flex-direction:column;height:297mm;display:flex;overflow:hidden}.report-demo-marker{color:#8b1b1b;text-align:center;border:2px solid #d62828;margin-bottom:3mm;padding:5px 8px;font-size:.72rem;line-height:1.35;display:block}.report-page header{border-bottom:1.5px solid var(--navy);justify-content:space-between;align-items:flex-start;gap:4mm;padding-bottom:2.5mm;display:flex}.report-heading{align-items:center;gap:3mm;min-width:0;display:flex}.report-heading>div{min-width:0}.report-document-logo{object-fit:contain;display:block}.report-header-logo{flex:none;width:15mm;height:17mm}.report-association-name{color:var(--navy);font-size:.74rem;line-height:1.35;display:block}.report-page h2{margin:1px 0;font-size:1.48rem;line-height:1.25}.report-page .report-meta div{grid-template-columns:auto 1fr;align-items:baseline;gap:3mm;margin:3mm 0;display:grid}.report-page dt{color:var(--muted);font-size:.68rem}.report-page dd{margin:0;font-weight:600}.report-page section p{line-height:1.5}.report-details{flex:none;min-height:0}.report-details h3{margin:0 0 1mm;font-size:.96rem;line-height:1.35}.report-page .report-details p{color:var(--ink);font-size:var(--report-detail-font-size,14px);line-height:var(--report-detail-line-height,1.35);overflow-wrap:anywhere;text-align:justify;text-align-last:left;text-justify:inter-character;white-space:normal;word-break:break-word;margin:0}.report-photo-note{min-height:30mm;color:var(--muted);border:1px dashed var(--line);flex:auto;place-content:center;margin-top:3mm;display:grid}.report-photo-section{flex-direction:column;flex:auto;min-height:0;margin-top:3mm;display:flex}.report-photo-heading{flex:none;justify-content:space-between;align-items:center;gap:3mm;margin-bottom:1.5mm;display:flex}.report-photo-heading h3{white-space:nowrap;margin:0}.report-photo-heading span{color:var(--muted);font-size:.68rem;font-weight:600}.report-photo-grid{grid-template-columns:repeat(var(--report-photo-columns), minmax(0, 1fr));grid-template-rows:repeat(var(--report-photo-rows), minmax(0, 1fr));flex:auto;gap:2mm;min-height:0;display:grid}.report-photo-card{background:#f4f6fa;border:1px solid #d4dce9;border-radius:6px;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;margin:0;display:grid;overflow:hidden}.report-photo-frame{place-items:center;min-width:0;min-height:0;padding:2px;display:grid;overflow:hidden}.report-photo-grid img{object-fit:contain;width:100%;height:100%;min-height:0;display:block}.report-photo-card figcaption{color:#53617a;text-align:center;background:#fff;border-top:1px solid #dfe5ee;padding:2px 6px;font-size:.54rem;line-height:1.3}.report-page--photos-5 .report-photo-grid,.report-page--photos-7 .report-photo-grid,.report-page--photos-8 .report-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.report-page--photos-5 .report-photo-card,.report-page--photos-7 .report-photo-card,.report-page--photos-8 .report-photo-card{grid-column:span 2}.report-page--photos-5 .report-photo-card:nth-child(4),.report-page--photos-8 .report-photo-card:nth-child(7){grid-column:2/span 2}.report-page--photos-5 .report-photo-card:nth-child(5),.report-page--photos-8 .report-photo-card:nth-child(8){grid-column:4/span 2}.report-page--photos-7 .report-photo-card:last-child{grid-column:3/span 2}.report-cover{text-align:center;padding:22mm 18mm}.report-cover-logo{width:32mm;height:36mm;margin:0 auto 4mm}.report-cover .report-association-name{margin-bottom:5mm;font-size:1rem}.report-cover .report-total{color:var(--navy);margin:18mm 0 10mm;font-size:3rem;display:block}.report-cover ul{text-align:left;gap:7px;max-width:120mm;margin:10mm auto;padding:0;list-style:none;display:grid}.report-cover li{border-bottom:1px solid var(--line);justify-content:space-between;padding:10px 12px;display:flex}.incident-photos{min-width:0}.incident-photos>.photo-empty{min-height:220px;box-shadow:none;border:0}.incident-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;list-style:none;display:grid}.incident-photo-grid li{border:1px solid var(--line);background:#f7f8fa;border-radius:10px;position:relative;overflow:hidden}.incident-photo-grid img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.incident-photo-grid li>span{color:#fff;text-align:center;background:#0a2342d1;border-radius:999px;min-width:24px;padding:3px 6px;position:absolute;top:8px;left:8px}.incident-photo-grid .file-actions{justify-content:flex-end;padding:8px}.muted-note{color:var(--muted);font-size:.7rem}.system-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.system-card{grid-template-columns:47px 1fr;gap:14px;padding:20px;display:grid}.system-card--wide{grid-column:1/-1}.system-card--blocked{background:#fffdf6;border-color:#ead398}.system-card>span{width:47px;height:47px;color:var(--navy);background:var(--navy-soft);border-radius:12px;place-items:center;display:grid}.system-card p{color:var(--muted);margin:6px 0 10px;font-size:.7rem;line-height:1.65}.archive-controls{grid-template-columns:minmax(180px,1fr) auto auto;align-items:end;gap:10px;display:grid}.archive-preview{border:1px solid var(--line);background:#f8fafc;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;padding:14px;display:grid}.archive-preview>div{gap:2px;display:grid}.archive-preview>div strong{font-size:1.1rem}.archive-preview>div span,.archive-preview small{color:var(--muted);font-size:.66rem}.archive-preview>p,.archive-preview>details,.archive-preview>button,.archive-preview>small{grid-column:1/-1}.archive-preview details ul,.archive-years ul{color:var(--muted);margin:8px 0 0;padding-left:20px;font-size:.68rem}.archive-verified,.archive-unverified{border-radius:8px;align-items:center;gap:7px;margin:4px 0;padding:9px 11px;display:flex}.archive-verified{background:#e7f7ed;color:#17653a!important}.archive-unverified{background:#fff6dd;color:#7a5610!important}.archive-years{gap:10px;display:grid}.archive-years section{border:1px solid var(--line);border-radius:9px;gap:3px;padding:12px;display:grid}.archive-years section>span{color:var(--muted);font-size:.66rem}.text-button{color:var(--navy);background:0 0;border:0;padding:0;font-size:.68rem;font-weight:600}.inline-admin-form{align-items:center;gap:9px;margin-top:12px;display:flex}.inline-admin-form input{border:1px solid var(--line);border-radius:9px;width:130px;height:42px;padding:0 12px}.account-create-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px 16px;margin:16px 0;display:grid}.account-create-form .field{margin:0}.account-create-form__submit{grid-column:2;justify-self:end;min-width:140px}.account-list{gap:9px;margin:12px 0 0;padding:0;list-style:none;display:grid}.account-list li{border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.account-identity{gap:2px;min-width:160px;display:grid}.account-identity span{color:var(--muted);font-size:.67rem}.account-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.account-actions input{border:1px solid var(--line);border-radius:9px;height:42px;padding:0 12px}.trash-list{gap:9px;margin:12px 0 0;padding:0;list-style:none;display:grid}.trash-list li{border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.trash-list li div{gap:3px;display:grid}.trash-list li span{color:var(--muted);font-size:.67rem}.list-empty--compact{text-align:left;padding:18px 0}.success-note{color:#215d36;background:#effaf2;border:1px solid #a9d5b8;border-radius:10px;padding:13px 16px}.warning-note{color:#6e1717;border-left:4px solid var(--red);background:#fdecec;border-radius:8px;gap:3px;margin-top:14px;padding:15px 18px;display:grid}.warning-note strong{font-size:.76rem}.warning-note span{white-space:pre-line;font-size:.67rem}.login-wrap{grid-template-columns:minmax(260px,430px) minmax(320px,460px);place-content:center;align-items:center;gap:70px;min-height:calc(100vh - 180px);display:grid}.login-copy{position:relative}.login-copy:before{content:"";background:var(--red);border-radius:99px;width:47px;height:5px;margin-bottom:20px;display:block}.login-card{padding:27px}.input-with-icon{height:43px;color:var(--muted);border:1px solid var(--line);background:#fbfcfe;border-radius:9px;align-items:center;gap:9px;padding:0 12px;display:flex}.input-with-icon input{background:0 0;border:0;outline:0;height:100%;padding:0}.form-error{color:#8b1f1f;margin:0 0 12px;font-size:.72rem}.login-status{color:var(--muted);text-align:center;margin:13px 0 0;font-size:.65rem;line-height:1.6}.empty-state{text-align:center;place-content:center;justify-items:center;min-height:440px;padding:35px;display:grid}.empty-state__icon{width:56px;height:56px;color:var(--navy);background:var(--navy-soft);border-radius:16px;place-items:center;margin-bottom:15px;display:grid}.empty-state h1{margin:4px 0}.empty-state>p:not(.eyebrow){max-width:480px;color:var(--muted);margin:0 0 20px;font-size:.8rem}.access-actions{flex-wrap:wrap;justify-content:center;gap:9px;display:flex}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.charts-grid{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr 1fr}}@media (width<=1350px){.filter-toolbar{grid-template-columns:1fr}.filter-toolbar__actions{padding-top:0}}@media (width<=900px){.filter-toolbar__fields--month,.filter-toolbar__fields--year,.filter-toolbar__fields--range{grid-template-columns:1fr}}@media (width<=760px){.sidebar{width:min(292px,84vw);transform:translate(-105%)}.sidebar--open{transform:translate(0)}.sidebar__brand{gap:8px;padding:12px}.sidebar__brand-line{display:none}.sidebar__brand-logo{width:40px;height:45px}.sidebar__brand-copy{flex:1}.sidebar__brand-copy strong{font-size:.86rem}.sidebar__brand-copy span{font-size:.6rem}.icon-button.sidebar__mobile-close{margin-left:auto;display:inline-grid}.sidebar-backdrop{z-index:29;background:#07142e8c;border:0;width:100%;display:block;position:fixed;inset:0}.app-main,.app-shell--collapsed .app-main{margin-left:0}.app-shell--collapsed .sidebar{width:min(292px,84vw)}.app-shell--collapsed .sidebar__brand{justify-content:initial;padding-inline:22px}.app-shell--collapsed .sidebar__brand-line{display:none}.app-shell--collapsed .sidebar__brand-logo{width:40px;height:45px}.app-shell--collapsed .sidebar__brand-copy,.app-shell--collapsed .sidebar__user>div,.app-shell--collapsed .sidebar__link span,.app-shell--collapsed .sidebar__login span{display:grid}.app-shell--collapsed .sidebar__user,.app-shell--collapsed .sidebar__link,.app-shell--collapsed .sidebar__login{justify-content:flex-start;padding-inline:15px}.sidebar__collapse{display:none}.topbar{gap:10px;height:68px;padding:0 12px}.icon-button.topbar__menu{color:var(--navy);display:inline-grid}.topbar__logo{flex:none;width:30px;height:34px;display:block}.topbar__title{line-height:1.35}.topbar__title strong{font-size:.86rem}.topbar__title>span{font-size:.63rem}.session-badge,.role-switcher>span{display:none}.role-switcher select{width:92px;padding-inline:8px 22px;font-size:.65rem}.page-wrap{padding:18px 16px 32px}.connection-status{align-items:flex-start}.connection-status span{line-height:1.5}.page-heading{align-items:flex-start}.page-heading .button{padding-inline:12px}.page-heading h1,.detail-hero h1,.login-copy h1{font-size:1.65rem}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{grid-template-columns:36px 1fr;gap:10px;min-height:108px;padding:14px}.stat-card__icon{width:36px;height:36px}.stat-card strong{font-size:1.25rem}.stat-card small{display:none}.chart-panel,.recent-panel{padding:16px}.donut-layout{grid-template-columns:130px 1fr;gap:14px}.donut-chart{width:125px}.donut-chart:before{width:76px}.table-scroll{margin-inline:-16px}table{min-width:710px}.filter-row{flex-direction:column;align-items:stretch}.incident-row{grid-template-columns:46px 1fr 32px;gap:11px;padding:14px}.incident-row__date{width:46px;height:50px}.incident-row__body>div{flex-direction:column;align-items:flex-start;gap:4px}.detail-hero{flex-direction:column;align-items:flex-start;padding:22px}.detail-date{width:100%}.detail-grid,.form-layout,.login-wrap{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr;gap:0}.filter-toolbar__actions .button{flex:130px}.form-note{order:-1}.report-grid,.system-grid,.report-export-note{grid-template-columns:1fr}.report-page{min-height:auto;padding:22px}.report-page--incident{height:auto;overflow:visible}.report-page header{flex-direction:column;align-items:stretch}.report-page header .category-pill{align-self:flex-start}.system-card--wide{grid-column:auto}.archive-controls{grid-template-columns:1fr}.archive-preview{grid-template-columns:repeat(2,1fr)}.account-create-form{grid-template-columns:1fr}.account-create-form__submit{grid-column:auto;justify-self:stretch;width:100%}.account-list li{flex-direction:column;align-items:stretch}.account-actions{grid-template-columns:1fr;display:grid}.account-actions input,.account-actions .button{width:100%}.trash-list li{flex-direction:column;align-items:stretch}.trash-list .button{width:100%}.login-wrap{gap:24px;min-height:auto;padding:22px 0}}@media print{.sidebar,.topbar,.connection-status,.page-heading,.report-controls,.report-export-note{display:none!important}.app-main{margin:0!important}.page-wrap{max-width:none;padding:0}.report-preview{display:block}.report-page{width:210mm;min-height:297mm;box-shadow:none;break-after:page;page-break-after:always;border:0;margin:0}.report-page:last-child{break-after:auto;page-break-after:auto}@page{size:A4;margin:0}}@media (width<=430px){.page-heading{flex-direction:column}.page-heading .button{width:100%}.stats-grid{grid-template-columns:1fr}.stat-card{min-height:88px}.charts-grid{margin-inline:-4px}.bar-chart{gap:7px}.donut-layout{grid-template-columns:1fr;justify-items:center}.chart-legend{width:100%}.incident-form{padding:18px}.draft-status{flex-direction:column;align-items:flex-start}.draft-recovery__actions{grid-template-columns:1fr;display:grid}.draft-recovery__actions .button{width:100%}.form-actions{flex-direction:column-reverse}.form-actions .button{width:100%}.dashboard-page-heading__action{align-self:stretch}}.report-page--rendering{width:210mm;height:297mm;min-height:297mm;padding:10mm 12mm;overflow:hidden}.report-page--checking{margin:0;position:fixed;top:0;left:-10000px}.report-cover.report-page--rendering{padding:22mm 18mm}.report-page--rendering header{flex-direction:row;align-items:flex-start}.report-page--rendering header .category-pill{align-self:auto}
