/* WC_PC_DETAIL_WORKSPACE_20260908 — real desktop detail surfaces, not mobile sheets over a desktop board. */
@media (min-width:1024px){
  body.wc-move-ready #modal-overlay.open{z-index:11500!important;align-items:stretch!important;justify-content:center!important;padding:24px!important;background:rgba(3,8,4,.86)!important;backdrop-filter:blur(14px)}
  body.wc-move-ready #modal-overlay.open .modal-sheet{width:min(1480px,calc(100vw - 48px))!important;max-width:none!important;max-height:calc(100dvh - 48px)!important;min-height:min(720px,calc(100dvh - 48px))!important;margin:0!important;display:flex!important;flex-direction:column!important;background:#071008!important;border:1px solid rgba(198,255,0,.26)!important;border-radius:0!important;box-shadow:0 30px 90px rgba(0,0,0,.52)!important}
  body.wc-move-ready #modal-overlay.open .modal-handle{display:none!important}
  body.wc-move-ready #modal-overlay.open .modal-header{min-height:70px!important;padding:0 28px!important;display:flex!important;align-items:center!important;border-bottom:1px solid rgba(198,255,0,.2)!important;background:#0a170c!important;flex-shrink:0!important}
  body.wc-move-ready #modal-overlay.open .modal-title{color:#edf5e9!important;font:900 20px/1.1 var(--wc-font-display,inherit)!important;letter-spacing:-.045em!important}
  body.wc-move-ready #modal-overlay.open .modal-close{width:40px!important;height:40px!important;border:1px solid rgba(198,255,0,.3)!important;border-radius:0!important;background:#102014!important}
  body.wc-move-ready #modal-overlay.open .modal-close svg{stroke:#c6ff00!important}
  body.wc-move-ready #modal-overlay.open .modal-body{flex:1!important;min-height:0!important;max-width:100%!important;padding:30px!important;overflow:auto!important;background:#071008!important;color:#edf5e9!important}
  body.wc-move-ready #modal-overlay.open .modal-body [style*="color:var(--text1)"]{color:#edf5e9!important}
  body.wc-move-ready #modal-overlay.open .modal-body [style*="color:var(--text2)"],body.wc-move-ready #modal-overlay.open .modal-body [style*="color:var(--text3)"]{color:#aebaaa!important}
  body.wc-move-ready #modal-overlay.open .modal-body [style*="background:var(--surface)"]{background:#0d1b0f!important;border-color:rgba(198,255,0,.18)!important}
  body.wc-move-ready #modal-overlay.open .modal-body button{border-radius:0!important}
  body.wc-move-ready #modal-overlay.open .modal-body button[style*="background:var(--primary)"],body.wc-move-ready #modal-overlay.open .modal-body button[style*="background:#F97316"]{background:#c6ff00!important;color:#071008!important}
  body.wc-move-ready #modal-overlay.open .modal-body::-webkit-scrollbar{width:8px}body.wc-move-ready #modal-overlay.open .modal-body::-webkit-scrollbar-thumb{background:#294230}
}

/* WC_PC_ROUTE_DETAIL_WORKSPACE_20260908 */
@media (min-width:1024px){
  body.wc-move-ready #wc-route-market-detail-overlay.wc-route-market-detail-overlay{
    width:100vw !important;
    min-width:100vw !important;
    max-width:none !important;
    background:#071008 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-header{
    width:100% !important;
    min-height:70px !important;
    padding:0 clamp(28px,4vw,68px) !important;
    background:#0a170c !important;
    border-bottom-color:rgba(198,255,0,.2) !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-scroll{
    width:min(1480px,calc(100vw - 96px)) !important;
    margin:0 auto !important;
    padding:32px 0 112px !important;
    overflow-y:auto !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-media{
    height:clamp(340px,38vw,500px) !important;
    border:1px solid rgba(198,255,0,.22) !important;
    border-radius:0 !important;
    background:#0c180e !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content{
    width:min(1080px,100%) !important;
    margin:0 auto !important;
    padding:32px 0 56px !important;
    color:#edf5e9 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content [style*="color:var(--text1)"]{color:#edf5e9 !important;}
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content [style*="color:var(--text2)"],
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content [style*="color:var(--text3)"]{color:#b7c4b2 !important;}
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-metrics{
    gap:1px !important;
    margin:24px 0 28px !important;
    background:rgba(198,255,0,.22) !important;
    border:1px solid rgba(198,255,0,.22) !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-metrics>div{
    min-height:94px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    background:#0c1a0e !important;
    border-radius:0 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-metrics>div>div:first-child{color:#c6ff00 !important;font-size:26px !important;}
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-actions{
    padding:14px max(28px,calc((100vw - 1080px)/2)) !important;
    background:rgba(8,18,10,.96) !important;
    border-top-color:rgba(198,255,0,.25) !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-actions button{
    width:min(1080px,100%) !important;
    margin:0 auto !important;
    min-height:54px !important;
    border-radius:0 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-preview-unavailable{
    display:grid !important;
    place-items:center !important;
    min-height:100% !important;
    padding:20px !important;
    color:#c3d0bf !important;
    background:linear-gradient(135deg,#0c1a0e,#132016) !important;
    font-size:14px !important;
  }
}

/* WC_PC_ROUTE_DETAIL_HEADER_CONTRAST_20260908 */
@media (min-width:1024px){
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-header button{color:#edf5e9 !important;}
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-header button:last-child{color:#c6ff00 !important;}
}

/* WC_MOBILE_ROUTE_DETAIL_REFERENCE_SURFACE_20260908 */
@media (max-width:1023px){
  body.wc-move-ready #wc-route-market-detail-overlay.wc-route-market-detail-overlay{
    background:#071008 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-header{
    min-height:64px !important;
    padding:0 16px !important;
    background:#0d1910 !important;
    border-bottom:1px solid rgba(198,255,0,.18) !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-header button{
    color:#edf5e9 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-header button:last-child{
    color:#c6ff00 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-header [style*="color:var(--text1)"]{
    color:#edf5e9 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-scroll{
    padding-bottom:calc(104px + env(safe-area-inset-bottom)) !important;
    background:#071008 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-media{
    height:min(52svh,400px) !important;
    min-height:270px !important;
    background:#0c180e !important;
    border-bottom:1px solid rgba(198,255,0,.16) !important;
    border-radius:0 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content{
    padding:20px 16px 0 !important;
    background:#071008 !important;
    color:#edf5e9 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content [style*="color:var(--text1)"]{
    color:#edf5e9 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content [style*="color:var(--text2)"],
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-content [style*="color:var(--text3)"]{
    color:#b7c4b2 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-metrics{
    gap:1px !important;
    margin:20px 0 24px !important;
    background:rgba(198,255,0,.2) !important;
    border:1px solid rgba(198,255,0,.2) !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-metrics>div{
    min-height:78px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    background:#0d1b0f !important;
    border-radius:0 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-metrics>div>div:first-child{
    color:#c6ff00 !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-actions{
    padding:12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
    background:rgba(7,16,8,.97) !important;
    border-top:1px solid rgba(198,255,0,.24) !important;
  }
  body.wc-move-ready #wc-route-market-detail-overlay .wc-route-detail-actions button{
    min-height:52px !important;
    border-radius:0 !important;
    background:#f97316 !important;
    color:#071008 !important;
    box-shadow:none !important;
  }
}

/* WC_MOBILE_ROUTE_PREVIEW_TOUCH_20260908 */
@media (max-width:1023px){
  body.wc-move-ready #wc-route-market-detail-overlay [id^="rm-detail-map-"]{
    touch-action:none;
  }
}

