#assetReferenceSummary[hidden],[data-custom-type][hidden],#photoAssetStart[hidden]{display:none!important}
#assetEditorDismiss{border:0;background:transparent;font-size:24px;min-width:44px;min-height:44px;padding:4px}
#assetNoteDetails summary{cursor:pointer;font-weight:600;min-height:44px;padding:10px 12px;border:1px solid #aabccd;border-radius:7px;list-style:none;background:white}
#assetNoteDetails summary::-webkit-details-marker{display:none}#assetNoteDetails label{margin-bottom:0}
#editor:not(.new-asset-editor) #assetNoteDetails summary{display:none}
.asset-picture-heading,.photo-asset-start-hint{display:none}
#photoAssetStart{border-color:#cba3b4;background:#f2e3eb;color:#922443;font-weight:650;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:9px 12px}
#editor.new-asset-editor{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;width:min(660px,94vw);max-height:calc(100dvh - 40px);padding:16px 20px;background:#f5f8fb;box-sizing:border-box;overflow:auto}
#editor.new-asset-editor [hidden]{display:none!important}
#editor.new-asset-editor .modalhead{margin:0 0 10px}#editor.new-asset-editor h2{font-size:21px;margin:0}
#editor.new-asset-editor label{font-size:14px;margin:0;min-width:0}#editor.new-asset-editor label small{font-size:12px;font-weight:400;color:#5d7488}
#editor.new-asset-editor input,#editor.new-asset-editor select,#editor.new-asset-editor textarea{margin-top:4px;padding:8px 10px;min-height:42px;font-size:14px}
#editor.new-asset-editor .asset-reference-fields{grid-template-columns:105px 1fr 1.1fr;gap:10px 12px;border:0;padding:0;margin:0 0 11px}
#editor.new-asset-editor .asset-reference-fields legend{display:none}.new-asset-editor .asset-type-field{grid-column:2/4}.new-asset-editor .asset-location-field{grid-column:1/3}.new-asset-editor .asset-description-field{grid-column:3}
.new-asset-editor .asset-editor-result-note{display:grid;grid-template-columns:210px 155px;gap:10px 12px;align-items:end}.new-asset-editor .asset-editor-result-note:has(details[open]){grid-template-columns:1fr}
.new-asset-editor #assetNoteDetails summary{font-size:14px;text-align:center}.new-asset-editor #assetNoteDetails[open] label{margin-top:8px}.new-asset-editor #assetNoteDetails textarea{width:100%}
.new-asset-editor .asset-picture-heading{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:650;border-top:1px solid #bac8d4;padding-top:12px;margin-top:13px}.asset-picture-heading small{font-size:12px;font-weight:400;color:#5d7488}
#editor.new-asset-editor .photobuttons{display:flex;flex-direction:row-reverse;margin:7px 0 8px;gap:8px}.new-asset-editor .photobuttons label{flex:1;text-align:center;min-height:44px;padding:11px 6px;font-size:14px!important;font-weight:400!important}
.new-asset-editor .photo-asset-start-hint{display:block;font-size:12px;color:#5d7488;margin:6px 0 0}.new-asset-editor #pictureHelp,.new-asset-editor .asset-delete-action{display:none}
#editor.new-asset-editor .editor-actions{position:sticky;bottom:-16px;background:#f5f8fb;margin-top:13px;padding:12px 0 0;gap:10px}.new-asset-editor .editor-actions button{min-height:44px;padding:10px 12px;font-size:14px}
#assetTypeDialog,#photoAssetDetailsDialog{width:min(480px,94vw)}#assetTypeDialog input,#photoAssetDetailsDialog input{font-size:16px}
#photoAssetDialog{position:fixed;inset:0;margin:auto;width:min(1100px,96vw);height:min(750px,96dvh);max-width:100vw;max-height:96dvh;padding:0;background:#f5f8fb;color:#17324c;overflow:hidden;box-sizing:border-box}
#photoAssetDialog[open]{display:flex;flex-direction:column}#photoAssetDialog [hidden]{display:none!important}
.photo-asset-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #c2cfda;flex:none}.photo-asset-heading .eyebrow{font-size:11px;letter-spacing:.09em;color:#617c90;margin:0 0 5px}.photo-asset-heading h2{font-size:21px;margin:0}.photo-asset-heading button{min-height:44px;font-size:14px;padding:9px 16px}
.photo-asset-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto 1fr auto;gap:13px 20px;padding:16px 20px 10px;flex:1;min-height:0;overflow:auto}
#photoAssetSetup{grid-column:2;grid-row:1;min-width:0}.photo-asset-template{display:grid;gap:9px}.photo-asset-template label{font-size:14px;font-weight:650;margin:0}.photo-asset-template input,.photo-asset-template select{width:100%;margin-top:4px;min-height:42px;padding:8px 10px;font-size:14px}
.photo-asset-current{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:14px;min-width:0}.photo-asset-current>span{min-width:0;overflow-wrap:anywhere}.photo-asset-current strong{color:#922443}.photo-asset-current button{flex:none;font-size:13px;min-height:36px;padding:6px 8px}
.photo-asset-picture-column{grid-column:1;grid-row:1/4;min-width:0;min-height:250px;display:flex;flex-direction:column}.photo-asset-camera{position:relative;display:grid;place-items:center;background:#193146;border:1px solid #688299;border-radius:9px;min-height:180px;overflow:hidden;flex:1}.photo-asset-camera video,.photo-asset-camera img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.photo-asset-camera #photoAssetEmpty{padding:38px 16px;text-align:center;color:#e7eff7;font-size:14px;line-height:1.6}
.photo-asset-badge,.photo-asset-picture-info{position:absolute;left:12px;background:#193146da;color:#f0f5f9;font-size:13px;border:1px solid #b7c7d955;border-radius:6px;padding:6px 8px}.photo-asset-badge{top:12px}.photo-asset-picture-info{bottom:12px;display:flex;gap:5px;flex-wrap:wrap;font-size:12px;max-width:calc(100% - 24px)}.photo-asset-picture-info strong{font-weight:400}.photo-asset-picture-info strong:after{content:' ·'}
.photo-asset-camera-actions{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 0;flex:none}.photo-asset-camera-actions button,.photo-asset-camera-actions .button{margin:0;min-height:44px;font-size:14px;padding:8px 12px;text-align:center}.photo-asset-camera-actions #togglePhotoAssetNote{display:none}
#photoAssetMessage{font-size:13px;line-height:1.4;margin:6px 0 0;color:#425c74;flex:none}#photoAssetMessage:empty{display:none}
#photoAssetInspection{grid-column:2;grid-row:2;min-width:0;border-top:1px solid #bac9d6;padding-top:11px}.photo-asset-status-heading{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:14px;font-weight:700}.photo-asset-status-heading small{font-size:12px;font-weight:400;color:#486179}
.photo-asset-status{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:6px 0 10px}.photo-asset-status button{min-height:44px;font-size:13px;padding:7px 3px;white-space:nowrap}.photo-asset-status [aria-checked=true]{background:#f1dfe8;border:2px solid #a92448;color:#86203a;font-weight:700}.photo-asset-status [data-photo-status=Completed][aria-checked=true]{background:#daeee3;border-color:#277254;color:#20684c}
.photo-asset-note{font-size:14px;margin:0}.photo-asset-note summary{display:none}.photo-asset-note label{margin:0;font-size:14px}.photo-asset-note label small{font-size:12px;font-weight:400;color:#5d7488}.photo-asset-note textarea{font-size:14px;min-height:70px;padding:8px 10px;margin-top:4px}
.photo-asset-session{grid-column:2;grid-row:3;display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid #c1ced9;padding-top:9px;min-width:0;font-size:13px}.photo-asset-last{display:flex;align-items:center;gap:4px;min-width:0;margin-left:auto}.photo-asset-last span{font-size:12px;overflow-wrap:anywhere}.photo-asset-last button{font-size:13px;padding:5px 8px;min-height:36px}
.photo-asset-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f5f8fb;border-top:1px solid #afc1d0;padding:12px 20px 16px;flex:none}.photo-asset-footer span{font-size:13px;color:#5c7285;line-height:1.6}.photo-asset-footer button{min-height:48px;font-size:15px;width:300px;text-align:left;display:flex;align-items:center;justify-content:space-between}.photo-asset-footer button:after{content:'→'}
@media(max-width:800px){
 #editor.new-asset-editor{left:0;top:auto;bottom:0;transform:none;width:100vw;max-width:100vw;max-height:calc(100dvh - 24px);padding:13px 14px max(14px,env(safe-area-inset-bottom));border-radius:15px 15px 0 0}
 #editor.new-asset-editor h2{font-size:19px}#editor.new-asset-editor .modalhead{margin-bottom:10px}
 #editor.new-asset-editor input,#editor.new-asset-editor select,#editor.new-asset-editor textarea{font-size:16px;min-height:44px}
 #editor.new-asset-editor .asset-reference-fields{grid-template-columns:84px minmax(0,1fr);gap:9px 10px;margin-bottom:10px}.new-asset-editor .asset-type-field{grid-column:2}.new-asset-editor .asset-location-field,.new-asset-editor .asset-description-field{grid-column:1/-1}
 .new-asset-editor .asset-editor-result-note{grid-template-columns:1fr 130px;gap:10px}#editor.new-asset-editor .editor-actions{bottom:-14px;padding-bottom:0}.new-asset-editor .editor-actions button{min-height:46px}
 #photoAssetDialog{inset:0;width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;border:0;border-radius:0}
 .photo-asset-heading{padding:10px 12px;border:0}.photo-asset-heading h2{font-size:19px}.photo-asset-heading .eyebrow{display:none}.photo-asset-heading button{min-height:40px;padding:8px 14px}
 .photo-asset-body{display:flex;flex-direction:column;gap:0;padding:0 12px;min-height:0;overflow:auto}
 #photoAssetSetup{flex:none}.photo-asset-template{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:7px}.photo-asset-template label{font-size:0}.photo-asset-template input,.photo-asset-template select{font-size:16px;min-height:44px;margin:0;padding:8px 9px;background:#eaf1f7}
 .photo-asset-current{height:43px;margin:0;flex:none}.photo-asset-current button{min-height:40px;border:0;background:transparent;color:#922443;padding:7px 5px}
 .photo-asset-picture-column{flex:1;min-height:260px}.photo-asset-camera{min-height:180px}.photo-asset-badge{top:9px;left:9px;font-size:12px;padding:5px 7px}.photo-asset-picture-info{bottom:9px;left:9px;font-size:11px;padding:5px 7px;max-width:calc(100% - 18px)}
 .photo-asset-camera-actions{gap:7px;margin:8px 0 7px}.photo-asset-camera-actions button,.photo-asset-camera-actions .button{flex:1;min-height:44px;font-size:14px;padding:7px 4px;white-space:nowrap}.photo-asset-camera-actions #togglePhotoAssetNote{display:block}
 #photoAssetMessage{margin:0 0 5px;font-size:12px}
 #photoAssetInspection{border:0;padding:0;flex:none}.photo-asset-status-heading small{font-size:11px}.photo-asset-status{gap:6px;margin:5px 0 0}.photo-asset-status button{font-size:14px;min-height:44px;padding:7px 3px}
 .photo-asset-note[open]{margin-top:9px}.photo-asset-note textarea{font-size:16px;min-height:62px}
 .photo-asset-session{min-height:44px;flex:none;font-size:12px;border:0;padding:0;flex-wrap:nowrap}.photo-asset-last{flex-wrap:nowrap}.photo-asset-last button{min-height:44px;padding:8px 6px;color:#7f2541;border:0;background:transparent}
 .photo-asset-footer{padding:7px 12px max(12px,env(safe-area-inset-bottom));border:0;display:block}.photo-asset-footer>span{display:none}.photo-asset-footer button{width:100%}
}
@media(max-width:800px) and (max-height:650px){.photo-asset-heading{padding-top:5px;padding-bottom:5px}.photo-asset-current{height:35px}.photo-asset-camera{min-height:110px}.photo-asset-picture-column{min-height:205px}.photo-asset-camera-actions{margin-top:5px;margin-bottom:5px}.photo-asset-footer{padding-bottom:7px}}

/* Native capture, one asset text field, and compact settings. */
.asset-text{white-space:pre-wrap;overflow-wrap:anywhere}.asset-editor-result-note{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:start}.asset-note-label{margin:0}.asset-note-label textarea{width:100%;min-height:84px}.asset-note-label small{font-weight:400;color:#5d7488}
#editor.new-asset-editor .asset-reference-fields{grid-template-columns:100px minmax(0,1fr)}.new-asset-editor .asset-type-field{grid-column:2}.new-asset-editor .asset-location-field{grid-column:1/-1}.new-asset-editor .asset-editor-result-note{grid-template-columns:125px minmax(0,1fr)}
#photoAssetDialog{height:auto;max-height:94dvh;width:min(960px,96vw)}.photo-asset-body{grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto auto auto;overflow:auto}.photo-asset-picture-column{min-height:0;grid-row:1/4}.photo-asset-new-action{padding:14px;border:1px solid #b7c9d9;border-radius:9px;background:white}.photo-asset-new-action>strong{font-size:14px;color:#922443}.photo-asset-new-action p{font-size:14px;margin:6px 0;color:#5c7285}.photo-asset-camera-actions{margin-top:10px}.photo-asset-camera-actions .primary{background:#922443;color:white}.photo-asset-camera-actions label:has(input:disabled),.photo-asset-existing .disabled{opacity:.55;pointer-events:none}.photo-asset-note{display:block;margin-top:12px}.photo-asset-note textarea{min-height:90px;width:100%;resize:vertical}
.photo-asset-picture-info{position:static;background:transparent;color:#425c74;border:0;max-width:none;font-size:13px;padding:8px 0 0}.photo-asset-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:9px 0;max-height:340px;overflow:auto}.photo-asset-gallery:empty{display:none}.photo-asset-gallery figure{margin:0;min-width:0;background:white;border:1px solid #b7c9d9;border-radius:8px;overflow:hidden}.photo-asset-gallery img{width:100%;height:190px;object-fit:contain;background:#193146;display:block}.photo-asset-gallery figcaption{display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:4px 8px}.photo-asset-gallery figcaption button{font-size:13px;min-height:44px;padding:6px}
.photo-asset-existing{background:#edf3f8;border:1px solid #b7c9d9;border-radius:9px;padding:12px;margin-top:12px}.photo-asset-existing>strong{font-size:14px}.photo-asset-existing label{font-size:14px;margin:9px 0 0}.photo-asset-existing select{font-size:14px;padding:8px}.photo-asset-existing p{font-size:14px;white-space:pre-wrap;max-height:74px;overflow:auto;margin:6px 0}.photo-asset-existing .button{display:block;text-align:center;min-height:44px}.photo-asset-existing>small{font-size:12px;display:block;margin-top:5px}
@media(max-width:800px){#editor.new-asset-editor .asset-reference-fields{grid-template-columns:84px minmax(0,1fr)}.asset-editor-result-note,.new-asset-editor .asset-editor-result-note{grid-template-columns:1fr!important;gap:9px}.asset-editor-result-note>label:first-child{max-width:200px}#photoAssetDialog{height:100dvh;max-height:100dvh;width:100vw}.photo-asset-body{display:flex;padding:0 12px;gap:10px}.photo-asset-template label{font-size:13px}.photo-asset-template input,.photo-asset-template select{margin-top:4px}.photo-asset-note{margin:4px 0 0}.photo-asset-note textarea{min-height:66px}.photo-asset-picture-column{flex:none;min-height:0}.photo-asset-new-action{padding:10px}.photo-asset-camera-actions{flex-wrap:wrap}.photo-asset-camera-actions .button{white-space:normal;font-size:14px;padding:9px 7px}.photo-asset-camera-actions .primary{flex:1 1 100%}.photo-asset-gallery{max-height:250px;margin-bottom:4px}.photo-asset-gallery img{height:150px}.photo-asset-existing{margin-top:7px;padding:10px}.photo-asset-existing select{font-size:16px}#photoAssetInspection{order:0}.photo-asset-session{border-top:1px solid #c1ced9;min-height:44px}.photo-asset-footer{border-top:1px solid #c1ced9}}

.photo-asset-status button{white-space:normal;overflow-wrap:anywhere}
.photo-asset-status [data-photo-status=Failed][aria-checked=true]{background:#fae1e5;border-color:#b3243b;color:#911b30}
@media(max-width:800px){.photo-asset-status button{font-size:13px}}

.attendance-day{padding:12px 0;border-top:1px solid #d5dfe5;margin-top:12px}.site-pictures{margin-top:14px}.site-pictures .photos{margin-top:10px}.site-pictures figure{margin:0}.site-pictures img{cursor:zoom-in}.full-picture{display:block;max-width:100%;max-height:78vh;object-fit:contain;margin:auto}#fullPictureDialog{width:min(1100px,96vw)}.tree-picture img,.editable-photo img,#photoAssetPictures img{cursor:zoom-in}
