/* ============================================================
   电脑桌面版式（≥1024px 宽屏生效；<1024px 保持手机版不变）
   结构：顶部品牌导航条 + 宽幅内容区；订单列表双列卡片；
        表单页居中；底部弹层改为居中对话框。
   ============================================================ */
#pcNav{display:none}

@media (min-width:1024px){

/* ---------- 外壳 ---------- */
body{background:#E9EDF4}
main{max-width:1240px;padding-bottom:110px;background:transparent}

/* ---------- 顶部品牌导航（仅桌面显示，index.html 静态存在） ---------- */
#pcNav{
  display:flex;align-items:center;gap:10px;height:56px;padding:0 24px;
  position:sticky;top:0;z-index:60;
  max-width:1240px;margin:0 auto 10px;
  background:#fff;border:1px solid #E7EAF1;border-top:none;
  border-radius:0 0 14px 14px;box-shadow:0 2px 10px rgba(20,40,90,.07);
}
#pcNav .pn-brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:800;color:#1A2B6D;margin-right:18px;letter-spacing:.3px}
#pcNav .pn-logo{width:32px;height:32px;border-radius:9px;background:var(--grad-blue);display:grid;place-items:center;box-shadow:var(--shadow-btn)}
#pcNav .pn-logo .ic{width:19px;height:19px;stroke:#fff}
#pcNav button.pn-item{
  height:34px;padding:0 16px;border-radius:8px;font-size:14px;color:#444;letter-spacing:.5px;
}
#pcNav button.pn-item:hover{background:#F0F3FE;color:var(--blue)}
#pcNav button.pn-item.on{background:var(--blue);color:#fff;font-weight:600}
#pcNav .pn-gap{flex:1}
#pcNav .pn-tip{font-size:12px;color:#9AA4B8}

/* 各视图顶栏不再顶到屏幕边，跟随内容区并避开品牌条 */
.ost-top{top:0;border-radius:10px 10px 0 0;border:1px solid #E7EAF1;border-bottom:.5px solid #EEE}
.view{margin-bottom:10px}
.view > .ost-top{position:sticky;top:56px}

/* ---------- 首页订单列表：双列卡片 ---------- */
#ostList{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(470px,1fr));
  gap:12px;padding:12px 2px;align-items:start;
}
.ocard{border-radius:12px;border:1px solid #E7EAF1;margin-bottom:0;box-shadow:0 1px 4px rgba(20,40,90,.04)}
.ocard:hover{border-color:#C4CFEA;box-shadow:0 3px 10px rgba(20,40,90,.09)}
.ost-empty{grid-column:1 / -1;border:1px dashed #C9D2E4;border-radius:12px;padding:40px 20px;background:#fff}

/* 顶部工具条/筛选条撑满内容区 */
.ost-tabs,.ost-updated,.ost-tools{padding-left:16px;padding-right:16px}
.ost-notice{margin:0 2px;border-radius:10px}

/* ---------- 底部操作条：跟随内容区宽度 ---------- */
.ost-foot{
  left:50%;right:auto;transform:translateX(-50%);width:100%;
  max-width:1240px;border-top:1px solid #E7EAF1;
}
.batch-foot{max-width:1240px}

/* ---------- 表单页（新建订单 / 商家寄件）：居中放宽 ---------- */
#view-neworder,#view-send{max-width:800px;margin:0 auto;width:100%}
#view-agent{max-width:960px;margin:0 auto}
#view-admin{max-width:1240px}

/* ---------- 弹层：底部弹层改为居中对话框 ---------- */
.sheet{display:flex;align-items:center;justify-content:center}
.sheet .sheet-mask{position:absolute;inset:0}
.sheet-card{
  position:relative;left:auto;right:auto;bottom:auto;margin:0;
  width:100%;max-width:600px;border-radius:16px;
  box-shadow:0 12px 48px rgba(10,25,70,.25);
}
.idg{max-width:420px}
.mask{padding:40px}
.mask-card{max-width:560px;border-radius:14px}

/* ---------- 登录门禁与引导 ---------- */
.gate-card{max-width:400px}
.gate-sub{font-size:13.5px}

/* ---------- 滚动条（桌面观感） ---------- */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#C3CBDC;border-radius:6px;border:2px solid #E9EDF4}
::-webkit-scrollbar-track{background:transparent}
}
