.ax-wrap,.ax-portal{font-family:Inter,Arial,sans-serif;color:#243047}.ax-head,.axp-head{background:#fff;border:1px solid #dbe4ef;border-radius:16px;padding:18px 20px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:15px;box-shadow:0 10px 25px rgba(15,23,42,.06)}.ax-eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:#0284c7}.ax-head h1,.axp-head h2{margin:3px 0 4px;font-size:26px;font-weight:900;color:#182235}.ax-head p,.axp-head p{margin:0;color:#65748a;font-weight:700}.ax-actions{display:flex;gap:8px;flex-wrap:wrap}.ax-grid,.axp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px}.ax-card,.axp-card{background:#fff;border:1px solid #dbe4ef;border-radius:14px;padding:14px;box-shadow:0 8px 22px rgba(15,23,42,.05);min-height:180px;position:relative;overflow:hidden}.ax-card:before,.axp-card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#0ea5e9,#22c55e)}.ax-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ax-order a{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border:1px solid #dbe4ef;border-radius:7px;background:#f8fafc;margin-left:3px;font-weight:900}.ax-card h3,.axp-card h3{margin:0;font-size:17px;font-weight:900;color:#172033}.ax-card p,.axp-card p{margin:3px 0 8px;color:#64748b;font-weight:700}.ax-card code{display:inline-block;margin-bottom:10px}.ax-pill{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:900}.ax-pill.ok{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}.ax-pill.bad{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.ax-card-actions{display:flex;gap:7px;margin:10px 0}.ax-result{height:35px;margin:8px 0 0;padding:8px;border:1px solid #dbe4ef;border-radius:10px;background:#f8fafc;color:#334155;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.axp-head{max-width:1380px;margin:0 auto 14px}.ax-portal{max-width:1380px;margin:0 auto;padding:4px 0 22px}.ax-count{height:46px;min-width:70px;border:1px solid #dbe4ef;background:#f8fafc;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.ax-count b{font-size:20px;color:#0f172a;line-height:1}.ax-count small{text-transform:uppercase;font-size:9px;font-weight:900;color:#64748b}.ax-dot{display:inline-block;width:9px;height:9px;background:#22c55e;border-radius:50%;box-shadow:0 0 0 4px rgba(34,197,94,.14)}.axp-card{min-height:0;height:auto}.axp-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.axp-open{width:100%;border:0;border-radius:12px;background:#16a34a;color:#fff;font-size:15px;font-weight:900;height:44px;box-shadow:0 10px 20px rgba(22,163,74,.16)}.axp-status{width:100%;margin-top:8px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#0369a1;font-weight:900;height:34px}.axp-open:disabled,.axp-status:disabled{opacity:.55;cursor:not-allowed}@media(max-width:767px){.ax-head,.axp-head{align-items:flex-start}.ax-actions,.ax-count{display:none}.ax-grid,.axp-grid{grid-template-columns:1fr}.axp-open{height:54px}}



/* AXTRAX PORTAL COMPACT 6-COLUMN HARD OVERRIDE v1.0.5
   Goal: 6 small cards per row on desktop, no bootstrap/parent conflicts. */
.ax-portal{
    width: min(1280px, calc(100vw - 40px)) !important;
    max-width: 1280px !important;
    margin: 0 auto 18px !important;
    padding: 0 0 18px !important;
    box-sizing: border-box !important;
}
.axp-head{
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 12px 0 !important;
    padding: 14px 18px !important;
    min-height: 82px !important;
    box-sizing: border-box !important;
}
.axp-head h2{
    font-size: 22px !important;
    line-height: 26px !important;
    margin: 2px 0 3px !important;
}
.axp-head p{
    font-size: 13px !important;
    line-height: 18px !important;
}
.ax-eyebrow{
    font-size: 10px !important;
    letter-spacing: .14em !important;
}
.ax-count{
    height: 46px !important;
    min-width: 58px !important;
    border-radius: 12px !important;
}
.ax-count b{font-size: 20px !important;}
.ax-count small{font-size: 8px !important;}
.axp-grid{
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 9px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}
.axp-card{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
    border-radius: 13px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
}
.axp-card:before{height:3px !important;}
.axp-title{
    min-height: 34px !important;
    margin-bottom: 8px !important;
    gap: 6px !important;
}
.axp-card h3{
    font-size: 14px !important;
    line-height: 16px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 118px !important;
}
.axp-card p{
    font-size: 11px !important;
    line-height: 13px !important;
    margin: 2px 0 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 130px !important;
}
.ax-pill{
    height: 21px !important;
    padding: 0 7px !important;
    font-size: 9px !important;
    flex: 0 0 auto !important;
}
.axp-open{
    height: 36px !important;
    font-size: 13px !important;
    border-radius: 9px !important;
    margin-top: 8px !important;
    padding: 0 8px !important;
}
.axp-status{
    height: 30px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    margin-top: 6px !important;
    padding: 0 8px !important;
}
.ax-result{
    height: 30px !important;
    min-height: 30px !important;
    margin-top: 6px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    line-height: 16px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
@media (max-width: 1180px){
    .ax-portal{width: calc(100vw - 32px) !important;}
    .axp-grid{grid-template-columns: repeat(4, minmax(0, 1fr)) !important;}
}
@media (max-width: 900px){
    .axp-grid{grid-template-columns: repeat(3, minmax(0, 1fr)) !important;}
}
@media (max-width: 680px){
    .axp-grid{grid-template-columns: repeat(2, minmax(0, 1fr)) !important;}
    .ax-count{display:none !important;}
}
@media (max-width: 480px){
    .ax-portal{width: calc(100vw - 22px) !important;}
    .axp-grid{grid-template-columns: 1fr !important;}
    .axp-card{height:auto !important;min-height:0 !important;}
}


/* v1.0.8 auto compact cards when status button is hidden, keep live result box */
.axp-card.no-status-btn{height:auto!important;min-height:0!important;justify-content:flex-start!important;}
.axp-card.no-status-btn .axp-open{margin-top:8px!important;}
.axp-card.no-status-btn .ax-result{display:block!important;margin-top:6px!important;}
