/* Team Member product shell. Loaded last; shared Instructor/Management assets stay untouched. */
body.jiffix-team-member-portal-body {
 --jtm-radius-lg:16px; --jtm-radius-md:12px; --jtm-shadow:0 2px 8px #17203304;
 --jtm-green:#23684a; --jtm-green-soft:#edf7f1; --jtm-amber:#895709; --jtm-amber-soft:#fff5e3;
 --jtm-red:#ae3444; --jtm-red-soft:#fff0f0; --jtm-purple:#63509a; --jtm-purple-soft:#f3f0fa;
 background:var(--jtm-canvas); font:400 16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 color:var(--jtm-ink); overflow-wrap:anywhere;
}
.jiffix-team-member-portal-body :is(h1,h2,h3,h4,h5,p,button,input,select,textarea) { font-family:inherit; }
.jiffix-team-member-portal-body :is(h1,h2,h3,h4,h5) { font-weight:700; color:var(--jtm-ink); line-height:1.25; text-wrap:pretty; }
.jiffix-team-member-portal-body :is(strong,b) { font-weight:700; }
.jiffix-team-member-portal-body :is(button,input,select,textarea) { font-size:16px; }
.jiffix-team-member-portal-body :is(small,time) { font-size:14px; line-height:1.5; }
.jiffix-team-member-portal-body :is(input,select,textarea) { max-width:100%; min-width:0; }
.jiffix-team-member-portal-body :is(section,article,form,dl,dd,fieldset) { min-width:0; }
.jiffix-team-member-portal-body [hidden] { display:none; }
.jiffix-team-member-portal-body #raise-query { scroll-margin-top:90px; }
.jiffix-team-member-portal-body :is(a,button,summary,input,select,textarea):focus-visible { outline:3px solid #849af2; outline-offset:3px; }
.jiffix-team-member-portal-body :is(button,a,summary) { -webkit-tap-highlight-color:transparent; }
.jiffix-team-member-portal-body summary { min-height:44px; align-content:center; cursor:pointer; }
.jiffix-team-member-portal-body :is(button,a)[aria-disabled=true],.jiffix-team-member-portal-body button:disabled { opacity:.65; cursor:not-allowed; }
.jiffix-team-member-portal-body :is(input,select,textarea)[aria-invalid=true] { border-color:var(--jtm-red); background:#fffafa; }
.jiffix-portal-shell { overflow-x:visible; }
.jiffix-portal-main { width:min(1220px,calc(100% - 32px)); }
.jiffix-portal-main { padding:20px 0 36px; }
.jiffix-portal-header { position:sticky; top:0; min-height:72px; padding:12px max(16px,calc((100vw - 1220px)/2)); gap:10px; background:#fff; box-shadow:none; backdrop-filter:none; z-index:40; }
.jiffix-portal-brand { gap:9px; min-width:0; }
.jiffix-portal-brand__mark { flex:none; width:40px; height:40px; border-radius:12px; background:var(--jtm-brand); box-shadow:none; }
.jiffix-portal-brand strong { font-size:20px; }
.jiffix-portal-brand small { display:block; font-size:14px; white-space:nowrap; }
.jiffix-portal-user { gap:10px; }
.jiffix-portal-user .jiffix-notification-bell { width:44px; height:44px; flex:none; min-width:44px; border:1px solid var(--jtm-line); border-radius:12px; background:#fff; }
.jiffix-portal-user .jiffix-notification-bell b { font-size:12px; min-width:20px; padding:2px 4px; height:auto; top:-7px; right:-7px; border:2px solid #fff; }
.jiffix-member-menu { position:relative; }
.jiffix-member-menu summary { display:flex; align-items:center; justify-content:center; gap:8px; width:44px; height:44px; padding:8px; border:1px solid var(--jtm-line); border-radius:12px; color:var(--jtm-brand); list-style:none; }
.jiffix-member-menu summary::-webkit-details-marker { display:none; }
.jiffix-member-menu summary svg,.jiffix-portal-tabs svg { width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.jiffix-member-menu[open] summary { background:var(--jtm-brand-soft); border-color:#acbbf1; }
.jiffix-member-menu__label { display:none; }
.jiffix-member-menu__panel { position:absolute; z-index:60; right:0; top:calc(100% + 10px); width:min(330px,calc(100vw - 32px)); padding:8px; border:1px solid var(--jtm-line); border-radius:14px; background:#fff; box-shadow:0 12px 35px #17203324; }
.jiffix-member-menu__identity { padding:12px; border-bottom:1px solid var(--jtm-line); margin-bottom:4px; }
.jiffix-member-menu__identity :is(strong,small) { display:block; max-width:none; white-space:normal; text-align:left; overflow:visible; }
.jiffix-member-menu__panel a { display:flex; align-items:center; gap:8px; min-height:48px; padding:10px 12px; color:var(--jtm-ink); border-radius:9px; text-decoration:none; font-size:16px; font-weight:600; }
.jiffix-member-menu__panel a:hover,.jiffix-member-menu__panel a.is-active { background:var(--jtm-brand-soft); color:var(--jtm-brand); }
.jiffix-member-menu__panel a:last-child { color:var(--jtm-muted); border-top:1px solid var(--jtm-line); border-radius:0 0 9px 9px; margin-top:4px; }
.jiffix-member-menu__panel b { margin-left:auto; background:var(--jtm-amber-soft); color:var(--jtm-amber); padding:2px 8px; border-radius:20px; font-size:14px; }
.jiffix-portal-tabs { display:grid; grid-template-columns:repeat(var(--jtm-nav-count,4),minmax(0,1fr)); width:100%; gap:6px; padding:5px; border-radius:14px; box-shadow:none; margin-bottom:24px; }
.jiffix-portal-tabs a { position:relative; min-height:48px; min-width:0; padding:10px 12px; gap:9px; font-size:16px; white-space:normal; line-height:1.25; touch-action:manipulation; }
.jiffix-portal-tabs a:is(:active,.is-navigating) { background:var(--jtm-brand-soft); color:var(--jtm-brand); }
.jiffix-portal-tabs a:is(:active,.is-navigating) .jiffix-nav-icon { background:var(--jtm-brand-soft); transform:scale(.94); }
.jiffix-nav-icon { display:grid; place-items:center; flex:none; }
.jiffix-portal-tabs a[aria-current=page] { box-shadow:none; }
.jiffix-portal-tabs a>b { flex:none; min-width:23px; height:auto; padding:3px 6px; font-size:13px; line-height:1.2; }
.jiffix-portal-card { background:#fff; border-color:var(--jtm-line); border-radius:16px; box-shadow:var(--jtm-shadow); }
.jiffix-card-heading { padding-bottom:20px; }
.jiffix-card-heading h2,.jiffix-detail-heading h2 { font-size:28px; line-height:1.18; letter-spacing:-.035em; }
.jiffix-card-heading p { font-size:16px; line-height:1.55; }
.jiffix-portal-eyebrow { font-size:12px; line-height:1.5; letter-spacing:.07em; font-weight:750; }
.jiffix-card-heading--action { gap:16px; }
.jiffix-submit-card,.jiffix-history-card,.jiffix-submission-detail,.jiffix-progress-card,.jiffix-query-card,.jiffix-query-overview,.jiffix-account-shell { padding:20px; }
.jiffix-section-heading { align-items:center; flex-wrap:wrap; gap:12px; }
.jiffix-section-heading p { font-size:15px; }
.jiffix-button-primary,.jiffix-submit-button,.jiffix-button-secondary,.jiffix-renewal-search button,.jiffix-filter-search button,.jiffix-portal-filter button { box-shadow:none; min-height:46px; border-radius:10px; font-size:16px; }
.jiffix-team-member-portal-body :is(.jiffix-detail-back,.jiffix-query-detail-back,.jiffix-success-next,.jiffix-section-heading a,.jiffix-linked-query-list a,.jiffix-member-resubmission-chain a) { display:inline-flex; align-items:center; min-height:44px; color:var(--jtm-brand); font-size:15px; }
.jiffix-portal-status { max-width:100%; min-height:28px; font-size:14px; line-height:1.35; white-space:normal; }
.jiffix-portal-status.is-pending-review,.jiffix-portal-status.is-pending-verification,.jiffix-portal-status.is-open { background:var(--jtm-brand-soft); color:var(--jtm-brand-dark); }
.jiffix-portal-status.is-needs-management-review,.jiffix-portal-status.is-in-review,.jiffix-portal-status.is-ongoing { background:var(--jtm-purple-soft); color:var(--jtm-purple); }
.jiffix-portal-status.is-on-hold,.jiffix-portal-status.is-needs-review { background:var(--jtm-amber-soft); color:var(--jtm-amber); }
.jiffix-portal-status.is-eligible { background:#edf7f5; color:#176a62; }
.jiffix-portal-notice { max-width:none; align-items:flex-start; font-size:16px; }
.jiffix-portal-empty { min-height:0; padding:28px 12px; }
.jiffix-portal-empty a { display:inline-flex; align-items:center; min-height:44px; }
/* Quick, guided Work entry. */
.jiffix-submit-card { max-width:1020px; margin-inline:auto; }
.jiffix-submission-form { margin-top:0; }
.jiffix-work-type-heading { margin:20px 0 14px; }
.jiffix-work-type-heading p { display:none; }
.jiffix-type-choice { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0 0 20px; }
.jiffix-type-choice label>span { padding:14px 12px; min-height:104px; border-radius:12px; background:#fff; border-color:#ccd5ea; }
.jiffix-type-choice strong { font-size:16px; }
.jiffix-type-choice small { font-size:14px; line-height:1.4; }
.jiffix-type-choice input:checked+span { background:var(--jtm-brand); color:#fff; border-color:var(--jtm-brand); box-shadow:0 0 0 2px #dbe3ff; }
.jiffix-type-choice input:checked+span small { color:#fff; }
.jiffix-type-choice input:checked+span::after { content:none; }
.jiffix-form-section { padding:22px 0; }
.jiffix-form-section__heading { gap:10px; margin-bottom:16px; }
.jiffix-form-section__heading>span { width:30px; height:30px; flex-basis:30px; border-radius:9px; background:var(--jtm-brand-soft); font-size:14px; }
.jiffix-form-section__heading h3 { font-size:19px; }
.jiffix-form-section__heading p { font-size:15px; }
.jiffix-target-account-section { padding:18px; border-radius:12px; border:1px solid #d6e0f5; background:var(--jtm-brand-soft); }
.jiffix-target-account-readonly { display:block; padding:12px; border:0; border-radius:9px; }
.jiffix-target-account-readonly strong { text-align:left; margin-top:4px; }
.jiffix-operational-funding-fields { margin-inline:0; background:transparent; }
.jiffix-portal-field label,.jiffix-security-panel label>span,.jiffix-verification-editor label>span { font-size:15px; }
.jiffix-portal-field small { font-size:14px; }
.jiffix-upload-box { min-height:170px; padding:22px 16px; background:#f2f6ff; border:1.5px dashed #9faee0; border-radius:12px; }
.jiffix-upload-box:focus-within { outline:3px solid #849af2; outline-offset:3px; }
.jiffix-upload-icon { background:#e0e8ff; box-shadow:none; width:38px; height:38px; border-radius:10px; }
.jiffix-file-previews { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.jiffix-file-previews article { border-radius:10px; }
.jiffix-file-previews img { height:130px; object-fit:contain; background:#f6f8fc; }
.jiffix-file-previews article button { position:static; min-height:44px; font-size:14px; border-radius:8px; margin-top:8px; background:var(--jtm-red-soft); color:var(--jtm-red); }
.jiffix-submit-assurance { background:transparent; padding:8px 0; font-size:14px; }
.jiffix-submission-form>.jiffix-submit-button { min-width:0; width:100%; }
.jiffix-renewal-search,.jiffix-filter-search { grid-template-columns:minmax(0,1fr) auto; }
.jiffix-renewal-option { align-items:flex-start; gap:12px; }
.jiffix-renewal-option button { min-height:44px; white-space:normal; font-size:15px; }
.jiffix-renewal-message.is-error,.jiffix-file-error { background:var(--jtm-red-soft); border-radius:9px; padding:10px 12px; }
/* Directories are for scanning; full facts belong to the detail. */
/* Status links scroll as one strip; search shares its width without another card. */
.jiffix-list-filters { min-width:0; padding:0; gap:10px; margin:20px 0; border-radius:0; background:transparent; }
.jiffix-filter-tabs { flex-wrap:nowrap; gap:4px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#cbd3e2 transparent; margin:0; padding:3px 2px 7px; border-bottom:1px solid var(--jtm-line); scroll-padding-inline:2px; }
.jiffix-filter-tabs::-webkit-scrollbar { display:block; height:3px; }
.jiffix-filter-tabs::-webkit-scrollbar-thumb { background:#cbd3e2; border-radius:3px; }
.jiffix-filter-tabs a { min-height:44px; padding:10px 12px; border:0; border-bottom:3px solid transparent; border-radius:8px 8px 0 0; background:transparent; font-size:14px; white-space:nowrap; }
.jiffix-filter-tabs a[aria-current=page] { border-color:var(--jtm-brand); background:var(--jtm-brand-soft); color:var(--jtm-brand); }
.jiffix-filter-search { gap:0; margin:0; padding:3px; border:1px solid #ccd5e3; border-radius:11px; background:#fff; }
.jiffix-filter-search:focus-within { border-color:var(--jtm-brand); box-shadow:0 0 0 2px var(--jtm-brand-soft); }
.jiffix-filter-search input[type=search] { border:0; border-radius:8px; box-shadow:none; min-height:44px; padding:10px; background:transparent; }
.jiffix-filter-search button { min-height:44px; padding:8px 13px; border:0; border-radius:8px; box-shadow:none; background:var(--jtm-brand-soft); color:var(--jtm-brand); font-size:14px; }
/* Work history: identity, one outcome, quiet context, then the record action. */
.jiffix-submission-list { gap:12px; align-items:start; }
.jiffix-submission-row { display:grid; grid-template-columns:minmax(0,1fr) 28px; align-content:start; align-items:start; gap:12px 8px; padding:16px; border-radius:12px; border-left:3px solid #dce3ed; box-shadow:none; }
.jiffix-submission-row::after { content:none; }
.jiffix-submission-row:hover { background:#fff; box-shadow:var(--jtm-shadow); transform:none; }
.jiffix-submission-row>div { min-width:0; }
.jiffix-submission-row>div:last-child { max-width:none; text-align:left; justify-items:initial; }
.jiffix-submission-row h3 { margin:0 0 4px; font-size:18px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.jiffix-submission-row p { margin:0; font-size:16px; line-height:1.5; }
.jiffix-submission-row__identity p { display:flex; gap:4px; color:var(--jtm-muted); }
.jiffix-submission-row__handle { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.jiffix-submission-row__identity p>span { white-space:nowrap; }
.jiffix-submission-row__arrow { display:grid; place-items:center; width:28px; height:28px; border-radius:8px; background:var(--jtm-brand-soft); color:var(--jtm-brand); font-size:18px; }
.jiffix-submission-row__outcome { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; }
.jiffix-submission-row .jiffix-submission-processing-state { max-width:none; margin:0; font-weight:500; font-size:14px; }
.jiffix-submission-row__outcome>small { margin:0; font-size:14px; }
.jiffix-submission-row__context { grid-column:1/-1; }
.jiffix-submission-row__context p { font-size:15px; color:var(--jtm-ink); }
.jiffix-submission-row__context p>span { color:var(--jtm-muted); margin-right:6px; }
.jiffix-submission-row .jiffix-submission-row__context time { display:block; margin:4px 0 0; font-size:14px; line-height:1.5; color:var(--jtm-muted); }
.jiffix-submission-row>.jiffix-submission-row__footer:last-child { grid-column:1/-1; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px 12px; padding-top:10px; border-top:1px solid var(--jtm-line); }
.jiffix-submission-row .jiffix-submission-id { order:0; margin:0; color:var(--jtm-muted); font-size:14px; font-weight:400; letter-spacing:0; }
.jiffix-submission-row__action { font-size:14px; color:var(--jtm-brand); font-weight:650; }
.jiffix-submission-row .jiffix-portal-status { border-color:transparent; }
.jiffix-submission-row.is-approved { border-left-color:#b6d9c6; }
.jiffix-submission-row.is-pending-review { border-left-color:#b6c9f2; }
.jiffix-submission-row.is-needs-management-review { border-left-color:#c9bee3; }
.jiffix-submission-row.is-declined { border-left-color:#e3b7be; }
.jfx-vp-portal .jiffix-submission-row.needs-correction { border-color:#e5d3ad; border-left:3px solid #c48e23; background:#fff; }
.jiffix-submission-row__feedback { grid-column:1/-1; padding:10px 12px; border-radius:9px; background:var(--jtm-amber-soft); color:var(--jtm-amber); }
.jiffix-submission-row__feedback strong { display:block; font-size:14px; }
.jiffix-submission-row__feedback p { margin:4px 0 0; font-size:16px; color:var(--jtm-ink); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.jiffix-correction-callout { padding:14px 16px; background:var(--jtm-amber-soft); border-radius:12px; border:1px solid #ead6aa; }
.jiffix-correction-callout a { display:block; min-height:44px; align-content:center; font-size:15px; }
.jiffix-submission-detail dl { border-radius:12px; }
.jiffix-submission-detail dt { font-size:14px; text-transform:none; letter-spacing:0; }
.jiffix-submission-detail dd { font-size:16px; font-weight:600; }
.jiffix-submission-detail dl>div { padding:14px 16px; }
.jiffix-detail-heading { align-items:start; gap:12px; }
.jiffix-detail-heading .jiffix-portal-eyebrow { color:var(--jtm-muted); letter-spacing:0; font-size:14px; }
.jiffix-detail-notes { padding:16px; }
.jiffix-detail-notes p { font-size:16px; line-height:1.6; }
.jiffix-evidence-heading { margin:24px 0 12px; font-size:20px; }
.jiffix-evidence-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.jiffix-evidence-grid img { height:180px; object-fit:contain; background:#f6f8fc; }
.jiffix-evidence-grid span { font-size:14px; white-space:normal; }
.jiffix-evidence-grid a.is-unavailable::before { content:'Preview unavailable · open file'; display:block; padding:24px 14px; color:var(--jtm-muted); font-size:14px; }
.jiffix-submission-success { border:1px solid #bfdcc9; background:var(--jtm-green-soft); margin-bottom:20px; }
.jiffix-submission-success>div:last-child { display:flex; flex-wrap:wrap; gap:10px; }
.jfx-vp-portal .jiffix-correction-feedback { border-left:4px solid #c48e23; padding:18px; background:#fffbf3; }
.jfx-vp-portal .jiffix-correction-feedback h3 { font-size:21px; }
.jfx-vp-portal .jiffix-correction-message blockquote { font-size:16px; font-style:normal; border:0; padding:0; line-height:1.65; }
.jfx-vp-portal .jiffix-correction-message small,.jfx-vp-portal .jiffix-correction-reason small { letter-spacing:0; text-transform:none; color:#66553b; }
/* Progress: one sequence from the next payout to recorded payments and current Work. */
.jiffix-progress-page { display:grid; gap:16px; padding:0; overflow:visible; }
.jiffix-progress-page>.jiffix-card-heading { padding:0 2px 4px; border:0; margin:0; }
.jiffix-progress-page>.jiffix-card-heading p { margin-bottom:0; }
.jiffix-progress-page :is(.jiffix-next-payout,.jiffix-payout-history,.jiffix-cycle-context) { margin:0; padding:20px; border:1px solid var(--jtm-line); border-radius:16px; background:#fff; }
.jiffix-progress-page .jiffix-next-payout { border-top:3px solid var(--jtm-brand); }
.jiffix-progress-page .jiffix-next-payout__heading { display:block; }
.jiffix-next-payout__heading h3 { font-size:19px; margin:4px 0 0; }
.jiffix-progress-page .jiffix-next-payout__heading span { font-size:14px; letter-spacing:0; text-transform:none; color:var(--jtm-brand); }
.jiffix-next-payout__progress { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; margin:18px 0 0; color:var(--jtm-brand); font-variant-numeric:tabular-nums; }
.jiffix-next-payout__progress strong { font-size:52px; line-height:1.1; letter-spacing:-.045em; }
.jiffix-next-payout__progress>span { font-size:28px; line-height:1.2; font-weight:600; color:#63749c; }
.jiffix-next-payout__progress small { color:var(--jtm-muted); font-size:15px; }
.jiffix-progress-page .jiffix-next-payout__track { height:9px; margin:16px 0 20px; background:#e6ebf8; }
.jiffix-next-payout__track span { background:var(--jtm-brand); }
.jiffix-next-payout__facts { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:16px; }
.jiffix-next-payout__facts>div { display:flex; flex-direction:column; gap:4px; min-width:0; }
.jiffix-next-payout__facts span { color:var(--jtm-muted); font-size:14px; }
.jiffix-next-payout__facts strong { font-size:24px; letter-spacing:-.025em; line-height:1.3; font-variant-numeric:tabular-nums; }
.jiffix-next-payout__amount strong { color:#176a62; }
.jiffix-progress-page .jiffix-next-payout__note { font-size:14px; line-height:1.5; margin:16px 0 0; }
.jiffix-team-member-portal-body .jiffix-progress-page .jiffix-progress-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:18px; padding-top:16px; border:0; border-top:1px solid var(--jtm-line); border-radius:0; background:transparent; }
.jiffix-progress-page .jiffix-progress-summary>div { border:0; padding:0; background:transparent; }
.jiffix-progress-summary strong { font-size:24px; line-height:1.25; }
.jiffix-progress-summary>div:nth-child(2) strong { color:var(--jtm-green); }
.jiffix-progress-summary span,.jiffix-cycle-stats span { display:block; font-size:14px; line-height:1.4; margin-top:5px; }
.jiffix-progress-page .jiffix-section-heading { margin:0; padding:0; }
.jiffix-progress-page .jiffix-section-heading h3 { margin:0; font-size:20px; }
.jiffix-progress-page .jiffix-section-heading p { margin:6px 0 0; font-size:15px; }
.jiffix-progress-page .jiffix-payout-history__list { display:grid; gap:0; max-height:none; overflow:visible; padding:0; margin-top:6px; }
.jiffix-progress-page .jiffix-payout-receipt { display:grid; grid-template-columns:1fr; gap:5px; margin:0; padding:18px 0; border:0; border-radius:0; background:transparent; }
.jiffix-progress-page .jiffix-payout-receipt+.jiffix-payout-receipt { border-top:1px solid var(--jtm-line); }
.jiffix-progress-page .jiffix-payout-receipt:last-child { padding-bottom:0; }
.jiffix-payout-receipt__heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.jiffix-payout-receipt__heading>strong { font-size:16px; }
.jiffix-payout-receipt__amount { font-size:25px; line-height:1.35; color:#176a62; font-variant-numeric:tabular-nums; }
.jiffix-payout-receipt small { color:var(--jtm-muted); }
.jiffix-progress-page .jiffix-cycle-context>.jiffix-section-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:12px; }
.jiffix-cycle-context .jiffix-portal-eyebrow { display:block; margin-bottom:6px; }
.jiffix-progress-page .jiffix-payout-rule { width:auto; margin:16px 0 0; padding:10px 12px; font-size:14px; line-height:1.5; background:#f6f8fc; }
.jiffix-progress-page .jiffix-cycle-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:18px; border:0; border-radius:0; gap:12px; background:transparent; }
.jiffix-progress-page .jiffix-cycle-stats>div { border:0; border-radius:0; padding:0; background:transparent; }
.jiffix-cycle-stats strong { color:var(--jtm-brand); font-size:24px; }
.jiffix-progress-page .jiffix-submission-status-summary { margin-top:20px; padding-top:18px; border-top:1px solid var(--jtm-line); }
.jiffix-progress-page .jiffix-submission-status-summary .jiffix-section-heading h3 { font-size:17px; }
.jiffix-progress-page .jiffix-submission-status-summary .jiffix-section-heading>a { order:2; width:100%; min-height:44px; gap:8px; text-decoration:none; font-weight:650; }
.jiffix-progress-page .jiffix-progress-submission-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; margin-top:12px; border:0; border-radius:0; background:transparent; }
.jiffix-progress-page .jiffix-progress-submission-grid>div { display:flex; align-items:baseline; gap:8px; padding:0; background:transparent; }
.jiffix-progress-submission-grid strong { font-size:20px; color:var(--jtm-brand); }
.jiffix-progress-submission-grid>div:nth-child(2) strong { color:var(--jtm-purple); }
.jiffix-progress-submission-grid>div:nth-child(3) strong { color:var(--jtm-green); }
.jiffix-progress-submission-grid>div:nth-child(4) strong { color:var(--jtm-red); }
.jiffix-progress-submission-grid span { font-size:14px; line-height:1.4; }
/* Support inbox and conversations. */
.jiffix-query-overview { border-top:3px solid #8170b2; }
.jiffix-query-overview+.jiffix-history-card { margin-top:16px; }
.jiffix-query-raise-button { width:auto; }
.jiffix-portal-filter { grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px; }
.jiffix-portal-filter label>span { font-size:15px; }
.jiffix-portal-filter button { background:#fff; color:var(--jtm-brand); border-color:var(--jtm-line-strong); }
.jiffix-query-overview.jiffix-query-overview--inbox { padding:0 2px; border:0; background:transparent; box-shadow:none; }
.jiffix-query-overview--inbox .jiffix-card-heading { padding:0; border:0; margin:0; }
.jiffix-query-overview--inbox .jiffix-card-heading p { margin-bottom:0; }
.jiffix-query-inbox.jiffix-history-card { padding:0; border:0; background:transparent; box-shadow:none; }
.jiffix-query-filters { display:grid; grid-template-columns:1fr; margin:0 0 16px; }
.jiffix-query-search { display:grid; grid-template-columns:minmax(0,1fr) auto; }
.jiffix-query-filters>a { display:inline-flex; align-items:center; justify-self:start; min-height:44px; color:var(--jtm-brand); font-size:15px; }
.jiffix-query-filters .jiffix-filter-tabs { max-width:100%; }
.jiffix-query-filters .jiffix-filter-tabs b { min-width:22px; padding:2px 6px; font-size:13px; border-radius:20px; background:#edf0f6; color:var(--jtm-muted); }
.jiffix-query-filters .jiffix-filter-tabs [aria-current=page] b { background:#dbe4ff; color:var(--jtm-brand-dark); }
.jiffix-query-list { display:grid; grid-template-columns:1fr; gap:12px; }
.jiffix-query-row { display:flex; flex-direction:column; align-items:stretch; gap:12px; padding:18px; border:1px solid var(--jtm-line); border-left:3px solid var(--jtm-brand); border-radius:14px; background:#fff; box-shadow:none; }
.jiffix-query-row.is-ongoing,.jiffix-query-row.is-in-review { border-left-color:#8c78b6; }
.jiffix-query-row.is-resolved { border-left:1px solid var(--jtm-line); padding-left:20px; }
.jiffix-query-row.needs-reply { border-left-color:#be8a2a; }
.jiffix-query-row__top { display:flex; align-items:center; gap:8px; }
.jiffix-query-row h3 { font-size:19px; line-height:1.4; margin:0; }
.jiffix-query-row h3 a { color:var(--jtm-ink); text-decoration:none; }
.jiffix-query-row__recipient { font-size:15px; color:var(--jtm-ink); line-height:1.5; }
.jiffix-query-row__recipient>span { color:var(--jtm-muted); margin-right:4px; }
.jiffix-query-row__update { display:grid; gap:4px; }
.jiffix-query-row__update>span { font-size:14px; font-weight:650; color:var(--jtm-muted); }
.jiffix-query-row .jiffix-query-row__preview { font-size:16px; line-height:1.5; margin:0; color:var(--jtm-ink); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.jiffix-query-row.is-resolved .jiffix-query-row__preview { color:var(--jtm-muted); }
.jiffix-query-row__related { display:grid; grid-template-columns:minmax(0,1fr); gap:3px; padding:10px 12px; border-radius:9px; background:#f6f8fc; }
.jiffix-query-row__related>span { font-size:14px; color:var(--jtm-muted); }
.jiffix-query-row__related strong { font-size:15px; font-weight:600; }
.jiffix-query-row__related>a { display:inline-flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; font-size:15px; font-weight:600; color:var(--jtm-brand); text-decoration:none; }
.jiffix-query-row__footer { display:flex; flex-direction:column; gap:8px; margin-top:auto; padding-top:12px; border-top:1px solid var(--jtm-line); }
.jiffix-query-row__meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 12px; color:var(--jtm-muted); }
.jiffix-query-row__meta small,.jiffix-query-row__meta time { font-size:14px; }
.jiffix-query-row__link { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:44px; font-size:16px; color:var(--jtm-brand); font-weight:700; text-decoration:none; }
.jiffix-query-row__attention { padding:8px 10px; border-radius:8px; background:var(--jtm-amber-soft); color:var(--jtm-amber); font-size:14px; }
.jiffix-query-conversation__item { border-left-color:#9b8bc5; background:#f7f5fb; border-radius:0 12px 12px 0; padding:16px; }
.jiffix-query-conversation__item.is-own { background:var(--jtm-brand-soft); border-left-color:#809be9; }
.jiffix-query-conversation__item p { font-size:16px; line-height:1.65; }
.jiffix-query-recipient label { font-size:15px; min-height:46px; }
.jiffix-query-recipient label:has(input:checked) { border-color:#a89acb; background:var(--jtm-purple-soft); color:#503d80; }
.jiffix-query-recipient label:has(input:disabled) { opacity:.6; }
.jiffix-query-response-form { padding:18px; border:1px solid #dcd4eb; border-radius:12px; background:#faf8fd; }
/* Account, verification, bank and security. */
.jiffix-account-heading { padding-right:0; }
.jiffix-account-heading::after { content:none; }
.jiffix-account-tabs { gap:8px; }
.jiffix-account-tabs a { min-height:44px; font-size:14px; }
.jiffix-account-overview { background:var(--jtm-brand-soft); border-color:#d5dff5; padding:18px; border-radius:12px; }
.jiffix-account-avatar { background:var(--jtm-brand); box-shadow:none; }
.jiffix-account-overview h3 { font-size:21px; }
.jiffix-account-facts dt,.jiffix-verified-identity span { color:var(--jtm-muted); letter-spacing:0; text-transform:none; font-size:14px; }
.jiffix-account-facts>div { min-height:0; }
.jiffix-account-help { border:0; background:#f7f9fc; font-size:14px; }
.jiffix-verification-banner.is-locked { background:var(--jtm-green-soft); }
.jiffix-verification-banner.is-requested { background:var(--jtm-amber-soft); }
.jiffix-verification-banner.is-submitted { background:var(--jtm-brand-soft); }
.jiffix-verification-list article>a { min-height:44px; min-width:44px; align-content:center; text-align:center; font-size:15px; }
.jiffix-verification-upload { background:var(--jtm-brand-soft); }
.jiffix-security-panel { background:#f8faff; padding:18px; border-radius:12px; }
.jiffix-security-panel__intro>span { display:none; }
.jiffix-security-panel__intro p { font-size:15px; }
.jiffix-security-panel form { max-width:720px; }
.jiffix-password-field button { font-size:14px; }
.jiffix-bank-panel { background:#f1f8f6; border:1px solid #d4e7e1; border-radius:12px; padding:18px; }
.jiffix-bank-facts { background:#fff; border-radius:10px; padding:4px 14px; gap:0; }
.jiffix-bank-facts>div { border:0; border-radius:0; padding:12px 0; }
.jiffix-bank-facts>div+div { border-top:1px solid #dfeae6; }
.jiffix-bank-facts dt { font-size:14px; }
/* Existing Accounts shares the same form and status vocabulary, scoped to Team Members. */
.jfx-ea--member { --ea-blue:var(--jtm-brand); --ea-ink:var(--jtm-ink); --ea-muted:var(--jtm-muted); --ea-line:var(--jtm-line); font-size:16px; }
.jfx-ea--member .jfx-ea-intro { padding:20px; margin-bottom:16px; border-top:3px solid #599b95; }
.jfx-ea--member .jfx-ea-intro h1 { font-size:28px; line-height:1.2; margin:0 0 8px; }
.jfx-ea--member .jfx-ea-intro p { font-size:16px; }
.jfx-ea--member .jfx-ea-panel { padding:20px; margin-bottom:16px; }
.jfx-ea--member :is(h2,.jfx-ea-heading h2) { font-size:21px; }
.jfx-ea--member :is(p,label,button,input,select,textarea) { font-size:16px; }
.jfx-ea--member :is(small,.jfx-ea-batch>span,.jfx-ea-preview,.jfx-ea-review-main>span) { font-size:14px; line-height:1.5; }
.jfx-ea--member :is(button,.button,.jfx-ea-back,.jfx-ea-pages a) { min-height:44px; font-size:15px; align-content:center; }
.jfx-ea--member :is(input,select,textarea) { width:100%; min-height:48px; border-radius:10px; border:1px solid #cbd4e2; padding:10px 12px; color:var(--jtm-ink); background:#fff; font-family:inherit; }
.jfx-ea--member .jfx-ea-entry { background:#f8faff; border:1px solid #dce3f0; padding:16px; border-radius:12px; gap:12px; }
.jfx-ea--member .jfx-ea-entry label { font-size:15px; }
.jfx-ea--member .jfx-ea-entry-num { color:var(--jtm-brand); }
.jfx-ea--member .jfx-ea-remove { background:var(--jtm-red-soft); color:var(--jtm-red); }
.jfx-ea--member .jfx-ea-batch { padding:16px; border-radius:12px; background:#fff; }
.jfx-ea--member .jfx-ea-batch strong { font-size:18px; }
.jfx-ea--member .jfx-ea-badge { font-size:14px; white-space:normal; }
.jfx-ea--member .jfx-ea-badge.is-pending_review { color:var(--jtm-brand); background:var(--jtm-brand-soft); }
.jfx-ea--member .jfx-ea-badge.is-needs_attention { color:var(--jtm-amber); background:var(--jtm-amber-soft); }
.jfx-ea--member .jfx-ea-badge.is-approved { color:var(--jtm-green); background:var(--jtm-green-soft); }
.jfx-ea--member .jfx-ea-correction { background:var(--jtm-amber-soft); padding:14px; border-radius:10px; }
.jfx-ea--member .jfx-ea-correction form { display:grid; gap:12px; }
.jfx-ea--member .jfx-ea-heading { flex-wrap:wrap; }
/* Notifications and bounded pagination. */
.jiffix-team-member-portal-body .jiffix-notifications { max-width:none; }
.jiffix-team-member-portal-body .jiffix-notifications h1 { font-size:28px; }
.jiffix-team-member-portal-body .jiffix-notifications__header p { font-size:16px; }
.jiffix-team-member-portal-body .jiffix-notification { border-radius:12px; padding:18px; }
.jiffix-team-member-portal-body .jiffix-notification.is-unread { background:#f4f7ff; border-left:3px solid var(--jtm-brand); }
.jiffix-team-member-portal-body .jiffix-notification h2 { font-size:18px; }
.jiffix-team-member-portal-body .jiffix-notification p { font-size:16px; }
.jiffix-team-member-portal-body .jiffix-notification button { min-height:44px; font-size:15px; }
.jiffix-portal-pagination,.jfx-ea--member .jfx-ea-pages,.jiffix-notifications__pages { flex-wrap:wrap; gap:8px; }
.jiffix-portal-pagination a,.jiffix-team-member-portal-body .jiffix-notifications__pages a { min-width:44px; min-height:44px; font-size:15px; }
@media (min-width:769px) {
 .jiffix-submission-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .jiffix-member-menu summary { width:auto; padding:8px 12px; }
 .jiffix-member-menu__label { display:inline; font-size:15px; font-weight:650; }
 .jiffix-query-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .jiffix-account-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .jiffix-bank-facts { grid-template-columns:1fr; max-width:720px; }
 .jiffix-submit-card,.jiffix-history-card,.jiffix-submission-detail,.jiffix-progress-card,.jiffix-query-card,.jiffix-query-overview,.jiffix-account-shell { padding:28px; }
 .jiffix-progress-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; align-items:start; }
 .jiffix-progress-card>.jiffix-card-heading,.jiffix-progress-card>.jiffix-submission-status-summary,.jiffix-progress-card>.jiffix-progress-review-note { grid-column:1/-1; }
 .jiffix-next-payout,.jiffix-payout-history { margin:0; }
 .jiffix-cycle-context { grid-column:1/-1; }
 .jiffix-progress-page { padding:0; }
 .jiffix-progress-page .jiffix-cycle-context { grid-column:1/-1; }
}
@media (max-width:768px) {
 .jiffix-portal-main { padding-top:16px; }
 .jiffix-portal-main { padding-bottom:calc(112px + var(--jtm-safe-bottom)); }
 .jiffix-portal-tabs { position:fixed; bottom:0; left:0; right:0; z-index:35; grid-template-columns:repeat(var(--jtm-nav-count,4),minmax(0,1fr)); gap:0; margin:0; padding:8px max(6px,env(safe-area-inset-right)) calc(8px + var(--jtm-safe-bottom)) max(6px,env(safe-area-inset-left)); border:0; border-top:1px solid #dce3ed; border-radius:0; background:#fff; box-shadow:0 -4px 20px #17203305; }
 .jiffix-portal-tabs a { flex-direction:column; justify-content:flex-start; align-items:center; gap:4px; padding:3px; min-height:72px; width:auto; font-size:14px; font-weight:650; border-radius:8px; line-height:16px; transition:none; }
 .jiffix-portal-tabs a:last-child:nth-child(odd) { grid-column:auto; }
 .jiffix-portal-tabs a:hover,.jiffix-portal-tabs a[aria-current=page] { background:transparent; color:var(--jtm-brand); }
 .jiffix-portal-tabs a[aria-current=page] { font-weight:800; }
 .jiffix-nav-icon { width:44px; height:28px; border-radius:9px; }
 .jiffix-portal-tabs a[aria-current=page] .jiffix-nav-icon { background:var(--jtm-brand-soft); }
 .jiffix-nav-label { width:min-content; max-width:none; min-height:32px; overflow-wrap:normal; word-break:normal; text-align:center; }
 .jiffix-portal-tabs a>b { position:absolute; top:-1px; left:calc(50% + 8px); min-width:21px; background:var(--jtm-amber-soft); color:var(--jtm-amber); border:2px solid #fff; font-size:12px; padding:2px 4px; }
 .jiffix-portal-tabs a[aria-current=page]>b { background:var(--jtm-brand); color:#fff; }
 .jiffix-team-member-portal-body { --jtm-safe-bottom:env(safe-area-inset-bottom,0px); scroll-padding-bottom:calc(110px + var(--jtm-safe-bottom)); }
 .jiffix-team-member-portal-body :is(input,select,textarea,button,a,summary) { scroll-margin-top:90px; scroll-margin-bottom:calc(110px + var(--jtm-safe-bottom)); }
 .jiffix-submission-success { grid-template-columns:auto minmax(0,1fr); gap:12px; padding:18px; }
 .jiffix-submission-success>div:last-child { grid-column:1/-1; }

 .jiffix-portal-filter { grid-template-columns:minmax(0,1fr) auto; }
 .jiffix-query-recipient { display:grid; grid-template-columns:1fr 1fr; }
 .jiffix-query-recipient label:last-child { grid-column:1/-1; }
 .jiffix-query-form-actions { display:flex; flex-wrap:wrap; justify-content:space-between; }
 .jiffix-query-form-actions button { width:auto; }
 .jiffix-query-overview--inbox .jiffix-card-heading--action { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; }
 .jiffix-query-overview--inbox .jiffix-card-heading--action>div { display:contents; }
 .jiffix-query-overview--inbox .jiffix-card-heading--action :is(.jiffix-portal-eyebrow,h2) { grid-column:1; }
 .jiffix-query-overview--inbox .jiffix-card-heading--action p { grid-column:1/-1; margin:8px 0 0; }
 .jiffix-query-overview--inbox .jiffix-query-raise-button { grid-column:2; grid-row:1/3; align-self:center; }
 .jiffix-query-overview--inbox .jiffix-query-raise-button { min-height:44px; width:auto; padding:10px 14px; }
 .jiffix-submission-detail dl { grid-template-columns:1fr; }
 .jiffix-submission-detail dl>div { display:grid; grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr); gap:12px; border:0; border-bottom:1px solid var(--jtm-line); padding:12px; }
 .jiffix-submission-detail dl dd { margin:0; }
 .jiffix-submission-detail dl>div:nth-child(odd) { border-right:0; }
 .jiffix-detail-heading { display:flex; flex-wrap:wrap; }
 .jiffix-account-tabs { display:grid; grid-template-columns:1fr 1fr; }
 .jiffix-account-overview { grid-template-columns:44px minmax(0,1fr); gap:12px; padding:16px; }
 .jiffix-account-avatar { width:44px; height:44px; flex-basis:44px; border-radius:12px; }
 .jiffix-account-facts { grid-template-columns:1fr; }
 .jiffix-account-facts>div { display:grid; grid-template-columns:100px minmax(0,1fr); gap:12px; padding:14px; }
 .jiffix-account-facts dd { margin:0; }
 .jiffix-security-panel,.jiffix-bank-panel { padding:16px; }
 .jiffix-bank-form { grid-template-columns:1fr; }
 .jfx-ea--member .jfx-ea-defaults { grid-template-columns:1fr; }
 .jfx-ea--member .jfx-ea-entry { grid-template-columns:1fr; padding-right:16px; }
 .jfx-ea--member .jfx-ea-entry-num { position:static; }
 .jfx-ea--member .jfx-ea-remove { position:static; justify-self:end; width:44px; }
 .jfx-ea--member .jfx-ea-overrides { grid-column:auto; }
 .jfx-ea--member .jfx-ea-review-row { grid-template-columns:1fr; }
 .jfx-ea--member .jfx-ea-member-attention a { white-space:normal; min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 .jiffix-team-member-portal-body * { transition:none; }
}

.jiffix-team-member-portal-body .jiffix-ea-batch-counts { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; line-height: 1.5; }

.jiffix-team-member-portal-body .jiffix-payout-pages { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:16px; }
.jiffix-team-member-portal-body .jiffix-query-facts { border-top:1px solid var(--jtm-line); margin-top:24px; padding-top:12px; }
.jiffix-team-member-portal-body .jiffix-query-facts summary { font-size:15px; font-weight:600; color:var(--jtm-muted); }

.jfx-ea--member .jfx-ea-notice.is-error { background:var(--jtm-red-soft); border-color:#e8b9c1; color:var(--jtm-red); }
.jfx-ea--member .jfx-ea-notice.is-success { background:var(--jtm-green-soft); border-color:#bfdcc9; color:var(--jtm-green); }
.jiffix-login-body .jiffix-login-password-control button { min-height:44px; min-width:48px; font-size:14px; }
.jiffix-login-body .jiffix-login-heading p { font-size:16px; }
.jiffix-login-body .jiffix-login-card { border:1px solid var(--jtm-line); border-radius:18px; box-shadow:0 10px 32px #1720330a; }

.jiffix-team-member-portal-body .jiffix-verification-banner.is-unrecorded { background:#f6f8fc; border-color:var(--jtm-line); color:var(--jtm-muted); }

.jiffix-team-member-portal-body .jiffix-target-choice-text { margin:4px 0; font-size:15px; line-height:1.5; color:var(--jtm-brand-dark); overflow-wrap:anywhere; }
