/* The floating workspace has its own controls; shared order cards retain their density. */
.oc-float-panel{grid-template-rows:48px minmax(0,1fr);border-color:#dce3ef;border-radius:14px;box-shadow:0 22px 70px #1b335b2b,0 2px 8px #1b335b12;background:#f3f5f9}
.oc-float-head{padding:0 10px 0 14px;background:#fff;border-bottom-color:#e9edf4}
.oc-float-head h2{display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.2px}
.oc-float-head h2>svg{width:27px;height:29px;padding:5px;stroke:#3269d9;fill:#eef3ff;stroke-width:1.7;border-radius:8px;background:#eef3ff}
.oc-float-head>div{gap:4px}
.oc-float-head button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:34px;min-height:32px;padding:5px 9px;border-radius:7px;background:transparent;color:#73829a;transition:background .15s,color .15s}
.oc-float-head button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.oc-float-head button:hover{background:#edf2fb;color:#315fae}
.oc-float-head button:active{background:#dfe8fa}
.oc-float-panel iframe{background:#f3f5f9}
.oc-float-resize{opacity:.5;width:16px;height:16px}
body[data-orders-only="1"]{--oc-blue:#2f67dc;--oc-ink:#243750;--oc-muted:#74839a;background:#f3f5f9;color:var(--oc-ink);font-size:12px;-webkit-tap-highlight-color:transparent}
body[data-orders-only="1"] main{padding:8px 10px 76px}
body[data-orders-only="1"] button{touch-action:manipulation}
body[data-orders-only="1"] button:not(:disabled){transition:background .15s,border-color .15s,color .15s,box-shadow .15s}
body[data-orders-only="1"] button:focus-visible,body[data-orders-only="1"] input:focus-visible,body[data-orders-only="1"] select:focus-visible,body[data-orders-only="1"] summary:focus-visible{outline:2px solid #407bec;outline-offset:2px}
body[data-orders-only="1"] button:disabled{cursor:default;opacity:.55}
.oc-panel-header{position:sticky;top:0;z-index:5;margin:-8px -10px 8px;padding:8px 10px 0;background:#fff;border-bottom:1px solid #e5eaf2}
.oc-workspace-nav{padding:6px 12px calc(6px + env(safe-area-inset-bottom));gap:12px;border-color:#e5eaf2;box-shadow:0 -4px 16px #20345605}
.oc-workspace-nav button{position:relative;min-height:46px;gap:3px;border-radius:10px;color:#7e8ba0;font-size:11px;font-weight:500}
.oc-workspace-nav svg{width:20px;height:20px;stroke-width:1.8}
.oc-workspace-nav button[aria-selected="true"]{color:var(--oc-blue);background:#f0f5ff}
.oc-workspace-nav button[aria-selected="true"]::after{content:'';position:absolute;top:-6px;width:18px;height:3px;border-radius:0 0 3px 3px;background:var(--oc-blue)}
.oc-panel-dates{margin:0;padding:0 0 8px}
.oc-panel-presets{gap:3px;padding:3px;background:#f2f4f8;border-radius:9px}
.oc-panel-presets button{min-height:32px;padding:6px 2px;border-radius:7px;font-size:11px;color:#758299;white-space:nowrap}
.oc-panel-presets button.selected{background:#fff;color:#2e63ca;font-weight:600;box-shadow:0 1px 5px #24395812}
.oc-panel-presets button:hover:not(.selected){background:#e9eef7;color:#435d83}
#oc-custom-dates[aria-expanded="true"]{box-shadow:inset 0 0 0 1px #aec5f6;color:#2e63ca}
.oc-panel-date-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px 6px;align-items:center;padding:10px 1px 2px;color:#8c97a7}
.oc-panel-date-inputs input{width:100%;min-width:0;height:34px;border:1px solid #dce4f0;border-radius:7px;padding:5px 6px;font-size:11px;color:#405370}
.oc-date-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:6px}
.oc-date-actions button,.oc-panel-date-inputs .btn{min-width:64px;min-height:32px;padding:5px 12px;border:0;border-radius:7px;background:#eef2f8;color:#627692;cursor:pointer}
.oc-panel-date-inputs .btn{background:var(--oc-blue);color:#fff}
.oc-date-range{display:block;padding:7px 2px 0;font-size:10px;color:#687b98;font-variant-numeric:tabular-nums}
.oc-order-kinds{gap:20px;margin:0;padding:0;background:transparent;border-radius:0}
.oc-order-kinds button{position:relative;flex:0 1 auto;min-height:37px;padding:8px 2px 10px;border-radius:0;font-size:12px;color:#8490a3}
.oc-order-kinds button[aria-pressed="true"]{background:transparent;color:var(--oc-ink);font-weight:600}
.oc-order-kinds button[aria-pressed="true"]::after{content:'';position:absolute;bottom:-1px;left:50%;width:24px;height:3px;border-radius:3px 3px 0 0;background:var(--oc-blue);transform:translateX(-50%)}
body[data-orders-only="1"] .ed-order-form{grid-template-columns:repeat(12,minmax(0,1fr));gap:7px 6px;margin:0 0 6px;padding:10px 10px 4px;background:#fff;border:1px solid #e5ebf3;border-radius:10px}
body[data-orders-only="1"] .ed-order-form label{grid-column:span 6}
body[data-orders-only="1"] .ed-order-form label:has(input[name=orderId]){grid-column:span 9}
body[data-orders-only="1"] .ed-order-form input,body[data-orders-only="1"] .ed-order-form select{height:34px;min-height:34px;padding:6px 9px;font-size:11px;background:#f8fafd;border-color:#e3e9f2;border-radius:7px;color:#3d526f}
body[data-orders-only="1"] .ed-order-form input::placeholder{color:#94a1b4}
body[data-orders-only="1"] .ed-order-form>.btn{grid-column:span 3;min-height:34px;border-radius:7px;padding:6px;font-size:11px}
body[data-orders-only="1"] .ed-order-form>.btn.primary{background:var(--oc-blue);box-shadow:0 2px 5px #2f67dc1f}
body[data-orders-only="1"] .ed-order-form>.btn.primary:hover:not(:disabled){background:#2459c5}
body[data-orders-only="1"] .ed-order-form>.btn[data-order-action]{grid-column:span 6;justify-self:end;min-height:30px;padding:4px 2px 4px 8px;background:transparent;color:#7588a4;font-size:10px}
body[data-orders-only="1"] .ed-order-form>.btn[data-order-action=reset]{justify-self:start;padding-left:2px}
body[data-orders-only="1"] .ed-order-form>.btn[data-order-action]:hover{color:var(--oc-blue)}
body[data-orders-only="1"] .ed-order-form>.btn[data-order-action]::before,.oc-income-toolbar>button::before,.oc-rewards-toolbar button::before{content:'';display:inline-block;vertical-align:-2px;width:13px;height:13px;margin-right:4px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 8A8 8 0 1 0 20 16M20 3v5h-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
body[data-orders-only="1"] .ed-order-form>.btn[data-order-action=reset]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/svg%3E")}
body[data-orders-only="1"] .ed-order-scope{padding:0 2px;color:#8795a9;font-size:10px}
body[data-orders-only="1"] .ed-order-source-details{padding:2px;color:#7c8da5}
body[data-orders-only="1"] .ed-order-status,.oc-rewards-status{margin:7px 2px 8px;font-size:10px;color:#7d8da4;line-height:1.6}
body[data-orders-only="1"] .oc-card.ed-order-row{border-radius:9px;border-color:#e5ebf3;box-shadow:0 1px 2px #24395803}
body[data-orders-only="1"] .ed-order-pager,.oc-rewards-pager{padding:10px 0 4px;margin:0;color:#99a4b5}
body[data-orders-only="1"] .ed-order-pager .btn,.oc-rewards-pager button,#oc-auth-retry{min-height:34px;min-width:104px;border:1px solid #dce5f3;border-radius:8px;background:#fff;color:#4d73ae;font-size:11px;padding:7px 14px;cursor:pointer}
.oc-income-toolbar,.oc-rewards-toolbar{margin:0 0 8px;min-height:34px}
.oc-income-toolbar label{font-size:11px;color:#8996a8;gap:6px}
.oc-income-toolbar select{border-radius:8px;border-color:#e0e7f2;min-height:34px;max-width:210px;padding:6px 9px;color:#45607e;background:#fff;font-size:11px}
.oc-income-toolbar>button,.oc-rewards-toolbar button{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid #dfe7f3;border-radius:8px;background:#fff;color:#5d79a4;font-size:11px;cursor:pointer}
.oc-income-hero{position:relative;isolation:isolate;overflow:hidden;padding:17px 18px 15px;border:0;border-radius:12px;background:linear-gradient(110deg,#2859bc,#3676e6);color:#fff;box-shadow:0 4px 12px #2c64cf20}
.oc-income-hero::after{content:'';position:absolute;z-index:-1;right:-24px;top:-75px;width:240px;height:240px;border:30px solid #ffffff08;border-radius:50%;pointer-events:none}
.oc-income-hero>div{align-items:flex-start;gap:12px;font-size:12px;line-height:1.6}
.oc-income-hero small{flex:none;border-radius:20px;background:#ffffff17;padding:2px 7px;color:#e1eaff;font-size:9px}
.oc-income-hero>strong{font-size:34px;font-weight:650;letter-spacing:-.5px;line-height:1.4;margin-top:7px}
.oc-income-metrics,.oc-income-settlement{border-color:#e5ebf3;border-radius:10px;margin:8px 0}
.oc-income-metrics>div,.oc-income-settlement>div{padding:12px}
.oc-income-metrics dt,.oc-income-settlement dt{color:#8492a6;font-size:10px}
.oc-income-metrics dd,.oc-income-settlement dd{font-size:17px;color:#344b6a;margin-top:4px}
.oc-income-section-head{margin:16px 1px 8px;min-height:28px}
.oc-income-section-head h3{font-size:12px;color:#405570}
.oc-income-section-head>button{min-height:30px;color:#4c78bb;padding:5px 2px}
.oc-income-channels{gap:6px}
.oc-income-channel{padding:12px;border-radius:10px;border-color:#e5ebf3;min-height:70px;position:relative;overflow:hidden}
.oc-income-channel:hover{background:#f9fbff;border-color:#cad8ee}
.oc-income-channel.selected{background:#f6f9ff;border-color:var(--channel);box-shadow:inset 3px 0 var(--channel)}
.oc-income-channel.selected::after{content:'✓';position:absolute;top:0;right:0;padding:1px 4px;border-radius:0 0 0 6px;background:var(--channel);color:#fff;font-size:9px}
.oc-income-channel-name{gap:5px 8px}
.oc-income-channel-name>strong{font-size:12px}
.oc-income-channel small{color:#8a98ac;font-size:10px}
.oc-income-channel-value>b{font-size:16px}
.oc-income-notes{padding:10px 2px;color:#8b98aa}
.oc-income-message{padding:9px 11px;border:1px solid #f1e5c8;border-radius:8px}
.oc-income-empty{padding:28px 12px;border:1px dashed #dce4f0;border-radius:10px;color:#8b9bb0}
#oc-panel-auth{margin:26px auto 8px;padding:12px 0;text-align:center;color:#7b8ba3}
#oc-auth-retry{display:block;margin:0 auto}
#oc-income:focus,#oc-rewards:focus{outline:0}
#edUnifiedOrders[aria-busy="true"] .ed-order-status::before,#oc-rewards[aria-busy="true"] .oc-rewards-status::before{content:'';display:inline-block;width:10px;height:10px;vertical-align:-1px;margin-right:6px;border:1.5px solid #d8e2f3;border-top-color:#4b7ed8;border-radius:50%;animation:oc-spin .8s linear infinite}
.oc-income-toolbar>button:disabled::before,.oc-rewards-toolbar button:disabled::before{animation:oc-spin 1s linear infinite}
@keyframes oc-spin{to{transform:rotate(360deg)}}
@media(min-width:580px){body[data-orders-only="1"] .ed-order-form .ed-order-source,body[data-orders-only="1"] .ed-order-form .ed-order-filter{grid-column:span 3}body[data-orders-only="1"] .ed-order-form label:has(input[name=orderId]){grid-column:span 4}body[data-orders-only="1"] .ed-order-form>.btn.primary{grid-column:span 2}.oc-panel-date-inputs{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto}.oc-date-actions{grid-column:auto}.oc-income-hero>strong{font-size:36px}}
@media(min-width:640px){body[data-orders-only="1"] main{padding-bottom:12px}.oc-panel-header{padding-top:9px}.oc-workspace-nav{position:static;grid-template-columns:1fr 1fr;max-width:290px;padding:3px;margin:0 0 9px;gap:3px;background:#eef2f8;border:0;border-radius:9px;box-shadow:none}.oc-workspace-nav button{flex-direction:row;justify-content:center;gap:6px;min-height:32px;padding:5px 12px;border-radius:7px;font-size:12px}.oc-workspace-nav svg{width:16px;height:16px}.oc-workspace-nav button[aria-selected="true"]{background:#fff;color:#2f67dc;box-shadow:0 1px 5px #24395812}.oc-workspace-nav button[aria-selected="true"]::after{display:none}.oc-panel-presets{max-width:440px}.oc-panel-dates{padding-bottom:8px}.oc-income-metrics>div,.oc-income-settlement>div{padding:12px 14px}}
@media(max-width:360px){body[data-orders-only="1"] main{padding-left:7px;padding-right:7px}.oc-panel-header{margin-left:-7px;margin-right:-7px;padding-left:7px;padding-right:7px}.oc-income-hero{padding:15px 13px}.oc-income-hero small{font-size:8px;padding:2px 5px}.oc-income-hero>div{gap:7px}.oc-income-toolbar select{max-width:174px}.oc-float-head{padding-left:10px}}
@media(prefers-reduced-motion:reduce){body[data-orders-only="1"] button,.oc-float-head button{transition:none}body[data-orders-only="1"] *::before{animation:none!important}}

/* Keep search visible while grouping secondary mobile filters. */
.ed-order-filter-toggle{display:none}
.ed-order-filter-fields{display:contents}
body[data-orders-only="1"]{--oc-muted:#596b83}
body[data-orders-only="1"] .ed-order-scope,body[data-orders-only="1"] .ed-order-status,body[data-orders-only="1"] .ed-order-source-details,.oc-income-metrics dt,.oc-income-settlement dt,.oc-income-channel small,.oc-income-notes,.oc-income-empty{color:#596b83}
body[data-orders-only="1"] .oc-panel-presets button{color:#596b83}
body[data-orders-only="1"] .oc-panel-presets button.selected{color:#245bbf}
.oc-income-toolbar label{color:#596b83}
@media(max-width:760px){
 .oc-float-head button{min-width:44px;min-height:44px}
 body[data-orders-only="1"] .oc-panel-presets button{min-height:40px;font-size:12px}
 body[data-orders-only="1"] .oc-order-kinds button{min-height:44px;font-size:13px;color:#596b83}
 body[data-orders-only="1"] .oc-order-kinds button[aria-pressed="true"]{color:#243750}
 body[data-orders-only="1"] .oc-workspace-nav button{min-height:48px}
 .oc-income-toolbar select,.oc-income-toolbar>button,.oc-rewards-toolbar button{min-height:44px}
}
@media(max-width:579px){
 body .ed-order-form,body[data-orders-only="1"] .ed-order-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:6px;margin-bottom:6px;padding:8px;border:1px solid #e0e7f2;border-radius:10px;background:#fff}
 body .ed-order-form>label:has(input[name=orderId]),body[data-orders-only="1"] .ed-order-form>label:has(input[name=orderId]){grid-column:1;grid-row:1;max-width:none;min-width:0;font-size:0;gap:0}
 body .ed-order-form>label input,body[data-orders-only="1"] .ed-order-form>label input{height:44px;min-height:44px;padding:8px;font-size:12px;background:#f8fafd}
 body .ed-order-form>.btn.primary,body[data-orders-only="1"] .ed-order-form>.btn.primary{grid-column:2;grid-row:1;min-height:44px;padding:7px 10px;font-size:12px}
 body .ed-order-form>.ed-order-filter-toggle,body[data-orders-only="1"] .ed-order-form>.ed-order-filter-toggle{display:block;grid-column:3;grid-row:1;min-width:44px;min-height:44px;border:1px solid #dce5f2;border-radius:7px;padding:6px;background:#fff;color:#45607f;font:inherit;font-size:12px;cursor:pointer}
 body .ed-order-form>.ed-order-filter-toggle[aria-expanded="true"]{background:#edf3ff;border-color:#b2c9ef;color:#245bbf}
 body .ed-order-form .ed-order-filter-fields{display:none;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0;border-bottom:1px solid #e8edf4}
 body .ed-order-form.filters-open .ed-order-filter-fields{display:grid}
 body .ed-order-form .ed-order-filter-fields>label,body[data-orders-only="1"] .ed-order-form .ed-order-filter-fields>label{grid-column:auto;min-width:0;font-size:12px;display:grid;gap:5px;color:#596b83}
 body .ed-order-form .ed-order-filter-fields select,body[data-orders-only="1"] .ed-order-form .ed-order-filter-fields select{height:44px;min-height:44px;font-size:12px}
 body .ed-order-form>.btn[data-order-action],body[data-orders-only="1"] .ed-order-form>.btn[data-order-action]{grid-row:3;min-height:36px;padding:6px 4px;font-size:12px;border:0;background:transparent;color:#526d91}
 body .ed-order-form>.btn[data-order-action=reset],body[data-orders-only="1"] .ed-order-form>.btn[data-order-action=reset]{grid-column:1;justify-self:start}
 body .ed-order-form>.btn[data-order-action=refresh],body[data-orders-only="1"] .ed-order-form>.btn[data-order-action=refresh]{grid-column:2/4;justify-self:end}
 body[data-orders-only="1"] .ed-order-scope{margin:4px 2px 6px;font-size:11px;line-height:1.6}
 body[data-orders-only="1"] .ed-order-status{margin:5px 2px 6px;font-size:11px}
 body[data-orders-only="1"] .ed-order-source-details{font-size:11px}
}
