.pod-workspace {display:block;min-width:0;color:var(--text);font-size:12px;letter-spacing:0}
.user-fleet-picker {grid-column:1/-1;min-width:0;position:relative}
.user-fleet-picker .notification-recipient-tags {margin:6px 0}
.user-fleet-picker .notification-recipient-tags:empty {display:none}
.user-fleet-picker .notification-recipient-input-wrap {position:relative}
.user-fleet-picker .notification-recipient-suggestions {z-index:20;max-height:220px;overflow:auto}
.mobile-feature-tabs {display:flex;gap:0;border-bottom:1px solid var(--line);margin:12px 0 16px}
.mobile-feature-tabs button {background:transparent;color:var(--muted);border-radius:0;border-bottom:2px solid transparent;padding:10px 12px;font-size:14px;min-height:44px}
.mobile-feature-tabs button[aria-selected=true] {color:var(--accent);border-bottom-color:var(--accent)}
.pod-workspace .panel-head {padding:0;margin-bottom:12px}
.pod-workspace .panel-head h2 {font-size:15px;margin:0}
.pod-workspace label {display:grid;gap:3px;font-size:10px;font-weight:400;color:var(--muted);min-width:0;margin:0}
.pod-workspace input:not([type=file]),.pod-workspace select,.pod-workspace textarea {width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--text);padding:5px 8px;font:inherit;font-size:11px;letter-spacing:0;box-sizing:border-box}
.pod-workspace input:not([type=file]),.pod-workspace select {height:30px}
.pod-workspace textarea {min-height:76px;resize:vertical;line-height:1.45}
.pod-workspace :is(input,select,textarea,button):focus-visible {outline:2px solid var(--accent);outline-offset:2px}
.pod-workspace button:disabled {opacity:.5;cursor:default}
.pod-filters {display:flex;align-items:flex-end;gap:8px 10px;padding:0 0 12px;flex-wrap:wrap}
.pod-filters label:first-child {flex:1;min-width:190px;max-width:400px}
.pod-filters label:nth-child(2) {width:180px}
.pod-filters button {height:30px;padding:5px 8px;font-size:11px}
.pod-workspace .danger {color:#b91c1c;border-color:#b91c1c}
.pod-feedback {min-height:20px;color:var(--ok);margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}
.pod-feedback.error {color:#b91c1c}
.pod-busy .pod-feedback::before {content:"";display:inline-block;width:13px;height:13px;margin-right:8px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:pod-spin .7s linear infinite;vertical-align:middle}
@keyframes pod-spin {to {transform:rotate(360deg)}}
.pod-layout {display:grid;gap:0;border-top:1px solid var(--line,#d9e0e6);min-height:480px;align-items:start}
.pod-submit-layout {grid-template-columns:minmax(210px,.6fr) minmax(0,1.8fr)}
.pod-review-layout {grid-template-columns:minmax(170px,.55fr) minmax(0,1.5fr) minmax(280px,1fr)}
.pod-list-pane {min-width:0;padding:12px 12px 12px 0}
.pod-list {max-height:65vh;overflow:auto;min-height:140px}
.pod-note-row {display:grid;width:100%;text-align:left;padding:10px 9px;gap:4px;border:0;border-bottom:1px solid var(--line,#d9e0e6);border-radius:0!important;background:transparent;color:inherit;overflow-wrap:anywhere}
.pod-note-row:hover {background:var(--bg)}
.pod-note-row.selected {background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent)}
.pod-note-row strong {font-size:12px}
.pod-note-row span,.pod-note-row small {font-size:11px}
.pod-counts {border-top:1px solid var(--line,#d9e0e6);display:grid;gap:8px;padding-top:12px;font-size:12px}
.pod-counts span {display:flex;justify-content:space-between;gap:8px}
.pod-report-counts {display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 0;border-top:1px solid var(--line);font-size:12px}
.pod-report-counts strong {margin-left:8px}
.pod-page-controls {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;font-size:12px}
.pod-page-controls button {width:30px;height:30px;padding:0;flex-shrink:0}
.pod-document-pane,.pod-evidence-pane {min-width:0;border-left:1px solid var(--line,#d9e0e6);padding:16px;max-height:calc(100dvh - 320px);overflow:auto}
.pod-document-pane .internal-note-document {min-width:0;padding:12px;border:0;border-radius:0;box-shadow:none}
.pod-document-pane .internal-note-document header {padding:0 0 12px;gap:8px}
.pod-document-pane .internal-note-document h2 {font-size:16px}
.pod-document-pane .internal-note-fields {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pod-document-pane .internal-note-fields div {min-width:0}
.pod-document-pane .internal-note-fields dd {overflow-wrap:anywhere}
.pod-document-pane .internal-note-items {overflow:auto}
.pod-pane-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.pod-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.pod-fields div {min-width:0}.pod-fields dt {color:var(--muted);font-size:10px;margin-bottom:3px}.pod-fields dd {margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.pod-state {display:inline-flex;align-items:center;justify-self:start;min-height:22px;padding:2px 8px;border-radius:6px;font-size:10px;font-weight:700;color:var(--muted);background:#eef1f5;overflow-wrap:anywhere}
.pod-state.PoD_Pending {color:var(--warning);background:#fff7ed}
.pod-state.PoD_Confirmed {color:var(--ok);background:#e8f7ef}
.pod-state.PoD_Rejected {color:#b91c1c;background:#fef2f2}
.pod-form-fields {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;border-top:1px solid var(--line);padding-top:12px}
.pod-photo-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.pod-photo-heading>div {display:flex;gap:8px}.pod-add,.pod-camera {font-size:22px;width:36px;height:36px;padding:0;display:inline-grid;place-items:center;flex-shrink:0}
.pod-camera svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pod-photo-count {font-size:12px;color:var(--muted,#66737f);margin:10px 0}
.pod-photo-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.pod-photo {position:relative;min-width:0}.pod-photo-open {padding:0;display:block;border:1px solid var(--line);background:var(--bg);width:100%;aspect-ratio:4/3;overflow:hidden}.pod-photo-open img {display:block;width:100%;height:100%;object-fit:contain}.pod-photo>span {font-size:11px;display:block;margin-top:4px;color:var(--muted);overflow-wrap:anywhere}.pod-photo-remove.ghost {position:absolute;right:4px;top:4px;height:28px;padding:0;width:28px;line-height:1;background:var(--panel);color:#b91c1c}
.pod-actions {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.pod-attempt {border-top:1px solid var(--line);padding:12px 0}.pod-attempt summary {cursor:pointer;font-size:12px}.pod-attempt summary span {margin-left:8px}.pod-workspace .pod-review-note {margin-top:12px}
.pod-lightbox {position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:#161a1e;color:#fff;overflow:hidden;box-sizing:border-box}
.pod-lightbox::backdrop {background:#161a1e}
.pod-lightbox-toolbar {height:54px;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;box-sizing:border-box;background:#242a30;gap:12px}
.pod-lightbox-toolbar>div {display:flex;gap:8px}
.pod-lightbox button {height:36px;min-width:36px;border:1px solid #73808c;background:#242a30;color:#fff;border-radius:6px;cursor:pointer;font-size:20px;padding:0 8px}
.pod-lightbox button:disabled {opacity:.35;cursor:default}
.pod-lightbox-stage {width:100%;height:calc(100% - 54px);overflow:auto;overscroll-behavior:contain}
.pod-lightbox-stage img {display:block;object-fit:contain;max-width:none;max-height:none}
.pod-image-prev,.pod-image-next {position:absolute;top:50%;z-index:2}.pod-image-prev {left:12px}.pod-image-next {right:12px}
@media(max-width:1100px) {.pod-review-layout {grid-template-columns:170px minmax(0,1fr) minmax(260px,1fr)}.pod-document-pane,.pod-evidence-pane {padding:12px}.pod-document-pane .internal-note-fields {grid-template-columns:1fr}}
@media(max-width:760px) {.pod-layout {grid-template-columns:minmax(0,1fr);min-height:0}.pod-list-pane {padding-right:0}.pod-list {max-height:240px}.pod-counts {display:flex;flex-wrap:wrap;gap:12px}.pod-counts span {gap:5px}.pod-document-pane,.pod-evidence-pane {padding:14px 0;border-left:0;border-top:1px solid var(--line);max-height:none}.pod-form-fields {grid-template-columns:1fr}.pod-filters {gap:8px}.pod-filters label:nth-child(2) {width:140px}.pod-fields {gap:10px}.pod-lightbox-toolbar {padding:8px}}

/* Keep the mobile entry aligned with the existing loading-photo form. */
#mobilePodView {font-size:14px}
#mobilePodView .panel-head h2 {font-size:18px}
#mobilePodView label {font-size:14px;font-weight:600;gap:5px;color:var(--text)}
#mobilePodView input:not([type=file]),#mobilePodView select,#mobilePodView textarea {font-size:16px;font-weight:400;padding:8px 10px}
#mobilePodView input:not([type=file]),#mobilePodView select {height:44px}
#mobilePodView .ghost {background:var(--panel);color:var(--text);border:1px solid var(--line)}
#mobilePodView .primary,#mobilePodView .ghost {min-height:44px;font-size:14px}
#mobilePodView .pod-page-controls button,#mobilePodView .pod-add,#mobilePodView .pod-camera {width:44px;height:44px}
#mobilePodView .pod-add {font-size:28px}
#mobilePodView .pod-note-row strong {font-size:14px}
#mobilePodView .pod-note-row span,#mobilePodView .pod-fields dt {font-size:13px}
#mobilePodView .pod-state {font-size:12px}
#mobilePodView .pod-photo-remove {width:44px;height:44px;color:#b91c1c}
#mobilePodView .pod-actions button {flex:1}
@media(pointer:coarse) {.pod-lightbox button {min-width:44px;height:44px}.pod-lightbox-toolbar {height:60px}.pod-lightbox-stage {height:calc(100% - 60px)}}
