.feature-dialog{width:1100px;max-width:95vw;max-height:90dvh;overflow:auto}.feature-toolbar{display:flex;gap:10px;margin:12px 0}.feature-toolbar input{flex:1}.feature-table-scroll{overflow:auto}.feature-table{width:100%;border-collapse:collapse}.feature-table th,.feature-table td{padding:12px;text-align:left;border-bottom:1px solid #dbe4e6;overflow-wrap:anywhere}.feature-table th{background:#edf3f4}.feature-check{display:flex;gap:8px;align-items:center}.feature-check input{width:18px;margin:0}.review-card{padding:16px;margin:12px 0;border:1px solid #dbe4e6;border-radius:8px}.review-comment,.review-reply{white-space:pre-wrap;overflow-wrap:anywhere}.review-reply{padding:12px;background:#eaf4f3}.review-card small{color:#526b75}.report-feature-options{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:8px 0 14px}.report-feature-options label{display:flex;gap:6px;align-items:center;margin:0}.report-feature-options input{width:18px;margin:0}.report-feature-options p{flex-basis:100%;margin:0}.report-feature-options button{margin-left:auto}.feature-save-state{font-size:12px;color:#3b6670}.review-card form textarea{width:100%}

.feature-toolbar{flex-wrap:wrap}.feature-toolbar input{min-width:180px}.feature-dialog iframe{display:block;width:100%;height:65vh;border:1px solid #dbe4e6;margin-top:12px}.feature-table td button{margin:3px;white-space:nowrap}.credential-text{width:100%;min-height:120px}.credential-note{color:#536a74}.folder-order-controls{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.audit-row button{margin-top:6px}.audit-row p{overflow-wrap:anywhere}.review-card>.tag{margin:3px}.measurement-review-summary{font-weight:700;line-height:1.6;background:#edf5f6;border:1px solid #bdced3;border-radius:5px;padding:9px;overflow-wrap:anywhere}.measurement-view-actions{display:flex;flex-wrap:wrap;gap:6px}.measurement-view-actions[hidden]{display:none}#measure-box[data-readonly=true] #save-measure,#measure-box[data-readonly=true] #undo-point:disabled,#measure-box[data-readonly=true] #redo-point:disabled{display:none}
.viewer-comparison:not([open])>.compare-compact-toggle{display:none}.viewer-comparison[open].comparison-compact{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.comparison-compact .viewer-comparison-fields{display:flex;align-items:center;gap:6px;padding:0;flex-wrap:wrap}.comparison-compact .viewer-comparison-fields label{display:block}.comparison-compact .viewer-comparison-fields label>span,.comparison-compact .viewer-preserve-view,.comparison-compact .viewer-comparison-note{display:none}.comparison-compact .viewer-comparison-fields select{width:clamp(130px,17vw,240px)}.comparison-compact summary{padding:6px;font-size:11px}.compare-compact-toggle{font-size:12px;padding:7px}.report-measure-choice{border:1px solid #d1dde1;padding:10px;border-radius:6px;max-height:200px;overflow:auto;width:100%}.report-measure-choice label{display:flex;gap:6px;align-items:center;margin:6px 0}.report-measure-choice input{width:18px}.report-measure-choice summary{cursor:pointer}.report-measure-choice span{overflow-wrap:anywhere}

#import-visibility-status{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 18px;background:#eef7f4;border:1px solid #afcfc2;color:#204b40;margin:10px 0;border-radius:10px}#import-visibility-status[hidden]{display:none}#report-measurement-choices{flex-basis:100%;max-height:230px;overflow:auto;padding:8px;border:1px solid #ccdadd;border-radius:8px}#report-measurement-choices summary{cursor:pointer}#report-measurement-choices small{display:block;color:#536a72}

body[data-account-role="viewer"] :is([data-mode="pin"],#continuous-inspection,#new-vessel,#add,#manage,#catalog-add,#folder-add,#folder-edit,#folder-delete,#delete,#edit){display:none}
.report-measure-choice{display:flex;align-items:flex-start;gap:8px;box-sizing:border-box}.report-measure-choice input{flex:none;width:18px;margin-top:3px}

.catalog-section-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 16px;border-bottom:1px solid #c9d9dd;padding-bottom:10px}.catalog-section-tabs [aria-selected="true"]{background:#245b64;color:white;border-color:#245b64}.catalog-publication-panel{min-width:0}.catalog-publication-panel[hidden],#catalog-target-panel[hidden]{display:none}.catalog-publication-panel h3{margin-top:0}.catalog-publication-panel .feature-table{min-width:780px}body[data-portal="host"] #nav-history{display:none!important}

/* Keep an operable 3D viewport when comparison controls expand on short screens. */
.inspection-shell .shell-context{max-height:max(54px,min(50dvh,calc(100dvh - 54px - 180px)));overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-height:600px){
 .inspection-shell #measure-box{bottom:8px;left:auto;right:8px;width:min(340px,42vw);max-width:calc(100% - 16px);max-height:calc(100% - 64px);overflow-y:auto}
}

#report-editor { margin-block: 1rem; }
#report-editor[hidden] { display: none; }
.report-record-editor { padding-block: .75rem; border-bottom: 1px solid #d3e0e1; }
#report-record-edits { max-height: 20rem; overflow: auto; }
