/* Matching one page (owner-approved Nov 24): two compact recon cards under the page header,
   greyed source choices with one "Connect" line, and the no-connection message. */
#appShell.ui-workspace .matching-cards {margin:0 0 18px;min-width:0}
#appShell.ui-workspace .matching-card-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#appShell.ui-workspace .matching-card-grid[hidden],#appShell.ui-workspace .matching-cards-none[hidden],#appShell.ui-workspace .matching-card-locked[hidden] {display:none!important}
#appShell.ui-workspace .matching-card-wrap {display:flex;flex-direction:column;gap:6px;min-width:0}
#appShell#appShell.ui-workspace button.workflow-picker-card.matching-card {flex-direction:row;align-items:center;gap:16px;padding:14px 16px;min-height:0;touch-action:manipulation}
#appShell.ui-workspace .matching-pair {display:flex;align-items:center;gap:6px;flex:none}
#appShell#appShell.ui-workspace .matching-pair .workflow-picker-source-mark {width:40px;height:40px;border-radius:12px}
#appShell.ui-workspace .matching-pair .workflow-picker-source-mark:last-child {background:var(--ui-green-soft)}
#appShell.ui-workspace .matching-pair .workflow-picker-source-mark:last-child svg {color:var(--ui-green)}
#appShell.ui-workspace .matching-pair .workflow-picker-source-mark svg {width:20px;height:20px;color:var(--ui-blue)}
#appShell.ui-workspace .matching-arrow svg {display:block;width:14px;height:14px;color:var(--ui-blue);opacity:.65}
#appShell.ui-workspace .matching-copy {display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#appShell.ui-workspace .matching-copy b {font-size:var(--type-emphasis);font-weight:600;letter-spacing:-.2px;color:var(--ui-ink)}
#appShell.ui-workspace .matching-sub {font-size:var(--type-caption);color:var(--ui-ink-secondary);overflow-wrap:anywhere}
#appShell.ui-workspace .matching-status {display:flex;align-items:center;gap:7px;font-size:var(--type-caption);color:var(--ui-ink-secondary)}
#appShell.ui-workspace .matching-status i {width:7px;height:7px;border-radius:50%;background:var(--ui-line-strong);flex:none}
#appShell.ui-workspace .matching-status.is-busy {color:var(--ui-blue)}
#appShell.ui-workspace .matching-status.is-busy i {background:var(--ui-blue)}
#appShell.ui-workspace .matching-card .workflow-picker-radio {align-self:flex-start}
#appShell.ui-workspace .matching-card[aria-pressed="true"] {cursor:default}
#appShell.ui-workspace .matching-card:disabled {opacity:.55;cursor:not-allowed}
#appShell.ui-workspace .matching-card:focus-visible {outline:2px solid var(--ui-blue);outline-offset:-3px}
#appShell.ui-workspace .matching-card svg {flex-shrink:0;pointer-events:none}
#appShell.ui-workspace :is(.matching-card-locked,.matching-cards-none,.matching-conn-note) {margin:0;font-size:var(--type-caption);line-height:1.5;color:var(--ui-ink-secondary)}
#appShell.ui-workspace .matching-conn-notes {display:grid;gap:2px;margin:6px 0 10px}
#appShell.ui-workspace .matching-conn-none {margin:0 0 14px;padding:12px 14px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-grey-surface);font-size:var(--type-caption);line-height:1.5;color:var(--ui-ink-secondary)}
#appShell#appShell.ui-workspace button.matching-link {display:inline;min-height:0;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--ui-blue);font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
#appShell#appShell.ui-workspace button.matching-link:hover {text-decoration:underline}
#appShell#appShell.ui-workspace button.matching-link[hidden] {display:none}
/* Greyed: still visible, says why on its own line. Upload-only: the other choices are not shown. */
#appShell#appShell.ui-workspace .source-seg button.matching-off {opacity:.45;cursor:not-allowed}
#appShell#appShell.ui-workspace .source-seg button.matching-hidden {display:none!important}
@media(max-width:1000px){#appShell.ui-workspace .matching-card-grid {grid-template-columns:1fr;gap:10px}}
@media(max-width:560px){
  #appShell#appShell.ui-workspace button.workflow-picker-card.matching-card {gap:12px;padding:12px 14px}
  #appShell#appShell.ui-workspace .matching-pair .workflow-picker-source-mark {width:34px;height:34px;border-radius:10px}
  #appShell.ui-workspace .matching-pair .workflow-picker-source-mark svg {width:17px;height:17px}
}
/* Classic design rollback (no cards): the Recon center's Marketplace | Purchase tabs switch the recon on the Matching pages. */
#appShell#appShell.ui-workspace :is(#paneTwo,#paneMarketplace) #reconCenterSwitch.matching-classic-switch {display:flex!important;justify-content:flex-start;margin:0 0 14px}
#appShell#appShell.ui-workspace :is(#paneTwo,#paneMarketplace) #reconCenterSwitch.matching-classic-switch .recon-center-controls {display:flex!important}
#appShell#appShell.ui-workspace :is(#paneTwo,#paneMarketplace) #reconCenterSwitch.matching-classic-switch > .workflow-change-button {display:none!important}
