/* ABS V11.0 Publish + Mobile Ready Polish
   Final visual pass for public pages, admin CMS, Pulse tables and mobile responsiveness. */
:root{
    --abs-soft-panel: rgba(12,22,32,.72);
    --abs-soft-border: rgba(143,233,255,.18);
    --abs-readable: #d8e7ef;
}

.abs-public-hero .abs-hero-copy h1,
.abs-page-hero-card h1{
    font-size: clamp(2.2rem, 5.4vw, 5.15rem) !important;
    line-height: .98 !important;
    max-width: 980px !important;
    letter-spacing: -.055em !important;
}
.abs-public-hero .abs-hero-copy p,
.abs-page-hero-card p,
.section-heading.wide p{
    max-width: 850px !important;
    color: var(--abs-readable) !important;
    line-height: 1.75 !important;
}
.abs-section-clean{padding-top:34px!important;padding-bottom:8px!important;}
.abs-card p,.pulse-panel p,.admin-card p{line-height:1.65!important;}
.abs-card h3,.pulse-panel h2,.admin-card h3{line-height:1.18!important;}
.abs-proof-row-final div span{line-height:1.35!important;}
.abs-product-strip-final{align-items:center!important;gap:24px!important;}

/* Header polish */
.abs-topbar{backdrop-filter:blur(18px)!important;}
.abs-auth-actions{gap:8px!important;}
.abs-login,.abs-btn,.pulse-btn,.admin-btn{border-radius:999px!important;}
.abs-login.logout{border-color:rgba(255,255,255,.14)!important;}

/* Better public page layout on laptop/tablet/mobile */
@media(max-width:1180px){
    .abs-public-hero .abs-hero-copy h1,
    .abs-page-hero-card h1{font-size:clamp(2.15rem,7vw,4.4rem)!important;}
    .abs-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:780px){
    .abs-shell:has(.abs-public-page),.abs-shell:has(.abs-public-hero){overflow-x:hidden!important;}
    .abs-main{padding-left:18px!important;padding-right:18px!important;}
    .abs-sidebar{display:none!important;}
    .abs-topbar{position:relative!important;height:auto!important;min-height:0!important;display:grid!important;gap:12px!important;padding:12px 16px!important;}
    .abs-brand-header img{max-width:220px!important;height:auto!important;}
    .abs-auth-box,.abs-auth-box.logged-in{width:100%!important;display:grid!important;gap:10px!important;}
    .abs-auth-actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;}
    .abs-auth-actions form,.abs-login,.abs-btn{width:100%!important;}
    .abs-public-hero{grid-template-columns:1fr!important;gap:28px!important;padding-top:36px!important;}
    .abs-public-hero .abs-hero-copy h1,
    .abs-page-hero-card h1{font-size:clamp(2rem,13vw,3.3rem)!important;line-height:1.02!important;}
    .abs-actions{display:grid!important;grid-template-columns:1fr!important;}
    .abs-proof-row-final{grid-template-columns:1fr!important;}
    .abs-grid.two,.abs-grid.three{grid-template-columns:1fr!important;}
    .abs-product-strip-final{display:grid!important;}
    .abs-footer{grid-template-columns:1fr!important;gap:22px!important;}
}

/* Admin CMS and notification polish */
.admin-grid.cols-3{align-items:stretch!important;}
.admin-card.status-ready{border-color:rgba(126,236,255,.28)!important;background:linear-gradient(145deg,rgba(18,36,50,.86),rgba(12,18,26,.94))!important;}
.admin-mini-list{display:grid;gap:10px;margin-top:14px;padding:0;list-style:none;}
.admin-mini-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:14px;color:#d9e8ef;}
.admin-table td,.admin-table th{vertical-align:top!important;line-height:1.45!important;}

/* Pulse usability polish */
.pulse-terminal-clean .terminal-section{border-radius:22px!important;}
.pulse-terminal-clean .terminal-card{border-radius:20px!important;}
.pulse-table,.terminal-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;}
.pulse-table th,.terminal-table th{font-size:11px!important;letter-spacing:.16em!important;color:#c8d3dc!important;}
.pulse-table td,.terminal-table td{font-size:13px!important;line-height:1.45!important;vertical-align:middle!important;}
.table-wrap{width:100%!important;overflow-x:auto!important;scrollbar-width:thin!important;}
.close-trade-form{min-width:260px!important;align-items:flex-start!important;}
.close-trade-form input{border-radius:10px!important;min-height:38px!important;width:132px!important;}
.close-trade-form .pulse-btn{min-height:38px!important;padding:0 16px!important;}
.exchange-summary-v107{min-width:300px!important;max-width:440px!important;}
.exchange-protection-grid-v107{grid-template-columns:repeat(3,minmax(92px,1fr))!important;}
.exchange-mini-card-v107 strong{font-size:13px!important;}
.exchange-details-v107 summary{border-radius:12px!important;}

.pulse-cms-focus-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;}
.pulse-cms-card p{min-height:42px!important;}
.pulse-cms-focus-panel{background:linear-gradient(135deg,rgba(15,31,45,.96),rgba(17,22,28,.96))!important;}

@media(max-width:760px){
    .abs-shell:has(.pulse-terminal-clean) .abs-main{padding-left:14px!important;padding-right:14px!important;padding-top:12px!important;}
    .pulse-terminal-clean .pulse-main{padding:12px!important;}
    .pulse-sticky-zone-v8312 .pulse-top{padding:16px!important;}
    .pulse-sticky-zone-v8312 .pulse-title-logo{height:42px!important;}
    .pulse-sticky-zone-v8312 h1{font-size:20px!important;letter-spacing:2px!important;}
    .pulse-tabs-v8312{gap:8px!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:8px!important;}
    .pulse-tabs-v8312 a{min-width:max-content!important;font-size:11px!important;}
    .terminal-section{padding:14px!important;}
    .section-head,.section-mini-head{display:grid!important;gap:12px!important;}
    .pulse-table{min-width:760px!important;}
    .exchange-protection-grid-v107{grid-template-columns:1fr!important;}
    .close-trade-form{min-width:220px!important;}
    .close-trade-form input,.close-trade-form .pulse-btn{width:100%!important;}
}

/* ABS V11.0 - final notification/mobile polish */
.pulse-alerts-page .pulse-alert-summary .terminal-card strong{display:block;margin:6px 0;color:#eafcff;font-size:15px}
.pulse-alert-preferences .pulse-check{min-height:48px;display:flex;align-items:center;gap:10px;border:1px solid rgba(148,163,184,.16);border-radius:14px;padding:12px;background:rgba(15,23,42,.32)}
.pulse-readable-table td{vertical-align:top;line-height:1.45}.pulse-readable-table .soft-cell{color:#cbd5e1;max-width:520px;white-space:normal}
@media(max-width:780px){.pulse-alert-preferences{grid-template-columns:1fr!important}.pulse-readable-table{min-width:820px}}
