/* HotelGEX v1.85.00 — Decision-first Dashboard + Journey dashboard.
 * Route-scoped by HGX_Frontend::assets(); also available to legacy Journey wp-admin.
 */
.hgx-market-dashboard{display:grid;gap:18px;max-width:1480px}
.hgx-md-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:4px 0 2px}
.hgx-md-head h1{margin:4px 0 5px;font-size:clamp(27px,3vw,38px);letter-spacing:-.035em}
.hgx-md-head p,.hgx-md-section-head p{margin:0;color:var(--hgx-text-muted,#66736e)}
.hgx-md-head-actions{display:flex;gap:8px}
.hgx-md-now{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e2e8e5;border-radius:18px;background:#fff;overflow:hidden}
.hgx-md-now>a{padding:18px 20px;text-decoration:none;color:inherit;border-right:1px solid #edf0ee}
.hgx-md-now>a:last-child{border-right:0}
.hgx-md-now span,.hgx-md-pulse span{display:block;font-size:12px;font-weight:750;color:#66736e}
.hgx-md-now strong{display:block;margin:4px 0;font-size:31px;line-height:1;color:#18372e}
.hgx-md-now small{color:#78857f}
.hgx-md-now .needs-attention{background:#fff9f2}
.hgx-md-now .needs-attention strong{color:#a64d18}
.hgx-md-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:18px}
.hgx-md-layout-lower{grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr)}
.hgx-market-dashboard .hgx-panel{margin:0;padding:22px;border-radius:18px}
.hgx-md-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}
.hgx-md-section-head h2{margin:2px 0 4px;font-size:20px}
.hgx-md-section-head>a{font-weight:750;text-decoration:none}
.hgx-md-actions{display:grid;gap:8px}
.hgx-md-actions>a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:12px;padding:12px;border:1px solid #e8ecea;border-radius:12px;color:inherit;text-decoration:none}
.hgx-md-actions>a>b{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f3f6f4}
.hgx-md-actions>a div strong,.hgx-md-actions>a div small{display:block}
.hgx-md-actions>a div small{margin-top:2px;color:#6b7772;font-size:11px;line-height:1.35}
.hgx-md-actions>a>span{font-size:11px;font-weight:800;white-space:nowrap}
.hgx-md-actions>a.is-critical{border-color:#edc7c7;background:#fffafa}
.hgx-md-actions>a.is-high{border-color:#eadcc8}
.hgx-md-clear{display:flex;gap:12px;align-items:center;padding:18px;border-radius:13px;background:#f5f8f6}
.hgx-md-clear>span{font-size:22px}
.hgx-md-clear p{margin:2px 0 0;color:#6b7772}
.hgx-md-pulse{display:grid;align-content:start}
.hgx-md-pulse>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #edf0ee;color:inherit;text-decoration:none}
.hgx-md-pulse>a strong{font-size:22px}
.hgx-md-arrival-list{display:grid}
.hgx-md-arrival-list>a{display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:12px;padding:11px 4px;border-top:1px solid #edf0ee;text-decoration:none;color:inherit}
.hgx-md-arrival-list time{font-weight:800}
.hgx-md-arrival-list strong,.hgx-md-arrival-list small{display:block}
.hgx-md-arrival-list small{color:#6b7772}
.hgx-md-arrival-list>a>span{font-size:11px;color:#617069}
.hgx-md-system dl{display:grid;gap:0;margin:0 0 14px}
.hgx-md-system dl>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-top:1px solid #edf0ee}
.hgx-md-system dt{color:#6b7772}
.hgx-md-system dd{margin:0;text-align:right;font-weight:750}
.hgx-md-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hgx-md-shortcuts>a{padding:15px 16px;border:1px solid #e3e9e6;border-radius:14px;background:#fff;text-decoration:none;color:inherit}
.hgx-md-shortcuts span,.hgx-md-shortcuts small{display:block}
.hgx-md-shortcuts span{font-weight:800}
.hgx-md-shortcuts small{margin-top:3px;color:#6b7772;font-size:11px}
.hgx-md-empty{padding:18px;background:#f7f9f8;border-radius:12px;color:#6b7772}

.agj-dashboard-market{max-width:1400px}
.agj-market-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;color:#6e8b3d;margin-bottom:5px}
.agj-market-workflow{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e5e9e6;border-radius:16px;overflow:hidden;background:#fff;margin:15px 0}
.agj-market-workflow a{padding:16px 18px;border-right:1px solid #edf0ee;text-decoration:none;color:inherit}
.agj-market-workflow a:last-child{border-right:0}
.agj-market-workflow span,.agj-market-workflow small{display:block}
.agj-market-workflow span{font-size:12px;color:#68756f;font-weight:700}
.agj-market-workflow strong{display:block;font-size:27px;line-height:1.1;margin:4px 0;color:#173c35}
.agj-market-workflow small{color:#82908a}
.agj-market-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.75fr);gap:16px;margin:16px 0}
.agj-market-layout .agj-panel{margin:0}
.agj-market-actions{display:grid;gap:8px}
.agj-market-actions>a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e8ecea;border-radius:11px;color:inherit;text-decoration:none}
.agj-market-actions>a>b{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#f2f6f3}
.agj-market-actions strong,.agj-market-actions small{display:block}
.agj-market-actions small{margin-top:2px;color:#6e7b75}
.agj-market-actions>a>span{font-size:11px;font-weight:800}
.agj-market-actions .is-critical{background:#fffafa;border-color:#ebc7c7}
.agj-market-actions .is-high{border-color:#eadbc6}
.agj-market-clear{display:flex;gap:10px;padding:16px;background:#f5f8f6;border-radius:12px}
.agj-market-clear span strong,.agj-market-clear span small{display:block}
.agj-market-funnel-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:8px 0;border-top:1px solid #edf0ee}
.agj-market-funnel-row i{grid-column:1/-1;height:4px;background:#edf1ef;border-radius:4px;overflow:hidden}
.agj-market-funnel-row em{display:block;height:100%;background:#436c5e}
.agj-market-value{margin-top:12px;padding:13px;border-radius:11px;background:#f5f8f6}
.agj-market-value span,.agj-market-value small{display:block}
.agj-market-value strong{display:block;font-size:22px}
.agj-market-arrivals{display:grid}
.agj-market-arrivals>a{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:12px;padding:10px 3px;border-top:1px solid #edf0ee;text-decoration:none;color:inherit}
.agj-market-arrivals strong,.agj-market-arrivals small{display:block}
.agj-market-arrivals small{color:#6f7b76}
.agj-market-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.agj-market-shortcuts>a{padding:14px;border:1px solid #e5e9e6;border-radius:12px;background:#fff;color:inherit;text-decoration:none}
.agj-market-shortcuts strong,.agj-market-shortcuts span,.agj-market-shortcuts small{display:block}
.agj-market-shortcuts strong{font-size:24px;color:#173c35}
.agj-market-shortcuts span{font-weight:750}
.agj-market-shortcuts small{margin-top:2px;color:#718079}

@media(max-width:980px){
  .hgx-md-layout,.hgx-md-layout-lower,.agj-market-layout{grid-template-columns:1fr}
  .hgx-md-now,.hgx-md-shortcuts,.agj-market-workflow,.agj-market-shortcuts{grid-template-columns:repeat(2,1fr)}
  .hgx-md-now>a:nth-child(2){border-right:0}
  .hgx-md-now>a{border-bottom:1px solid #edf0ee}
}
@media(max-width:620px){
  .hgx-md-head{align-items:flex-start;flex-direction:column}
  .hgx-md-now,.hgx-md-shortcuts,.agj-market-workflow,.agj-market-shortcuts{grid-template-columns:1fr}
  .hgx-md-now>a{border-right:0}
  .hgx-md-actions>a,.agj-market-actions>a{grid-template-columns:36px 1fr}
  .hgx-md-actions>a>span,.agj-market-actions>a>span{grid-column:2}
  .hgx-md-arrival-list>a,.agj-market-arrivals>a{grid-template-columns:52px 1fr}
  .hgx-md-arrival-list>a>span,.agj-market-arrivals>a>span{grid-column:2}
  .hgx-market-dashboard .hgx-panel{padding:17px}
}
