/* Scoped organization; no financial behavior or global card sizing changes. */
.collection-workspace-toolbar {display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:18px;align-items:end;overflow:visible!important;position:relative;z-index:2}
.collection-workspace-toolbar h2 {margin:0 0 6px}
.collection-workspace-toolbar p {margin:0;line-height:1.5}
#collectionWorkspaceLocation label {display:grid;gap:8px;font-weight:600}
#collectionWorkspaceLocation select {width:100%;min-width:0;min-height:44px;font:inherit}
#collectionWorkspaceNav {display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;grid-column:1/-1}
#collectionWorkspaceNav button {font:inherit;min-height:44px;white-space:normal}
#collectionWorkspaceNav button.active {background:#eaf2ff;color:#244f96;border-color:#8caadc}
#collectionPaneHint {grid-column:1/-1;font-size:14px}
#collectionEvidencePending {grid-column:1/-1}
#collectionEvidencePending[hidden] {display:none!important}
.collection-tools {position:relative;margin-left:auto}
.collection-tools > summary {display:grid;place-items:center;cursor:pointer;list-style:none;border:1px solid #ccd8e5;border-radius:10px;min-width:44px;min-height:44px;font-size:26px}
.collection-tools > summary::-webkit-details-marker {display:none}
.collection-tools > div {position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:grid;min-width:220px;background:white;border:1px solid #ccd8e5;border-radius:12px;padding:8px;box-shadow:0 8px 24px #172b4d20}
.collection-tools button {background:transparent;border:0;text-align:left;padding:10px;border-radius:6px;color:#263b53}
.collection-tools button:hover {background:#eef4fa}
#collectionsView[data-collection-pane]:not([data-collection-pane="route"]) > .collection-planner,
#collectionsView[data-collection-pane]:not([data-collection-pane="legacy"]) > .collections-layout,
#collectionsView[data-collection-pane]:not([data-collection-pane="legacy"]) > #carryForwardPanel,
#collectionsView[data-collection-pane]:not([data-collection-pane="legacy"]) > #pendingBoxClearPanel,
#collectionsView[data-collection-pane]:not([data-collection-pane="history"]) > #resetRecordsPanel,
#collectionsView[data-collection-pane="route"] > #modernCloseoutsPanel,
#collectionsView[data-collection-pane="legacy"] > #modernCloseoutsPanel,
#collectionsView[data-collection-pane="collect"] .collection-statement-history,
#collectionsView[data-collection-pane="history"] #modernClosingForm,
#collectionsView[data-collection-pane="history"] #modernCloseoutsPanel > details > p {display:none!important}
#modernCloseoutsPanel > details > summary {display:none}
#modernCloseoutsPanel .closing-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
#modernCloseoutsPanel .closing-adjustments {margin:16px 0;border-top:1px solid #dce4ed;padding-top:14px}
#modernCloseoutsPanel .closing-adjustments summary {cursor:pointer;font-weight:600;padding:8px 0}
#modernCloseoutsPanel .closing-actions {flex-wrap:wrap;gap:10px}
#modernCloseoutsPanel .closing-choice {overflow-wrap:anywhere}
#modernCloseoutsPanel input,#modernCloseoutsPanel textarea {font:inherit;min-width:0}
#collectionsView :is(button,summary,select,input,textarea):focus-visible {outline:3px solid #426dcc;outline-offset:3px}
.organization-disclosure {border:1px solid #d7e1eb;border-radius:14px;background:#fff;min-width:0}
.organization-disclosure > summary {cursor:pointer;padding:18px 22px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.organization-disclosure > .panel {border:0;box-shadow:none;margin:0}
.organization-disclosure > summary:focus-visible {outline:3px solid #426dcc;outline-offset:3px}
@media(max-width:600px){
  .collection-workspace-toolbar {grid-template-columns:minmax(0,1fr);padding:18px}
  #collectionWorkspaceNav {gap:6px}
  #collectionWorkspaceNav > button {flex:1;padding:10px;font-size:14px}
  #modernCloseoutsPanel .closing-grid {grid-template-columns:minmax(0,1fr)}
  #modernCloseoutsPanel .closing-actions > button {width:100%}
}
