/* Soft Cards (owner pick, Nov 14): the look every signed-in page shares. Loaded after every workspace sheet, so it
   restyles the shared shell and components without changing any markup, words or behaviour. Colours, greys, corners
   and shadows come from greys.css and tokens.css. */

/* ---------- The window: a navy frame around the grey canvas (owner pick "Option 3", Nov 15) ----------
   A 48px navy app bar runs across the full width of the top and the navy sidebar runs the full height under it, flush to the
   left edge, so the two read as one frame. Both use the same navy (--tr-frame-navy: #141a2e light, #1f2536 dark); a faint
   hairline separates the bar from the sidebar. The brand sits top left, over the sidebar. Page content, cards and the canvas
   are unchanged. */
#appShell.ui-workspace{--tr-app-bar-h:48px;--tr-rail-w:248px;--tr-frame-navy:#141a2e;--tr-frame-line:rgba(255,255,255,.12)}
#appShell.ui-workspace[data-ui-theme="dark"]{--tr-frame-navy:#1f2536}
#appShell.ui-workspace.is-sidebar-collapsed{--tr-rail-w:72px}
#appShell#appShell.ui-workspace .workspace-window{background:var(--ui-grey-100)}
#appShell#appShell.ui-workspace:not(.is-phone-nav) .workspace-window{grid-template-columns:var(--tr-rail-w) minmax(0,1fr);grid-template-rows:var(--tr-app-bar-h) minmax(0,1fr)}
@media(max-width:760px){#appShell.ui-workspace:not(.is-phone-nav){--tr-rail-w:86px}}
#appShell#appShell.ui-workspace .main-shell,#appShell#appShell.ui-workspace .app-support-footer{background:transparent}
#appShell#appShell.ui-workspace:not(.is-phone-nav) .main-shell{grid-column:2}
#appShell#appShell.ui-workspace .app-support-footer{border-top:0;color:var(--ui-ink-secondary)}
/* The sidebar: under the app bar, full height, flush left: no margin, corners or shadow. The colours are in "Navy sidebar" below. */
#appShell#appShell.ui-workspace:not(.is-phone-nav) .workspace-sidebar{grid-column:1;grid-row:2;align-self:stretch;height:auto;margin:0;padding:4px 16px 12px;border:0;border-top:1px solid var(--tr-frame-line);border-radius:0;box-shadow:none}
#appShell#appShell.ui-workspace.is-sidebar-collapsed:not(.is-phone-nav) .workspace-sidebar{padding-inline:8px}
/* The menu scrollbar keeps its room but shows only on hover (no width change). */
#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-scroll{scrollbar-width:thin;scrollbar-color:transparent transparent}

/* App bar: navy, light text and icons. The brand mark is a blue tile; the search is a see-through field on navy. */
#appShell#appShell.ui-workspace .workspace-app-bar{gap:8px;padding:0 16px 0 0;background:var(--tr-frame-navy);color:#c3c8d8}
#appShell#appShell.ui-workspace .workspace-app-bar :is(button,a,input):focus-visible{outline:2px solid var(--ui-band-strong);outline-offset:-2px}
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-app-popover :is(button,a,input):focus-visible{outline:2px solid var(--ui-blue);outline-offset:-2px}
/* Brand: the 30px mark is centred over the sidebar's 18px menu icons. Expanded, their centres are 34px from the left edge. Collapsed,
   the menu keeps an equal scrollbar gutter on both sides so the icons sit near the middle of the 72px rail (35px), with or without
   a visible scrollbar, and the mark sits over them. */
#appShell#appShell.ui-workspace .workspace-app-bar-brand{width:var(--tr-rail-w);padding:0 12px 0 19px}
#appShell#appShell.ui-workspace.is-sidebar-collapsed .workspace-app-bar-brand{padding:0 0 0 20px}
#appShell#appShell.ui-workspace.is-sidebar-collapsed:not(.is-phone-nav) .workspace-sidebar .workspace-nav-scroll{padding-inline:0;scrollbar-gutter:stable both-edges}
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-brand{height:40px;padding:0 8px 0 0;gap:10px;color:#fff}
#appShell#appShell.ui-workspace.is-sidebar-collapsed .workspace-app-bar .workspace-brand{padding:0}
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-brand:hover:not(:disabled){background:none}
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-brand-mark{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#5b8cff,#2f5fe6);color:#fff;box-shadow:0 4px 10px -4px rgba(47,98,232,.55)}
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-brand-mark svg{width:22px;height:22px}
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-brand-copy{grid-auto-flow:row;align-items:start;gap:0;line-height:1.25;text-align:left}
/* The name alone (the WORKSPACE heading follows in the sidebar). */
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-brand-name{color:#fff;font-size:var(--type-emphasis);font-weight:700;letter-spacing:-.01em}
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-brand-version{display:none}
#appShell#appShell.ui-workspace .workspace-app-search{max-width:360px;margin:0 4px 0 auto}
#appShell#appShell.ui-workspace .workspace-app-search .workspace-app-search-icon{left:12px;stroke:#aab2c8}
#appShell#appShell.ui-workspace .workspace-app-search input{height:34px;min-height:34px;padding:0 38px 0 36px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.07);box-shadow:none;color:#fff}
#appShell#appShell.ui-workspace .workspace-app-search input::placeholder{color:#aab2c8;opacity:1}
#appShell#appShell.ui-workspace .workspace-app-search input:hover{background:rgba(255,255,255,.1)}
/* Focus: a blue border and ring on the field itself (it replaces the white outline). */
#appShell#appShell.ui-workspace .workspace-app-bar .workspace-app-search input:focus{border-color:#8fb0ff;background:rgba(255,255,255,.1);box-shadow:0 0 0 3px rgba(143,176,255,.35);outline:0}
#appShell#appShell.ui-workspace .workspace-app-search kbd{right:10px;border-color:rgba(255,255,255,.26);border-radius:6px;background:transparent;color:#aab2c8}
#appShell#appShell.ui-workspace .workspace-app-search[hidden] ~ .workspace-app-actions{margin-left:auto}
#appShell#appShell.ui-workspace .workspace-app-actions{gap:8px;min-width:0}
#appShell#appShell.ui-workspace .workspace-app-icon{width:34px;min-width:34px;height:34px;min-height:34px;border-radius:10px;background:transparent;box-shadow:none;color:#c3c8d8}
#appShell#appShell.ui-workspace .workspace-app-icon:is(:hover,[aria-expanded="true"]){background:rgba(255,255,255,.08);color:#fff}
#appShell#appShell.ui-workspace .workspace-app-icon[hidden],#appShell#appShell.ui-workspace .workspace-app-icon.workspace-app-search-open{display:none}
#appShell#appShell.ui-workspace .workspace-app-sep{display:none}
#appShell#appShell.ui-workspace .workspace-app-account{padding:0;margin-left:4px}
#appShell#appShell.ui-workspace .workspace-app-account:is(:hover,[aria-expanded="true"]){background:none;box-shadow:0 0 0 3px rgba(255,255,255,.16)}
/* Avatar: a light circle with navy initials; a customer's logo keeps its white plate. */
#appShell#appShell.ui-workspace .workspace-app-avatar{width:32px;height:32px;background:#dfe5f5;color:#141a2e;font-weight:700}
#appShell#appShell.ui-workspace .workspace-app-avatar.has-logo{background:#fff;box-shadow:none}
#appShell#appShell.ui-workspace .workspace-app-avatar .workspace-profile-system-dot{border-color:var(--tr-frame-navy)}

/* Help and account menus: a raised white card with rounded rows. */
#appShell#appShell.ui-workspace .workspace-app-popover{top:calc(100% + 10px);padding:6px;border:0;border-radius:16px;background:var(--ui-grey-surface);box-shadow:var(--workspace-raised-shadow),0 0 0 1px var(--ui-line)}
#appShell#appShell.ui-workspace .workspace-app-popover-item{border-radius:10px}
#appShell#appShell.ui-workspace .workspace-app-popover-item:hover{background:var(--ui-blue-soft)}
#appShell#appShell.ui-workspace .workspace-app-popover a.workspace-app-popover-item{border-radius:0 0 10px 10px}
#appShell#appShell.ui-workspace .workspace-account-menu :is(.workspace-profile-button,.app-theme-toggle){border-radius:10px}
#appShell#appShell.ui-workspace .workspace-account-menu :is(.workspace-profile-button,.app-theme-toggle):hover{background:var(--ui-blue-soft)}
#appShell#appShell.ui-workspace .workspace-account-menu .workspace-profile-avatar{border-radius:50%;background:var(--ui-navy);color:#fff;border:0}
#appShell#appShell.ui-workspace .workspace-account-menu .workspace-profile-plan{border-radius:999px;padding:3px 9px;background:var(--ui-blue-soft);color:var(--ui-blue-hover);font-weight:600}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] .workspace-account-menu .workspace-profile-plan{color:var(--ui-blue)}

/* Sidebar navigation: grey labels, rounded rows, the current page on a soft blue fill. */
#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-label{margin:16px 8px 6px;color:var(--ui-ink-secondary);font-size:var(--type-caption);font-weight:700;letter-spacing:.08em}
#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-group:first-child .workspace-nav-label{margin-top:20px}
#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-item{min-height:36px;padding:7px 10px;gap:10px;border:0;border-radius:10px;color:var(--ui-ink-secondary);font-size:var(--type-body);font-weight:500}
#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-menu .workspace-nav-item:not(.is-active,[aria-current="page"]):hover{background:var(--ui-grey-50);color:var(--ui-ink)}
#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-menu .workspace-nav-item:is(.is-active,[aria-current="page"]){background:var(--ui-blue-soft);border:0;color:var(--ui-blue-hover);font-weight:650}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] .workspace-sidebar .workspace-nav-menu .workspace-nav-item:is(.is-active,[aria-current="page"]){color:var(--ui-blue-hover)}
#appShell#appShell.ui-workspace .workspace-sidebar svg.workspace-feature-icon{width:18px;height:18px;color:var(--ui-ink-secondary)}
#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-item:is(.is-active,[aria-current="page"]) svg.workspace-feature-icon{color:var(--ui-blue-hover)}
#appShell#appShell.ui-workspace .workspace-sidebar :is(button,a,summary):focus-visible{outline:2px solid var(--ui-blue);outline-offset:-2px}
#appShell#appShell.ui-workspace.is-sidebar-collapsed .workspace-sidebar .workspace-nav-item{padding:9px 0;gap:0;justify-content:center}

/* Feedback & support: a blue pill floating over the page. */
#appShell#appShell.ui-workspace .sc-help-button{border:0!important;border-radius:999px;background:var(--ui-blue)!important;color:var(--workspace-primary-ink)!important;box-shadow:0 10px 24px -8px rgba(47,98,232,.6)!important;font-weight:600}
#appShell#appShell.ui-workspace .sc-help-button:hover{background:var(--ui-blue-hover)!important}
/* Compact: a round "?" that shows its name on hover or keyboard focus, as in the design. */
#appShell#appShell.ui-workspace .sc-help-button{display:inline-flex;align-items:center;justify-content:center;gap:0;width:auto;min-width:44px;height:44px;min-height:44px;padding:0 15px;font-size:var(--type-emphasis)!important}
#appShell#appShell.ui-workspace .sc-help-button .sc-help-label{display:inline-block;max-width:0;overflow:hidden;white-space:nowrap;font-size:var(--type-body);transition:max-width .18s ease,margin .18s ease}
#appShell#appShell.ui-workspace .sc-help-button:is(:hover,:focus-visible) .sc-help-label{max-width:180px;margin-left:8px}
@media(prefers-reduced-motion:reduce){#appShell#appShell.ui-workspace .sc-help-button .sc-help-label{transition:none}}
/* Room under every page so the round button never sits over the last row. */
#appShell#appShell.ui-workspace .workspace-content{padding-bottom:104px}

/* ---------- Page bar: the page name and its buttons sit on the canvas ---------- */
#appShell#appShell.ui-workspace .workspace-content{padding-top:var(--page-pad-top);padding-inline:var(--page-pad-x)}
#appShell#appShell.ui-workspace .workspace-content{--page-pad-top:8px;--page-pad-x:28px}
#appShell#appShell.ui-workspace .tr-page-head-copy h1{font-size:var(--type-emphasis)!important;font-weight:700!important;letter-spacing:-.01em!important}

/* Phones: the Menu bar is the navy app bar (52px, from workspace-app-bar.css); the navy sidebar slides in from the left. */
@media(max-width:760px){
  #appShell#appShell.ui-workspace{--tr-app-bar-h:52px}
  #appShell#appShell.ui-workspace .workspace-content{--page-pad-x:16px}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-app-bar{padding:0 12px 0 8px}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-app-bar .workspace-phone-menu{color:#fff}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-app-bar .workspace-phone-menu:hover{background:rgba(255,255,255,.08)}
  #appShell#appShell.ui-workspace .workspace-phone-bar-line{background:rgba(255,255,255,.26)}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-app-bar #workspacePhoneTitle{color:#fff;font-weight:700}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-app-account{padding:0}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-app-avatar{width:36px;height:36px}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-app-search-open:not([hidden]){display:inline-flex;width:40px;min-width:40px;height:40px;min-height:40px}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-sidebar{border:0;border-radius:0 20px 20px 0;box-shadow:var(--workspace-raised-shadow)}
  #appShell#appShell.ui-workspace.is-phone-nav .workspace-phone-scrim{background:rgb(15 23 42 / 40%)}
}

/* ---------- Shared components ---------- */
/* Main buttons: the blue fill gets a soft blue glow; outline buttons are white with a hairline and a faint lift (POS Alerts' blue Search button keeps its own fill). */
#appShell.ui-workspace.ui-workspace :is(.pane-transition,.workspace-workflow-picker) :is(.btn:not(.btn-outline):not(.secondary):not(.danger),.contract-primary,.season-primary,.cancel-primary,.cards-primary,.tags-primary,.missing-primary,.term-primary,.saved-primary,.sec-primary):not(:disabled){box-shadow:var(--workspace-primary-shadow)}
#appShell.ui-workspace.ui-workspace :is(.pane-transition,.workspace-workflow-picker) .btn-outline:not(.pos-order-search-button){border-color:var(--ui-line-strong);background:var(--ui-grey-surface);box-shadow:0 1px 2px rgba(20,26,46,.05)}
#appShell.ui-workspace.ui-workspace :is(.pane-transition,.workspace-workflow-picker) .btn-outline:not(.pos-order-search-button):not(:disabled):hover{background:var(--ui-grey-50)}
/* Fields: white, a soft hairline, a blue ring on focus by mouse; keyboard focus keeps the one solid ring. */
#appShell.ui-workspace :where(input:not([type="checkbox"],[type="radio"],[type="range"],[type="file"],[type="color"]),select,textarea):focus:not(:focus-visible){border-color:var(--ui-blue);box-shadow:0 0 0 3px var(--input-shadow)}
#appShell.ui-workspace :where(input[type="checkbox"],input[type="radio"]){accent-color:var(--ui-blue)}
/* Pop-up windows: no outline, a deep soft shadow, rounder corners. */
body.auth-ready[data-app-shell]:not(#_) .modal :where(.panel, .modal-content), body.auth-ready #appShell.ui-workspace .modal :where(.panel, .modal-content){border:0;background:var(--ui-grey-surface);box-shadow:var(--workspace-window-shadow)}
/* Toasts: a rounder, softer floating card. */
body.auth-ready[data-app-shell]:not(#_) #toast .toast, body.auth-ready #appShell.ui-workspace #toast .toast{border:0;border-radius:16px;box-shadow:var(--workspace-raised-shadow),0 0 0 1px var(--ui-grey-200)}
/* "More ▾" menus and other workspace pop-up menus. */
#appShell.ui-workspace .workspace-more-menu{border:0;border-radius:16px;background:var(--ui-grey-surface);box-shadow:var(--workspace-raised-shadow),0 0 0 1px var(--ui-line)}
#appShell.ui-workspace .workspace-more-menu .workspace-more-item{border-radius:10px}

/* ---------- Dashboard ---------- */
#appShell.ui-workspace.ui-workspace #paneDashboard.dhv4{--sc-teal:#0b8fa8;--sc-teal-soft:#e2f5f8;--sc-violet:#6a4bd8;--sc-violet-soft:#efeafd;gap:18px}
#appShell.ui-workspace.ui-workspace[data-ui-theme="dark"] #paneDashboard.dhv4{--sc-teal:#3cc8de;--sc-teal-soft:#173a47;--sc-violet:#a993ff;--sc-violet-soft:#2e2a55;--sh:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .card{background:var(--ui-grey-surface);border:0;border-radius:var(--workspace-card-radius);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .card:hover{box-shadow:var(--workspace-card-shadow)}
/* Dark: the selected activity row is a step lighter than the card (1.26:1), still dark enough for its grey meta text (4.5:1). */
#appShell#appShell.ui-workspace[data-ui-theme="dark"] #paneDashboard.dhv4 .row[aria-current="true"]{background:#202f57}
/* Dark: the chosen filter's count reads on the lighter chosen-tab face. */
#appShell#appShell.ui-workspace[data-ui-theme="dark"] #paneDashboard.dhv4 .tabs button[aria-pressed="true"] span{color:var(--ink2)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .card>header{padding:20px 22px 12px;border-bottom:0}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .card>header h2{font-size:var(--type-emphasis);letter-spacing:-.015em}
/* The greeting sits on the canvas: a big name, the date above it, soft chips under it. */
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .head.card{background:none;box-shadow:none;border-radius:0;padding:4px 0 0}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .eyebrow{letter-spacing:0;text-transform:none;font-weight:600;color:var(--ui-ink-secondary)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .greet{font-size:var(--type-page);font-weight:700;letter-spacing:-.03em}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .head .av{border:0;border-radius:16px;background:var(--ui-navy);color:#fff;box-shadow:none}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] #paneDashboard.dhv4 .head .av{background:linear-gradient(135deg,#5b8cff,#2f5fe6)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .head .chip{border:0;background:none;padding-inline:0 8px;color:var(--ui-ink-secondary)}
/* Money: the freshness line is a white notice; the four figures are four cards, each with its own colour chip. */
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .mhead .eyebrow{font-size:var(--type-caption)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .fresh{padding:13px 16px;border:0;border-radius:14px;background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
/* The notice's padding takes 32px of the line, so the text asks for 32px less: the dot stays beside it where it did before. */
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .fresh .fr-head{flex-basis:288px}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money{gap:16px;border:0}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card{border:0}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m{padding:20px 22px;gap:8px}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m::before{content:"";position:static;display:block;width:34px;height:34px;margin-bottom:6px;border:0;border-radius:10px;box-shadow:none;opacity:1;transform:none}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(1){--sc-tone:var(--ui-blue);--sc-tone-soft:var(--ui-blue-soft)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(2){--sc-tone:var(--sc-teal);--sc-tone-soft:var(--sc-teal-soft)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(3){--sc-tone:var(--sc-violet);--sc-tone-soft:var(--sc-violet-soft)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(4){--sc-tone:var(--ui-green);--sc-tone-soft:var(--ui-green-soft)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m::before{background:var(--sc-tone-soft)}
/* Each figure has its own glyph: payouts (wallet), Marketplace Recon (checked box), Purchase Recon (card), QuickBooks (ledger). */
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m::after{content:"";display:block;position:absolute;left:31px;top:29px;width:16px;height:16px;background:var(--sc-tone);-webkit-mask:var(--sc-ic) center/contain no-repeat;mask:var(--sc-ic) center/contain no-repeat}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(1){--sc-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0 0 4h14a2 2 0 0 1 2 2v3h-4a2 2 0 0 0 0 4h4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5'/%3E%3C/svg%3E")}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(2){--sc-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 11 3 3 8-8'/%3E%3Cpath d='M20 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E")}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(3){--sc-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E")}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m:nth-child(4){--sc-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E")}
/* The count beside each figure's name stays on one line. */
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .m .t{align-items:baseline}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .m .t>span{flex:none;white-space:nowrap;color:var(--ui-ink-secondary);font-size:var(--type-caption);font-weight:500}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card.m{position:relative}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .m .t{font-size:var(--type-body);color:var(--ui-ink)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .m .v{font-size:var(--type-figure);font-weight:700;letter-spacing:-.03em}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .spark i{border-radius:5px;background:var(--ui-grey-100)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .spark i.today{background:var(--sc-tone,var(--ui-blue))}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .meter{height:6px;background:var(--ui-grey-100);box-shadow:none}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .meter i{background:var(--sc-tone,var(--ui-green));border-radius:99px}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .how{border-top:0;padding-top:4px}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .how summary::before{content:none}
/* Month to date and Connections: two cards side by side. */
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .top{gap:16px;margin-top:0}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .top>.conn{border-left:0}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .conn .r{padding:12px 22px;border-top-color:var(--ui-line)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .conn .r:hover{background:var(--ui-grey-50)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .lg{width:34px;height:34px;border-radius:11px}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .pill{padding:3px 10px;font-weight:600}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .ic{border-radius:11px}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .step{border:0;border-radius:14px;background:var(--ui-grey-50)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .achips button{border:0;background:var(--ui-grey-100);color:var(--ui-ink-secondary)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .achips button[aria-pressed="true"]{background:var(--ui-navy);color:#fff}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .achips button[aria-pressed="true"] :is(.dh-count,.dh-review){color:var(--ui-band-muted)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 select{border-color:var(--ui-line-strong);border-radius:var(--workspace-control-radius);box-shadow:0 1px 2px rgba(20,26,46,.05)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .btn{border-color:var(--ui-line-strong);border-radius:var(--workspace-control-radius);box-shadow:0 1px 2px rgba(20,26,46,.05)}
#appShell#appShell.ui-workspace #paneDashboard.dhv4 .btn.pri{box-shadow:var(--workspace-primary-shadow)}
@container (max-width:1100px){#appShell#appShell.ui-workspace #paneDashboard.dhv4 .top>.conn{border-top:0}}
@container (max-width:1000px){#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card:nth-child(n+3){border-top:0}}
@container (max-width:560px){#appShell#appShell.ui-workspace #paneDashboard.dhv4 .money>.card:nth-child(n+2){border-top:0}}

#appShell#appShell.ui-workspace[data-ui-theme="dark"] #paneDashboard.dhv4 :is(.spark i:not(.today),.meter){background:var(--ui-grey-200)}

/* ===================== Phase 2: Matching, POS and QuickBooks ===================== */
/* Sources in the page bar: small white cards with an icon tile, as in the design's source cards. */
#appShell#appShell.ui-workspace .tr-page-source{gap:9px;padding:3px 12px 3px 3px;border:0;border-radius:12px;background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace .tr-page-source em{width:26px;height:26px;border-radius:8px;background:var(--ui-blue-soft);color:var(--ui-blue-hover)}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] .tr-page-source em{color:var(--ui-blue)}
#appShell#appShell.ui-workspace .tr-page-source b{font-weight:700}

/* Workflow pickers: white cards on soft shadows; the two sources sit in a grey panel with coloured tiles; the chosen card gets a blue ring. */
#appShell#appShell.ui-workspace button.workflow-picker-card{border:1px solid transparent;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace button.workflow-picker-card:hover:not(:disabled){box-shadow:var(--workspace-raised-shadow)}
#appShell#appShell.ui-workspace button.workflow-picker-card[aria-pressed="true"]{border-color:var(--ui-blue);background:var(--ui-grey-surface);box-shadow:0 0 0 1px var(--ui-blue),var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] button.workflow-picker-card[aria-pressed="true"]{background:linear-gradient(var(--ui-blue-soft),var(--ui-grey-surface))}
#appShell#appShell.ui-workspace .workflow-picker-sources{padding:16px 12px;border-radius:14px;background:var(--ui-grey-50)}
#appShell#appShell.ui-workspace .workflow-picker-source-mark{width:40px;height:40px;border:0;border-radius:12px;background:var(--ui-blue-soft);box-shadow:none}
#appShell#appShell.ui-workspace .workflow-picker-source:last-child .workflow-picker-source-mark{background:var(--ui-green-soft)}
#appShell#appShell.ui-workspace .workflow-picker-source:last-child .workflow-picker-source-mark svg{color:var(--ui-green)}
#appShell#appShell.ui-workspace .workflow-picker-source-mark:has(img){background:var(--ui-grey-surface);box-shadow:0 0 0 1px var(--ui-line)}
/* POS one page: the small POS cards keep the wide logo box and show the chosen POS like a chosen chooser card. */
#appShell#appShell.ui-workspace .pos-provider-logo.workflow-picker-source-mark{width:98px;height:42px;padding:6px 10px;border-radius:10px;background:#fff}
#appShell#appShell.ui-workspace button.workflow-picker-card.pos-provider-choice[aria-checked="true"]{border-color:var(--ui-blue);background:var(--ui-grey-surface);box-shadow:0 0 0 1px var(--ui-blue),var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] button.workflow-picker-card.pos-provider-choice[aria-checked="true"]{background:linear-gradient(var(--ui-blue-soft),var(--ui-grey-surface))}
#appShell#appShell.ui-workspace .pos-provider-card.is-unconnected button.workflow-picker-card.pos-provider-choice{background:var(--ui-grey-50);box-shadow:none;border-color:var(--ui-line)}
@media(max-width:760px){#appShell#appShell.ui-workspace .pos-provider-logo.workflow-picker-source-mark{width:84px;height:38px}}

/* Step bar: the current step sits on a soft blue pill (the dot, bead and bar stay as they are). */
#appShell#appShell.ui-workspace .tr-stepper [aria-current=step]:not(.is-done){background:color-mix(in srgb,var(--ui-blue) 7%,var(--ui-surface-solid))}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] .tr-stepper [aria-current=step]:not(.is-done){background:color-mix(in srgb,var(--ui-blue) 9%,var(--ui-surface-solid))}

/* Cards in the tools: no outline, a soft shadow, the shared corner. Cards inside cards, the alias managers and each tool's working surface (its own cards carry the look) stay flat. */
#appShell#appShell.ui-workspace :is(#paneTwo,#paneMarketplace,#panePointOfSale,#paneImport,#paneInvoice,#paneImportHub,#paneQboAccounts,#paneQboTransactions) :is(.card,.tr-accounting-card):not(.rv-summary,.rv-receipt,.workspace-alias-manager,:is(.card,.tr-accounting-card) *,#importMatchCard,#invoiceMatchCard,#posReconCard,#billImportCard,#invoiceImportCard,:is(#paneTwo,#paneMarketplace,#paneImport,#paneInvoice) > :is(.workspace-workflow-surface,.integration-picker-card)){border-color:transparent;border-radius:var(--workspace-card-radius);box-shadow:var(--workspace-card-shadow)}
/* A source inside a card is a soft grey panel. */
#appShell#appShell.ui-workspace :is(#paneTwo,#paneMarketplace) .recon-source-card{padding:16px;border:0;border-radius:14px;background:var(--ui-grey-50)}

/* Upload: a dashed blue drop zone. */
#appShell#appShell.ui-workspace label.workspace-upload{border:1.5px dashed color-mix(in srgb,var(--ui-blue) 35%,transparent);border-radius:14px;background:color-mix(in srgb,var(--ui-blue-soft) 70%,var(--ui-surface-solid))}
#appShell#appShell.ui-workspace label.workspace-upload:hover{border-color:var(--ui-blue)}
#appShell#appShell.ui-workspace .workspace-upload::after{border-radius:9px;background:var(--ui-grey-surface);box-shadow:0 1px 2px rgba(20,26,46,.08)}

/* Statement band: the navy summary with a soft blue glow. */
#appShell#appShell.ui-workspace .recon-v11 :is(.rv-summary,.rv-receipt){background:radial-gradient(420px 220px at 100% 0%,rgba(70,120,255,.38),transparent 65%),radial-gradient(360px 200px at 0% 110%,rgba(60,200,220,.14),transparent 65%),linear-gradient(135deg,var(--ui-navy),var(--ui-navy-2));border:0;border-radius:var(--workspace-card-radius);box-shadow:0 14px 34px -16px rgba(20,26,46,.5)}
/* Done step: the receipt and the closeout panel are one white card (slate in dark). The receipt rounds only its outer corners:
   the left ones side by side, the bottom ones when the panel stacks on top of it (under the green finished line, the top one
   follows the line's inner curve). */
#appShell#appShell.ui-workspace .recon-v11 .rv-completion{border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace .recon-v11[data-recon-finished=true] .rv-completion{border-top:3px solid var(--ui-green)}
#appShell#appShell.ui-workspace .recon-v11 .rv-completion>.rv-receipt{border-radius:var(--workspace-card-radius) 0 0 var(--workspace-card-radius);box-shadow:none}
#appShell#appShell.ui-workspace .recon-v11 .rv-completion>.rv-closeout{background:var(--ui-grey-surface)}
@media(min-width:951px){#appShell#appShell.ui-workspace .recon-v11[data-recon-finished=true] .rv-completion>.rv-receipt{border-top-left-radius:var(--workspace-card-radius) calc(var(--workspace-card-radius) - 3px)}}
@media(max-width:950px){#appShell#appShell.ui-workspace .recon-v11 .rv-completion>.rv-receipt{border-radius:0 0 var(--workspace-card-radius) var(--workspace-card-radius)}}

/* Figures strips (QuickBooks connection, bills, needs review): three soft cards. */
#appShell#appShell.ui-workspace .workspace-content :is(#paneQboAccounts,#paneImportHub,#paneImport,#paneInvoice,#panePointOfSale) .integration-flow-summaries{gap:16px;border:0}
#appShell#appShell.ui-workspace .workspace-content :is(#paneQboAccounts,#paneImportHub,#paneImport,#paneInvoice,#panePointOfSale) .integration-flow-summaries>div{padding:18px 20px;border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace .workspace-content :is(#paneQboAccounts,#paneImportHub,#paneImport,#paneInvoice,#panePointOfSale) .integration-flow-summaries>div:first-child{padding-left:20px}

/* Fields in every tool: dates and the plain fold-outs (a chevron that turns; fold-outs with their own +/▾ keep it). */
#appShell.ui-workspace input[type="date"]::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}
#appShell.ui-workspace[data-ui-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator{filter:invert(1)}
#appShell.ui-workspace :is(#paneTwo,#paneMarketplace,#panePointOfSale,#paneImport,#paneInvoice,#paneImportHub,#paneQboAccounts,#paneQboTransactions) details:is(.workspace-upload-settings,.merchant-alias-legacy,.rv-chart,.rv-map-preview,[id="billPaymentOutcome"],[id="invoicePaymentOutcome"])>summary{list-style:none}
#appShell.ui-workspace :is(#paneTwo,#paneMarketplace,#panePointOfSale,#paneImport,#paneInvoice,#paneImportHub,#paneQboAccounts,#paneQboTransactions) details:is(.workspace-upload-settings,.merchant-alias-legacy,.rv-chart,.rv-map-preview,[id="billPaymentOutcome"],[id="invoicePaymentOutcome"])>summary::-webkit-details-marker{display:none}
#appShell.ui-workspace :is(#paneTwo,#paneMarketplace,#panePointOfSale,#paneImport,#paneInvoice,#paneImportHub,#paneQboAccounts,#paneQboTransactions) details:is(.workspace-upload-settings,.merchant-alias-legacy,.rv-chart,.rv-map-preview,[id="billPaymentOutcome"],[id="invoicePaymentOutcome"])>summary::before{content:"";display:inline-block;width:12px;height:12px;margin-right:6px;vertical-align:-1px;background:currentColor;opacity:.7;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .15s}
#appShell.ui-workspace :is(#paneTwo,#paneMarketplace,#panePointOfSale,#paneImport,#paneInvoice,#paneImportHub,#paneQboAccounts,#paneQboTransactions) details:is(.workspace-upload-settings,.merchant-alias-legacy,.rv-chart,.rv-map-preview,[id="billPaymentOutcome"],[id="invoicePaymentOutcome"])[open]>summary::before{transform:rotate(90deg)}

/* Drawer and pop-up footers: a hairline over a quiet strip. */
#appShell.ui-workspace .recon-v11 .rv-drawer footer{border-top:1px solid var(--ui-line);background:var(--ui-grey-surface)}
/* QuickBooks and POS Sources: the connection, the bills or invoices and the review count are three soft cards. */
#appShell#appShell.ui-workspace .accounting-design .integration-recon-overview .recon-status-grid{gap:16px;padding:0 0 4px;border-bottom:0}
#appShell#appShell.ui-workspace .accounting-design .integration-recon-overview .recon-status-card{padding:16px 20px!important;border:0!important;border-radius:var(--workspace-card-radius)!important;background:var(--ui-grey-surface)!important;box-shadow:var(--workspace-card-shadow)!important}
@media(max-width:760px){#appShell#appShell.ui-workspace .accounting-design .integration-recon-overview .recon-status-card{flex:1 1 100%;padding:14px 16px!important;border:0!important}}
/* Workflow choosers start at the top of the page; they keep the page's usual bottom room. */
#appShell#appShell.ui-workspace .workspace-content[data-workflow-picker]{padding-bottom:72px}

/* ===================== Phase 3: Sync, Connections, Utilities and Inbox ===================== */
/* Page tabs in the bar are pills: plain words, and the chosen one is a navy pill (light ink pill in dark). */
#appShell#appShell#appShell#appShell.ui-workspace .tr-page-head > .tr-page-head-tabs > *{--tab-tray:transparent;--tab-face:var(--ui-navy);--tab-ink:#fff;--tab-count-bg:rgba(255,255,255,.16)}
#appShell#appShell#appShell#appShell.ui-workspace[data-ui-theme="dark"] .tr-page-head > .tr-page-head-tabs > *{--tab-face:var(--ui-grey-900);--tab-ink:var(--ui-grey-100);--tab-count-bg:rgba(0,0,0,.12)}
#appShell#appShell#appShell.ui-workspace .tr-page-head > .tr-page-head-tabs > * > button:not([hidden]){border-radius:999px}
#appShell#appShell#appShell.ui-workspace .tr-page-head > .tr-page-head-tabs > *{padding:0!important;border-radius:999px!important}

/* Areas that Option 11 laid flat on the page become white cards again. */
#appShell#appShell.ui-workspace .workspace-content :is(#paneMarketplaceSync,#panePlaid) .sync-shared-accounts,
#appShell#appShell.ui-workspace .workspace-content #paneConnections.connections-studio .cs-directory,
#appShell#appShell.ui-workspace .workspace-content #paneSearch.search-workspace .search-panel,
#appShell#appShell.ui-workspace .workspace-content #paneSecurity.security-workspace .sec-panel,
#appShell#appShell.ui-workspace .workspace-content #paneMpDownloads .saved-panel{border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow);overflow:hidden}
#appShell#appShell.ui-workspace .workspace-content #paneSearch.search-workspace .search-panel{padding:18px 20px}
#appShell#appShell.ui-workspace .workspace-content #paneSecurity.security-workspace :is(.sec-main,.sec-side) > .sec-panel{margin:0 0 16px;padding:20px 22px;border-top:0}
#appShell#appShell.ui-workspace .workspace-content #paneSecurity.security-workspace .sec-side,
#appShell#appShell.ui-workspace .workspace-content #paneSearch.search-workspace .search-context{padding-left:0;border-left:0;border-top:0}
#appShell#appShell.ui-workspace .workspace-content #paneSearch.search-workspace .search-context > .search-panel + .search-panel{margin-top:16px;border-top:0}
/* How To guides and templates: white cards that lift on hover. */
#appShell#appShell.ui-workspace .workspace-content :is(.utility-guide-card,.template-card){border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace .workspace-content :is(.utility-guide-card,.template-card):hover{box-shadow:var(--workspace-raised-shadow)}
/* Inbox: unchanged layout; the list and reading pane sit on the page as before (phase 3 keeps its working full-height layout). */
#appShell#appShell.ui-workspace .sc-inbox-page .sc-panel{border-right-color:var(--ui-line)}
#appShell#appShell.ui-workspace:not(.is-phone-nav)[data-pane="paneSupport"]:not([data-workflow-picker])[data-pane][data-pane][data-pane]:not(#_) .main-shell{margin:12px 12px 12px 16px;height:calc(100% - 24px);border-radius:20px;background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow);overflow:hidden}
#appShell#appShell.ui-workspace #paneSupport{--ui-page-flat:var(--ui-grey-surface)}

/* ===================== Phase 4: Tracking pages ===================== */
/* The tracking pages leave Option 11's one white surface: the page is the grey canvas again, and the numbers, the banner and the
   list are soft cards on it. Fields and tables inside the pages paint white again. */
#appShell.ui-workspace.ui-workspace{--tracking-flat:var(--ui-grey-100)}
#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms){--ui-surface:var(--ui-grey-surface);--ui-surface-solid:var(--ui-grey-surface)}
#appShell#appShell.ui-workspace.ui-workspace[data-pane]:is([data-pane="paneMissing"],[data-pane="paneContracts"],[data-pane="paneSeasonSeats"],[data-pane="paneCanceledEvents"],[data-pane="paneMarketplaceCancellations"],[data-pane="paneCreditCards"],[data-pane="paneMpTags"],[data-pane="paneTerms"]):not(#_) .workspace-content{--tracking-gutter:var(--page-pad-x);padding-top:var(--page-pad-top);padding-inline:var(--page-pad-x)}
/* Page bar: no hairline under it; view tabs sit centred in the bar as navy pills, like every other page. */
#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) > .tr-page-head::after{content:none}
#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) > .tr-page-head:not([hidden]){margin-top:0}
#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneSeasonSeats,#paneCanceledEvents,#paneCreditCards,#paneMpTags,#paneTerms) > .tr-page-head > .tr-page-head-tabs{align-self:center;margin-block:0}
#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneSeasonSeats,#paneCanceledEvents,#paneCreditCards,#paneMpTags,#paneTerms) > .tr-page-head > .tr-page-head-tabs > *{align-self:center}
#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-status-chips,.season-view-options,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs,.contract-filters) > button:not([hidden]):not(.u-hidden){border-radius:999px}
#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-status-chips,.season-view-options,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs,.contract-filters):not([data-sliding-tabs]) > button:not([hidden]):not(.u-hidden):is([aria-selected="true"],[aria-pressed="true"],.is-active,.active){box-shadow:0 1px 4px #0002}
#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-status-chips,.season-view-options,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs,.contract-filters)[data-sliding-tabs]::before{top:0;bottom:auto;height:var(--segment-height);transform:translate(var(--segment-x),var(--segment-y));border-radius:999px;background:var(--tab-face);box-shadow:0 1px 4px #0002}
#appShell#appShell#appShell.ui-workspace .tr-page-head > .tr-page-head-tabs > [data-sliding-tabs]::before{border-radius:999px}
@media(max-width:760px){#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-status-chips,.season-view-options,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs,.contract-filters) > button:not([hidden]):not(.u-hidden):is([aria-selected="true"],[aria-pressed="true"],.is-active,.active){box-shadow:0 1px 4px #0002}}
#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) [class*="-viewbar"] > :is(.missing-status-chips,.season-view-options,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs){align-self:center;margin-bottom:0}
/* The view tabs are the same navy pills wherever they sit (Contracts keeps its tabs in the list's tool row). */
#appShell#appShell#appShell#appShell.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-status-chips,.season-view-options,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs,.contract-filters){--tab-face:var(--ui-navy);--tab-ink:#fff;--tab-count-bg:rgba(255,255,255,.16)}
#appShell#appShell#appShell#appShell.ui-workspace[data-ui-theme="dark"] :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-status-chips,.season-view-options,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs,.contract-filters){--tab-face:var(--ui-grey-900);--tab-ink:var(--ui-grey-100);--tab-count-bg:rgba(0,0,0,.12)}

/* Numbers: each figure is its own white card, with a gap between them. */
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics){gap:16px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > *{padding:20px 22px;border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
@media(min-width:761px){#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneCreditCards .cards-metrics,#paneTerms .term-metrics) > button:not(:disabled):hover{background:var(--ui-grey-surface);box-shadow:var(--workspace-raised-shadow)}}
/* Phones: the four figures share one white card in one compact row (UI #271), split by hairlines, so each keeps the room it had. */
@media(max-width:760px){
  #appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics){gap:0;border-radius:14px;background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow);overflow:hidden}
  #appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > *{padding:8px 6px;border-radius:0;background:none;box-shadow:none}
  #appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics):not([data-one-col]) > * + *{box-shadow:inset 1px 0 0 var(--ui-line)}
  /* Four figures to a row leave each about 78px: the figure takes the body size so a long amount ($14,400.00) keeps clear of the hairline. */
  #appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneSeasonSeats .season-metrics,#paneCanceledEvents .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > * > strong{font-size:var(--type-body)}
}

/* Banners: a soft amber card. */
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-notice,#paneContracts .contract-notice,#paneSeasonSeats .season-notice,#paneCanceledEvents .cancel-notice,#paneCreditCards .cards-notice,#paneMpTags .tags-notice,#paneTerms .term-notice){padding:10px 18px;border:0;border-image:none;border-radius:14px;background:var(--ui-amber-soft)}

/* View bars: no hairline; the tabs and tools sit on the canvas. */
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-viewbar,#paneSeasonSeats .season-viewbar,#paneCanceledEvents .cancel-viewbar,#paneCreditCards .cards-viewbar,#paneMpTags .tags-viewbar,#paneTerms .term-viewbar){border-bottom:0}

/* The list and every secondary view: a white card; its title, tools and footer keep an inner margin, the table runs edge to edge. */
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-panel,.contract-panel,.season-panel,.cancel-panel,.cards-panel,.tags-panel,.term-panel){border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow);overflow:clip;overflow-clip-margin:0px}
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-panel,.contract-panel,.season-panel,.cancel-panel,.cards-panel,.tags-panel,.term-panel) > :is([class*="-panel-head"],[class*="-section-head"],[class*="-sectionhead"],[class*="-calendar-head"],[class*="-toolbar"],[class*="-filters"],[class*="-panel-foot"],[class*="-tablefoot"],[class*="-bulk"]){padding-inline:20px}
#appShell#appShell.ui-workspace.ui-workspace #paneMpTags #dashMpTagCard{padding:0}
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-panel,.contract-panel,.season-panel,.cancel-panel,.cards-panel,.tags-panel,.term-panel) table > * > tr > :first-child{padding-left:20px}
#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing,#paneContracts,#paneSeasonSeats,#paneCanceledEvents,#paneMarketplaceCancellations,#paneCreditCards,#paneMpTags,#paneTerms) :is(.missing-panel,.contract-panel,.season-panel,.cancel-panel,.cards-panel,.tags-panel,.term-panel) table > * > tr > :last-child{padding-right:20px}

/* ===================== Phase 5: Admin ===================== */
/* Admin owns every file it publishes and reads nothing from the customer assets (admin/README.md), so its Soft Cards rules
   live in admin/assets/css/admin-softcards.css, loaded last by admin/index.html: the same canvas, cards, blue and navy pills,
   with a navy sidebar card that only Admin has. Nothing in this file reaches Admin. */

/* ---------- POS Alerts (owner OK, Nov 14): the same Soft Cards look as the other trackers ----------
   The page sits on the canvas with the usual margins; the tabs, filters and the order table are one white card, its view
   tabs are navy pills. The Status column (marketplace tiles and status icons) keeps its own images, colours and sizes. */
#appShell#appShell.ui-workspace[data-pane="panePoBeta"][data-pane]:not(#_) .workspace-content{padding:var(--page-pad-top) var(--page-pad-x) 32px}
#appShell#appShell.ui-workspace #panePoBeta > .tr-page-head:not([hidden]){--page-pad-x:28px;--page-bar-x:0px}
@media(max-width:760px){#appShell#appShell.ui-workspace #panePoBeta > .tr-page-head:not([hidden]){--page-pad-x:16px}}
#appShell#appShell.ui-workspace #panePoBeta{--pos-order-control-bg:var(--ui-grey-surface)}
/* One white card: the show/hide-filters rail on top, then the tabs and filters, the note and the table. */
#appShell#appShell.ui-workspace #panePoBeta .pos-order-header-rail{border:0;border-radius:var(--workspace-card-radius) var(--workspace-card-radius) 0 0;background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace #panePoBeta .pos-order-header-toggle{border-color:var(--ui-line)}
#appShell#appShell.ui-workspace #panePoBeta:has(#poBetaReports.pos-order-manager:not([hidden])) .pos-alert-toolbar{border:0;background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow);padding:8px 20px 12px}
#appShell#appShell.ui-workspace #panePoBeta.pos-order-header-collapsed .pos-order-header-rail{border-radius:var(--workspace-card-radius) var(--workspace-card-radius) 0 0}
#appShell#appShell.ui-workspace #panePoBeta:has(#poBetaReports.pos-order-manager:not([hidden])) #poBetaViewNotice{border-inline:0;background:var(--ui-grey-surface);padding-inline:20px}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] #panePoBeta:has(#poBetaReports.pos-order-manager:not([hidden])) :is(.pos-alert-toolbar,#poBetaViewNotice){background:var(--ui-grey-surface)}
#appShell#appShell.ui-workspace #panePoBeta .pos-order-manager.po-beta-records{border:0;border-radius:0 0 var(--workspace-card-radius) var(--workspace-card-radius);box-shadow:var(--workspace-card-shadow);overflow:clip}
#appShell#appShell.ui-workspace #panePoBeta .pos-order-manager > p:not([hidden]){padding-inline:20px}
/* Wide screens keep the show/hide-filters tab in its own strip on top of the card, as narrower screens do, so it never sits over the tabs. */
@media(min-width:1440px){#appShell#appShell.ui-workspace #panePoBeta.pos-order-header-enabled:not(.pos-order-header-collapsed) .pos-order-header-rail{position:static;height:32px;pointer-events:auto}}
/* Purchase orders / Invoices: navy pills (a light pill in dark), as the other trackers' view tabs. */
#appShell#appShell.ui-workspace #panePoBeta:has(#poBetaReports.pos-order-manager:not([hidden])) #poBetaViewSwitch{gap:4px!important}
#appShell#appShell.ui-workspace #panePoBeta:has(#poBetaReports.pos-order-manager:not([hidden])) #poBetaViewSwitch button{padding:6px 14px!important;border:0!important;border-radius:999px!important;color:var(--ui-ink-secondary)!important;font-weight:500!important}
#appShell#appShell.ui-workspace #panePoBeta:has(#poBetaReports.pos-order-manager:not([hidden])) #poBetaViewSwitch button[aria-selected="true"]{background:var(--ui-navy)!important;color:#fff!important;font-weight:600!important;box-shadow:0 1px 4px #0002}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] #panePoBeta:has(#poBetaReports.pos-order-manager:not([hidden])) #poBetaViewSwitch button[aria-selected="true"]{background:var(--ui-grey-900)!important;color:var(--ui-grey-100)!important}
/* The wider Soft Cards letters still fit the same room: a table cell gets back the few pixels the letters took, so names that fitted before still fit. */
#appShell#appShell.ui-workspace #panePoBeta .pos-order-manager :is(th,td)[data-column]:not([data-column="status"]){padding-inline:10px}
/* The Status column looks exactly as before Soft Cards: the marketplace tile letters keep the Dashboard's Manrope (the same
   self-hosted files fonts.css serves; the 800-weight face stays declared at the top of workspace-dashboard.css, as before),
   and the column keeps its own ink and grey icons. */
#appShell#appShell.ui-workspace #panePoBeta td[data-column="status"]{--ui-ink-secondary:#5b6b85;color:#0f1d33;font-family:"TR Dashboard Manrope","Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] #panePoBeta td[data-column="status"]{--ui-ink-secondary:#a9b7cc;color:#eef2f7}

/* Sources step in soft cards (owner-approved mock, Nov 15). Step 1 of Matching (Marketplace, Purchase), QuickBooks (Bill,
   Invoice) and POS (SkyBox, TradeDesk, StubHub REACH): each source is a white card with the shared corner and shadow, a
   small coloured icon tile beside its title, and its upload zone or picker inside. No markup, words or behaviour change.
   !important only where workspace-recon-v11.css and workspace-accounting-design.css already use it on the same properties. */

/* ---------- 1. The source card ---------- */
#appShell#appShell.ui-workspace .recon-v11 :is(.marketplace-source-grid,.purchase-source-grid)>.recon-source-card,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step :is(.tr-accounting-source-grid>.tr-accounting-card,.tr-accounting-source-grid>.integration-picker-card,.tr-accounting-body>.tr-accounting-card){
  border:0!important;
  border-radius:var(--workspace-card-radius)!important;
  background:var(--ui-grey-surface)!important;
  box-shadow:var(--workspace-card-shadow)!important;
}
#appShell#appShell.ui-workspace .recon-v11 :is(.marketplace-source-grid,.purchase-source-grid)>.recon-source-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:20px 22px!important}
#appShell#appShell.ui-workspace .recon-v11 .recon-source-grid{align-items:stretch}

/* ---------- 2. Title row: a small coloured icon tile, then the title ---------- */
/* Which line is the title: the source name each card already shows first. */
#appShell#appShell.ui-workspace .recon-v11 .marketplace-source-grid>.recon-source-card .source-label,
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>label:first-of-type,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step :is(.tr-accounting-source-grid,.tr-accounting-body)>.tr-accounting-card>.tr-accounting-card-title,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card>.u-section-header .u-section-title{
  --src-tone:var(--ui-blue);--src-tone-soft:var(--ui-blue-soft);
  --src-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
  position:relative;display:flex;align-items:center;min-height:34px;margin:0;padding-left:46px;
  color:var(--ui-ink);font-size:var(--type-body);font-weight:650;line-height:1.3;letter-spacing:0;text-transform:none;
}
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step :is(.tr-accounting-source-grid,.tr-accounting-body)>.tr-accounting-card>.tr-accounting-card-title{margin-bottom:18px}
#appShell#appShell.ui-workspace .recon-v11 .marketplace-source-grid>.recon-source-card .source-label::before,
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>label:first-of-type::before,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step :is(.tr-accounting-source-grid,.tr-accounting-body)>.tr-accounting-card>.tr-accounting-card-title::before,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card>.u-section-header .u-section-title::before{
  content:"";position:absolute;left:0;top:50%;width:34px;height:34px;margin-top:-17px;border-radius:11px;background:var(--src-tone-soft);
}
#appShell#appShell.ui-workspace .recon-v11 .marketplace-source-grid>.recon-source-card .source-label::after,
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>label:first-of-type::after,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step :is(.tr-accounting-source-grid,.tr-accounting-body)>.tr-accounting-card>.tr-accounting-card-title::after,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card>.u-section-header .u-section-title::after{
  content:"";position:absolute;left:8px;top:50%;width:18px;height:18px;margin-top:-9px;background:var(--src-tone);
  -webkit-mask:var(--src-icon) center/contain no-repeat;mask:var(--src-icon) center/contain no-repeat;
}
/* The second source of each pair (payout, card charges, the QuickBooks picker) is green with a coin/list icon. */
#appShell#appShell.ui-workspace .recon-v11 .marketplace-source-grid>.recon-source-card:nth-child(2) .source-label,
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card:nth-child(2)>label:first-of-type,
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card>.u-section-header .u-section-title{
  --src-tone:var(--ui-green);--src-tone-soft:var(--ui-green-soft);
}
#appShell#appShell.ui-workspace .recon-v11 .marketplace-source-grid>.recon-source-card:nth-child(2) .source-label{
  --src-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9.5c-.5-1-1.6-1.5-3-1.5-1.7 0-3 .8-3 2s1.3 1.7 3 2 3 .8 3 2-1.3 2-3 2c-1.4 0-2.5-.5-3-1.5M12 6.5v11'/%3E%3C/svg%3E");
}
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card:nth-child(2)>label:first-of-type{
  --src-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E");
}
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card>.u-section-header .u-section-title{
  --src-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Ccircle cx='4.5' cy='6' r='1'/%3E%3Ccircle cx='4.5' cy='12' r='1'/%3E%3Ccircle cx='4.5' cy='18' r='1'/%3E%3C/svg%3E");
}

/* ---------- 3. Matching: title row layout ---------- */
/* Marketplace: the "… source" title sits left of its Upload / QuickBooks / POS switch, on one row, with a hairline under it. */
#appShell#appShell.ui-workspace .recon-v11 .marketplace-source-grid>.recon-source-card :is(#mpQBSourceRow,#mpPaySourceRow){
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 12px;margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid var(--ui-line);
}
#appShell#appShell.ui-workspace .recon-v11 .marketplace-source-grid>.recon-source-card .rv-loader{margin:0}
/* Purchase: the card's name leads (Purchase orders / Card charges), its hint under it, then the switch and drop zone.
   The left card's "Source" switch is placed after the name with CSS order only; tab order is unchanged. */
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>label:first-of-type{order:-2}
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>.recon-source-hint{order:-1;margin:2px 0 16px;padding:0 0 16px 46px;border-bottom:1px solid var(--ui-line)}
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>.rv-loader{margin:0}
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>.rv-loader #poSourceRow{margin:0 0 12px}
#appShell#appShell.ui-workspace .recon-v11 .purchase-source-grid>.recon-source-card>.source-seg{align-self:flex-start;margin-bottom:12px}

/* ---------- 4. QuickBooks + POS: the picker card loses its extra inner frame ---------- */
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card{padding:24px!important}
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card>.u-section-header{margin:0 0 4px;padding:0!important;border:0}
#appShell#appShell.ui-workspace .accounting-design .tr-accounting-step .tr-accounting-source-grid>.integration-picker-card>.u-section-header .u-section-title+.muted{margin-top:10px}

/* ---------- 5. Phone ---------- */
@media(max-width:760px){
  #appShell#appShell.ui-workspace .recon-v11 :is(.marketplace-source-grid,.purchase-source-grid)>.recon-source-card{padding:16px!important}
  #appShell#appShell.ui-workspace .accounting-design .tr-accounting-step :is(.tr-accounting-source-grid>.tr-accounting-card,.tr-accounting-source-grid>.integration-picker-card,.tr-accounting-body>.tr-accounting-card){padding:18px!important}
}

/* ===================== Sweep, Nov 15 ===================== */
/* Places the Soft Cards pass missed, brought in line with patterns this file already uses. No markup, words or behaviour change. */

/* ---------- 1. Tabs and switches: a hovered, unselected option gets a soft highlight and the page ink ----------
   The shared tab rule paints a hovered option in --tab-ink, the selected face's ink. On the navy pill rows that ink is white
   (dark ink in dark), so a hovered, unselected tab vanished on the canvas. A hovered option takes the page ink instead, on a
   soft fill (6% of the ink: a light grey on light surfaces, a faint white in dark) in the option's own corner. The selected
   option keeps its look. One rule for segmented switches, page and tracker tabs, Search and Saved Runs tabs, chips and the
   Inbox Active / Resolved switch (owner, Nov 15). The sidebar keeps its own hover. */
#appShell#appShell#appShell.ui-workspace :is([role="tablist"]:not([aria-orientation="vertical"]),.sec-tabs,.cs-filters,.cancel-tabs,.cards-tabs,.tags-tabs,.term-tabs,.utility-tabs,.saved-tabs,.saved-drawer-tabs,.saved-presentation,.saved-destinations,.search-tabs,.search-detail-tabs,.season-view-options,.contract-filters,.source-seg,.dashboard-missing-webhook-tablist,.dhv4 .tabs,.dhv4 .dtabs,.missing-status-chips,.saved-status-chips,.cs-editor-navigation > [role="group"],#paneMpDownloads.saved-runs .saved-workflow-tabs,.sc-inbox-popup .sc-filters) > button:not([hidden]):not(.u-hidden):hover:not(:disabled):not([aria-selected="true"],[aria-pressed="true"],.is-active,.active){background:color-mix(in srgb,var(--ui-ink) 6%,transparent)!important;color:var(--ui-ink)!important}

/* ---------- 2. View tabs on the canvas are navy pills, as on the tracking pages (Search's record types, Saved Runs' workflows) ---------- */
#appShell#appShell#appShell#appShell.ui-workspace #paneSearch .search-tabs{--tab-tray:transparent;--tab-face:var(--ui-navy);--tab-ink:#fff;--tab-count-bg:rgba(255,255,255,.16)}
#appShell#appShell#appShell#appShell.ui-workspace[data-ui-theme="dark"] #paneSearch .search-tabs{--tab-face:var(--ui-grey-900);--tab-ink:var(--ui-grey-100);--tab-count-bg:rgba(0,0,0,.12)}
#appShell#appShell#appShell.ui-workspace #paneSearch .search-tabs > button:not([hidden]):not(.u-hidden){border-radius:999px}
#appShell#appShell#appShell.ui-workspace #paneSearch .search-tabs:not([data-sliding-tabs]) > button:not([hidden]):not(.u-hidden):is([aria-selected="true"],[aria-pressed="true"],.is-active,.active){box-shadow:0 1px 4px #0002}
#appShell#appShell#appShell.ui-workspace #paneSearch .search-tabs[data-sliding-tabs]::before{border-radius:999px}

/* Saved Runs' workflow row has its own styles (a hairline tray with a white face): the same navy pills, set directly. */
#appShell#appShell.ui-workspace.ui-workspace #paneMpDownloads.saved-runs .saved-workflow-tabs{gap:4px;border:0;border-radius:999px;background:transparent}
#appShell#appShell.ui-workspace.ui-workspace #paneMpDownloads.saved-runs .saved-workflow-tabs button{padding:8px 16px;border-radius:999px}
#appShell#appShell.ui-workspace.ui-workspace #paneMpDownloads.saved-runs .saved-workflow-tabs button[aria-pressed=true]{background:var(--ui-navy);color:#fff;font-weight:600;box-shadow:0 1px 4px #0002}
#appShell#appShell.ui-workspace.ui-workspace[data-ui-theme="dark"] #paneMpDownloads.saved-runs .saved-workflow-tabs button[aria-pressed=true]{background:var(--ui-grey-900);color:var(--ui-grey-100)}

/* ---------- 3. Inbox: the Active / Resolved switch sits in a grey track like every other switch (it was white on white) ---------- */
#appShell#appShell.ui-workspace .sc-inbox-popup .sc-filters{padding:3px;border-radius:12px;background:var(--ui-grey-200)}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] .sc-inbox-popup .sc-filters{background:var(--ui-grey-50)}
#appShell#appShell.ui-workspace[data-ui-theme="dark"] .sc-inbox-popup .sc-filters button[aria-pressed=true]{background:var(--ui-grey-200)!important}

/* ---------- 4. QuickBooks Accounts and Manage Transactions: the flat Option 11 sections become white cards ---------- */
#appShell#appShell.ui-workspace .workspace-content #paneQboAccounts > .card{margin:0 0 16px;padding:20px 22px;border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace .workspace-content :is(#paneQboAccounts,#paneImportHub) .integration-flow-progress{padding:6px;border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
#appShell#appShell.ui-workspace .workspace-content #paneQboTransactions .accounting-design :is(#qdSearch,#qdReview){padding:22px 24px;border:0;border-radius:var(--workspace-card-radius);background:var(--ui-grey-surface);box-shadow:var(--workspace-card-shadow)}
@media(max-width:760px){
  #appShell#appShell.ui-workspace .workspace-content #paneQboAccounts > .card,
  #appShell#appShell.ui-workspace .workspace-content #paneQboTransactions .accounting-design :is(#qdSearch,#qdReview){padding:18px}
}

/* ---------- 5. Sync: each list's heading strip is a light tint inside its card (it was the canvas grey, so the card's top edge vanished) ---------- */
#appShell#appShell.ui-workspace .workspace-content :is(#paneMarketplaceSync,#panePlaid) .sync-shared-accounts .sync-group-title{background:var(--ui-grey-50)}

/* ---------- 6. Notices in a page are soft cards with no outline, like the tracking pages' banners ---------- */
#appShell#appShell.ui-workspace .workspace-content .tr-error-banner{border-color:transparent;border-radius:14px}

/* ---------- 7. Matching steps 2 to 4: the mapping, settings and results panels are soft cards, like the Sources cards ---------- */
#appShell#appShell.ui-workspace .recon-v11 :is(.rv-map-card,.rv-config-card),
#appShell#appShell.ui-workspace .recon-v11 .recon-results-table-card{border:0!important;border-radius:var(--workspace-card-radius)!important;background:var(--ui-grey-surface)!important;box-shadow:var(--workspace-card-shadow)!important}
/* The alias and tolerance managers keep their own outlined look (shared with QuickBooks Import); only the extra outline drawn around both goes. */
#appShell#appShell.ui-workspace .recon-v11 #mrCard{border:0;border-radius:0;background:none;box-shadow:none}
/* POS: the mapping fields and the workflow note are soft panels inside the card, as a Matching source's panel is. */
#appShell#appShell.ui-workspace .accounting-design :is(.pos-mapping-grid,.pos-workflow-banner){border-color:transparent}

/* ---------- 8. Small labels in sentence case drop the wide spacing meant for capitals (as the Dashboard's labels do) ---------- */
#appShell#appShell.ui-workspace :is(#paneSearch .search-eyebrow,.recon-v11 .rv-closeout > .rv-eyebrow){letter-spacing:0;font-weight:600}

/* ---------- 9. Pop-up windows, the busy note and the update banner use Plus Jakarta Sans (their text and buttons fell back to the system font and Arial) ---------- */
body.auth-ready[data-app-shell]:not(#_) :is(.modal,dialog,#busy,#appUpdateBanner), body.auth-ready #appShell.ui-workspace :is(.modal,dialog,#busy,#appUpdateBanner){font-family:var(--workspace-font-sans)}
body.auth-ready[data-app-shell]:not(#_) :is(.modal,dialog,#busy,#appUpdateBanner) :where(button,input,select,textarea), body.auth-ready #appShell.ui-workspace :is(.modal,dialog,#busy,#appUpdateBanner) :where(button,input,select,textarea){font-family:inherit}
:where(#appShell.ui-workspace) :where(button,input,select,textarea){font-family:inherit}

/* ---------- Navy sidebar (owner, Nov 15) ----------
   The sidebar turns navy, the same as Admin's sidebar and the app bar (one frame, see "The window" above), so the white page
   cards stand out against it. Sizes, the font and the bold current item stay as they are. Explicit colours only (no token
   overrides), so controls placed inside the sidebar keep their own styles. */
#appShell#appShell#appShell.ui-workspace .workspace-sidebar{--sb-navy:var(--tr-frame-navy);--sb-active:#2a3148;--sb-line:var(--tr-frame-line);background:var(--sb-navy);color:#c3c8d8}
#appShell#appShell#appShell.ui-workspace[data-ui-theme="dark"] .workspace-sidebar{--sb-active:#323a54}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-label{color:#9aa1b8}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-item{color:#c3c8d8}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar svg.workspace-feature-icon{color:#9aa1b8}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-menu .workspace-nav-item:not(.is-active,[aria-current="page"]):hover{background:rgba(255,255,255,.045);color:#fff}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-menu .workspace-nav-item:not(.is-active,[aria-current="page"]):hover svg.workspace-feature-icon{color:#fff}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-menu .workspace-nav-item:is(.is-active,[aria-current="page"]){background:var(--sb-active);color:#fff}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar .workspace-nav-item:is(.is-active,[aria-current="page"]) svg.workspace-feature-icon{color:#8fb0ff}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar :is(button,a,summary):focus-visible{outline:2px solid var(--ui-band-strong);outline-offset:-2px}
#appShell#appShell#appShell.ui-workspace .workspace-sidebar:is(:hover,:focus-within) .workspace-nav-scroll{scrollbar-color:rgba(255,255,255,.25) transparent}
#appShell#appShell#appShell.ui-workspace.is-phone-nav .workspace-sidebar .workspace-phone-close{background:transparent;border-color:rgba(255,255,255,.3);color:#fff}

/* ===== Plaid → Credit Card Tracker (owner-approved mock "Plaid card tracker") =====
   Sync → Banking account rows with "Add to Credit Card Tracker", the Connections details
   account list, the Reconnect strip, tracker groups and chips, drawer sections and the
   editor's type switch and Plaid tags. App tokens only, so light and dark follow the theme. */
#appShell .pm-label-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#appShell .pm-plaid-tag{display:inline-flex;align-items:center;gap:4px;padding:1px 7px;border-radius:999px;background:var(--ui-blue-soft);color:var(--ui-blue);font-size:var(--type-caption);font-weight:650;letter-spacing:0;line-height:18px;text-transform:none;vertical-align:1px}
#appShell .pm-linked{display:flex;align-items:center;gap:6px;margin-top:4px;color:var(--ui-ink-secondary);font-size:var(--type-caption);font-weight:500}
#appShell .pm-linked::before{align-self:center;content:"";width:7px;height:7px;flex:none;border-radius:50%;background:var(--ui-green)}
#appShell .pm-nowrap{white-space:nowrap}
#appShell .pm-linked.pm-unlinked::before{background:var(--ui-ink-tertiary,var(--ui-ink-secondary))}
#appShell #paneCreditCards .pm-allow{display:grid;justify-items:start;gap:8px;padding:12px 14px;border:1px solid var(--ui-line);border-radius:10px}
#appShell #paneCreditCards .pm-allow .cards-footnote{margin:0}
#appShell .pm-check{display:inline-block;width:12px;height:12px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
/* Sync → Banking: one row per linked account */
#appShell #plaidBankCards .pm-accounts{grid-column:1/-1;display:grid;gap:0;margin:4px 0 0;border-top:1px solid var(--ui-line)}
#appShell #plaidBankCards .pm-account{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 24px;border-bottom:1px solid var(--ui-line)}
#appShell #plaidBankCards .pm-account:last-child{border-bottom:0}
#appShell .pm-acct-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--ui-blue-soft);color:var(--ui-blue);--pm-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E")}
#appShell .pm-acct-icon.is-bank{background:var(--ui-green-soft);color:var(--ui-green);--pm-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-6 9 6M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E")}
#appShell .pm-acct-icon i{display:block;width:18px;height:18px;background:currentColor;-webkit-mask:var(--pm-icon) center/contain no-repeat;mask:var(--pm-icon) center/contain no-repeat}
#appShell .pm-acct-copy{min-width:0;display:grid;gap:2px}
#appShell .pm-acct-copy strong{color:var(--ui-ink);font-size:var(--type-body);font-weight:650;overflow-wrap:anywhere}
#appShell .pm-acct-copy small{color:var(--ui-ink-secondary);font-size:var(--type-caption)}
#appShell .pm-acct-action{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
#appShell .pm-in-tracker{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--ui-green-soft);color:var(--ui-green);font-size:var(--type-caption);font-weight:650;white-space:nowrap}
#appShell button.pm-open-link{background:none!important;border:0!important;padding:4px 2px!important;color:var(--ui-blue)!important;font-weight:600;font-size:var(--type-caption);cursor:pointer;white-space:nowrap;box-shadow:none!important;min-height:0}
#appShell .pm-reconnect{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin:0;padding:12px 24px;background:var(--ui-blue-soft);border-top:1px solid var(--ui-line)}
#appShell .pm-reconnect .pm-i{width:22px;height:22px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--ui-blue);color:#fff;font-size:var(--type-caption);font-weight:700}
#appShell[data-ui-theme="dark"] .pm-reconnect .pm-i{color:#0b1220}
#appShell .pm-reconnect > span:not(.pm-i){flex:1;color:var(--ui-ink);font-size:var(--type-body);font-weight:550}
@media(max-width:700px){#appShell #plaidBankCards .pm-account{grid-template-columns:34px minmax(0,1fr);padding:12px}#appShell #plaidBankCards .pm-acct-action{grid-column:2;justify-content:flex-start}#appShell .pm-reconnect{flex-wrap:wrap;padding:12px}}
/* Connections → bank details dialog */
#plaidDetailsContent .pm-accounts{display:grid;margin:8px 0 16px;border:1px solid var(--ui-line);border-radius:12px;overflow:hidden}
#plaidDetailsContent .pm-account{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px 12px;padding:12px 14px;border-bottom:1px solid var(--ui-line)}
#plaidDetailsContent .pm-account:last-child{border-bottom:0}
#plaidDetailsContent .pm-acct-action{grid-column:2;justify-content:flex-start}
#plaidDetailsContent .pm-acct-heading{margin:16px 0 0;color:var(--ui-ink-secondary);font-size:var(--type-caption);font-weight:650}
/* Tracker: credit cards and bank accounts groups */
#appShell #paneCreditCards .pm-group-head{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin:4px 0 -4px}
#appShell #paneCreditCards .pm-group-head:not(:first-child){margin-top:14px;padding-top:24px;border-top:1px solid var(--ui-line)}
#appShell #paneCreditCards .pm-group-head h3{display:flex;align-items:center;gap:8px;margin:0;color:var(--ui-ink);font-size:var(--type-body);font-weight:700}
#appShell #paneCreditCards .pm-group-head h3 .cards-count{font-size:var(--type-caption)}
#appShell #paneCreditCards .pm-group-head small{color:var(--ui-ink-secondary);font-size:var(--type-caption)}
#appShell #paneCreditCards .cards-badge .pm-check{width:11px;height:11px}
#appShell #paneCreditCards .cards-badge.pm-plain{background:var(--ui-surface-muted);color:var(--ui-ink-secondary)}
#appShell #paneCreditCards button.cards-badge.pm-add-limit{border:0;box-shadow:none;cursor:pointer;min-height:0;font:inherit;font-size:var(--type-caption);font-weight:600}
#appShell #paneCreditCards button.cards-badge.pm-add-limit:hover:not(:disabled){filter:brightness(.96)}
#appShell #paneCreditCards .cards-card-mark.pm-bank-mark{background:var(--ui-green-soft);color:var(--ui-green);border-color:transparent}
#appShell #paneCreditCards .cards-card-mark.pm-bank-mark::after{display:none}
#appShell #paneCreditCards .pm-type-chip{display:inline-flex;align-self:flex-start;padding:5px 7px;border-radius:5px;font-size:var(--type-caption);font-weight:550;background:var(--ui-surface-muted);color:var(--ui-ink-secondary)}
/* Tracker drawer: Bill details, Statements, Recurring charges */
#appShell #paneCreditCards .pm-section{margin-top:26px}
#appShell #paneCreditCards .pm-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
#appShell #paneCreditCards .pm-section-head h3{margin:0}
#appShell #paneCreditCards .pm-section-head small{color:var(--ui-ink-secondary);font-size:var(--type-caption)}
#appShell #paneCreditCards .pm-section .cards-facts{margin:12px 0 0}
#appShell #paneCreditCards .pm-confirm{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:8px;background:var(--ui-green-soft);color:var(--ui-green);font-size:var(--type-caption);font-weight:650}
#appShell #paneCreditCards .pm-confirm .pm-check{width:13px;height:13px}
#appShell #paneCreditCards .pm-list{display:grid;border:1px solid var(--ui-line);border-radius:10px;overflow:hidden}
#appShell #paneCreditCards .pm-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:11px 14px;border-bottom:1px solid var(--ui-line);background:var(--ui-surface)}
#appShell #paneCreditCards .pm-row:last-child{border-bottom:0}
#appShell #paneCreditCards .pm-row strong{display:block;color:var(--ui-ink);font-size:var(--type-body);font-weight:600;overflow-wrap:anywhere}
#appShell #paneCreditCards .pm-row small{display:block;color:var(--ui-ink-secondary);font-size:var(--type-caption);margin-top:2px}
#appShell #paneCreditCards .pm-row .pm-amt{font-weight:650;color:var(--ui-ink);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
#appShell #paneCreditCards .pm-row-actions{display:flex;gap:4px}
#appShell #paneCreditCards .pm-row-actions button{padding:6px 10px;font-size:var(--type-caption)}
#appShell #paneCreditCards .pm-flag{display:inline-flex;margin-left:6px;padding:1px 7px;border-radius:999px;font-size:var(--type-caption);font-weight:650;line-height:18px;vertical-align:1px}
#appShell #paneCreditCards .pm-flag.is-new{background:var(--ui-blue-soft);color:var(--ui-blue)}
#appShell #paneCreditCards .pm-flag.is-up{background:var(--ui-amber-soft);color:var(--ui-amber)}
#appShell #paneCreditCards .pm-hero-linked{margin-top:10px}
#appShell #paneCreditCards .pm-after + h3{margin-top:26px}
/* Editor: Credit card / Bank account switch, "Filled from Plaid" note, Plaid tags */
#appShell #paneCreditCards .pm-type{display:inline-flex;gap:4px;padding:3px;margin:0 0 16px;border-radius:12px;background:var(--ui-grey-200,var(--ui-surface-muted))}
#appShell[data-ui-theme="dark"] #paneCreditCards .pm-type{background:var(--ui-grey-50,var(--ui-surface-muted))}
#appShell #paneCreditCards .pm-type button{border:0;background:transparent;color:var(--ui-ink-secondary);padding:7px 14px;border-radius:9px;font-weight:600;font-size:var(--type-caption);box-shadow:none}
#appShell #paneCreditCards .pm-type button[aria-pressed=true]{background:var(--ui-surface);color:var(--ui-ink);box-shadow:0 1px 3px #0002}
#appShell #paneCreditCards .pm-type button:disabled:not([aria-pressed=true]){opacity:.55}
#appShell #paneCreditCards .pm-filled{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:11px 14px;border-radius:10px;background:var(--ui-blue-soft);color:var(--ui-ink);font-size:var(--type-caption)}
#appShell #paneCreditCards .pm-filled b{font-weight:700}
#appShell #paneCreditCards .pm-filled small{color:var(--ui-ink-secondary)}
#appShell #paneCreditCards .cards-formgrid label:has(> .pm-label-line > .pm-plaid-tag:not([hidden])) :is(input,textarea){border-color:color-mix(in srgb,var(--ui-blue) 45%,var(--ui-line));background:color-mix(in srgb,var(--ui-blue) 4%,var(--ui-surface))}
#appShell #paneCreditCards :is([data-cc-only],[data-cc-plaid],.pm-filled)[hidden]{display:none!important}
/* Phone fix: the tracker's view tabs ("Statement register" and the rest) wrap onto a second line instead of running past the screen edge. */
@media(max-width:760px){#appShell#appShell#appShell.ui-workspace #paneCreditCards :is(.cards-viewbar,.tr-page-head-tabs) > .cards-tabs{flex-wrap:wrap;overflow-x:visible;max-width:100%}}

/* ===== Tracker top cards: "M2 solid" (owner pick, Nov 23) =====
   The summary tiles on Credit Card Tracker, Contracts, Season Seats, Canceled Events, Marketplace cancellations, Marketplace Terms,
   Missing Charges and Penalties: a soft, wide shadow in each tile's colour, a brighter top edge and a faint tint of that colour at the
   bottom; each number in one solid colour by tile position (1 blue, 2 indigo, 3 teal, 4 violet; lighter tints in dark mode). Identity
   colours, not status colours, so no green or amber. Values are copied from tracker-top-cards-m2-solid.html. Sizes, padding, corners,
   font sizes and layout are unchanged. Phones keep the one shared strip: it takes a blue tone shadow and a lit card; each number keeps
   its colour. Hover replaces the shared blue-soft hover (workspace-components.css) for these tiles only.
   Rollback: delete this block and the --tile-glow-tone-* tokens in tokens.css (or revert the commit). */
#appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > *{--tile-tone:var(--tile-glow-tone-1)}
#appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > :nth-child(2){--tile-tone:var(--tile-glow-tone-2)}
#appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > :nth-child(3){--tile-tone:var(--tile-glow-tone-3)}
#appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > :nth-child(4){--tile-tone:var(--tile-glow-tone-4)}
#appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > *{--tile-glow-bg:linear-gradient(180deg,#fff 0%,#fff 35%,rgba(var(--tile-tone),.06) 100%),#fff;--tile-glow-bg-hover:linear-gradient(180deg,#fff 0%,#fff 35%,rgba(var(--tile-tone),.09) 100%),#fff;--tile-glow-shadow:inset 0 2px 0 #fff,0 0 0 1px rgba(var(--tile-tone),.10),0 2px 6px rgba(20,26,46,.04),0 26px 54px -20px rgba(var(--tile-tone),.40);--tile-glow-shadow-hover:inset 0 2px 0 #fff,0 0 0 1px rgba(var(--tile-tone),.22),0 2px 6px rgba(20,26,46,.05),0 32px 64px -20px rgba(var(--tile-tone),.52)}
#appShell#appShell#appShell.ui-workspace.ui-workspace[data-ui-theme="dark"] :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > *{--tile-glow-bg:linear-gradient(180deg,#2a3350 0%,#1b2133 45%,#151a28 100%);--tile-glow-bg-hover:linear-gradient(180deg,#30395a 0%,#1e2538 45%,#171d2c 100%);--tile-glow-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 0 0 1px rgba(255,255,255,.04),0 0 0 1px rgba(var(--tile-tone),.18),0 26px 56px -20px rgba(var(--tile-tone),.30);--tile-glow-shadow-hover:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.06),0 0 0 1px rgba(var(--tile-tone),.35),0 32px 66px -20px rgba(var(--tile-tone),.42)}
/* The number: its tile's colour at every width (font-weight needs !important to beat the shared number rule in workspace-components.css). */
#appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > * > strong{color:rgb(var(--tile-tone));font-weight:700!important}
@media(min-width:761px){
  #appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > *{background:var(--tile-glow-bg);box-shadow:var(--tile-glow-shadow)}
  /* !important only to beat the shared !important hover and focus fill; keyboard focus keeps the resting look plus the shared outline. */
  #appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > button:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible){background:var(--tile-glow-bg)!important;box-shadow:var(--tile-glow-shadow)!important}
  #appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > button:not(:disabled):not([aria-disabled="true"]):hover{background:var(--tile-glow-bg-hover)!important;box-shadow:var(--tile-glow-shadow-hover)!important}
}
@media(max-width:760px){
  #appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics){background:linear-gradient(180deg,#fff,#f6f8ff);box-shadow:0 0 0 1px rgba(var(--tile-glow-tone-1),.14),0 14px 30px -12px rgba(var(--tile-glow-tone-1),.4)}
  #appShell#appShell#appShell.ui-workspace.ui-workspace[data-ui-theme="dark"] :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics){background:linear-gradient(180deg,#1e2539,#151a28);box-shadow:0 0 0 1px rgba(var(--tile-glow-tone-1),.26),0 14px 32px -12px rgba(91,140,255,.32)}
  /* The cells stay clear, split by hairlines, with no fill on tap. */
  #appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics) > button:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible){background:none!important;box-shadow:none!important}
  #appShell#appShell#appShell.ui-workspace.ui-workspace :is(#paneMissing .missing-metrics,#paneContracts .contract-metrics,#paneSeasonSeats .season-metrics,:is(#paneCanceledEvents,#paneMarketplaceCancellations) .cancel-metrics,#paneCreditCards .cards-metrics,#paneMpTags .tags-metrics,#paneTerms .term-metrics):not([data-one-col]) > * + button:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible){box-shadow:inset 1px 0 0 var(--ui-line)!important}
}
/* ===== End tracker top cards ===== */
