.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ui-icon { width: 24px; height: 24px; flex: 0 0 auto; }
#field-capture { --surface: #14212b; --edge: #2b3944; --ink: #f0f5f5; }
#field-capture .field-header { margin: 0 0 24px; min-height: 44px; }
#field-capture .field-logo { max-width: 180px; max-height: 48px; }
#field-capture #capture-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 102px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: #65dfb6;
  color: #102e25;
  box-shadow: none;
  transition: background .15s, border-color .15s;
}
#field-capture #capture-label strong { font-size: 21px; font-weight: 650; letter-spacing: -.4px; text-align: left; }
#field-capture #capture-label .shutter-icon { width: 36px; height: 36px; margin: 0; border: 0; }
#capture-label .shutter-icon .ui-icon { width: 34px; height: 34px; stroke-width: 1.6; }
#field-capture #capture-label[data-gps=none] { background: #f38d92; color: #341318; }
#field-capture #capture-label[data-gps=weak] { background: #f4ab6c; color: #352015; }
#field-capture #capture-label:disabled { opacity: .58; cursor: default; }
#field-capture #capture-label:not(:disabled):active { filter: brightness(.94); }
#field-capture .location-indicator { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 18px; padding: 0; min-height: 22px; border: 0; background: transparent; font-size: 12px; color: #a0b1bc; }
#field-capture .location-indicator::before { content: ''; width: 6px; height: 6px; margin: 0; border-radius: 50%; background: #f38d92; }
#field-capture .location-indicator[data-quality=weak]::before { background: #f4ab6c; }
#field-capture .location-indicator[data-quality=good]::before { background: #65dfb6; }
.field-nav-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.field-nav-grid a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 17px; min-height: 114px; padding: 20px; border: 1px solid var(--edge); border-radius: 17px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 550; }
.field-nav-grid a .ui-icon { width: 27px; height: 27px; color: #9db2be; }
.field-nav-grid a:active { background: #1c2d38; border-color: #6b9286; }
.capture-feedback { margin: 0 0 20px; padding: 16px 18px; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface); }
.capture-feedback-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.capture-feedback-label { font-size: 12px; color: #9db0bb; font-weight: 550; }
.capture-state { display: grid; place-items: center; width: 30px; height: 30px; color: #65dfb6; }
.capture-state > span { grid-area: 1/1; }
.status-spinner { display: none; width: 23px; height: 23px; border: 2px solid #365047; border-top-color: #65dfb6; border-radius: 50%; animation: field-spin .85s linear infinite; }
.status-check,.status-warning { display: none; }
[data-state=busy] .status-spinner { display: block; }
[data-state=success] .status-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #65dfb622; }
[data-state=error] .status-warning { display: flex; color: #efb574; }
[data-state=error].capture-feedback { border-color: #705035; }
#field-capture .capture-progress { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; border: 0; font-size: 12px; color: #718995; }
.capture-progress li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-weight: 500; }
.capture-progress li:not(:last-child)::after { content: ''; position: absolute; left: 17px; right: 5px; top: 4px; height: 1px; background: #32434e; }
.step-dot { width: 9px; height: 9px; border: 1px solid #59707e; border-radius: 50%; }
.capture-progress .active .step-dot { border-color: #65dfb6; box-shadow: 0 0 0 3px #65dfb61c; }
.capture-progress .complete .step-dot { background: #65dfb6; border-color: #65dfb6; }
#field-capture .capture-progress .active { color: #e7efed; font-weight: 550; }
#field-capture .capture-progress .complete { color: #82cdb3; }
#field-capture #queue-status:not(.sr-only) { min-height: 0; margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: #f4bd81; font-weight: 400; }
#field-capture .pending-section { padding: 16px; border-radius: 15px; margin: 18px 0 0; background: #201f1c; border-color: #544733; }
#field-capture .pending-section h2 { font-size: 14px; margin: 0; font-weight: 550; }
#retry-pending { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; background: transparent; border-color: #716046; }
#retry-pending .ui-icon { width: 17px; height: 17px; }
#field-capture .last-capture { padding: 17px; border: 1px solid var(--edge); border-radius: 18px; margin-top: 24px; background: var(--surface); }
.last-photo-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.last-photo-heading h2 { margin: 0; font-size: 13px; font-weight: 550; color: #bdcbd2; }
.text-button { display: inline-flex; align-items: center; gap: 7px; padding: 0; min-height: 32px; background: none; border: 0; color: #a9c3b8; font-size: 12px; }
.text-button .ui-icon { width: 16px; height: 16px; }
#field-capture #last-photo { max-height: 320px; border-radius: 10px; }
#field-capture .last-photo-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 13px; }
.last-photo-actions button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 7px; background: #1b2b36; border: 1px solid #344752; border-radius: 10px; color: #d9e5e4; font-size: 12px; font-weight: 500; }
.last-photo-actions svg { margin: 0; width: 18px; height: 18px; }
#live-camera .preview-toolbar { justify-content: space-between; align-items: center; padding: calc(12px + var(--safe-top,0px)) calc(14px + var(--safe-right,0px)) 12px calc(14px + var(--safe-left,0px)); }
#live-camera #camera-back { width: 44px; height: 44px; min-width: 44px; padding: 10px; background: #101a22b8; border: 1px solid #ffffff26; border-radius: 50%; }
#live-camera #camera-back .ui-icon { width: 22px; height: 22px; }
#live-camera .camera-tools { display: flex; align-items: center; gap: 8px; }
#live-camera #camera-torch { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 9px; border: 1px solid #ffffff35; border-radius: 50%; background: #101a22c9; color: #edf7f4; }
#live-camera #camera-comment { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff30; border-radius: 24px; background: #101a22c9; font-size: 13px; font-weight: 500; }
#camera-comment .ui-icon { width: 20px; height: 20px; }
.comment-dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: #65dfb6; }
#camera-comment[data-filled=true] .comment-dot { display: block; }
#live-camera .camera-actions { min-height: 72px; align-items: center; padding: 6px 12px calc(8px + var(--safe-bottom,0px)); }
#live-camera #camera-shutter { width: 56px; min-width: 56px; height: 56px; padding: 4px; border-width: 3px; border-color: #f38d92; opacity: 1; }
.field-offline-link { display: inline-flex; padding: 8px 4px; margin-top: 5px; }
#live-camera #camera-shutter[data-gps=weak] { border-color: #f4ab6c; }
#live-camera #camera-shutter[data-gps=good] { border-color: #65dfb6; }
#live-camera #camera-shutter span { background: #f1f7f3; }
#live-camera #camera-shutter:disabled span { opacity: .35; }
#live-camera[data-loading=true] .camera-stage::after { content: ''; position: absolute; left: calc(50% - 15px); top: calc(50% - 15px); width: 30px; height: 30px; border: 2px solid #ffffff2b; border-top-color: #65dfb6; border-radius: 50%; z-index: 2; animation: field-spin .85s linear infinite; }
.camera-retry { position: absolute; z-index: 3; top: calc(112px + var(--safe-top,0px)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; }
.comment-dialog { position: fixed; inset: auto 0 0; width: min(460px,100%); max-width: 100%; max-height: 80dvh; margin: auto auto 0; padding: 24px 22px calc(24px + env(safe-area-inset-bottom)); border: 1px solid #33434e; border-bottom: 0; border-radius: 22px 22px 0 0; background: #14212b; color: #f0f5f5; }
.comment-dialog::backdrop { background: #03070bb3; }
.comment-dialog form { margin: 0; padding: 0; border: 0; background: none; }
.comment-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.comment-heading h2 { font-size: 18px; font-weight: 550; margin: 0; }
.plain-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: #b8cbd3; }
#camera-comment-text { display: block; width: 100%; resize: vertical; min-height: 112px; padding: 14px; border: 1px solid #3b4c58; border-radius: 12px; background: #0e1820; color: #eef5f4; font: inherit; font-size: 16px; line-height: 1.5; outline-color: #65dfb6; }
.comment-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; }
.comment-dialog form button[type=submit] { width: auto; margin: 0; min-width: 125px; background: #65dfb6; color: #102e25; border: 0; font-weight: 600; }
.comment-actions .secondary { background: transparent; border-color: #3b4c58; color: #c4d3db; }
#photo-preview .preview-actions { margin-left: auto; }
.field-settings-shell { max-width: 580px !important; padding: 28px 24px !important; }
.field-settings-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.field-settings-header h1 { font-size: 24px; letter-spacing: -.5px; margin: 0; }
.field-settings-header a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #34454f; border-radius: 12px; color: #d6e4e4; }
.field-settings-card { padding: 20px; margin-bottom: 16px; border: 1px solid #2b3944; border-radius: 17px; background: #14212b; }
.field-settings-card h2 { font-size: 12px; font-weight: 500; color: #92aab8; margin: 0 0 16px; }
.field-settings-card strong { display: block; margin-bottom: 18px; font-size: 18px; font-weight: 550; }
.field-settings-card a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #8bceb6; text-decoration: none; }
.device-setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.device-setting + .device-setting { border-top: 1px solid #2b3944; }
.device-setting span { font-size: 14px; }
.device-setting button { min-width: 90px; font-size: 12px; padding: 8px 12px; background: #1b2b36; border-color: #344752; }
.device-status { color: #91aab7; font-size: 12px; margin: 8px 0 0; }
.field-build { color: #6f8999; font-size: 11px; text-align: center; margin-top: 30px; }
@keyframes field-spin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .status-spinner,#live-camera[data-loading=true] .camera-stage::after { animation-duration: 2.5s; } }
@media(max-width:360px) { #field-capture #capture-label { gap: 12px; padding: 16px 14px; } #field-capture #capture-label strong { font-size: 19px; } .field-nav-grid a { padding: 17px; min-height: 105px; } }

/* Shared page treatment. */
body { font-family: system-ui,-apple-system,"Segoe UI",sans-serif; }
.office-shell { --surface: #14212b; --edge: #2b3944; --ink: #f0f5f5; }
.office-shell .office-header { margin-bottom: 28px; gap: 12px; }
.office-shell .office-header h1 { font-size: 27px; letter-spacing: -.7px; }
.office-shell .office-header > a,.office-shell .office-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; border: 1px solid #2b3944; border-radius: 11px; background: #14212b; color: #becfd6; text-decoration: none; font-size: 13px; }
.office-shell .office-panel,.office-shell .settings-card,.office-shell .office-stats > div { border-color: #2b3944; background: #14212b; border-radius: 17px; }
.office-shell button { border-radius: 10px; font-weight: 550; }
.office-shell input,.office-shell select { font-size: 16px; border-radius: 10px; border-color: #3b4c58; }
.office-shell .document-row { border-color: #2b3944; }
.office-shell .document-links a { text-decoration: none; font-size: 12px; }
.page-header { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.page-header h1 { font-size: 23px; line-height: 1.25; letter-spacing: -.6px; margin: 0; }
.page-back { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #34454f; border-radius: 12px; background: #111e28; color: #d6e4e4; text-decoration: none; }
.page-count { display: block; font-size: 12px; color: #8ea6b5; margin-top: 5px; }
.action-status:empty { display: none; }
.action-status { font-size: 13px; color: #adc6bc; margin: 0 0 16px; }
.row-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 40px; min-height: 40px; flex: 0 0 auto; padding: 8px; margin: 0; border: 0; border-radius: 9px; background: transparent; color: #aac1cb; text-decoration: none; }
.row-icon .ui-icon { width: 19px; height: 19px; }
.row-icon:active { background: #263945; }
.row-icon:disabled { opacity: .4; }
/* Signal colours describe accuracy, independently of whether capture is locked. */
#field-capture .location-indicator[data-quality=good] { color: #8adabb; }
#field-capture .location-indicator[data-quality=good]::before { background: #65dfb6; color: #65dfb6; }
#field-capture .location-indicator[data-quality=weak] { color: #e3b173; }
#field-capture .location-indicator[data-quality=weak]::before { background: #eca65b; color: #eca65b; }
#field-capture .location-indicator[data-quality=none] { color: #df9397; }
#field-capture .location-indicator[data-quality=none]::before { background: #eb737d; color: #eb737d; }
/* Thumbnails reserve their geometry before loading. Full JPEGs are opt-in. */
.photos-shell { max-width: 820px !important; padding-top: calc(26px + env(safe-area-inset-top)); }
.photo-list { display: flex; flex-direction: column; gap: 10px; }
.photo-list-item { display: flex; align-items: center; gap: 13px; min-height: 90px; padding: 12px; border: 1px solid #2b3944; border-radius: 15px; background: #14212b; overflow: hidden; }
.photo-list-thumb { display: block; width: 64px; height: 64px; flex: 0 0 64px; overflow: hidden; border-radius: 10px; background: #23323c; }
.photo-list-thumb img { display: block; width: 64px; height: 64px; max-height: none; object-fit: cover; }
.photo-list-info { flex: 1; min-width: 0; }
.photo-list-info h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; font-weight: 550; white-space: nowrap; }
.photo-list-info p { margin: 7px 0 0; color: #8ea5b4; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.photo-sync-dot { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #e3aa63; }
.photo-sync-dot.synced { background: #65dfb6; }
.photo-list-actions { display: flex; gap: 2px; align-items: center; }
.photo-list-actions button { display: inline-flex; margin: 0; }
.remove-photo { color: #bc9094; }
.photo-pagination { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.photo-pagination a { font-size: 13px; padding: 10px 14px; border: 1px solid #34454f; border-radius: 11px; text-decoration: none; }
.quiet-empty { text-align: center; color: #6e8a99; margin: 100px auto; }
.quiet-empty .ui-icon { width: 42px; height: 42px; }
.quiet-empty p { font-size: 14px; }
/* The map owns the screen; controls and photo list are compact drawers. */
.map-page { overflow: hidden; }
body > main.map-shell { display: flex; flex-direction: column; max-width: none; height: 100dvh; padding: 0; }
.map-header { padding: calc(12px + env(safe-area-inset-top)) 16px 12px; margin: 0; min-height: 76px; flex: 0 0 auto; gap: 12px; }
.map-header h1 { font-size: 21px; }
.map-header #map-status { font-size: 11px; color: #8fa8b6; margin: 4px 0 0; min-height: 16px; }
.map-share { margin-left: auto; border: 1px solid #34454f; border-radius: 12px; width: 42px; height: 42px; background: #14212b; }
.map-stage { position: relative; flex: 1; min-height: 0; }
.map-stage .map-view { position: absolute; inset: 0; height: 100%; width: 100%; border: 0; border-radius: 0; }
.map-controls { position: absolute; right: 14px; top: 14px; z-index: 1001; display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.map-tool { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 10px; border: 1px solid #34454f; border-radius: 12px; background: #14212bf5; color: #d4e3e4; box-shadow: 0 3px 12px #07101833; cursor: pointer; }
.map-tool::-webkit-details-marker { display: none; }
.map-tool { list-style: none; }
#map-kml { display: flex; align-items: center; gap: 7px; margin-top: 17px; color: #a0bcb2; font-size: 12px; text-decoration: none; }
#map-kml .ui-icon { width: 17px; height: 17px; }
.map-toast:empty { display: none; }
.map-toast { position: absolute; z-index: 1002; left: 14px; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); width: fit-content; max-width: calc(100% - 28px); margin: 0 auto; padding: 12px 16px; background: #14212b; border: 1px solid #476257; border-radius: 12px; font-size: 12px; overflow-wrap: anywhere; }
.leaflet-container .map-popup { font-family: system-ui,-apple-system,sans-serif; }
.map-popup img { height: 170px; width: 230px; border-radius: 7px; object-fit: cover; margin-bottom: 12px; }
.map-popup > a:first-child { margin: 0; }
.map-popup strong { font-size: 12px; }
.map-popup p { color: #526576; font-size: 12px; }
.map-popup a { font-size: 12px; }
@media(max-width:430px) { .photos-shell { padding: calc(24px + env(safe-area-inset-top)) 12px calc(24px + env(safe-area-inset-bottom)); } .photo-list-item { gap: 9px; padding: 10px; min-height: 80px; } .photo-list-thumb,.photo-list-thumb img { width: 54px; height: 54px; } .photo-list-thumb { flex-basis: 54px; } .photo-list-info h2 { font-size: 12px; gap: 5px; } .photo-list-info p { font-size: 11px; } .photo-list-actions { gap: 0; } .photo-list-actions .row-icon { width: 30px; padding: 6px; } .photo-list-actions .ui-icon { width: 17px; height: 17px; } }

.photo-list-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.map-popup > a:first-child { display: block; width: 230px; }
.map-popup strong { display: block; overflow-wrap: anywhere; line-height: 1.5; }
.map-page .leaflet-popup-content-wrapper,.map-page .leaflet-popup-tip { background: #14212b; color: #e7eff2; }
.leaflet-container .map-popup { color: #e7eff2; }
.map-popup p { color: #9bb2bf; }
.leaflet-container .map-popup a { color: #92ceb8; }
.office-shell .office-header > .page-back { width: 42px; height: 42px; padding: 9px; }

.login-form,.office-login { background: #14212b; border: 1px solid #2b3944; padding: 24px; border-radius: 17px; }
.login-form button[type=submit],.office-login button { background: #65dfb6; color: #102e25; border: 0; font-weight: 550; }
.login-form label,.office-login label { font-size: 13px; color: #9fb5c2; }
.login-form input,.office-login input { font-size: 16px; background: #0e1820; border-color: #3b4c58; border-radius: 10px; }
.login-header h1 { font-size: 28px; letter-spacing: -.6px; margin: 22px 0; }

html.is-standalone body > main:not(.office-shell):not(.map-shell) { padding-top: calc(24px + env(safe-area-inset-top)); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.field-settings-shell { padding-top: calc(28px + env(safe-area-inset-top)) !important; padding-bottom: calc(28px + env(safe-area-inset-bottom)) !important; }

.current-job { padding: 12px 15px; margin: 0 0 16px; border: 1px solid #2b3944; border-radius: 14px; background: #14212b; }
.current-job label { display: block; margin: 0 0 6px; color: #8aa3b1; font-size: 11px; }
#current-job { width: 100%; min-height: 30px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #e5f1ed; font: inherit; font-size: 16px; }
#current-job:disabled { opacity: .6; }
.job-status:empty { display: none; }
.job-status { margin: -4px 0 14px; font-size: 12px; color: #e5b074; }
.build-stamp { position: fixed; bottom: calc(8px + env(safe-area-inset-bottom)); left: calc(14px + env(safe-area-inset-left)); color: #718792; font-size: 9px; line-height: 1.4; pointer-events: none; }
.office-title { margin-right: auto; }
.office-title h1 { font-size: 24px !important; margin-top: 10px; }
.office-icon-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.office-icon-nav a,.button-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 12px; border: 1px solid #34454f; border-radius: 11px; background: #14212b; color: #b9cdd5; text-decoration: none; font-size: 13px; }
.office-icon-nav .ui-icon,.button-link .ui-icon,.office-shell button .ui-icon { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.office-shell button:not(.row-icon):not(.map-record) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.office-shell .office-header > a .ui-icon { width: 21px; height: 21px; }
.office-shell .office-header > a { gap: 7px; }
.office-shell .document-links { flex-direction: row; gap: 4px; }
.document-links .row-icon { width: 36px; }
.job-caption { color: #91c6b2 !important; }
.jobs-shell { max-width: 920px !important; }
.job-create { display: flex; align-items: center; gap: 12px; }
.job-create input { flex: 1; min-width: 0; margin: 0 !important; }
.job-create button { min-height: 46px; }
.job-list { margin-top: 20px; display: grid; gap: 14px; }
.job-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.job-title strong { font-size: 17px; font-weight: 550; overflow-wrap: anywhere; }
.job-state { width: 6px; height: 6px; border-radius: 50%; background: #71838c; flex: 0 0 auto; }
.job-state.active { background: #65dfb6; }
.job-state-label { margin-left: auto; font-size: 11px; color: #8aa2b0; }
.job-actions { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.job-actions details { flex: 1; min-width: 180px; }
.job-actions summary { display: flex; gap: 7px; align-items: center; font-size: 13px; color: #a9c1cd; cursor: pointer; padding: 10px 0; }
.job-actions summary .ui-icon { width: 17px; height: 17px; }
.job-actions details form { margin-top: 12px; }
.job-actions details input { margin-top: 0 !important; }
.settings-card .quality-option { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid #34454f; border-radius: 12px; margin: 10px 0; }
.settings-card .quality-option input[type=radio] { width: 18px; height: 18px; flex: 0 0 18px; padding: 0; margin: 0; accent-color: #65dfb6; }
.quality-option:has(:checked) { border-color: #70b697; background: #1b332c; }
@media(max-width:600px) { .office-icon-nav { width: 100%; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); order: 3; } .office-icon-nav a { flex-direction: column; gap: 7px; padding: 12px 5px; font-size: 11px; } .office-shell .document-links { flex-direction: column; } .job-create { flex-wrap: wrap; } .job-create input { flex-basis: 100%; } .job-create button { width: 100%; } .office-stats span { font-size: 10px; letter-spacing: 0; } }

.device-queue-banner { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 15px; margin: 0 0 20px; border: 1px solid #685338; border-radius: 14px; background: #28251d; color: #e9bd82; text-align: left; box-shadow: none; }
.device-queue-banner > span { flex: 1; min-width: 0; }
.device-queue-banner strong,.device-queue-banner small { display: block; }
.device-queue-banner strong { font-size: 13px; font-weight: 550; }
.device-queue-banner small { margin-top: 4px; font-size: 11px; color: #bea986; font-weight: 400; }
.device-queue-banner > .ui-icon { width: 21px; height: 21px; }
.device-queue-banner > .ui-icon:last-child { width: 17px; height: 17px; }

.device-queue-banner[data-state=done] { border-color: #38674f; background: #142a24; color: #8cdbb6; }
.device-queue-banner[data-state=done] small { color: #94b9a8; }
.device-queue-banner[data-state=resolved] { border-color: #405364; background: #182530; color: #c2d1db; }
#field-capture .device-queue-banner[data-state=resolved] small { color: #a9b9c5; }
.queue-review-retry { display: block; margin-top: 8px; padding: 7px 11px; min-height: 42px; font-size: 12px; }
.device-queue-dialog { position: fixed; inset: 0; width: min(540px,100%); height: 100%; height: 100dvh; max-width: 100%; max-height: 100dvh; margin: auto; padding: calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; background: #0a141d; color: #edf5f4; overflow: auto; }
.device-queue-dialog::backdrop { background: #03080dd9; }
.device-queue-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; gap: 16px; }
.device-queue-heading h2 { margin: 0; font-size: 23px; font-weight: 550; letter-spacing: -.5px; }
.device-queue-heading p { margin: 6px 0 0; color: #93aab7; font-size: 12px; }
.device-queue-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.device-queue-tools button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #34454f; border-radius: 11px; padding: 10px 12px; background: #14212b; color: #ccdfdf; font-size: 12px; }
.device-queue-tools button .ui-icon { width: 17px; height: 17px; }
.device-queue-tools > span { font-size: 11px; color: #9eb3be; }
.device-queue-row { display: flex; align-items: center; gap: 12px; padding: 15px 12px; margin-bottom: 10px; background: #14212b; border: 1px solid #2b3944; border-radius: 14px; }
.queue-order { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #26362f; color: #a9c7b8; font-size: 11px; flex: 0 0 26px; }
.device-queue-row > div { flex: 1; min-width: 0; }
.device-queue-row strong { display: block; font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.device-queue-row small { display: block; margin-top: 6px; color: #97acb9; font-size: 11px; }
.device-queue-row .row-icon { background: transparent; min-width: 36px; }
.queue-row-error { color: #e2b47a; font-size: 11px; line-height: 1.5; margin: 8px 0 0; overflow-wrap: anywhere; }
.queue-storage-note { font-size: 11px; color: #8da3b1; line-height: 1.6; margin: 24px 0 0; }

#field-capture #queue-progress { padding: 16px 4px 22px; margin: 0; }

/* A single compact header row keeps the current job beside the client logo. */
#field-capture .field-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
#field-capture .field-header .field-logo { width: auto; max-width: 150px; max-height: 42px; object-fit: contain; object-position: left center; flex: 0 0 auto; }
#field-capture .current-job { display: flex; align-items: center; gap: 6px; height: 44px; flex: 0 1 clamp(118px,41vw,160px); min-width: 0; margin: 0; padding: 0 8px; border-radius: 10px; background: #132029; }
.current-job > .ui-icon { width: 15px; height: 15px; color: #8ca99e; }
#field-capture #current-job { appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; width: 100%; min-height: 44px; height: 44px; padding: 0; font-size: 16px; line-height: 1.3; text-overflow: ellipsis; cursor: pointer; }
.job-chevron { display: flex; pointer-events: none; color: #91aaa5; }
.job-chevron .ui-icon { width: 16px; height: 16px; transform: rotate(-90deg); }
.current-job:focus-within { border-color: #8ecdb4; box-shadow: 0 0 0 3px #65dfb61a; }
#field-capture .job-status { margin: -8px 0 16px; font-size: 11px; }
@media(max-width:360px) { #field-capture .field-header { gap: 10px; } #field-capture .current-job { gap: 5px; padding: 0 7px; } }

/* Pending work stays amber through retries; only a fully verified queue turns green. */
.device-queue-banner { min-height: 72px; transition: background-color .5s ease, border-color .5s ease, color .5s ease; }
.device-queue-banner > .sync-state-icon { display: grid; place-items: center; position: relative; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; background: #e9bd8210; }
.sync-state-icon > span { display: flex; position: absolute; transition: opacity .35s ease, transform .35s ease; }
.sync-state-icon .ui-icon { width: 21px; height: 21px; }
.sync-done-icon { opacity: 0; transform: scale(.8); }
.device-queue-banner[data-state=done] .sync-pending-icon { opacity: 0; transform: scale(.8); }
.device-queue-banner[data-state=done] .sync-done-icon { opacity: 1; transform: scale(1); }
.device-queue-banner > .sync-banner-copy { flex: 1; min-width: 0; }
.device-queue-banner strong,.device-queue-banner small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-queue-banner small { min-height: 15px; transition: color .5s ease; }
.device-queue-banner > .sync-activity-dot { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; transition: opacity .35s ease; }
.device-queue-banner[data-state=sending] .sync-activity-dot { animation: sync-pulse 1.6s ease-in-out infinite; }
.device-queue-banner[data-state=done] .sync-activity-dot { opacity: 0; }
@keyframes sync-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

.page-header-title { flex: 1; min-width: 0; }
.page-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.page-header-actions .map-share { margin: 0; }
.nav-filter.row-icon { position: relative; flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border: 1px solid #34454f; border-radius: 12px; background: #14212b; color: #c2d4db; }
.page-header > .nav-filter { margin-left: auto; }
.nav-filter.has-filter { border-color: #537c6c; color: #99e0bf; background: #193129; }
.filter-count { position: absolute; right: -4px; top: -5px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 6px; background: #89d3b1; color: #0a2118; font-size: 10px; font-weight: 650; box-shadow: 0 0 0 3px #0a141d; }

/* A modal sheet leaves the whole panel scrollable and its two actions reachable. */
dialog.filter-sheet { position: fixed; inset: 16px; width: min(440px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto 16px auto auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #34454f; border-radius: 22px; color: #e7efef; background: #101d27; box-shadow: 0 24px 80px #0006; }
.filter-sheet::backdrop { background: #030b12a8; backdrop-filter: blur(4px); }
.filter-sheet[open] { animation: filter-arrive .18s ease-out; }
.filter-sheet-form { display: flex; flex-direction: column; margin: 0; }
.filter-sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 18px; }
.filter-eyebrow { font-size: 9px; letter-spacing: 1.8px; color: #8aa0ac; }
.filter-sheet-header h2 { margin: 5px 0 0; font-size: 23px; font-weight: 550; letter-spacing: -.5px; }
.filter-sheet .row-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #30424e; border-radius: 12px; background: #182832; color: #b7cbd4; }
.filter-sheet .row-icon .ui-icon { width: 20px; height: 20px; }
.filter-sheet-body { padding: 4px 24px 24px; }
.filter-section { margin: 0; padding: 0; border: 0; min-width: 0; }
.filter-section legend { padding: 0; margin-bottom: 14px; font-size: 13px; font-weight: 550; color: #c1d0d7; }
.date-presets { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-bottom: 21px; }
.date-presets button { grid-column: span 2; min-height: 44px; padding: 10px; border-radius: 11px; border: 1px solid #31444f; background: #182832; color: #b9cbd2; font-size: 12px; font-weight: 500; }
.date-presets button[aria-pressed=true] { color: #b4efd3; background: #203e32; border-color: #5d9c7e; }
.date-range { display: grid; grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr); gap: 8px; align-items: end; }
.filter-sheet .date-field { display: block; min-width: 0; margin: 0; color: #8fa8b6; font-size: 12px; }
.date-input-wrap { display: block; position: relative; margin-top: 8px; min-width: 0; height: 52px; border: 1px solid #3a515c; border-radius: 12px; background: #0b1720; }
.filter-sheet input[type=date] { display: block; width: 100%; min-width: 0; max-width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 12px 29px 12px 10px; border: 1px solid #3a515c; border-radius: 12px; background: #0b1720; color: #e4eded; font: inherit; font-size: 16px; letter-spacing: -.5px; color-scheme: dark; -webkit-appearance: none; }
.filter-sheet input[type=date]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; opacity: 0; cursor: pointer; }
.filter-sheet input[type=date]::-webkit-date-and-time-value { text-align: left; min-height: 20px; }
.filter-sheet .date-input-wrap input[type=date] { position: absolute; inset: 0; height: 100%; min-height: 0; opacity: 0; padding: 0; cursor: pointer; }
.date-display { display: block; padding: 13px 31px 13px 10px; color: #839aa7; font-size: 16px; line-height: 24px; letter-spacing: -.4px; white-space: nowrap; pointer-events: none; }
.has-value .date-display { color: #e4eded; }
.date-input-wrap:focus-within { outline: 2px solid #9fe4c6; outline-offset: 3px; }
.date-input-wrap:has(input[aria-invalid=true]) { border-color: #ce9865; }
.date-input-wrap > .ui-icon { position: absolute; right: 10px; top: 17px; width: 16px; height: 16px; color: #8aa89c; pointer-events: none; }
.date-range-arrow { display: flex; align-items: center; height: 52px; color: #667e8b; }
.date-range-arrow .ui-icon { width: 18px; height: 18px; }
.filter-date-error { margin: 9px 0 0; font-size: 11px; line-height: 1.5; color: #edb483; }
.filter-date-error:empty { display: none; }
.filter-sheet input[aria-invalid=true] { border-color: #ce9865; }
.filter-sheet .filter-select-label { display: block; margin: 24px 0 0; color: #a6bcc8; font-size: 12px; }
.filter-sheet select { display: block; width: 100%; height: 52px; margin-top: 9px; padding: 10px 12px; border-radius: 12px; border: 1px solid #3a515c; background: #0b1720; color: #e4eded; font-size: 16px; text-overflow: ellipsis; }
.filter-sheet-footer { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid #293d49; background: #101d27; }
.filter-sheet-footer button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 48px; padding: 11px; margin: 0; border-radius: 12px; font-size: 13px; font-weight: 550; }
.filter-sheet-footer .ui-icon { width: 17px; height: 17px; }
.filter-sheet-footer .filter-reset { border: 1px solid #344c58; color: #a9bec9; background: #182832; }
.filter-sheet-footer .filter-apply { color: #102e25; background: #87d9b5; }
#map-kml.filter-export { margin-top: 26px; font-size: 13px; min-height: 44px; }
@keyframes filter-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:600px) { dialog.filter-sheet { inset: auto 0 0; width: 100%; max-height: calc(100dvh - 20px - env(safe-area-inset-top)); margin: auto 0 0; border-radius: 24px 24px 0 0; } .filter-sheet-header { padding-top: 22px; } .filter-sheet-header::before { content: ''; position: absolute; top: 8px; left: calc(50% - 17px); width: 34px; height: 3px; border-radius: 4px; background: #3c5360; } }
@media(max-width:360px) { .filter-sheet-header,.filter-sheet-body,.filter-sheet-footer { padding-left: 16px; padding-right: 16px; } .date-presets { gap: 6px; } .date-presets button { padding: 10px 11px; } .date-range { grid-template-columns: minmax(0,1fr); gap: 14px; } .date-range-arrow { display: none; } }
@media(prefers-reduced-motion:reduce) { .device-queue-banner,.device-queue-banner small,.sync-state-icon > span,.sync-activity-dot { transition: none; } .device-queue-banner[data-state=sending] .sync-activity-dot,.filter-sheet[open] { animation: none; } }

#identity-recovery { margin-top: 20px; padding: 15px; border: 1px solid #34454f; border-radius: 13px; background: #14212b; }
#identity-recovery summary,.users-shell .office-panel > details > summary { cursor: pointer; color: #bdd1da; font-size: 13px; min-height: 28px; }
#identity-recovery p { font-size: 12px; line-height: 1.6; color: #91aab8; }
#identity-recovery textarea,#queue-support-code,.user-form textarea { display: block; width: 100%; min-width: 0; padding: 12px; margin: 8px 0; border: 1px solid #3a515c; border-radius: 11px; background: #0b1720; color: #b7cbd4; font: 13px/1.5 ui-monospace,monospace; overflow-wrap: anywhere; resize: vertical; }
#identity-recovery button { min-height: 44px; padding: 10px 14px; margin-top: 6px; border: 1px solid #3a515c; border-radius: 10px; color: #b7cbd4; background: #1b2c36; font-size: 12px; }
#queue-reauth { display: inline-block; margin-top: 16px; font-size: 13px; }
.users-shell .office-panel > details[open] > .user-form { padding-top: 20px; }
.device-diagnostic-list { display: grid; gap: 10px; margin: 16px 0; }
.device-diagnostic { padding: 14px; border: 1px solid #34454f; border-radius: 12px; background: #0e1b24; }
.device-diagnostic strong { font-size: 13px; font-weight: 550; }
.device-diagnostic > span { float: right; color: #829caa; font-size: 11px; }
.device-diagnostic p { color: #b4c9d0; font-size: 12px; margin: 8px 0; }
.device-diagnostic small { color: #d4b27e; font-size: 11px; }

/* Stay on home while the source commits; only unsafe local storage needs an inline action. */
#capture-home a[aria-disabled=true] { pointer-events: none; opacity: .5; }
.device-queue-banner:disabled { opacity: 1; cursor: default; }
.device-queue-banner[data-local-state=saving] .sync-activity-dot { animation: sync-pulse 1.6s ease-in-out infinite; }
.capture-inline-error .capture-feedback-top { margin-bottom: 0; }
.capture-inline-error #retry-pending { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 14px; margin-top: 16px; font-size: 13px; }
.capture-inline-error #retry-pending .ui-icon { width: 17px; height: 17px; }
@media(prefers-reduced-motion:reduce) { .device-queue-banner[data-local-state=saving] .sync-activity-dot { animation: none; } }

/* Presentation polish: readable states, clear touch targets and quiet surfaces. */
:where(button,a,summary,select,input,textarea):focus-visible { outline: 2px solid #a5e8ca; outline-offset: 4px; }
#field-capture .field-nav-grid a { min-height: 108px; gap: 12px; border-color: #30444f; background: #13222c; }
#field-capture .field-nav-grid a .ui-icon { width: 25px; height: 25px; padding: 7px; box-sizing: content-box; border-radius: 11px; background: #a5e8ca0b; color: #acd7c8; }
#field-capture .device-queue-banner { padding: 15px; gap: 11px; }
#field-capture .device-queue-banner strong,#field-capture .device-queue-banner small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.5; }
#field-capture .device-queue-banner strong { font-size: 13px; }
#field-capture .device-queue-banner small { font-size: 12px; color: #d1b48e; }
#field-capture .device-queue-banner[data-state=done] small { color: #a3c9b7; }
.device-queue-banner[data-local-state=error] { border-color: #b38355; }
.device-queue-row { padding: 16px 14px; }
.device-queue-row .row-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid #344b57; border-radius: 11px; background: #1b2c36; }
.device-queue-tools button { min-height: 44px; }
.device-queue-tools > span { flex-basis: 100%; line-height: 1.5; color: #c9b087; font-size: 12px; }
.device-queue-heading .plain-icon { width: 44px; height: 44px; border: 1px solid #344b57; border-radius: 12px; }
.photo-sync-state { display: inline-block; margin-top: 6px; font-size: 11px; line-height: 1.4; color: #d1b48e; }
.photo-sync-state[data-state=verified] { color: #9cd9bc; }
#field-capture .last-photo-heading { align-items: center; }
#field-capture #open-last-photo { min-height: 44px; padding: 9px 12px; border: 1px solid #344b57; border-radius: 10px; background: #1b2c36; }
#field-capture #last-photo { width: 100%; max-height: 260px; object-fit: contain; background: #0b151d; }
#field-capture .last-photo-actions button { min-height: 44px; }
.build-stamp { position: static; margin: 24px 0 0; padding: 0; text-align: left; }
.photos-shell .photo-card .row-icon { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.field-settings-header a { text-decoration: none; }
@media(hover:hover) { #field-capture .field-nav-grid a:hover { border-color: #56796c; background: #192c35; } }

/* Fieldwork access screens share the field app's controls and quiet hierarchy. */
.auth-page { min-height: 100dvh; background: radial-gradient(ellipse at 50% 0,#153129 0,transparent 60%),#0a141d; }
body.auth-page > main.auth-shell { width: min(440px,100%); max-width: 440px; margin: 0 auto; padding: max(42px,env(safe-area-inset-top)) 24px 36px; }
.auth-page .login-header { margin: 0 0 26px; }
.auth-page .login-header .field-logo { display: block; width: 185px; height: auto; max-height: 58px; object-fit: contain; object-position: left; }
.auth-page .login-header h1 { color: #edf6f2; font-size: 28px; font-weight: 600; letter-spacing: -.8px; line-height: 1.2; margin: 32px 0 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; margin-bottom: 26px; border: 1px solid #2d444b; border-radius: 14px; background: #102029; }
.auth-tabs a,.auth-tabs > span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 12px; border-radius: 10px; color: #9fb9c1; text-decoration: none; font-size: 13px; }
.auth-tabs [aria-current] { color: #c4f4df; background: #234036; box-shadow: inset 0 0 0 1px #456f5b; }
.auth-tabs .ui-icon { width: 19px; height: 19px; }
.auth-page .login-form,.auth-page .office-login { padding: 25px; border: 1px solid #2d444f; border-radius: 19px; background: #12222ce8; margin: 0; }
.auth-page .login-form label,.auth-page .office-login label { display: block; margin: 0 0 11px; font-size: 13px; font-weight: 500; color: #bacfd5; }
.auth-page #pin,.auth-page #password { width: 100%; min-height: 54px; margin: 0; padding: 13px 15px; border: 1px solid #425b64; border-radius: 11px; background: #0b1820; color: #eef8f4; font: 18px/1.5 system-ui,-apple-system,sans-serif; }
.auth-page #pin { letter-spacing: 5px; }
.auth-page .login-form button[type=submit],.auth-page .office-login button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin: 22px 0 0; border: 0; border-radius: 11px; background: #89dfbb; color: #12372b; font: 600 14px/1.4 system-ui,-apple-system,sans-serif; }
.auth-page .login-form button:disabled { opacity: .5; }
.auth-page .login-form > a { display: inline-block; margin-top: 18px; color: #b5d5c5; font-size: 13px; }
.auth-page .error:not(:empty),.auth-page .alert { margin-top: 18px; font-size: 13px; line-height: 1.65; color: #edb8a4; }
@media(max-width:360px) { body.auth-page > main.auth-shell { padding-left: 20px; padding-right: 20px; } .auth-page .login-form,.auth-page .office-login { padding: 20px; } .auth-page .login-header h1 { font-size: 26px; } }

/* Camera gestures affect the captured framing, never the page viewport. */
#live-camera .camera-stage { display: flex; align-items: center; justify-content: center; touch-action: none; overscroll-behavior: none; overflow: hidden; }
#live-camera .camera-frame { position: relative; overflow: hidden; flex: 0 0 auto; max-width: 100%; max-height: 100%; background: #000; }
#live-camera .camera-frame video,#live-camera .camera-frame canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; }
#live-camera .camera-frame video { transform-origin: 50% 50%; will-change: transform; }
#camera-torch[aria-pressed=true] { background: #f2d28d!important; border-color: #f2d28d!important; color: #29200e!important; }
#live-camera #camera-status:empty { display: none; }
#live-camera .camera-actions { flex-direction: column; }
.camera-shutter-feedback { width: min(340px,100%); text-align: center; }
.camera-shutter-feedback p { margin: 0 0 8px; color: #e1ede8; font-size: .84rem; line-height: 1.4; }
#camera-gps-status { color: #ffcf9d; }
@media (orientation: landscape) {
  #live-camera .camera-stage { margin-right: calc(72px + var(--safe-right,0px)); }
  #live-camera .camera-actions { min-height: 0; padding: 0; }
  .camera-shutter-feedback { position: absolute; top: 50%; right: calc(100% + 12px); width: min(245px,calc(100vw - 130px)); transform: translateY(-50%); padding: 9px 11px; border-radius: 8px; background: #090c10ea; text-align: right; }
  .camera-shutter-feedback p { margin: 0; }
  .camera-shutter-feedback p + p:not([hidden]) { margin-top: 6px; }
}
/* Shared identity and page titles keep one centre line in every shell. */
.app-heading-copy h1{min-width:0;flex-shrink:1}.app-heading-copy .page-count{white-space:nowrap;flex-shrink:0}@media(max-width:360px){.page-header .app-brand{flex:0 0 76px;width:76px;height:32px;object-fit:contain;object-position:left center}.page-header .app-heading{gap:8px}}
.app-heading-copy{display:flex;align-items:baseline;gap:10px;overflow:hidden}.app-heading-copy h1{flex-shrink:1}.app-heading-copy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important}.map-header .app-heading-copy{display:block}.map-header .app-heading-copy #map-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.app-heading{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.app-brand{display:block;width:128px;max-height:40px;object-fit:contain;object-position:left center;flex:0 1 128px;min-width:0}.app-heading-copy{min-width:0;flex:1}.app-heading h1,.office-title h1{margin:0!important;line-height:1.2!important}.app-heading h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-heading-copy p{margin:4px 0 0;font-size:11px}.auth-page .login-header.app-heading{display:flex;flex-direction:row;align-items:center;gap:20px}.auth-page .login-header.app-heading .field-logo{width:145px;max-width:38%;flex-shrink:0;margin:0}.auth-page .login-header.app-heading h1{font-size:20px;letter-spacing:-.4px;white-space:normal;margin:0!important}.map-header .app-brand{width:100px;flex-basis:100px;max-height:32px}.map-header .app-heading{gap:10px}.map-header .app-heading h1{font-size:19px}.field-settings-header .app-heading{gap:12px}.field-settings-header .app-heading h1{font-size:21px}.office-home .office-title{align-items:center!important}.office-home .office-title h1{margin:0!important;line-height:1.2!important}
@media(max-width:600px){.app-heading{gap:10px}.app-brand{width:104px;flex-basis:104px;max-height:34px}.auth-page .login-header.app-heading{gap:14px}.auth-page .login-header.app-heading h1{font-size:18px}.map-header .app-brand{width:84px;flex-basis:84px}.map-header .app-heading{gap:8px}.map-header .app-heading h1{font-size:17px}.map-header .app-heading-copy p{font-size:10px}.app-heading-copy h1{font-size:22px!important}}
