/* 电脑端工作台框架。手机端继续使用原有报价页面，不显示导航壳。 */
.desktop-sidebar,.desktop-location,.desktop-tabbar { display:none; }
#mobileCompanyNavBtn,#mobileNavClose,#mobileNavBackdrop { display:none; }
.desktop-sidebar [hidden],#mobileNavBackdrop[hidden] { display:none !important; }
@media (max-width:760px) {
    #mobileCompanyNavBtn { display:inline-flex; min-height:44px; align-items:center; }
    #appPage.mobile-company-nav-open .desktop-sidebar { display:flex; flex-direction:column; position:fixed; inset:0 auto 0 0; width:220px; max-width:85vw; background:#102538; color:#c4d0dc; z-index:1201; overflow-y:auto; }
    #mobileNavBackdrop:not([hidden]) { display:block; position:fixed; inset:0; width:100%; height:100%; border:0; background:rgba(0,0,0,.35); z-index:1200; }
    #mobileNavClose { display:block; min-height:44px; padding:12px; border:0; background:#1b354a; color:white; text-align:right; }
    .desktop-sidebar .desktop-brand { padding:18px; color:white; }
    .desktop-sidebar .desktop-brand small { display:block; }
    .desktop-sidebar nav button { display:block; width:100%; min-height:44px; padding:14px 24px; border:0; background:transparent; color:inherit; text-align:left; font:inherit; }
    .desktop-sidebar nav button[aria-current=page] { background:#2254c7; color:white; }
    .desktop-sidebar nav button:focus-visible { outline:2px solid #8dcbff; outline-offset:-2px; }
    .desktop-sidebar-footer { padding:20px; margin-top:auto; font-size:11px; }
}
#productPriceSummaryModal { height:100%; min-height:0; overflow-y:auto; padding:0 2px 24px; }
#purchaseApplicationsView { height:100%; min-height:0; overflow-y:auto; padding:0 2px 24px; }
#goodsReconciliationView { height:100%; min-height:0; overflow-y:auto; padding:0 2px 24px; }
#goodsReceiptsView { height:100%; min-height:0; overflow-y:auto; padding:0 2px 24px; }
.dispatch-sheet { background:#fff; border:1px solid #cbd5e1; padding:24px; margin:20px 0; }
.dispatch-sheet h2 { text-align:center; font-family:serif; margin:0 0 14px; }
.dispatch-sheet table { min-width:1250px; margin:20px 0; }
.dispatch-sheet input { min-width:90px; width:100%; padding:8px; border:1px solid #cbd5e1; }
#goodsReceiptsView .dispatch-sheet > label { display:flex; align-items:center; justify-content:flex-start; gap:8px; width:max-content; max-width:100%; }
#goodsReceiptsView #dispatchNoticeDate { flex:0 0 170px; width:170px; min-width:0; max-width:170px; box-sizing:border-box; }
#goodsReceiptsView #dispatchNoticeDate { position:relative; padding-left:34px; padding-right:8px; }
#goodsReceiptsView #dispatchNoticeDate::-webkit-calendar-picker-indicator { position:absolute; left:8px; right:auto; margin:0; cursor:pointer; }
.dispatch-signatures { display:flex; flex-wrap:wrap; gap:24px; margin-top:30px; }
.goods-reconciliation-table { min-width:1850px; }
.goods-reconciliation-table th,.goods-reconciliation-table td { white-space:nowrap; word-break:normal; overflow-wrap:normal; }
.goods-reconciliation-table .goods-product-cell { white-space:normal; overflow-wrap:anywhere; min-width:200px; width:240px; line-height:1.5; }
#goodsReconciliationView .goods-reconciliation-table th,
#goodsReconciliationView .goods-reconciliation-table td { white-space:nowrap; word-break:normal; overflow-wrap:normal; }
#goodsReconciliationView .goods-reconciliation-table .goods-date-cell { min-width:110px; white-space:nowrap; }
#goodsReconciliationView .goods-reconciliation-table .goods-customer-cell { min-width:180px; white-space:nowrap; }
#goodsReconciliationView .goods-reconciliation-table .goods-product-cell { white-space:normal; overflow-wrap:anywhere; }
.goods-reconciliation-table .goods-customer-cell { white-space:nowrap; min-width:180px; width:180px; overflow-wrap:normal; word-break:normal; }
.goods-reconciliation-table input { width:100%; min-width:85px; padding:7px; border:1px solid #dce3ec; }
.goods-reconciliation-table th { background:#f2bdc4; }
.goods-reconciliation-table th.goods-accounting-heading { background:#fff176; }
.purchase-request-paper { margin:18px 0; padding:24px; border:1px solid #cbd5e1; background:white; }
.purchase-request-paper h2 { text-align:center; margin:0 0 24px; font-family:serif; }
.purchase-request-header { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 24px; margin-bottom:20px; }
.purchase-request-header label { display:flex; align-items:center; gap:10px; font-size:13px; }
.purchase-request-header input { min-width:0; flex:1; border:0; border-bottom:1px solid #94a3b8; padding:8px; }
.purchase-request-table { min-width:1100px; }
.purchase-request-table input { width:100%; min-width:65px; border:1px solid #dce3ec; padding:8px; }
.purchase-request-paper textarea { display:block; width:100%; min-height:65px; margin-top:10px; }
.purchase-request-table .purchase-name-input { width:100%; min-width:150px; min-height:36px; margin:0; padding:8px; border:1px solid #dce3ec; font:inherit; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; resize:none; overflow:hidden; box-sizing:border-box; }
.purchase-request-totals { border:1px solid #94a3b8; padding:18px; margin-top:16px; }
@media(max-width:760px) { .purchase-request-header { grid-template-columns:1fr; } .purchase-request-paper { padding:12px; } }
@media print { .purchase-internal { display:none !important; } }
.product-price-summary-page { min-height:100%; border-radius:4px; box-shadow:none; }
.product-price-summary-page .modal-body { padding:20px; max-height:none; overflow:visible; }
@media (min-width:761px) {
    #appPage { --sidebar-width:220px; padding-left:var(--sidebar-width); }
    #appPage.desktop-sidebar-collapsed { --sidebar-width:0px; }
    .desktop-sidebar { display:flex; flex-direction:column; position:fixed; inset:0 auto 0 0; width:220px; background:#102538; color:#c4d0dc; z-index:110; border-right:1px solid #0b1e2d; }
    .desktop-sidebar-collapsed .desktop-sidebar { display:none; }
    .desktop-brand { height:64px; display:flex; align-items:center; gap:12px; padding:0 20px; border-bottom:1px solid #253a4c; }
    .desktop-brand>span { color:white; font:700 29px Georgia,serif; border:1px solid #577185; padding:2px 7px; }
    .desktop-brand strong { color:white; font-size:17px; }
    .desktop-brand small { display:block; font-size:9px; color:#8ca4b8; margin-top:4px; font-weight:400; letter-spacing:.7px; }
    .desktop-sidebar nav { flex:1; overflow-y:auto; padding:16px 0; }
    .desktop-nav-group { padding:18px 22px 8px; color:#8399ad; font-size:11px; letter-spacing:1px; }
    .desktop-sidebar nav button { display:block; width:100%; border:0; text-align:left; padding:14px 24px; font:inherit; font-size:14px; color:#c4d0dc; background:transparent; cursor:pointer; border-left:3px solid transparent; }
    .desktop-sidebar nav button:hover { background:#1b354a; color:white; }
    .desktop-sidebar nav button[aria-current=page] { background:#268bea; color:white; border-left-color:#8dcbff; }
    .desktop-sidebar nav button:focus-visible,.desktop-tabbar button:focus-visible { outline:2px solid #80bfff; outline-offset:-3px; }
    .desktop-sidebar [hidden] { display:none !important; }
    .desktop-sidebar-footer { padding:20px; font-size:11px; color:#8399ad; border-top:1px solid #253a4c; }
    #appPage>.header { flex-shrink:0; height:64px; padding:0 20px; }
    #appPage>.header>.brand-lockup { display:none; }
    .desktop-location { display:flex; align-items:center; gap:18px; font-size:13px; color:#8996a8; }
    .desktop-location strong { color:#334155; font-weight:500; }
    #desktopCollapse { background:none; border:0; color:#334155; font-size:20px; cursor:pointer; padding:8px; }
    .desktop-tabbar { display:flex; align-items:center; gap:5px; flex-shrink:0; min-height:43px; padding:5px 20px; border-bottom:1px solid #dce3ec; background:white; overflow-x:auto; }
    .desktop-tabbar button { white-space:nowrap; border:1px solid #dce3ec; border-radius:3px; padding:6px 15px; background:white; color:#64748b; cursor:pointer; font:inherit; font-size:12px; }
    .desktop-tabbar button[aria-current=page] { background:#268bea; border-color:#268bea; color:white; }
    #appPage>.container { margin:0; padding:20px; background:#f1f4f8; }
    #appPage .quote-list-card { border-radius:4px; box-shadow:none; }
    #appPage>.header #documentLibraryBtn,#appPage>.header #userManageBtn { display:none !important; }
}
