.dashboard-shell.sp-business-ready>:not([data-supplier-performance]){display:none!important}[data-supplier-performance]{grid-column:1/-1;min-width:0}.pd-dashboard{max-width:1120px;margin:0 auto;color:#102a43;font-family:Inter,Arial,sans-serif;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.pd-dashboard *{box-sizing:border-box}.pd-dashboard [hidden]{display:none!important}.pd-dashboard button{font:inherit;cursor:pointer;color:inherit}.pd-dashboard button:focus-visible,.pd-dashboard summary:focus-visible{outline:3px solid #3989ba;outline-offset:3px}.pd-hero{background:#fff;border:1px solid #dce5eb;border-radius:17px;overflow:hidden;box-shadow:0 6px 24px #0c294209}.pd-ship{display:block;width:100%;height:175px;object-fit:cover}.pd-content{padding:20px}.pd-dashboard h1{font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:0 0 18px;font-weight:700;color:#102a43}.pd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pd-dashboard .pd-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;min-width:0;min-height:154px;padding:17px 14px;border:1px solid #dce4eb;border-radius:13px;background:#fff;box-shadow:0 2px 6px #112c4206;transition:background .2s,border-color .2s}.pd-card svg,.pd-overview-card svg,.pd-row summary>svg{width:23px;height:23px;flex-shrink:0;color:#46647b}.pd-card .pd-label{font-size:13px;line-height:1.35}.pd-card strong{font-size:23px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.pd-card strong.pd-unknown{font-size:14px;font-weight:600;color:#75818c}.pd-card small{font-size:11px;color:#7b8b99;margin-top:auto;display:flex;align-items:center;gap:8px}.pd-dashboard .pd-card.is-selected{background:#eef5fa;border-color:#284a65;box-shadow:0 0 0 1px #284a6510}.pd-card.is-selected svg{color:#153e61}.pd-panel{margin-top:16px;border:1px solid #dce6ed;border-radius:13px;background:#fbfdff;overflow:hidden;scroll-margin-top:100px}.pd-dashboard .pd-panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#eef4f8;color:#102a43;padding:10px 12px;position:static;border:0;box-shadow:none;height:auto;min-height:56px}.pd-panel-head h2{font-size:17px;line-height:1.3;margin:0;letter-spacing:-.2px}.pd-panel-head button{background:none;border:0;font-size:25px;min-width:44px;min-height:44px;border-radius:8px;flex-shrink:0}.pd-panel-body{padding:12px}.pd-total{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;padding:4px 0 12px}.pd-total strong{text-align:right;font-size:15px}.pd-note{font-size:13px;line-height:1.55;color:#627586;margin:6px 0 14px}.pd-row{border:1px solid #e0e7ec;border-radius:9px;margin:8px 0;background:#fff}.pd-row>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px;min-height:54px;cursor:pointer}.pd-row>summary::-webkit-details-marker{display:none}.pd-row summary>span{flex:1;min-width:0}.pd-row summary strong{font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.pd-row summary small{display:block;font-size:12px;color:#6c8090;margin-top:4px;line-height:1.4}.pd-row summary i{font-style:normal;color:#9f803e;font-size:19px}.pd-row[open]>summary i{transform:rotate(45deg)}.pd-row-body{padding:0 12px 12px}.pd-item{padding:10px 0;border-bottom:1px solid #e5ebef}.pd-item:last-child{border:0}.pd-item-line{display:flex;justify-content:space-between;gap:10px;font-size:13px;line-height:1.4}.pd-item-line span{min-width:0}.pd-item-line small{display:block;color:#758493;margin-top:4px}.pd-item-line b{white-space:nowrap}.pd-item>.pd-row{border:0;background:transparent;margin:3px 0 0}.pd-item>.pd-row>summary{padding:4px 0;min-height:44px;color:#276482}.pd-item>.pd-row>summary strong{font-size:12px;font-weight:500}.pd-fact{display:flex;justify-content:space-between;gap:12px;margin:8px 0;font-size:12px;line-height:1.45}.pd-fact>span{color:#697c8d}.pd-fact>strong{max-width:64%;text-align:right;font-weight:600;overflow-wrap:anywhere}.pd-transit{border-top:1px solid #dce5ec;margin-top:12px;padding-top:8px}.pd-tabs{display:flex;gap:6px;margin:8px 0 12px;flex-wrap:wrap}.pd-dashboard .pd-tabs button{flex:1;min-width:0;min-height:44px;border:1px solid #d9e3eb;background:white;border-radius:8px;padding:9px 7px;font-size:12px;line-height:1.3}.pd-tabs button[aria-selected=true]{background:#e8f1f8;border-color:#325674;color:#103957;font-weight:600}.pd-tabs span{display:inline-block;padding:1px 5px;margin-left:2px;border-radius:5px;background:#f0f3f6}.pd-dashboard .pd-gold{width:100%;min-height:50px;padding:13px 18px;display:flex;justify-content:space-between;align-items:center;margin-top:16px;border:1px solid #b59961;border-radius:11px;background:linear-gradient(110deg,#b89a57,#a88a49);color:white;font-size:16px;font-weight:650;box-shadow:0 3px 8px #9c7c3320;transition:transform .12s,filter .12s}.pd-gold:active{transform:translateY(1px);filter:brightness(.94)}.pd-overview-title{font-size:21px;line-height:1.3;margin:22px 0 12px;letter-spacing:-.3px}.pd-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pd-dashboard .pd-overview-card{min-width:0;display:flex;gap:12px;align-items:flex-start;text-align:left;padding:15px;border:1px solid #dfe7ec;border-radius:12px;background:#fff;box-shadow:0 2px 5px #102b4205}.pd-overview-card>span{min-width:0}.pd-overview-card strong{font-size:14px;line-height:1.4}.pd-overview-card small{font-size:12px;color:#768491;display:block;margin-top:5px;line-height:1.5;overflow-wrap:anywhere}.pd-overview-card em{font-style:normal;font-size:12px;display:block;color:#28617e;margin-top:9px}.pd-report-link{width:100%;border:0;border-bottom:1px solid #e1e8ef;background:white;display:flex;justify-content:space-between;min-height:48px;padding:12px;font-size:13px}.pd-help{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:18px 4px 0;font-size:12px;color:#728292}.pd-help button{min-height:44px;background:transparent;border:0;color:#235676;font-weight:600;padding:10px 6px}
body:has([data-screen="dashboard"]:not(.hidden) .sp-business-ready) .supplier-ai-only{display:none!important}
@media(max-width:640px){.pd-ship{height:145px}.pd-content{padding:15px}.pd-dashboard h1{font-size:22px;margin-bottom:16px}.pd-grid{gap:10px}.pd-dashboard .pd-card{min-height:146px;padding:14px 12px;gap:8px}.pd-card strong{font-size:21px}.pd-card strong.pd-unknown{font-size:13px}.pd-overview{grid-template-columns:1fr}.pd-panel-body{padding:10px}.pd-panel-head h2{font-size:16px}.pd-overview-title{font-size:20px}.pd-panel{scroll-margin-top:130px}.pd-total{font-size:12px}.pd-total strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.pd-dashboard *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

[data-supplier-performance] .sp-refresh-error{font-size:13px;line-height:1.5;color:#785c27;padding:12px;background:#fff8e9;border-radius:10px}

/* Compact summary tiles: retain the fixed 2 by 2 grid and full tile hit area. */
.pd-dashboard .pd-card{display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;align-items:center;column-gap:7px;row-gap:5px;min-height:96px;padding:11px 12px}
.pd-card svg{width:18px;height:18px}.pd-card .pd-label{font-size:12px;line-height:1.3}.pd-card>strong,.pd-card>small{grid-column:1/-1}.pd-card>strong{font-size:22px;line-height:1.2}.pd-card>small{margin:0;font-size:10px;line-height:1.2}.pd-card strong.pd-unknown{font-size:13px}
@media(max-width:640px){.pd-dashboard .pd-card{min-height:92px;padding:10px;row-gap:5px;column-gap:6px}.pd-card .pd-label{font-size:12px}.pd-card>strong{font-size:21px}.pd-grid{gap:8px}}

@media(max-width:640px){.pd-dashboard .pd-card{grid-template-rows:32px minmax(26px,auto) 12px;min-height:94px;padding:8px 10px;row-gap:3px}.pd-card svg{align-self:center}}

.pd-report-mode>.pd-hero,.pd-report-mode>.pd-overview-title,.pd-report-mode>.pd-overview,.pd-report-mode>.pd-help{display:none!important}.pd-report-mode>.pd-panel{margin-top:0;background:white}.pd-unavailable{padding:4px 0}.pd-unavailable>strong{font-size:14px;font-weight:600;color:#526b7e}.pd-report-intro{font-size:14px}.pd-tabs [role=tab]::before,.pd-tabs [role=tab]::after{content:none!important}

.pd-banner{position:relative;isolation:isolate}.pd-banner .pd-ship{height:175px}.pd-demand{position:absolute;inset:0;padding:18px 20px;background:linear-gradient(95deg,rgba(5,26,45,.95),rgba(5,26,45,.77) 63%,rgba(5,26,45,.15));color:#fff}.pd-demand-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.pd-demand-heading strong{font-size:17px;letter-spacing:.1px;font-weight:600}.pd-demand-heading>span{font-size:11px;color:#e0ca98;white-space:nowrap}.pd-demand-sub{font-size:10px;color:#d2dce5;margin-top:5px}.pd-demand-bars{display:grid;gap:9px;margin-top:12px;max-width:560px}.pd-demand-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(45px,1fr) 44px;align-items:center;gap:9px;font-size:12px}.pd-demand-row>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pd-demand-row b{text-align:right;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:#f5dfaf}.pd-demand-track{height:5px;background:rgba(227,237,246,.18);border-radius:10px;overflow:hidden}.pd-demand-track i{display:block;height:100%;background:linear-gradient(90deg,#b79856,#ebd3a0);border-radius:10px}.pd-demand-empty{display:flex;flex-direction:column;gap:7px;margin-top:24px;max-width:300px}.pd-demand-empty>span{font-size:14px;font-weight:500;color:#f5dfaf}.pd-demand-empty small{font-size:12px;line-height:1.5;color:#dde5eb}@media(max-width:640px){.pd-banner .pd-ship{height:145px}.pd-demand{padding:14px 15px}.pd-demand-heading strong{font-size:16px}.pd-demand-bars{gap:8px;margin-top:10px}.pd-demand-row{font-size:11px;gap:7px}.pd-demand-empty{margin-top:20px}.pd-demand-empty small{font-size:11px}}

.pd-dashboard .pd-tabs button{flex:1 1 125px;padding:10px 8px}.pd-channel-code{display:block;font-size:13px;letter-spacing:.04em}.pd-channel-name{display:block;font-size:11px;line-height:1.4;margin-top:3px;font-weight:500}.pd-channel-scope{display:block;font-size:10px;line-height:1.4;margin-top:2px;color:#627586;font-weight:400}.pd-tabs button[aria-selected=true] .pd-channel-code{color:#123c5a}.pd-tabs button>span{font-size:10px;margin-top:4px}

/* Supplier perspective; keep the existing compact two-column card layout. */
.pd-purpose{margin:0 0 12px;color:#62758a;font-size:12px;line-height:1.4}
.pd-card .pd-label{white-space:normal;overflow-wrap:normal;line-height:1.25}
.pd-container-count{font-size:11px;line-height:1.2;color:#587084}
.pd-card>.pd-container-count{grid-column:1/-1}
@media(max-width:640px){.pd-dashboard .pd-card{grid-template-rows:minmax(45px,auto) minmax(26px,auto) auto}.pd-card .pd-label{font-size:12px}}
