/* Shared components for operational registries and administration. */
/* Long toolbar actions wrap on phones while retaining their touch target. */
@media(max-width:760px){.toolbar>.button{max-inline-size:100%;min-inline-size:0;white-space:normal;overflow-wrap:anywhere}}
[hidden]{display:none!important}
.registry-editor summary{padding:18px 22px;font-size:12px;color:#527449;cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;font-weight:600}.registry-editor summary::after{content:'＋';margin-left:auto;color:#8dab80;font-weight:400}.registry-editor[open] summary{border-bottom:1px solid var(--line)}.registry-editor[open] summary::after{content:'−'}.registry-editor .form-card{max-width:none;margin:0}.registry-editor summary svg{height:15px;width:15px}.submission-item{padding:20px 22px;border-top:1px solid var(--line)}.submission-item>p{font-size:12px;color:#6b7e60;line-height:1.8;margin-bottom:13px}.submission-item .task-facts{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;color:#809473;margin-bottom:16px}.evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.evidence-grid a{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#f6f9f2;display:block}.evidence-grid img{width:100%;height:130px;object-fit:cover;display:block}.evidence-grid span{display:block;text-align:center;color:#7a936c;font-size:9px;padding:9px}.document-attachments{padding:5px 20px 20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.attachment-card{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#f6f9f2}.attachment-card img{height:140px;width:100%;object-fit:contain;display:block;background:#f5f7f0}.attachment-card span{padding:9px;display:block;font-size:8px;color:#90a080;overflow-wrap:anywhere}.document-preview{display:block;border:0;width:100%;height:75vh;min-height:450px}.document-video{display:block;width:100%;max-height:75vh;background:#12291a}.document-image{max-width:100%;height:auto;display:block;margin:0 auto}.weekly-report{border-top:1px solid var(--line)}.weekly-report>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:18px 22px}.weekly-report>summary strong{font-size:11px;color:#5c7950;line-height:1.6;font-weight:500;display:block}.weekly-report>summary small{font-size:9px;color:#98a78b;margin-top:5px;display:block}.report-metrics{padding:0 22px 22px;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:13px}.report-metrics>div{padding:12px 14px;background:#f5f8f0;border-radius:6px}.report-metrics dt{font-size:9px;line-height:1.6;color:#91a27f;margin-bottom:6px;overflow-wrap:anywhere}.report-metrics dd{margin:0;font-size:12px;line-height:1.5;color:#537044;overflow-wrap:anywhere}.report-metrics>p{grid-column:1/-1}.terrain-tabs{display:flex;align-items:center;gap:25px;border-bottom:1px solid #dde7d5;margin-bottom:20px;font-size:10px;color:#98a789;overflow-x:auto;white-space:nowrap}.terrain-tabs>span{display:block;padding:0 0 14px}.terrain-tabs>span.active{color:#558048;border-bottom:2px solid #57904c}.terrain-tabs b{font-size:9px;font-weight:400;padding:3px 5px;margin-left:6px;background:#e5efde;border-radius:4px}.outbox-item{display:flex;justify-content:space-between;align-items:flex-start;padding:13px 0;gap:15px;border-bottom:1px solid var(--line)}.outbox-item:last-child{border:0}.outbox-item strong{font-size:11px;font-weight:500;color:#5c784d}.outbox-item small{display:block;font-size:9px;color:#9bab8e;margin-top:5px}.outbox-error{font-size:10px;color:#ad7d5f;line-height:1.7;margin:8px 0 0}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.page-heading h1{margin-bottom:8px}.page-heading>div>p:not(.eyebrow){color:#8c9b80;font-size:11px;line-height:1.7;margin:0}.page-heading .eyebrow{font-size:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;border:1px solid #dbe5d1;border-radius:6px;background:white;color:#71865f;font-size:10px;font-weight:500;text-decoration:none}.btn:hover{background:#f0f6ea}.btn-primary{background:var(--green);border-color:var(--green);color:white}.btn-primary:hover{background:var(--green-dark)}.panel{background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:22px;overflow:hidden;box-shadow:var(--shadow)}.form-panel{padding:25px;max-width:900px}.form-panel label{display:block;font-size:11px;font-weight:600;color:#6d8559;margin-bottom:7px}.form-panel input:not([type=checkbox]),.form-panel select,.form-panel textarea{width:100%}.form-panel p{margin-bottom:18px}.filters{display:flex;gap:10px;align-items:center;padding:15px 18px;margin-bottom:20px;background:white;border:1px solid var(--line);border-radius:10px}.filters input[type=search]{flex:1}.panel td form{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:160px}.panel td form input{width:100%;font-size:10px;padding:8px}.panel td form .btn{padding:7px 9px;font-size:9px}.cell-value{white-space:pre-wrap}.cell-formula{display:block;color:#a47c51;font-size:10px;font-family:monospace;white-space:pre-wrap}.sheet-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.sheet-tabs a{background:#fff;border:1px solid var(--line);padding:9px 12px;font-size:10px;border-radius:5px;color:#789567}.sheet-tabs a.active{background:#e6f1de;border-color:#bed3ac;color:#4f7638}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.file-icon{display:inline-flex;align-items:center;justify-content:center;background:#eaf4e3;color:#6c9253;border-radius:9px;width:38px;height:38px}.meta-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:11px 0;font-size:10px}.meta-row:last-child{border-bottom:0}.meta-row span{color:#95a585}.meta-row strong{font-weight:500;color:#608149}.audit-code{font-family:monospace;overflow-wrap:anywhere;white-space:pre-wrap;font-size:9px}.login-card .helptext ul{padding-left:15px;line-height:1.8;margin:8px 0 0}.login-card .helptext{font-size:9px;line-height:1.8}.login-card .errorlist{margin:7px 0 0;font-size:10px}input[type=checkbox]{accent-color:var(--green);height:15px;width:15px}.login-card input[type=checkbox]{width:auto}.form-card input[type=file]{padding:9px;font-size:10px}.report-filters{display:flex;gap:10px;flex-wrap:wrap}.no-wrap{white-space:nowrap}@media(max-width:760px){.page-heading{gap:12px}.page-heading h1{font-size:26px}.page-heading .btn{font-size:9px;padding:9px}.form-panel{padding:20px}.filters{padding:12px;gap:7px}.filters input{min-width:0;width:100%}.registry-editor summary{padding:17px;font-size:11px}.submission-item{padding:18px}.weekly-report>summary{padding:17px}.weekly-report>summary strong{font-size:10px}.weekly-report>summary .text-link{font-size:8px}.report-metrics{padding:0 17px 17px;grid-template-columns:1fr}.terrain-tabs{gap:18px;font-size:9px}.document-preview{height:60vh;min-height:350px}.document-attachments{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 15px 15px;gap:10px}.attachment-card img{height:110px}.source-grid{grid-template-columns:1fr}.evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters .btn{font-size:9px}.form-panel form>button{margin-top:15px}}@media print{.weekly-report>summary .text-link,.registry-editor,.terrain-tabs,.sync-panel{display:none!important}.document-preview{height:90vh}.weekly-report>summary{padding-left:0;padding-right:0}.report-metrics{display:grid}.page-heading .btn,.filters{display:none!important}}

.report-sheet{border-top:1px solid var(--line);padding-top:18px}.report-sheet>h3{padding:0 22px;font-size:12px;color:#65804f}.report-sheet .report-metrics{padding-top:0;padding-bottom:15px}.report-sheet .table-wrap{margin-bottom:15px}

/* Comfortable reading and touch targets for daily operational use. */
.nav-item{font-size:13px;min-height:43px}.nav-label{font-size:9px}.workspace-label{font-size:11px}.breadcrumb{font-size:12px}.user-identity strong{font-size:12px}.user-identity small{font-size:11px}.connection-indicator{font-size:11px}
.page-subtitle,.page-heading>div>p:not(.eyebrow){font-size:13px;line-height:1.8}.page-header>div:first-child,.page-heading>div:first-child{min-width:0}.page-title,.page-heading h1{overflow-wrap:anywhere}.page-header{flex-wrap:wrap}.header-actions{margin-left:auto}.card-header h2{font-size:16px}.card-header p{font-size:12px;line-height:1.6}.card-body,.form-card{overflow-wrap:anywhere}.section-title{font-size:16px}
.data-table td,table td{font-size:13px;line-height:1.65;padding-top:14px;padding-bottom:14px;overflow-wrap:anywhere}.data-table th,table th{font-size:11px;letter-spacing:.25px}.data-table .primary-cell{font-size:13px}.subcell{font-size:11px;line-height:1.7}.badge{font-size:11px;padding:5px 8px}.source-ref,code.source-ref{font-size:11px;overflow-wrap:anywhere}.table-footer{font-size:11px;line-height:1.7;gap:15px}.text-link{font-size:12px}.data-table td .text-link{font-size:12px}.empty-state{font-size:13px}.empty-state h3{font-size:15px}.pagination{font-size:13px}
.button,.btn{font-size:13px;min-height:40px;padding:11px 15px}.button.small{font-size:12px;min-height:36px}.button svg{width:16px;height:16px}.button.secondary{font-size:13px}.input,input[type=text],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input[type=email],select,textarea{font-size:14px;line-height:1.4}.form-card label,.form-panel label,.modal label,.login-card label{font-size:13px;line-height:1.5}.form-card input[type=file]{font-size:12px}.helptext{font-size:12px;line-height:1.7}.errorlist{font-size:13px}.notice{font-size:13px;line-height:1.8}.search-field{min-width:190px}.search-field input{min-height:42px}.search-field svg{top:13px}.form-card p{line-height:1.8}
.stat-label{font-size:12px;line-height:1.5}.stat-head{gap:8px}.stat-icon{flex-shrink:0}.stat-footer{font-size:11px;line-height:1.6;flex-wrap:wrap}.stat-footer span{font-size:10px}.resource-info strong{font-size:13px}.resource-info p{font-size:11px;line-height:1.6}.distribution-row{padding:12px 0;gap:11px}.resource-value{font-size:20px}.resource-info{min-width:0}.coverage-strip{font-size:12px;line-height:1.8}.chart-legend{font-size:10px}.chart-footer{font-size:11px;line-height:1.7;gap:15px}.chart-footer .text-link{font-size:11px;flex-shrink:0}.alert-content h3{font-size:13px;line-height:1.6}.alert-content p{font-size:12px;line-height:1.8}.alert-symbol{margin-top:2px}.quick-action{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.quick-action svg{flex-shrink:0}.import-summary p{font-size:12px;line-height:1.8}.import-summary .text-link{font-size:12px}
.detail-list dt{font-size:11px;line-height:1.5}.detail-list dd{font-size:14px;overflow-wrap:anywhere}.document-body{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.document-attachments .attachment-card span{font-size:11px}.submission-item>p{font-size:14px}.submission-item .task-facts{font-size:12px}.evidence-grid span{font-size:12px}.task-meta{font-size:12px;line-height:1.6}.task-card h3{font-size:18px;overflow-wrap:anywhere}.task-card p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.task-card .task-facts{font-size:12px;line-height:1.8}.task-actions{gap:10px}.task-actions .muted{font-size:12px!important}.terrain-tabs{font-size:12px;gap:20px}.terrain-tabs b{font-size:11px}.field-note{font-size:12px;line-height:1.9}.sync-panel{font-size:12px;line-height:1.8}.sync-panel>span{min-width:0;overflow-wrap:anywhere;flex:1}.sync-panel .button{flex-shrink:0}.outbox-item strong{font-size:13px}.outbox-item small,.outbox-error{font-size:12px}.modal-subtitle{font-size:13px}.modal .form-row>.muted{font-size:12px!important}.toast{font-size:13px}.weekly-report>summary strong{font-size:13px;overflow-wrap:anywhere}.weekly-report>summary small{font-size:12px}.report-sheet>h3{font-size:14px}.report-metrics dt{font-size:12px}.report-metrics dd{font-size:14px}.registry-editor summary{font-size:14px}
.map-sidebar-header h3{font-size:14px}.map-sidebar-header input{font-size:13px}.map-group-label{font-size:11px;line-height:1.6}.map-layer{font-size:12px;line-height:1.6}.map-layer span{min-width:0;overflow-wrap:anywhere}.map-layer small{font-size:11px}.map-tools .button{font-size:12px}.map-status{font-size:11px;line-height:1.6;overflow-wrap:anywhere}.map-note{font-size:12px}.map-popup{font-size:13px}.map-popup h3{font-size:14px}.map-popup dt{font-size:11px}.map-popup dd{font-size:12px}.map-layout{grid-template-columns:285px minmax(0,1fr)}
.panel td form .btn{font-size:11px;min-height:36px}.panel td form input{font-size:13px}.login-card>p{font-size:14px}.login-help{font-size:12px}.login-card .helptext{font-size:11px}.login-card .errorlist{font-size:12px}.login-card .button{font-size:14px}.login-intro>p{font-size:14px}
@media(max-width:1200px){.nav-item{font-size:12px}.stat-label{font-size:11px}.stat-card{padding:17px}.stat-footer{font-size:10px}.quick-action{font-size:11px}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(275px,1fr)}.map-layout{grid-template-columns:260px minmax(0,1fr)}.map-tools .button{font-size:11px;padding:9px}}
@media(max-width:980px){.dashboard-grid{grid-template-columns:1fr}.distribution-list{gap:0 22px}.nav-item{font-size:11px;gap:8px}.stat-label{font-size:12px}.map-layout{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:760px){.nav-item{font-size:13px;min-height:45px}.page-header{gap:15px}.header-actions{margin-left:0}.page-header>.header-actions{margin-left:auto}.page-subtitle,.page-heading>div>p:not(.eyebrow){font-size:13px}.header-actions .button{min-height:44px;min-width:44px;padding:12px;font-size:0}.header-actions .button svg{height:18px;width:18px}.card-header h2{font-size:16px}.card-header p{font-size:12px}.card-header>.text-link{font-size:11px}.button,.button.secondary,.button.small,.btn{font-size:14px;min-height:44px;padding:12px 14px}.input,input[type=text],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input[type=email],select,textarea,.modal input,.modal textarea,.toolbar select{font-size:16px;min-height:44px}.toolbar .button{font-size:14px;min-height:44px}.search-field{min-width:100%}.search-field input{min-height:44px}.search-field svg{top:15px}.toolbar select{width:100%;min-width:120px}.toolbar .search-field{flex-basis:100%}.form-grid{gap:15px}.form-card label,.form-panel label,.modal label{font-size:14px}.stat-label{font-size:11px}.stat-footer{font-size:10px}.stat-footer span{font-size:10px}.stat-card{padding:17px 15px}.resource-info strong{font-size:13px}.resource-info p{font-size:11px}.resource-value{font-size:20px}.coverage-strip{font-size:12px}.chart-footer{font-size:11px;flex-wrap:wrap}.chart-footer .text-link{font-size:11px}.chart-legend{font-size:9px}.quick-action{font-size:12px;min-height:48px;padding:13px 11px}.import-summary p{font-size:12px}.import-summary .text-link{font-size:12px}.distribution-list{grid-template-columns:1fr}.distribution-row+.distribution-row{border-top:1px solid #eef2e9}.resource-icon{height:35px;width:35px}.table-footer{font-size:11px;flex-wrap:wrap}.task-meta{font-size:12px}.task-card h3{font-size:19px}.task-card p{font-size:14px}.task-card .task-facts{font-size:13px}.task-actions .button{font-size:14px;min-height:46px}.sync-panel{font-size:12px;align-items:center;flex-wrap:wrap}.sync-panel>span{flex-basis:65%}.sync-panel .button{font-size:12px;min-height:44px;padding:10px 12px}.terrain-tabs{font-size:12px}.modal .form-grid{grid-template-columns:1fr}.modal .form-actions{flex-wrap:wrap}.modal .form-actions .button{flex:1}.map-layout{display:flex}.map-sidebar{max-height:180px}.map-sidebar-header h3{font-size:12px}.map-sidebar-header input{font-size:16px;min-height:44px;padding:8px}.map-layer{min-width:205px;font-size:12px;padding:9px}.map-layer small{font-size:10px}.map-layer input{height:18px;width:18px}.map-tools .button{font-size:11px;min-height:44px;padding:9px 11px}.map-tools{max-width:calc(100% - 55px)}.map-status{font-size:10px}.map-note{font-size:12px}.weekly-report>summary strong{font-size:13px}.weekly-report>summary small{font-size:11px}.weekly-report>summary .text-link{font-size:11px;white-space:nowrap}.report-metrics dt{font-size:12px}.report-metrics dd{font-size:14px}.page-heading .btn{font-size:12px;min-height:44px}.panel td form .btn{font-size:12px;min-height:44px}.panel td form input{font-size:16px;min-height:44px}.filters .btn{font-size:12px;min-height:44px}.connection-indicator{font-size:11px}.topbar .breadcrumb{font-size:11px}.document-body{font-size:14px}.login-intro>p{font-size:13px}}
