#damageModule{color:#183c5d;max-width:1600px;margin:auto}.dm-head,.dm-toolbar,.dm-tabs,.dm-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dm-head{justify-content:space-between}.dm-head h1{margin:0;font-size:25px}.dm-tabs{border-bottom:1px solid #dbe5ef;margin:20px 0}.dm-tabs button{border:0;background:none;padding:12px 15px;color:#58728b;cursor:pointer}.dm-tabs button.on{color:#1265bd;border-bottom:3px solid #2378d0;font-weight:700}.dm-panel,.dm-card{background:#fff;border:1px solid #dce6ef;border-radius:14px;padding:18px;margin:14px 0;box-shadow:0 5px 22px #133b6610}.dm-toolbar input,.dm-toolbar select,.dm-form input,.dm-form textarea,.dm-form select,.dm-panel input,.dm-panel select,.dm-panel textarea{border:1px solid #ccd9e7;border-radius:8px;padding:10px;font:inherit;box-sizing:border-box;max-width:100%}.dm-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dm-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#54718e}.dm-form .wide{grid-column:1/-1}.dm-btn{background:#155fba;color:#fff;border:0;border-radius:8px;padding:10px 16px;cursor:pointer;font:inherit}.dm-btn.secondary{background:#e8f1fa;color:#15588f}.dm-btn:disabled{opacity:.5}.dm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.dm-metric{font-size:28px;font-weight:700}.dm-muted{color:#7390a8;font-size:13px}.dm-campus{font-weight:700;padding:4px 9px;border-radius:6px;background:#e2efff;color:#135bac}.dm-campus.west{background:#fff0de;color:#975615}.dm-tag{display:inline-block;padding:4px 8px;border-radius:6px;background:#edf3fb;color:#276199}.dm-tablewrap{overflow:auto}.dm-table{border-collapse:collapse;width:100%;min-width:950px}.dm-table th,.dm-table td{padding:12px;border-bottom:1px solid #e8eef5;text-align:left;font-size:13px}.dm-table tr{cursor:pointer}.dm-table tr:hover{background:#f4f8fe}.dm-photo{width:100%;height:150px;object-fit:cover;background:#edf3f9;border-radius:8px}.dm-thumbs{display:flex;gap:10px;flex-wrap:wrap}.dm-thumbs img{width:120px;height:90px;object-fit:cover;border-radius:8px;cursor:pointer}.dm-bar{height:9px;border-radius:9px;background:#e5edf6;overflow:hidden}.dm-bar i{display:block;height:100%;background:#2275cb}.dm-error{color:#bb2f30}.dm-timeline{border-left:2px solid #d2e2f3;margin-left:8px;padding-left:20px}.dm-timeline article{margin:0 0 20px}.dm-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.dm-detail-grid div{background:#f5f8fc;padding:12px;border-radius:8px}@media(max-width:760px){.dm-form{grid-template-columns:1fr}.dm-detail-grid{grid-template-columns:1fr}.dm-head h1{font-size:20px}.dm-tabs{overflow:auto;flex-wrap:nowrap}.dm-tabs button{white-space:nowrap}.dm-toolbar input,.dm-toolbar select{flex:1 1 42%}.dm-table{min-width:850px}}
/* Facility damage module layout, scoped to this module. */
#damageModule{min-width:0;width:100%;box-sizing:border-box}
#damageModule *{box-sizing:border-box}
#damageModule .dm-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
#damageModule .dm-panel,#damageModule .dm-card{min-width:0}
#damageModule .dm-head{gap:12px}
#damageModule .dm-tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
#damageModule .dm-tabs button{white-space:nowrap;flex:none;font-size:14px}
#damageModule .dm-form{grid-template-columns:repeat(2,minmax(0,1fr))}
#damageModule .dm-form input,#damageModule .dm-form textarea,#damageModule .dm-form select{width:100%;min-width:0}
#damageModule .dm-toolbar>*{min-width:160px;flex:1 1 180px}
#damageModule .dm-actions button,#damageModule .dm-option-row button{white-space:nowrap}
#damageModule .dm-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
#damageModule .dm-options>.dm-panel{margin:0;min-width:0;padding:22px}
#damageModule .dm-section-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;margin-bottom:16px}
#damageModule .dm-section-head h3{margin:0}
#damageModule .dm-option-list{display:flex;flex-direction:column;gap:0;max-height:460px;overflow-y:auto;margin-bottom:18px;border:1px solid #e5edf5;border-radius:10px}
#damageModule .dm-option-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #edf2f7;font-size:14px;min-height:52px}
#damageModule .dm-option-row:last-child{border-bottom:0}
#damageModule .dm-option-row>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;overflow-wrap:anywhere}
#damageModule .dm-option-row .dm-btn{padding:7px 12px;font-size:13px;flex:none}
#damageModule .dm-option-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#damageModule .dm-option-form input,#damageModule .dm-option-form select{width:100%;min-width:0;height:42px;border:1px solid #ccd9e7;border-radius:8px;padding:8px 12px;font:inherit;background:#fff}
#damageModule .dm-option-form .dm-btn{min-height:42px;width:auto;justify-self:start;white-space:nowrap}
#damageModule .dm-category-form{grid-template-columns:minmax(0,1fr) auto}
#damageModule .dm-stat-row{margin:14px 0;font-size:14px}
#damageModule .dm-stat-row .dm-bar{margin-top:7px}
@media(max-width:1050px){#damageModule .dm-options{grid-template-columns:1fr}}
@media(max-width:760px){#damageModule .dm-form{grid-template-columns:1fr}#damageModule .dm-options>.dm-panel{padding:16px}#damageModule .dm-option-form{grid-template-columns:1fr 1fr}#damageModule .dm-head h1{font-size:21px}#damageModule .dm-tablewrap{max-width:100%}}
@media(max-width:480px){#damageModule .dm-option-form{grid-template-columns:1fr}#damageModule .dm-category-form{grid-template-columns:minmax(0,1fr) auto}#damageModule .dm-option-row{align-items:flex-start}}
