/* YardShippers customer workspace */
body.customer-dashboard{--teal:#087b69;--line:#e3ebe8;background:#f4f7f6;color:#142e2a;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.5}
.customer-dashboard *{box-sizing:border-box}.customer-dashboard button,.customer-dashboard a{touch-action:manipulation}.customer-dashboard button{transition:background .18s ease,box-shadow .18s ease;cursor:pointer}.customer-dashboard button:active{transform:translateY(1px)}
.customer-dashboard .sidebar{width:238px;padding:28px 20px;background:#102c29;border:0}.customer-dashboard .brand{font-size:24px;letter-spacing:-1px}.customer-dashboard .sidebar nav{margin-top:38px;display:grid;gap:6px}.customer-dashboard .sidebar nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:12px;font-size:13px;min-height:46px;margin:0;color:#b9ceca;background:transparent;white-space:normal}.customer-dashboard .sidebar nav button[aria-current=page]{background:#244d45;color:#d8f4b0}.customer-dashboard .sidebar nav button:hover{background:#20483f}.customer-dashboard svg{width:21px;height:21px;flex:none}.customer-dashboard .sidebar-bottom{font-size:12px;line-height:1.5;border-top:1px solid #ffffff20}.customer-dashboard .sidebar-bottom a,.customer-dashboard .sidebar-bottom button{min-height:44px;padding:10px 0;font-size:12px;text-align:left;color:#c0d5ce}
.customer-dashboard .portal-main{margin-left:238px;padding:24px 36px 48px;max-width:1560px}.customer-dashboard .portal-top{display:flex;align-items:center;gap:12px;padding:0 0 18px;margin:0 0 24px;border-bottom:1px solid #dfe9e3;min-height:48px}.customer-dashboard .portal-top>span:first-child{font-size:11px;letter-spacing:1.3px;color:#61766e}.customer-dashboard .user-chip{margin-left:auto;padding:7px 12px;border:1px solid #e1e9e5;border-radius:30px;background:white;font-size:12px;max-width:190px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.customer-dashboard h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:8px 0 10px}.customer-dashboard h2{font-size:19px;line-height:1.3;letter-spacing:-.4px;margin:0 0 10px}.customer-dashboard h3{font-size:16px;line-height:1.4;letter-spacing:-.2px}.customer-dashboard p{font-size:13px;line-height:1.6;color:#60736c;margin:8px 0 14px}.customer-dashboard .eyebrow{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#568071}.customer-dashboard .section-top{align-items:center;margin-bottom:8px;gap:16px}.customer-dashboard .section-top p{margin-bottom:0}.customer-dashboard .secondary,.customer-dashboard .primary{border-radius:11px;padding:11px 15px;font-size:13px;min-height:44px}.customer-dashboard .primary{background:#087b69;color:#fff;border:1px solid #087b69}.customer-dashboard .secondary{background:white;border:1px solid #d9e5df;color:#274c40}.customer-dashboard .table-button{font-size:12px;font-weight:650;min-height:44px;color:#087762}.customer-dashboard .small-copy{font-size:11px;line-height:1.6}.customer-dashboard #customer-sync-status{font-size:10px;margin:8px 0 18px;color:#7c8e85}.customer-dashboard #customer-balance-note{margin:8px 0 0;font-size:10px}
.customer-dashboard .panel{background:#fff;border:1px solid #e3ebe7;border-radius:18px;padding:22px;box-shadow:0 3px 10px #233e2e03;margin-bottom:18px}.customer-dashboard .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.customer-dashboard .panel-heading h2{margin:0}.customer-dashboard .stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.customer-dashboard .stat{border:1px solid #e1eae5;border-radius:16px;padding:18px;background:white;display:flex;flex-direction:column;gap:12px;min-height:118px;box-shadow:none}.customer-dashboard .stat span{font-size:11px;color:#698077}.customer-dashboard .stat strong{font-size:28px;font-weight:750;letter-spacing:-1px;line-height:1.15;color:#173f33}.customer-dashboard .stat:last-child{background:#163d32;border-color:#163d32}.customer-dashboard .stat:last-child span{color:#bdd1c4}.customer-dashboard .stat:last-child strong{color:#dcf4ba;font-size:23px}
.customer-dashboard .customer-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.customer-dashboard .customer-shortcuts button{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;padding:14px 10px;box-shadow:none}.customer-dashboard .customer-shortcuts svg{color:#3b8168;width:19px;height:19px}.customer-dashboard #customer-actions{display:grid;gap:10px;margin:0 0 18px}.customer-dashboard #customer-actions>.panel{margin:0;padding:14px 16px;border-radius:13px}.customer-dashboard #customer-next-actions{background:#eaf3ec;border:1px solid #d6e7d9;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.customer-dashboard #customer-next-actions p{font-size:12px;margin:0;flex:1 1 180px;color:#345a41}.customer-dashboard #customer-next-actions button{font-size:11px;padding:8px 12px;min-height:40px;margin:0}.customer-dashboard #invoice-requests{background:#fff9ed;border-color:#eee1c5}.customer-dashboard #invoice-requests summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-size:13px;font-weight:650;min-height:40px;color:#6e5325}.customer-dashboard #invoice-requests summary:after{content:'＋';font-size:20px}.customer-dashboard #invoice-requests[open] summary:after{content:'−'}.customer-dashboard #invoice-requests p{font-size:12px;margin:8px 0;color:#826b45}.customer-dashboard .ys-invoice-action{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ebdfca;padding:9px 0}.customer-dashboard .ys-invoice-action span{font-size:11px;font-weight:600;overflow-wrap:anywhere;min-width:0}.customer-dashboard .ys-invoice-action button{flex:none;font-size:11px;min-height:40px;padding:8px 12px}
.customer-dashboard .ys-setup{margin:12px 0 18px;padding:10px 14px;border:1px solid #dbe8de;background:#edf5ef;border-radius:12px}.customer-dashboard .ys-setup summary{font-size:12px;font-weight:600;min-height:28px;line-height:28px;color:#396647}.customer-dashboard .ys-setup li{font-size:12px}.customer-dashboard .ys-setup li span{font-size:11px}.customer-dashboard .ys-setup[data-complete=true]{background:transparent;border:0;border-bottom:1px solid #dfe9e3;border-radius:0;padding:2px 0 8px;margin:0 0 18px}.customer-dashboard #recent-packages .customer-package{box-shadow:none;border-radius:14px;padding:16px;margin:14px 0 0}.customer-dashboard .two-column{gap:18px}.customer-dashboard input,.customer-dashboard select,.customer-dashboard textarea{border-radius:10px;border:1px solid #dce6df;background:#fbfcfb;padding:12px;min-height:46px}.customer-dashboard label{font-size:12px;font-weight:600;color:#375346}.customer-dashboard form small{font-size:11px;line-height:1.5;color:#6d7d73}.customer-dashboard .notice{font-size:12px;border-radius:12px;padding:12px 16px}.customer-dashboard dialog{border:1px solid #e0e9e2;border-radius:20px;box-shadow:0 24px 80px #0c302744}.customer-dashboard dialog::backdrop{background:#0a251c75;backdrop-filter:blur(3px)}.customer-dashboard .package-bill{border-radius:14px}.customer-dashboard [data-view]{animation:ys-enter .2s ease-out}@keyframes ys-enter{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.ys-mobile-header,.ys-mobile-dock,#customer-menu-close,#customer-menu-shade{display:none}
@media(max-width:900px){
 body.customer-dashboard{padding-top:64px;padding-bottom:calc(82px + env(safe-area-inset-bottom));display:block!important}.customer-dashboard .ys-mobile-header{position:fixed;inset:0 0 auto;height:64px;z-index:80;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#f8fbf8f5;backdrop-filter:blur(18px);border-bottom:1px solid #e1e9e3}.customer-dashboard .ys-mobile-header .brand{color:#153f32;font-size:23px}.customer-dashboard .ys-mobile-header .brand span{color:#18846e}.customer-dashboard #customer-menu-toggle{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d8e4dc;border-radius:13px;background:#fff;color:#265740;font-size:21px;padding:0}.customer-dashboard .sidebar{position:fixed!important;top:0!important;left:0!important;bottom:0;width:min(320px,88vw)!important;height:100dvh!important;max-height:100dvh;padding:24px!important;overflow-y:auto;z-index:150;transform:translateX(-105%);visibility:hidden;transition:transform .22s ease,visibility .22s;background:#102c29}.customer-dashboard.ys-menu-open{overflow:hidden}.customer-dashboard.ys-menu-open .sidebar{transform:translateX(0);visibility:visible}.customer-dashboard .sidebar nav{display:flex!important;flex-direction:column!important;gap:7px!important;margin-top:24px;overflow:visible!important}.customer-dashboard .sidebar nav button{display:flex!important;align-items:center;justify-content:flex-start;gap:12px;text-align:left!important;padding:13px 12px!important;font-size:14px!important;width:100%;min-height:48px}.customer-dashboard .sidebar-bottom{display:flex;flex-direction:column;gap:2px;position:static;margin-top:24px;padding-top:12px}.customer-dashboard #customer-menu-close{display:block;margin:0 0 20px auto;border:1px solid #ffffff30;border-radius:10px;background:#ffffff10;color:#e2efde;padding:7px 12px;min-height:40px;font-size:12px}.customer-dashboard.ys-menu-open #customer-menu-shade{display:block;position:fixed;inset:0;background:#08271d80;backdrop-filter:blur(4px);z-index:140;border:0;width:100%;height:100%;border-radius:0}
 body.customer-dashboard .portal-main{margin:0;padding:16px!important;max-width:760px;margin-inline:auto}.customer-dashboard .portal-top{padding:0 0 12px;margin:0 0 18px;min-height:36px;flex-wrap:nowrap!important;gap:10px}.customer-dashboard .portal-top>span:first-child{font-size:9px;letter-spacing:1px;white-space:nowrap}.customer-dashboard .user-chip{font-size:10px;max-width:130px;padding:6px 10px}.customer-dashboard .portal-top button{width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important}.customer-dashboard h1{font-size:27px;letter-spacing:-.9px}.customer-dashboard h2{font-size:18px}.customer-dashboard h3{font-size:15px}.customer-dashboard .section-top{display:flex;align-items:flex-start;flex-wrap:nowrap!important;gap:8px}.customer-dashboard .section-top>div{min-width:0;flex:1}.customer-dashboard #refresh{font-size:11px;padding:9px 11px;min-height:38px;flex:none;margin-top:10px}.customer-dashboard .section-top p{font-size:12px;line-height:1.5}.customer-dashboard .eyebrow{font-size:9px}.customer-dashboard .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-dashboard .stat{padding:15px;min-height:100px;gap:12px;border-radius:15px}.customer-dashboard .stat strong{font-size:26px}.customer-dashboard .stat:last-child strong{font-size:21px}.customer-dashboard .stat span{font-size:10px}.customer-dashboard .panel{padding:16px!important;border-radius:16px;margin-bottom:14px}.customer-dashboard .customer-shortcuts{gap:8px;margin:16px 0}.customer-dashboard .customer-shortcuts button{flex-direction:column;gap:7px;min-height:74px;font-size:10px;line-height:1.3;padding:10px 5px;border-radius:13px}.customer-dashboard .customer-shortcuts svg{width:21px;height:21px}.customer-dashboard #customer-actions>.panel{padding:10px 13px!important}.customer-dashboard #customer-actions{margin-bottom:16px}.customer-dashboard #recent-packages .customer-package{padding:12px;margin-top:12px}.customer-dashboard #recent-packages .package-card-top h3{font-size:15px}.customer-dashboard .ys-tracking-status strong{font-size:16px}.customer-dashboard .customer-package .package-due{font-size:12px}.customer-dashboard .ys-mobile-dock{position:fixed;bottom:0;left:0;right:0;z-index:90;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fcfefbf5;backdrop-filter:blur(18px);border-top:1px solid #dfe8df;box-shadow:0 -6px 24px #143b2507;gap:5px}.customer-dashboard .ys-mobile-dock button{border:0;background:transparent;color:#728178;padding:7px 3px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;line-height:1.3;min-height:50px;border-radius:12px}.customer-dashboard .ys-mobile-dock button[aria-current=page]{background:#e7f1e2;color:#245e40;font-weight:700}.customer-dashboard .ys-mobile-dock svg{width:21px;height:21px}.customer-dashboard .ys-ai-launch{bottom:calc(86px + env(safe-area-inset-bottom))!important;right:14px!important;width:44px!important;height:44px!important;min-height:44px!important;box-shadow:0 5px 18px #143b2530}.customer-dashboard .ys-ai-dialog{bottom:calc(86px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 170px)!important}.customer-dashboard .ys-setup summary{min-height:28px;font-size:11px}.customer-dashboard #invoice-requests summary{min-height:38px;font-size:12px}.customer-dashboard .toolbar{gap:10px;margin-bottom:12px}.customer-dashboard #demo-banner{font-size:10px;padding:10px 12px}.customer-dashboard .two-column{gap:0}.customer-dashboard .shipping-progress{margin:14px 0}.customer-dashboard .address-field{padding:12px 0}
}
@media(min-width:1100px){.customer-dashboard #recent-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.customer-dashboard #recent-packages .customer-package{margin-top:10px}.customer-dashboard #customer-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-dashboard #customer-actions:has(>[hidden]){grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.customer-dashboard [data-view]{animation:none}.customer-dashboard .sidebar,.customer-dashboard button{transition:none}}
@media print{.ys-mobile-header,.ys-mobile-dock,#customer-menu-shade{display:none!important}body.customer-dashboard{padding:0}.customer-dashboard .portal-main{margin:0}}
@media(min-width:901px){body.customer-dashboard{display:block}.customer-dashboard .portal-main{width:calc(100% - 238px);min-width:0}.customer-dashboard .sidebar{position:fixed;left:0;top:0;height:100vh}}
