/* Customer workspace: document flow, scoped independently from legacy overlays. */
#customer-screen{overflow:auto;background:#f4f6f7;color:#233b43}
.cx-shell{max-width:1600px;margin:auto;padding:28px 32px 40px}
.cx-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.cx-header h1{font-size:28px;letter-spacing:-.6px;margin:6px 0 8px}.cx-header p{font-size:14px;margin:0;color:#60717a}
.cx-layout{display:grid;grid-template-columns:280px minmax(320px,1fr) 290px;gap:24px;align-items:start}
.cx-portfolio{min-width:0}.cx-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cx-section-heading h2{font-size:16px;margin:0}.cx-section-heading>span#portfolioCount{font-size:13px;background:#e3e9ec;border-radius:4px;padding:4px 8px}
#customer-screen .eyebrow{font-size:10px;letter-spacing:1px;color:#60717a}
#customer-screen .search-field{background:white;border-color:#cbd5da;border-radius:5px;padding:10px;margin:16px 0}
#customer-screen .search-field input{font-size:14px;color:#233b43}
#customer-screen .portfolio-items{max-height:600px;overflow:auto}
#customer-screen .shipment-card{display:block;width:100%;text-align:left;background:white;border:1px solid #dce3e7;border-radius:5px;padding:15px;margin-bottom:8px;color:#233b43;transform:none}
#customer-screen .shipment-card.active{border-color:#246f68;background:#eef5f3;box-shadow:inset 3px 0 #246f68}
#customer-screen .shipment-card:hover{background:#f0f4f5}#customer-screen .shipment-card b{font-size:14px;color:#233b43}
#customer-screen .shipment-card p{font-size:13px;margin:8px 0;line-height:1.5}#customer-screen .shipment-card small{font-size:12px;color:#586b74}
#customer-screen button:focus-visible,#customer-screen input:focus-visible{outline:3px solid #328bba;outline-offset:3px}
.cx-detail{display:grid;gap:20px;min-width:0}.cx-card{background:white;border:1px solid #dce3e7;border-radius:6px;padding:24px;overflow-wrap:anywhere}
.cx-card>h2{font-size:20px;margin:20px 0 12px}.cx-route{font-size:30px;font-weight:650;letter-spacing:.5px}.cx-card p{font-size:14px;line-height:1.65;color:#536872}.cx-update{border-top:1px solid #e3e8eb;margin-top:22px;padding-top:20px}.cx-update h3{font-size:17px;margin:10px 0 6px}
#customer-screen .customer-warning{border-radius:4px;font-size:13px;line-height:1.6;background:#f6f3eb;color:#705b30;margin-top:16px}
#customer-screen .status-chip{font-size:11px;white-space:normal;text-align:right;max-width:55%;background:#edf2f3;color:#3b5960;border-radius:4px;padding:6px 8px}
#customer-screen .steps{gap:18px;margin-top:24px}#customer-screen .stepnode{font-size:14px;padding-left:28px}#customer-screen .stepnode small{font-size:12px;color:#60717a;line-height:1.5;margin-top:5px}
.cx-link{border:0;background:none;padding:6px 0;color:#246f68;font-size:13px;cursor:pointer}.cx-link:disabled{opacity:.45;cursor:default}
.cx-map{height:260px;position:relative;overflow:hidden;border:1px solid #dce3e7;border-radius:6px;background:#eaf1f2}.cx-map canvas{width:100%;height:100%;display:block}.cx-map-caption{position:absolute;bottom:12px;left:14px;pointer-events:none;background:#ffffffeb;padding:9px 12px;border-radius:4px}.cx-map-caption b{display:block;font-size:16px;margin-top:5px}
.cx-note{font-size:12px!important;line-height:1.6;color:#657780;margin:12px 0}.cx-explainer{border-top:1px solid #d6dfe3;padding-top:22px;margin-top:24px}.cx-explainer h3{font-size:16px;margin:10px 0}.cx-explainer p{font-size:13px;line-height:1.7;color:#60717a}.cx-demo{font-size:12px;color:#526d70}
@media(min-width:1500px){#customer-screen .portfolio-items{max-height:70vh}}
@media(max-width:1150px){.cx-layout{grid-template-columns:250px minmax(0,1fr)}.cx-context{grid-column:2;display:none}.cx-shell{padding:24px}}
@media(max-width:650px){.cx-shell{padding:20px 16px}.cx-header{align-items:start}.cx-header h1{font-size:24px}.cx-header p{font-size:13px}.cx-header .btn{white-space:nowrap;font-size:12px;padding:10px}.cx-layout{grid-template-columns:minmax(0,1fr);gap:20px}#customer-screen .portfolio-items{max-height:230px}.cx-card{padding:20px}.cx-note{margin-bottom:0}}
