@font-face{
    font-family:IRANSans;
    src:url('/assets/fonts/IRANSansWeb.woff2') format('woff2'),
        url('/assets/fonts/iransansweb.woff2') format('woff2');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}
:root{
    --primary:#0B4EA2;
    --primary-dark:#073674;
    --gold:#D4AF37;
    --bg:#F6F9FF;
    --text:#102033;
    --muted:#6D7B8D;
    --card:#FFFFFF;
    --border:#E4EAF4;
}
*{box-sizing:border-box}
body{
    margin:0;
    font-family:IRANSans,Tahoma,Arial,sans-serif;
    background:linear-gradient(180deg,#F7FAFF 0%,#FFFFFF 55%,#F7FAFF 100%);
    color:var(--text);
}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 32px));margin:auto}
.site-header{
    position:sticky;
    top:0;
    z-index:10;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--border);
}
.nav{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.brand{
    font-size:26px;
    font-weight:900;
    color:var(--primary);
}
.nav nav{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}
.nav nav a{
    color:#21324A;
    font-size:14px;
}
.hero{
    margin:34px 0 24px;
    padding:34px;
    border-radius:28px;
    display:grid;
    grid-template-columns:1.5fr .8fr;
    gap:24px;
    background:
        radial-gradient(circle at top left,rgba(212,175,55,.28),transparent 34%),
        linear-gradient(135deg,var(--primary),var(--primary-dark));
    color:#fff;
    box-shadow:0 20px 45px rgba(11,78,162,.16);
}
.hero h1,.board-head h1{margin:0 0 12px;font-size:36px;line-height:1.6}
.hero p,.board-head p{margin:0;color:rgba(255,255,255,.82);font-size:17px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.hero-card{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.22);
    border-radius:22px;
    padding:24px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:8px;
}
.hero-card span,.hero-card small{color:rgba(255,255,255,.76)}
.hero-card strong{font-size:22px;color:#fff}
.btn{
    border:0;
    border-radius:14px;
    padding:11px 18px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-family:inherit;
    font-weight:800;
    font-size:14px;
}
.btn.primary{background:var(--gold);color:#15202E}
.btn.light{background:#fff;color:var(--primary);border:1px solid var(--border)}
.price-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin:24px 0 44px;
}
.price-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:22px;
    padding:22px;
    box-shadow:0 12px 32px rgba(16,32,51,.06);
    position:relative;
    overflow:hidden;
}
.price-card:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg,var(--primary),var(--gold));
}
.price-card span{
    display:block;
    color:var(--muted);
    font-size:14px;
    margin-bottom:12px;
}
.price-card strong{
    display:block;
    font-size:28px;
    color:var(--primary-dark);
    line-height:1.5;
}
.price-card small{color:var(--muted)}
.empty,.alert,.success{
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:16px;
}
.alert{border-color:#ffd6d6;color:#b42318;background:#fff5f5}
.success{border-color:#c8f7d4;color:#157347;background:#f2fff6}
.page-box,.login-box{
    background:#fff;
    border:1px solid var(--border);
    border-radius:24px;
    padding:26px;
    margin:26px 0;
    box-shadow:0 12px 32px rgba(16,32,51,.06);
}
.login-box{max-width:440px;margin:70px auto}
label{display:block;margin:12px 0 6px;color:#334155}
input,select,textarea{
    width:100%;
    border:1px solid var(--border);
    border-radius:12px;
    padding:11px 12px;
    font-family:inherit;
    background:#fff;
}
form .btn{margin-top:16px}
.inline-form{
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:12px;
    align-items:end;
}
.tenant-tabs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.table-wrap{
    overflow:auto;
    border:1px solid var(--border);
    border-radius:18px;
    margin:18px 0;
}
table{
    width:100%;
    border-collapse:collapse;
    min-width:840px;
}
th,td{
    border-bottom:1px solid var(--border);
    padding:12px;
    text-align:right;
    vertical-align:middle;
}
th{background:#F8FAFC;color:#334155}
td input[type="checkbox"]{width:auto;transform:scale(1.25)}
.board-body{
    min-height:100vh;
    background:
        radial-gradient(circle at 15% 10%,rgba(212,175,55,.18),transparent 28%),
        linear-gradient(180deg,#061D3D 0%,#0B4EA2 52%,#071A35 100%);
}
.board-head{
    margin:34px 0 24px;
    padding:30px;
    border-radius:28px;
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:24px;
    color:#fff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
}
.board-grid .price-card{
    background:rgba(255,255,255,.95);
}
.footer{
    text-align:center;
    color:var(--muted);
    padding:32px 16px;
}
@media(max-width:900px){
    .hero,.board-head{grid-template-columns:1fr;padding:24px}
    .price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .inline-form{grid-template-columns:1fr}
}
@media(max-width:560px){
    .nav{align-items:flex-start;flex-direction:column;padding:14px 0}
    .hero h1,.board-head h1{font-size:27px}
    .price-grid{grid-template-columns:1fr}
}

.code-box{
    direction:ltr;
    text-align:left;
    background:#07152F;
    color:#EAF2FF;
    border-radius:18px;
    padding:16px;
    overflow:auto;
    line-height:1.8;
    font-family:Consolas,Monaco,monospace;
}

.board-title-wrap{
    display:flex;
    align-items:center;
    gap:18px;
}

.board-logo,
.board-logo-placeholder{
    width:86px;
    height:86px;
    border-radius:26px;
    object-fit:cover;
    flex:0 0 auto;
    background:linear-gradient(135deg,var(--gold),#fff1b8);
    color:#07152F;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    font-weight:950;
    box-shadow:0 18px 36px rgba(0,0,0,.18);
    border:1px solid rgba(255,255,255,.35);
}

.board-contact{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:12px;
}

.board-contact span{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    color:rgba(255,255,255,.85);
    border-radius:999px;
    padding:7px 12px;
    font-size:13px;
}

@media(max-width:640px){
    .board-title-wrap{
        align-items:flex-start;
        flex-direction:column;
    }

    .board-logo,
    .board-logo-placeholder{
        width:74px;
        height:74px;
        border-radius:22px;
        font-size:32px;
    }
}

.article-box .lead{
    color:var(--muted);
    font-size:17px;
    line-height:2.2;
    padding:14px 18px;
    border-radius:18px;
    background:#F8FBFF;
    border:1px solid var(--border);
}

.article-content{
    line-height:2.35;
    color:#1E293B;
    font-size:16px;
}

.landing-section p{
    line-height:2.3;
    color:#334155;
}

.admin-wrap .page-box{
    position:relative;
}

.admin-wrap .page-box:before{
    content:"";
    position:absolute;
    top:0;
    right:24px;
    left:24px;
    height:4px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--primary),var(--gold));
}

.admin-menu-wrap{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
}

.admin-menu-root,
.admin-menu-child{
    list-style:none;
    padding:0;
    margin:0;
}

.admin-menu-root{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.admin-menu-root li{
    position:relative;
}

.admin-menu-root a,
.admin-view-board{
    display:flex;
    align-items:center;
    gap:6px;
    color:#26364D;
    font-size:14px;
    font-weight:800;
    padding:10px 13px;
    border-radius:999px;
    transition:.2s ease;
    background:transparent;
}

.admin-menu-root a:hover,
.admin-view-board:hover{
    background:#EEF5FF;
    color:var(--primary);
}

.admin-menu-root .has-child > a:after{
    content:"▾";
    font-size:11px;
    opacity:.7;
}

.admin-menu-child{
    position:absolute;
    top:100%;
    right:0;
    min-width:210px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:8px;
    box-shadow:var(--shadow);
    display:none;
    z-index:100;
}

.admin-menu-child .admin-menu-child{
    top:0;
    right:100%;
}

.admin-menu-root li:hover > .admin-menu-child{
    display:block;
}

.admin-menu-child li{
    position:relative;
}

.admin-menu-child a{
    width:100%;
    justify-content:flex-start;
    border-radius:13px;
    white-space:nowrap;
}

.menu-admin-tree{
    list-style:none;
    padding:0;
    margin:0;
}

.menu-admin-tree .menu-admin-tree{
    margin-right:24px;
    border-right:2px solid var(--border);
    padding-right:14px;
}

.menu-admin-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    background:#F8FBFF;
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px;
    margin:10px 0;
}

.menu-admin-row strong{
    color:var(--primary-dark);
}

.menu-admin-row span,
.menu-admin-row small{
    color:var(--muted);
}

.check-label{
    display:flex;
    align-items:center;
    gap:8px;
}

.check-label input{
    width:auto;
}

@media(max-width:760px){
    .admin-menu-wrap,
    .admin-menu-root{
        width:100%;
        justify-content:flex-start;
    }

    .admin-menu-root li{
        position:static;
    }

    .admin-menu-child{
        position:static;
        display:block;
        box-shadow:none;
        border-radius:14px;
        margin:6px 0 6px 12px;
        width:100%;
    }

    .admin-menu-child .admin-menu-child{
        position:static;
        margin-right:12px;
    }
}

.help-text{
    color:var(--muted);
    line-height:2;
    margin-top:12px;
}

.upload-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.upload-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:14px;
    box-shadow:var(--shadow-soft);
}

.upload-preview{
    width:100%;
    aspect-ratio:1/1;
    border-radius:18px;
    background:#F8FBFF;
    border:1px solid var(--border);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    margin-bottom:12px;
}

.upload-preview img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.upload-card strong{
    display:block;
    font-size:13px;
    color:var(--primary-dark);
    word-break:break-all;
    margin-bottom:10px;
    line-height:1.8;
}

.upload-card input{
    font-size:12px;
    margin-bottom:10px;
}

@media(max-width:1050px){
    .upload-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:760px){
    .upload-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:520px){
    .upload-grid{
        grid-template-columns:1fr;
    }
}

@font-face{
    font-family:IRANSansOntala;
    src:
        url('/assets/fonts/IRANSansWeb.woff2') format('woff2'),
        url('/assets/fonts/IRANSansWeb.woff') format('woff'),
        url('/assets/fonts/IRANSansWeb.ttf') format('truetype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:IRANSansOntala;
    src:
        url('/assets/fonts/IRANSansWeb_Bold.woff2') format('woff2'),
        url('/assets/fonts/IRANSansWeb_Bold.woff') format('woff'),
        url('/assets/fonts/IRANSansWeb_Bold.ttf') format('truetype');
    font-weight:700;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:IRANSansOntala;
    src:
        url('/assets/fonts/IRANSansWeb_Medium.woff2') format('woff2'),
        url('/assets/fonts/IRANSansWeb_Medium.woff') format('woff'),
        url('/assets/fonts/IRANSansWeb_Medium.ttf') format('truetype');
    font-weight:500;
    font-style:normal;
    font-display:swap;
}

html,
body,
button,
input,
select,
textarea,
table,
.btn,
.nav,
.site-header,
.admin-wrap,
.login-box,
.page-box{
    font-family:IRANSansOntala,IRANSans,Tahoma,Arial,sans-serif !important;
}

.admin-menu-wrap{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
}

.admin-menu-root,
.admin-menu-child{
    list-style:none;
    padding:0;
    margin:0;
}

.admin-menu-root{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.admin-menu-root li{
    position:relative;
}

.admin-menu-root a,
.admin-view-board{
    display:flex;
    align-items:center;
    gap:6px;
    color:#26364D;
    font-size:14px;
    font-weight:800;
    padding:10px 13px;
    border-radius:999px;
    transition:.2s ease;
    background:transparent;
}

.admin-menu-root a:hover,
.admin-view-board:hover{
    background:#EEF5FF;
    color:var(--primary);
}

.admin-menu-root .has-child > a:after{
    content:"▾";
    font-size:11px;
    opacity:.7;
}

.admin-menu-child{
    position:absolute;
    top:100%;
    right:0;
    min-width:220px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:8px;
    box-shadow:var(--shadow);
    display:none;
    z-index:999;
}

.admin-menu-child .admin-menu-child{
    top:0;
    right:100%;
}

.admin-menu-root li:hover > .admin-menu-child{
    display:block;
}

.admin-menu-child li{
    position:relative;
}

.admin-menu-child a{
    width:100%;
    justify-content:flex-start;
    border-radius:13px;
    white-space:nowrap;
}

.admin-view-board{
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    color:#172033;
}

.menu-admin-tree{
    list-style:none;
    padding:0;
    margin:0;
}

.menu-admin-tree .menu-admin-tree{
    margin-right:24px;
    border-right:2px solid var(--border);
    padding-right:14px;
}

.menu-admin-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    background:#F8FBFF;
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px;
    margin:10px 0;
}

.check-label{
    display:flex;
    align-items:center;
    gap:8px;
}

.check-label input{
    width:auto;
}

@media(max-width:760px){
    .admin-menu-wrap,
    .admin-menu-root{
        width:100%;
        justify-content:flex-start;
    }

    .admin-menu-root li{
        position:static;
        width:100%;
    }

    .admin-menu-root a,
    .admin-view-board{
        width:100%;
        justify-content:flex-start;
        background:#F4F7FB;
    }

    .admin-menu-child{
        position:static;
        display:block;
        box-shadow:none;
        border-radius:14px;
        margin:6px 0 6px 0;
        width:100%;
    }

    .admin-menu-child .admin-menu-child{
        position:static;
        margin-right:12px;
    }
}

.rate-now{
    font-weight:800;
    color:#0F172A;
    white-space:nowrap;
}

.rate-final{
    font-weight:950;
    color:var(--primary);
    white-space:nowrap;
    background:#EEF5FF;
    border-radius:12px;
}

.form-grid-2{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.check-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:10px 0 18px;
}

.tenant-info-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin:18px 0;
}

.tenant-info-grid article{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    border-radius:22px;
    padding:18px;
    color:#fff;
    backdrop-filter:blur(10px);
}

.tenant-info-grid span{
    display:block;
    color:rgba(255,255,255,.72);
    margin-bottom:8px;
    font-size:13px;
}

.tenant-info-grid strong{
    display:block;
    color:#fff;
    font-size:18px;
    line-height:1.9;
}

.tenant-description{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    color:#fff;
    border-radius:28px;
    padding:24px;
    margin:10px 0 40px;
}

.tenant-description h2{
    margin-top:0;
    color:#fff;
}

.tenant-description p{
    color:rgba(255,255,255,.82);
    line-height:2.2;
}

@media(max-width:900px){
    .form-grid-2,
    .tenant-info-grid{
        grid-template-columns:1fr;
    }

    .check-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:520px){
    .check-grid{
        grid-template-columns:1fr;
    }
}

.board-status-row{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin-top:12px;
}

.board-status-row span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:7px 12px;
    font-size:13px;
    font-weight:900;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.12);
    color:rgba(255,255,255,.86);
}

.board-status-row .status-open{
    background:rgba(34,197,94,.18);
    border-color:rgba(34,197,94,.35);
    color:#DCFCE7;
}

.board-status-row .status-closed{
    background:rgba(239,68,68,.18);
    border-color:rgba(239,68,68,.35);
    color:#FEE2E2;
}

.board-alert{
    background:rgba(216,174,61,.16);
    border:1px solid rgba(216,174,61,.35);
    color:#FFF7D6;
    border-radius:22px;
    padding:16px 18px;
    line-height:2;
    margin:16px 0;
    font-weight:800;
}

.home-market-notice{
    margin-top:20px;
    border-radius:22px;
    padding:16px 18px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.12);
    color:#fff;
    max-width:740px;
}

.home-market-notice .notice-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
}

.home-market-notice strong{
    color:#fff;
    font-size:16px;
}

.home-market-notice p{
    margin:0;
    color:rgba(255,255,255,.82);
    line-height:2;
    font-size:14px;
}

.home-market-notice small{
    display:block;
    margin-top:8px;
    color:rgba(255,255,255,.72);
    line-height:1.8;
}

.home-market-notice.live{
    border-color:rgba(255,255,255,.24);
    background:rgba(255,255,255,.14);
}

.home-market-notice.warning{
    border-color:rgba(244,208,111,.45);
    background:rgba(216,174,61,.16);
}

.home-market-notice.closed{
    border-color:rgba(255,255,255,.16);
    background:rgba(15,23,42,.18);
}

.live-red-dot{
    width:11px;
    height:11px;
    border-radius:50%;
    background:#EF4444;
    box-shadow:0 0 0 0 rgba(239,68,68,.75);
    animation:ontalaLivePulse 1.4s infinite;
    flex:0 0 auto;
}

@keyframes ontalaLivePulse{
    0%{
        transform:scale(.95);
        box-shadow:0 0 0 0 rgba(239,68,68,.75);
    }
    70%{
        transform:scale(1);
        box-shadow:0 0 0 10px rgba(239,68,68,0);
    }
    100%{
        transform:scale(.95);
        box-shadow:0 0 0 0 rgba(239,68,68,0);
    }
}

@import url('/assets/flaticon/flaticon.css');

.tv-home-body{
    width:100vw;
    min-height:100vh;
    overflow:hidden;
    background:
        radial-gradient(circle at 8% 0%,rgba(216,174,61,.18),transparent 24%),
        radial-gradient(circle at 90% 0%,rgba(11,120,255,.22),transparent 24%),
        linear-gradient(135deg,#020617 0%,#061A3B 44%,#072B68 100%);
}

.tv-main{
    width:100vw;
    height:100vh;
    overflow:hidden;
}

.tv-board-shell{
    width:100vw;
    height:100vh;
    padding:22px 28px 18px;
    display:grid;
    grid-template-rows:118px 1fr 42px;
    gap:16px;
    color:#fff;
}

.tv-board-header{
    display:grid;
    grid-template-columns:1.1fr 1.2fr .85fr;
    align-items:center;
    gap:18px;
    min-height:0;
}

.tv-brand-side{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
}

.tv-logo-mark{
    width:78px;
    height:78px;
    border-radius:24px;
    background:linear-gradient(135deg,var(--gold),#fff1b8);
    color:#07152F;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:44px;
    font-weight:950;
    box-shadow:0 18px 36px rgba(0,0,0,.18);
    flex:0 0 auto;
}

.tv-brand-side h1{
    margin:0;
    font-size:36px;
    line-height:1.4;
    color:#fff;
    white-space:nowrap;
}

.tv-brand-side p{
    margin:2px 0 0;
    color:rgba(255,255,255,.72);
    font-size:18px;
}

.tv-status{
    border-radius:24px;
    padding:16px 18px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(12px);
}

.tv-status-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
}

.tv-status strong{
    font-size:22px;
    color:#fff;
}

.tv-status span{
    color:rgba(255,255,255,.80);
    font-size:16px;
    line-height:1.8;
}

.tv-status.live{
    border-color:rgba(34,197,94,.32);
    background:rgba(34,197,94,.12);
}

.tv-status.warning{
    border-color:rgba(216,174,61,.40);
    background:rgba(216,174,61,.14);
}

.tv-status.closed{
    border-color:rgba(255,255,255,.15);
    background:rgba(15,23,42,.25);
}

.tv-time-box{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    border-radius:24px;
    padding:14px 18px;
    text-align:center;
}

.tv-time-box span,
.tv-time-box small{
    display:block;
    color:rgba(255,255,255,.72);
    line-height:1.7;
}

.tv-time-box strong{
    display:block;
    color:#fff;
    font-size:38px;
    line-height:1.25;
}

.tv-price-grid{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    grid-auto-rows:1fr;
    gap:13px;
}

.tv-price-card{
    min-width:0;
    min-height:0;
    border-radius:24px;
    padding:18px 16px 16px;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(255,255,255,.50);
    box-shadow:0 18px 42px rgba(0,0,0,.16);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    overflow:hidden;
    position:relative;
}

.tv-price-card:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:5px;
    background:linear-gradient(90deg,var(--primary),var(--gold));
}

.tv-card-top{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}

.tv-rate-icon{
    width:38px;
    height:38px;
    border-radius:14px;
    background:#EEF5FF;
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    font-size:20px;
}

.tv-card-top span{
    color:#475569;
    font-size:20px;
    font-weight:900;
    line-height:1.5;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.tv-price-card strong{
    color:#061A3B;
    font-size:37px;
    font-weight:950;
    line-height:1.2;
    letter-spacing:-1px;
    white-space:nowrap;
    direction:ltr;
    text-align:right;
    margin-top:8px;
}

.tv-price-card small{
    color:#64748B;
    font-size:18px;
    font-weight:800;
    line-height:1.4;
}

.tv-board-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    color:rgba(255,255,255,.72);
    font-size:17px;
    font-weight:800;
    line-height:1;
}

.live-red-dot{
    width:13px;
    height:13px;
    border-radius:50%;
    background:#EF4444;
    box-shadow:0 0 0 0 rgba(239,68,68,.75);
    animation:ontalaLivePulse 1.4s infinite;
    flex:0 0 auto;
}

@keyframes ontalaLivePulse{
    0%{
        transform:scale(.95);
        box-shadow:0 0 0 0 rgba(239,68,68,.75);
    }
    70%{
        transform:scale(1);
        box-shadow:0 0 0 12px rgba(239,68,68,0);
    }
    100%{
        transform:scale(.95);
        box-shadow:0 0 0 0 rgba(239,68,68,0);
    }
}

@media(min-width:1600px) and (max-height:1100px){
    .tv-board-shell{
        padding:20px 26px 16px;
        grid-template-rows:112px 1fr 38px;
        gap:14px;
    }

    .tv-price-grid{
        grid-template-columns:repeat(7,minmax(0,1fr));
        gap:12px;
    }

    .tv-price-card{
        padding:17px 15px 15px;
        border-radius:22px;
    }

    .tv-card-top span{
        font-size:19px;
    }

    .tv-price-card strong{
        font-size:35px;
    }
}

@media(max-width:1400px){
    .tv-home-body{
        overflow:auto;
    }

    .tv-main{
        height:auto;
        overflow:visible;
    }

    .tv-board-shell{
        height:auto;
        min-height:100vh;
        grid-template-rows:auto auto auto;
    }

    .tv-board-header{
        grid-template-columns:1fr;
    }

    .tv-price-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:760px){
    .tv-price-grid{
        grid-template-columns:1fr;
    }

    .tv-brand-side h1{
        white-space:normal;
        font-size:28px;
    }

    .tv-board-footer{
        flex-direction:column;
        align-items:flex-start;
    }
}

@import url('/assets/flaticon/flaticon.css');

.tv-home-body{
    width:100vw;
    min-height:100vh;
    overflow:hidden;
    background:
        radial-gradient(circle at 8% 0%,rgba(216,174,61,.18),transparent 24%),
        radial-gradient(circle at 90% 0%,rgba(11,120,255,.22),transparent 24%),
        linear-gradient(135deg,#020617 0%,#061A3B 44%,#072B68 100%);
}

.tv-main{
    width:100vw;
    height:100vh;
    overflow:hidden;
}

.tv-board-shell{
    width:100vw;
    height:100vh;
    padding:22px 28px 18px;
    display:grid;
    grid-template-rows:118px 1fr 42px;
    gap:16px;
    color:#fff;
}

.tv-board-header{
    display:grid;
    grid-template-columns:1.1fr 1.2fr .85fr;
    align-items:center;
    gap:18px;
    min-height:0;
}

.tv-brand-side{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
}

.tv-logo-mark{
    width:78px;
    height:78px;
    border-radius:24px;
    background:linear-gradient(135deg,var(--gold),#fff1b8);
    color:#07152F;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:44px;
    font-weight:950;
    box-shadow:0 18px 36px rgba(0,0,0,.18);
    flex:0 0 auto;
}

.tv-brand-side h1{
    margin:0;
    font-size:36px;
    line-height:1.4;
    color:#fff;
    white-space:nowrap;
}

.tv-brand-side p{
    margin:2px 0 0;
    color:rgba(255,255,255,.72);
    font-size:18px;
}

.tv-status{
    border-radius:24px;
    padding:16px 18px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(12px);
}

.tv-status-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
}

.tv-status strong{
    font-size:22px;
    color:#fff;
}

.tv-status span{
    color:rgba(255,255,255,.80);
    font-size:16px;
    line-height:1.8;
}

.tv-status.live{
    border-color:rgba(34,197,94,.32);
    background:rgba(34,197,94,.12);
}

.tv-status.warning{
    border-color:rgba(216,174,61,.40);
    background:rgba(216,174,61,.14);
}

.tv-status.closed{
    border-color:rgba(255,255,255,.15);
    background:rgba(15,23,42,.25);
}

.tv-time-box{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    border-radius:24px;
    padding:14px 18px;
    text-align:center;
}

.tv-time-box span,
.tv-time-box small{
    display:block;
    color:rgba(255,255,255,.72);
    line-height:1.7;
}

.tv-time-box strong{
    display:block;
    color:#fff;
    font-size:38px;
    line-height:1.25;
}

.tv-price-grid{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    grid-auto-rows:1fr;
    gap:13px;
}

.tv-price-card{
    min-width:0;
    min-height:0;
    border-radius:24px;
    padding:18px 16px 16px;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(255,255,255,.50);
    box-shadow:0 18px 42px rgba(0,0,0,.16);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    overflow:hidden;
    position:relative;
}

.tv-price-card:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:5px;
    background:linear-gradient(90deg,var(--primary),var(--gold));
}

.tv-card-top{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}

.tv-rate-icon{
    width:38px;
    height:38px;
    border-radius:14px;
    background:#EEF5FF;
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    font-size:20px;
}

.tv-card-top span{
    color:#475569;
    font-size:20px;
    font-weight:900;
    line-height:1.5;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.tv-price-card strong{
    color:#061A3B;
    font-size:37px;
    font-weight:950;
    line-height:1.2;
    letter-spacing:-1px;
    white-space:nowrap;
    direction:ltr;
    text-align:right;
    margin-top:8px;
}

.tv-price-card small{
    color:#64748B;
    font-size:18px;
    font-weight:800;
    line-height:1.4;
}

.tv-board-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    color:rgba(255,255,255,.72);
    font-size:17px;
    font-weight:800;
    line-height:1;
}

.live-red-dot{
    width:13px;
    height:13px;
    border-radius:50%;
    background:#EF4444;
    box-shadow:0 0 0 0 rgba(239,68,68,.75);
    animation:ontalaLivePulse 1.4s infinite;
    flex:0 0 auto;
}

@keyframes ontalaLivePulse{
    0%{
        transform:scale(.95);
        box-shadow:0 0 0 0 rgba(239,68,68,.75);
    }
    70%{
        transform:scale(1);
        box-shadow:0 0 0 12px rgba(239,68,68,0);
    }
    100%{
        transform:scale(.95);
        box-shadow:0 0 0 0 rgba(239,68,68,0);
    }
}

@media(min-width:1600px) and (max-height:1100px){
    .tv-board-shell{
        padding:20px 26px 16px;
        grid-template-rows:112px 1fr 38px;
        gap:14px;
    }

    .tv-price-grid{
        grid-template-columns:repeat(7,minmax(0,1fr));
        gap:12px;
    }

    .tv-price-card{
        padding:17px 15px 15px;
        border-radius:22px;
    }

    .tv-card-top span{
        font-size:19px;
    }

    .tv-price-card strong{
        font-size:35px;
    }
}

@media(max-width:1400px){
    .tv-home-body{
        overflow:auto;
    }

    .tv-main{
        height:auto;
        overflow:visible;
    }

    .tv-board-shell{
        height:auto;
        min-height:100vh;
        grid-template-rows:auto auto auto;
    }

    .tv-board-header{
        grid-template-columns:1fr;
    }

    .tv-price-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:760px){
    .tv-price-grid{
        grid-template-columns:1fr;
    }

    .tv-brand-side h1{
        white-space:normal;
        font-size:28px;
    }

    .tv-board-footer{
        flex-direction:column;
        align-items:flex-start;
    }
}

.archive-filter-form{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr 1.4fr;
    gap:14px;
    align-items:end;
}

.archive-filter-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.jalali-date-input{
    direction:ltr;
    text-align:center;
}

@media(max-width:1000px){
    .archive-filter-form{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){
    .archive-filter-form{
        grid-template-columns:1fr;
    }
}

.archive-filter-form{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr 1.4fr;
    gap:14px;
    align-items:end;
}

.archive-filter-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.jalali-date-input{
    direction:ltr;
    text-align:center;
}

@media(max-width:1000px){
    .archive-filter-form{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){
    .archive-filter-form{
        grid-template-columns:1fr;
    }
}

/* Ontala TV full width override */
body.tv-home-body{
    margin:0 !important;
    padding:0 !important;
    width:100vw !important;
    max-width:none !important;
    min-width:0 !important;
    overflow:hidden !important;
}

body.tv-home-body .wrap,
body.tv-home-body .tv-main,
body.tv-home-body main,
body.tv-home-body .tv-board-shell{
    width:100vw !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
}

body.tv-home-body .tv-main{
    height:100vh !important;
    max-height:100vh !important;
    padding:0 !important;
    overflow:hidden !important;
}

body.tv-home-body .tv-board-shell{
    height:100vh !important;
    max-height:100vh !important;
    box-sizing:border-box !important;
    padding:18px 22px 14px !important;
}

body.tv-home-body .tv-price-grid{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
}

@media(min-width:1500px){
    body.tv-home-body .tv-price-grid{
        grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    }
}

@media(min-width:1800px) and (max-height:1100px){
    body.tv-home-body .tv-board-shell{
        padding:16px 20px 12px !important;
        grid-template-rows:106px 1fr 34px !important;
        gap:12px !important;
    }

    body.tv-home-body .tv-price-grid{
        gap:10px !important;
    }

    body.tv-home-body .tv-price-card{
        border-radius:20px !important;
        padding:15px 13px 13px !important;
    }

    body.tv-home-body .tv-card-top span{
        font-size:18px !important;
    }

    body.tv-home-body .tv-price-card strong{
        font-size:34px !important;
    }

    body.tv-home-body .tv-price-card small{
        font-size:16px !important;
    }

    body.tv-home-body .tv-brand-side h1{
        font-size:33px !important;
    }

    body.tv-home-body .tv-logo-mark{
        width:70px !important;
        height:70px !important;
        border-radius:22px !important;
        font-size:40px !important;
    }

    body.tv-home-body .tv-time-box strong{
        font-size:34px !important;
    }
}

/* Ontala global full width layout override */
:root{
    --page-x-padding:24px;
    --page-y-padding:22px;
    --page-x-padding-mobile:12px;
    --page-y-padding-mobile:14px;
}

/* Remove old max width limitation everywhere */
.wrap{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:var(--page-x-padding) !important;
    padding-right:var(--page-x-padding) !important;
}

/* General page spacing */
main.wrap,
.admin-wrap,
body:not(.tv-home-body) main.wrap{
    padding-top:var(--page-y-padding) !important;
    padding-bottom:var(--page-y-padding) !important;
}

/* Header full width */
.site-header .wrap,
.nav.wrap{
    width:100% !important;
    max-width:none !important;
    padding-left:var(--page-x-padding) !important;
    padding-right:var(--page-x-padding) !important;
}

/* Admin pages should use full width too */
.admin-wrap{
    width:100% !important;
    max-width:none !important;
}

/* Tables should breathe on wide monitors */
.table-wrap{
    width:100% !important;
}

table{
    width:100% !important;
}

/* Board page full width */
.board-body{
    width:100vw !important;
    max-width:none !important;
    overflow-x:hidden !important;
}

.board-body .wrap{
    width:100vw !important;
    max-width:none !important;
    padding-left:var(--page-x-padding) !important;
    padding-right:var(--page-x-padding) !important;
}

.board-body main.wrap{
    padding-top:22px !important;
    padding-bottom:22px !important;
}

/* Board header more suitable for TV and wide screens */
.board-head{
    width:100% !important;
    max-width:none !important;
    margin:0 0 18px !important;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.55fr) !important;
}

/* Board prices full width */
.board-grid,
.price-grid.board-grid{
    width:100% !important;
    max-width:none !important;
}

/* Better desktop full width grids */
@media(min-width:1500px){
    .price-grid{
        grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    }

    .board-grid,
    .price-grid.board-grid{
        grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    }

    .admin-wrap .price-grid{
        grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    }
}

@media(min-width:1800px){
    .price-grid{
        grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    }

    .board-grid,
    .price-grid.board-grid{
        grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    }
}

/* Full HD board optimization */
@media(min-width:1800px) and (max-height:1120px){
    .board-body main.wrap{
        min-height:100vh !important;
        padding:16px 20px !important;
    }

    .board-head{
        padding:22px !important;
        border-radius:26px !important;
        margin-bottom:12px !important;
    }

    .board-head h1{
        font-size:34px !important;
        line-height:1.35 !important;
        margin-bottom:6px !important;
    }

    .board-head p{
        font-size:15px !important;
        line-height:1.8 !important;
    }

    .board-logo,
    .board-logo-placeholder{
        width:72px !important;
        height:72px !important;
        border-radius:22px !important;
        font-size:34px !important;
    }

    .tenant-info-grid{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:10px !important;
        margin:10px 0 !important;
    }

    .tenant-info-grid article{
        padding:12px 14px !important;
        border-radius:18px !important;
    }

    .tenant-info-grid strong{
        font-size:16px !important;
        line-height:1.6 !important;
    }

    .board-grid,
    .price-grid.board-grid{
        gap:10px !important;
    }

    .board-grid .price-card{
        border-radius:20px !important;
        padding:17px 14px 14px !important;
    }

    .board-grid .price-card span{
        font-size:16px !important;
        margin-bottom:8px !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
    }

    .board-grid .price-card strong{
        font-size:34px !important;
        line-height:1.25 !important;
        white-space:nowrap !important;
    }

    .board-grid .price-card small{
        font-size:14px !important;
    }

    .tenant-description{
        display:none !important;
    }
}

/* Public content pages full width but readable */
body:not(.tv-home-body):not(.board-body) .page-box,
body:not(.tv-home-body):not(.board-body) .login-box{
    width:100% !important;
    max-width:none !important;
}

/* Blog/article text still readable */
.article-box{
    max-width:1100px !important;
    margin-right:auto !important;
    margin-left:auto !important;
}

/* Mobile and tablet */
@media(max-width:900px){
    :root{
        --page-x-padding:16px;
        --page-y-padding:16px;
    }

    .wrap,
    .site-header .wrap,
    .nav.wrap,
    .board-body .wrap{
        padding-left:var(--page-x-padding) !important;
        padding-right:var(--page-x-padding) !important;
    }

    .board-head{
        grid-template-columns:1fr !important;
    }

    .price-grid,
    .board-grid,
    .price-grid.board-grid,
    .admin-wrap .price-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:560px){
    :root{
        --page-x-padding:12px;
        --page-y-padding:14px;
    }

    .wrap,
    .site-header .wrap,
    .nav.wrap,
    .board-body .wrap{
        padding-left:var(--page-x-padding-mobile) !important;
        padding-right:var(--page-x-padding-mobile) !important;
    }

    .price-grid,
    .board-grid,
    .price-grid.board-grid,
    .admin-wrap .price-grid{
        grid-template-columns:1fr !important;
    }

    .page-box,
    .login-box{
        padding:18px !important;
    }
}

.board-main{
    width:100vw !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

@media(min-width:1500px){
    .board-main{
        padding-left:20px !important;
        padding-right:20px !important;
    }
}

/* Ontala homepage full width final override */
html,
body{
    max-width:none !important;
}

body.tv-home-body{
    width:100vw !important;
    max-width:none !important;
    min-width:0 !important;
    min-height:100vh !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}

body.tv-home-body .tv-main,
body.tv-home-body main.tv-main{
    width:100vw !important;
    max-width:none !important;
    min-width:0 !important;
    height:100vh !important;
    max-height:100vh !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

body.tv-home-body .tv-board-shell{
    width:100vw !important;
    max-width:none !important;
    min-width:0 !important;
    height:100vh !important;
    max-height:100vh !important;
    margin:0 !important;
    box-sizing:border-box !important;
    padding:16px 20px 12px !important;
    grid-template-rows:106px 1fr 34px !important;
    gap:12px !important;
}

body.tv-home-body .tv-board-header{
    width:100% !important;
    max-width:none !important;
    grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr) minmax(300px,.65fr) !important;
    gap:14px !important;
}

body.tv-home-body .tv-price-grid{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    gap:10px !important;
    grid-template-columns:repeat(7,minmax(0,1fr)) !important;
}

body.tv-home-body .tv-price-card{
    min-width:0 !important;
    border-radius:20px !important;
    padding:15px 13px 13px !important;
}

body.tv-home-body .tv-card-top span{
    font-size:18px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

body.tv-home-body .tv-price-card strong{
    font-size:34px !important;
    line-height:1.18 !important;
    white-space:nowrap !important;
}

body.tv-home-body .tv-price-card small{
    font-size:16px !important;
}

body.tv-home-body .tv-brand-side h1{
    font-size:33px !important;
    line-height:1.25 !important;
    white-space:nowrap !important;
}

body.tv-home-body .tv-brand-side p{
    font-size:16px !important;
}

body.tv-home-body .tv-logo-mark{
    width:70px !important;
    height:70px !important;
    border-radius:22px !important;
    font-size:40px !important;
}

body.tv-home-body .tv-status{
    padding:13px 15px !important;
    border-radius:20px !important;
}

body.tv-home-body .tv-status strong{
    font-size:20px !important;
}

body.tv-home-body .tv-status span{
    font-size:15px !important;
}

body.tv-home-body .tv-time-box{
    padding:12px 14px !important;
    border-radius:20px !important;
}

body.tv-home-body .tv-time-box strong{
    font-size:34px !important;
}

body.tv-home-body .tv-board-footer{
    font-size:15px !important;
}

/* For screens wider than Full HD, use full width too */
@media(min-width:1921px){
    body.tv-home-body .tv-price-grid{
        grid-template-columns:repeat(8,minmax(0,1fr)) !important;
    }

    body.tv-home-body .tv-price-card strong{
        font-size:36px !important;
    }
}

/* Responsive fallback */
@media(max-width:1500px){
    body.tv-home-body{
        overflow:auto !important;
    }

    body.tv-home-body .tv-main,
    body.tv-home-body main.tv-main,
    body.tv-home-body .tv-board-shell{
        height:auto !important;
        max-height:none !important;
        min-height:100vh !important;
        overflow:visible !important;
    }

    body.tv-home-body .tv-board-header{
        grid-template-columns:1fr !important;
    }

    body.tv-home-body .tv-price-grid{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

@media(max-width:760px){
    body.tv-home-body .tv-price-grid{
        grid-template-columns:1fr !important;
    }

    body.tv-home-body .tv-brand-side h1{
        white-space:normal !important;
        font-size:28px !important;
    }
}

/* Force home page to use board model */
body.home-board-body{
    margin:0 !important;
    padding:0 !important;
    width:100vw !important;
    min-height:100vh !important;
    overflow-x:hidden !important;
    background:
        radial-gradient(circle at 12% 10%,rgba(216,174,61,.18),transparent 28%),
        radial-gradient(circle at 85% 0%,rgba(11,120,255,.24),transparent 32%),
        linear-gradient(160deg,#020617 0%,#061A3B 47%,#072B68 100%) !important;
}

.home-board-main{
    width:100vw !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:20px 24px !important;
    box-sizing:border-box !important;
}

.home-board-page{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}

.home-board-head{
    width:100% !important;
    max-width:none !important;
    margin:0 0 16px !important;
    padding:24px !important;
    border-radius:30px !important;
    grid-template-columns:minmax(0,1.4fr) minmax(300px,.55fr) !important;
    gap:20px !important;
}

.home-board-head h1{
    font-size:38px !important;
    line-height:1.35 !important;
    margin:0 0 8px !important;
}

.home-board-head p{
    font-size:17px !important;
    line-height:1.8 !important;
}

.home-info-grid{
    margin:0 0 16px !important;
    gap:14px !important;
}

.home-board-grid{
    width:100% !important;
    max-width:none !important;
    gap:14px !important;
    grid-template-columns:repeat(7,minmax(0,1fr)) !important;
}

.home-price-card{
    min-width:0 !important;
    min-height:230px !important;
    border-radius:24px !important;
    padding:20px 16px 16px !important;
}

.home-card-title{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    margin-bottom:16px;
}

.home-card-title span{
    color:#334155;
    font-size:17px;
    font-weight:950;
    line-height:1.5;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.home-price-card strong{
    display:block;
    color:#061A3B !important;
    font-size:34px !important;
    line-height:1.25 !important;
    white-space:nowrap !important;
    margin-top:auto !important;
    margin-bottom:auto !important;
}

.home-price-card small{
    font-size:15px !important;
    font-weight:900 !important;
}

.home-board-body .tv-rate-icon{
    width:34px !important;
    height:34px !important;
    font-size:18px !important;
    border-radius:12px !important;
}

@media(min-width:1800px) and (max-height:1120px){
    .home-board-main{
        padding:16px 20px !important;
    }

    .home-board-head{
        padding:22px !important;
        border-radius:26px !important;
        margin-bottom:12px !important;
    }

    .home-board-head h1{
        font-size:34px !important;
    }

    .home-info-grid{
        margin-bottom:12px !important;
        gap:10px !important;
    }

    .home-info-grid article{
        padding:12px 14px !important;
        border-radius:18px !important;
    }

    .home-info-grid strong{
        font-size:16px !important;
        line-height:1.6 !important;
    }

    .home-board-grid{
        gap:10px !important;
    }

    .home-price-card{
        min-height:225px !important;
        border-radius:20px !important;
        padding:17px 14px 14px !important;
    }

    .home-card-title span{
        font-size:16px !important;
    }

    .home-price-card strong{
        font-size:33px !important;
    }
}

@media(min-width:2100px){
    .home-board-grid{
        grid-template-columns:repeat(8,minmax(0,1fr)) !important;
    }
}

@media(max-width:1500px){
    .home-board-grid{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }

    .home-board-head{
        grid-template-columns:1fr !important;
    }
}

@media(max-width:900px){
    .home-board-main{
        padding:14px 12px !important;
    }

    .home-board-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    .home-price-card{
        min-height:190px !important;
    }
}

@media(max-width:560px){
    .home-board-grid{
        grid-template-columns:1fr !important;
    }

    .home-board-head{
        padding:18px !important;
        border-radius:22px !important;
    }

    .home-board-head h1{
        font-size:26px !important;
    }
}

html.ontala-refreshing .price-card,
html.ontala-refreshing .home-price-card,
html.ontala-refreshing .tv-price-card{
    transition:.2s ease;
}

html.ontala-refreshing body:after{
    content:"";
    position:fixed;
    left:20px;
    top:20px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--gold);
    box-shadow:0 0 0 0 rgba(216,174,61,.6);
    animation:ontalaLivePulse 1.2s infinite;
    z-index:99999;
}

html.ontala-refresh-error body:after{
    content:"";
    position:fixed;
    left:20px;
    top:20px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:#EF4444;
    z-index:99999;
}


html.ontala-refreshing body:after{
    content:"";
    position:fixed;
    left:20px;
    top:20px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--gold);
    box-shadow:0 0 0 0 rgba(216,174,61,.6);
    animation:ontalaLivePulse 1.2s infinite;
    z-index:99999;
}

html.ontala-refresh-error body:after{
    content:"";
    position:fixed;
    left:20px;
    top:20px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:#EF4444;
    z-index:99999;
}

.price-change{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    margin-top:12px;
    padding:8px 10px;
    border-radius:14px;
    font-size:12px;
    font-weight:900;
    line-height:1.4;
}

.price-change span,
.price-change strong,
.price-change small{
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
}

.price-change strong{
    font-size:13px;
}

.price-change small{
    font-size:11px;
    opacity:.85;
}

.price-change.up{
    background:rgba(34,197,94,.12);
    color:#15803D;
    border:1px solid rgba(34,197,94,.22);
}

.price-change.down{
    background:rgba(239,68,68,.10);
    color:#B91C1C;
    border:1px solid rgba(239,68,68,.20);
}

.price-change.neutral{
    background:#F1F5F9;
    color:#64748B;
    border:1px solid #E2E8F0;
}

.board-body .price-change,
.home-board-body .price-change{
    margin-top:auto;
}

@media(min-width:1800px) and (max-height:1120px){
    .price-change{
        padding:6px 8px;
        font-size:11px;
        margin-top:8px;
    }

    .price-change strong{
        font-size:12px;
    }

    .price-change small{
        display:none;
    }
}

/* Ontala display settings */
:root{
    --ontala-tv-columns:7;
}

.home-board-grid,
.tv-price-grid,
.board-grid,
.price-grid.board-grid{
    grid-template-columns:repeat(var(--ontala-tv-columns), minmax(0, 1fr)) !important;
}

html.ontala-hide-info-bar .tenant-info-grid{
    display:none !important;
}

html.ontala-hide-fullscreen .tv-fullscreen-btn{
    display:none !important;
}

@media(max-width:1500px){
    .home-board-grid,
    .tv-price-grid,
    .board-grid,
    .price-grid.board-grid{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }
}

@media(max-width:900px){
    .home-board-grid,
    .tv-price-grid,
    .board-grid,
    .price-grid.board-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:560px){
    .home-board-grid,
    .tv-price-grid,
    .board-grid,
    .price-grid.board-grid{
        grid-template-columns:1fr !important;
    }
}

.health-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.health-grid article{
    background:#F8FBFF;
    border:1px solid var(--border);
    border-radius:22px;
    padding:18px;
}

.health-grid span{
    display:block;
    color:var(--muted);
    font-size:13px;
    margin-bottom:8px;
}

.health-grid strong{
    display:block;
    color:var(--primary-dark);
    font-size:22px;
    line-height:1.7;
    word-break:break-word;
}

.health-grid small{
    display:block;
    color:var(--muted);
    line-height:1.8;
}

.health-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:10px;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
}

.health-badge.ok{
    background:#DCFCE7;
    color:#166534;
}

.health-badge.warn{
    background:#FEF3C7;
    color:#92400E;
}

.health-badge.bad{
    background:#FEE2E2;
    color:#991B1B;
}

@media(max-width:1100px){
    .health-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .health-grid{
        grid-template-columns:1fr;
    }
}

.usage-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.usage-grid article{
    background:#F8FBFF;
    border:1px solid var(--border);
    border-radius:22px;
    padding:18px;
}

.usage-grid span{
    display:block;
    color:var(--muted);
    font-size:13px;
    margin-bottom:8px;
}

.usage-grid strong{
    display:block;
    color:var(--primary-dark);
    font-size:25px;
    line-height:1.7;
}

.usage-grid small{
    display:block;
    color:var(--muted);
    line-height:1.8;
}

.usage-bar{
    height:18px;
    background:#EAF0F8;
    border-radius:999px;
    overflow:hidden;
    margin-top:18px;
}

.usage-bar div{
    height:100%;
    background:linear-gradient(90deg,var(--primary),var(--gold));
    border-radius:999px;
}

@media(max-width:1000px){
    .usage-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .usage-grid{
        grid-template-columns:1fr;
    }
}

/* Mohammad Babaee special gold board */
.mbb-body{
    margin:0;
    width:100vw;
    min-height:100vh;
    overflow:hidden;
    background:
        radial-gradient(circle at 15% 12%, rgba(255,255,255,.30), transparent 22%),
        radial-gradient(circle at 85% 5%, rgba(255,244,185,.35), transparent 28%),
        linear-gradient(135deg,#5a3502 0%,#b77b16 38%,#f1c967 100%);
    font-family:IRANSans, IRANSansWeb, Tahoma, sans-serif;
}

.mbb-wrap{
    width:100vw;
    height:100vh;
    padding:18px 22px;
    box-sizing:border-box;
    display:grid;
    grid-template-rows:112px 1fr 70px;
    gap:14px;
}

.mbb-header{
    display:grid;
    grid-template-columns:1.1fr .9fr .75fr;
    gap:14px;
    align-items:center;
}

.mbb-brand,
.mbb-status,
.mbb-last{
    height:100%;
    border:1px solid rgba(255,255,255,.30);
    background:rgba(30,18,2,.42);
    backdrop-filter:blur(14px);
    border-radius:26px;
    box-shadow:0 20px 55px rgba(0,0,0,.20);
}

.mbb-brand{
    display:flex;
    align-items:center;
    gap:16px;
    padding:14px 18px;
}

.mbb-brand img,
.mbb-logo{
    width:74px;
    height:74px;
    border-radius:22px;
    flex:0 0 auto;
}

.mbb-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#fff4bd,#d6a42e);
    color:#3a2505;
    font-size:42px;
    font-weight:950;
}

.mbb-brand h1{
    color:#fff;
    margin:0;
    font-size:34px;
    line-height:1.35;
}

.mbb-brand p{
    color:rgba(255,255,255,.78);
    margin:4px 0 0;
    font-size:16px;
}

.mbb-status,
.mbb-last{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:14px 18px;
    color:#fff;
    line-height:1.9;
}

.mbb-status span{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    border-radius:999px;
    padding:4px 10px;
    margin:2px 0;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:14px;
    font-weight:900;
}

.mbb-status .open{
    background:rgba(34,197,94,.22);
    color:#dcfce7;
}

.mbb-status .closed{
    background:rgba(239,68,68,.20);
    color:#fee2e2;
}

.mbb-last span{
    color:rgba(255,255,255,.72);
    font-size:13px;
}

.mbb-last strong{
    color:#fff;
    font-size:22px;
    line-height:1.5;
}

.mbb-last small{
    color:rgba(255,255,255,.72);
    font-size:12px;
}

.mbb-price-grid{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:1fr;
    gap:13px;
}

.mbb-card{
    position:relative;
    overflow:hidden;
    min-width:0;
    min-height:0;
    border-radius:26px;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(255,255,255,.70);
    box-shadow:0 20px 45px rgba(65,38,0,.18);
    padding:18px 18px 14px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.mbb-card:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:6px;
    background:linear-gradient(90deg,#7a4b05,#f6d36d,#7a4b05);
}

.mbb-card-title{
    color:#334155;
    font-size:18px;
    font-weight:950;
    line-height:1.45;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.mbb-card > strong{
    color:#111827;
    font-size:38px;
    line-height:1.2;
    font-weight:950;
    direction:ltr;
    text-align:right;
    white-space:nowrap;
    margin:auto 0;
}

.mbb-card small{
    color:#64748b;
    font-size:15px;
    font-weight:900;
}

.mbb-card em{
    color:#64748b;
    font-style:normal;
    font-size:12px;
    margin-top:4px;
}

.mbb-card.green-text > strong,
.mbb-rate-row.green strong{
    color:#15803d;
}

.mbb-card.red-text > strong,
.mbb-rate-row.red strong{
    color:#ef4444;
}

.mbb-card.jigar-text > strong{
    color:#8b0000;
}

.mbb-card.purple-text > strong,
.mbb-rate-row.purple strong{
    color:#7c3aed;
}

.mbb-card.global-text > strong{
    color:#0f766e;
}

.mbb-multi{
    gap:8px;
}

.mbb-rate-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border-top:1px solid #e5e7eb;
    padding-top:8px;
}

.mbb-rate-row span{
    color:#64748b;
    font-size:14px;
    font-weight:900;
}

.mbb-rate-row strong{
    color:#111827;
    font-size:25px;
    line-height:1.25;
    direction:ltr;
    white-space:nowrap;
}

.mbb-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    color:#fff;
    border:1px solid rgba(255,255,255,.24);
    background:rgba(30,18,2,.35);
    border-radius:24px;
    padding:10px 18px;
    line-height:1.7;
    font-size:15px;
    font-weight:900;
}

.mbb-links{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.mbb-links a,
.mbb-links span{
    color:#fff;
    text-decoration:none;
    background:rgba(255,255,255,.13);
    border-radius:999px;
    padding:6px 10px;
}

@media(max-width:1400px){
    .mbb-body{
        overflow:auto;
    }

    .mbb-wrap{
        height:auto;
        min-height:100vh;
        grid-template-rows:auto auto auto;
    }

    .mbb-header{
        grid-template-columns:1fr;
    }

    .mbb-price-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .mbb-wrap{
        padding:12px;
    }

    .mbb-price-grid{
        grid-template-columns:1fr;
    }

    .mbb-brand h1{
        font-size:25px;
    }

    .mbb-footer{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* Mohammad Babaee board UI refinement */
.mbb-body{
    background:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,.20), transparent 26%),
        radial-gradient(circle at 86% 4%, rgba(255,244,185,.30), transparent 30%),
        linear-gradient(135deg,#4b2a02 0%,#a66a0c 42%,#e5bd55 100%) !important;
}

.mbb-wrap{
    padding:18px 28px 16px !important;
    grid-template-rows:108px 1fr 76px !important;
    gap:14px !important;
    overflow:hidden !important;
}

.mbb-header{
    gap:16px !important;
    grid-template-columns:1.25fr .92fr .72fr !important;
    align-items:stretch !important;
}

.mbb-brand,
.mbb-status,
.mbb-last{
    border-radius:24px !important;
    border:1px solid rgba(255,255,255,.28) !important;
    background:rgba(47,27,4,.50) !important;
    box-shadow:0 18px 46px rgba(33,20,2,.20) !important;
}

.mbb-brand{
    padding:13px 18px !important;
    gap:15px !important;
}

.mbb-brand img,
.mbb-logo{
    width:70px !important;
    height:70px !important;
    border-radius:20px !important;
}

.mbb-logo{
    font-size:38px !important;
}

.mbb-brand h1{
    font-size:32px !important;
    line-height:1.25 !important;
    margin:0 0 4px !important;
    white-space:nowrap !important;
}

.mbb-brand p{
    font-size:15px !important;
    line-height:1.6 !important;
    margin:0 !important;
}

.mbb-status,
.mbb-last{
    padding:12px 16px !important;
    line-height:1.7 !important;
}

.mbb-status{
    align-items:flex-end !important;
}

.mbb-status span{
    font-size:13px !important;
    padding:4px 10px !important;
    margin:2px 0 !important;
}

.mbb-last{
    text-align:right !important;
}

.mbb-last span{
    font-size:12px !important;
}

.mbb-last strong{
    font-size:20px !important;
    line-height:1.35 !important;
}

.mbb-last small{
    font-size:11px !important;
    line-height:1.5 !important;
}

.mbb-price-grid{
    gap:12px !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    align-content:stretch !important;
}

.mbb-card{
    border-radius:22px !important;
    padding:17px 18px 15px !important;
    min-height:0 !important;
    box-shadow:0 16px 34px rgba(55,31,0,.16) !important;
}

.mbb-card:before{
    height:4px !important;
}

.mbb-card-title{
    font-size:16px !important;
    line-height:1.45 !important;
    margin-bottom:8px !important;
}

.mbb-card > strong{
    font-size:34px !important;
    line-height:1.15 !important;
    margin:10px 0 8px !important;
    letter-spacing:-.5px !important;
}

.mbb-card small{
    font-size:13px !important;
    line-height:1.5 !important;
}

.mbb-card em{
    font-size:11px !important;
    line-height:1.5 !important;
    margin-top:2px !important;
}

.mbb-multi{
    justify-content:flex-start !important;
    gap:6px !important;
}

.mbb-multi .mbb-card-title{
    margin-bottom:8px !important;
}

.mbb-rate-row{
    padding-top:7px !important;
    min-height:34px !important;
}

.mbb-rate-row span{
    font-size:13px !important;
}

.mbb-rate-row strong{
    font-size:22px !important;
    line-height:1.2 !important;
}

.mbb-footer{
    border-radius:22px !important;
    padding:10px 16px !important;
    line-height:1.55 !important;
    font-size:14px !important;
    min-height:0 !important;
    align-items:center !important;
    background:rgba(47,27,4,.42) !important;
}

.mbb-footer > div:first-child{
    max-height:58px !important;
    overflow:hidden !important;
}

.mbb-links{
    gap:9px !important;
}

.mbb-links a,
.mbb-links span{
    padding:6px 10px !important;
    font-size:13px !important;
}

/* Full HD exact fit */
@media(min-width:1600px) and (max-height:950px){
    .mbb-wrap{
        padding:16px 24px 14px !important;
        grid-template-rows:102px 1fr 68px !important;
        gap:12px !important;
    }

    .mbb-header{
        gap:14px !important;
    }

    .mbb-brand h1{
        font-size:30px !important;
    }

    .mbb-brand img,
    .mbb-logo{
        width:66px !important;
        height:66px !important;
    }

    .mbb-price-grid{
        gap:11px !important;
    }

    .mbb-card{
        border-radius:21px !important;
        padding:15px 16px 13px !important;
    }

    .mbb-card-title{
        font-size:15px !important;
    }

    .mbb-card > strong{
        font-size:31px !important;
        margin:8px 0 6px !important;
    }

    .mbb-rate-row{
        min-height:31px !important;
        padding-top:6px !important;
    }

    .mbb-rate-row strong{
        font-size:20px !important;
    }

    .mbb-footer{
        font-size:13px !important;
        padding:8px 14px !important;
    }
}

/* Very wide screens */
@media(min-width:2100px){
    .mbb-wrap{
        padding:24px 34px 20px !important;
        grid-template-rows:124px 1fr 86px !important;
        gap:18px !important;
    }

    .mbb-card > strong{
        font-size:40px !important;
    }

    .mbb-rate-row strong{
        font-size:26px !important;
    }
}

/* Tablet and small screens */
@media(max-width:1400px){
    .mbb-body{
        overflow:auto !important;
    }

    .mbb-wrap{
        height:auto !important;
        min-height:100vh !important;
        grid-template-rows:auto auto auto !important;
        padding:16px !important;
    }

    .mbb-header{
        grid-template-columns:1fr !important;
    }

    .mbb-price-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    .mbb-card{
        min-height:210px !important;
    }
}

@media(max-width:700px){
    .mbb-wrap{
        padding:12px !important;
    }

    .mbb-price-grid{
        grid-template-columns:1fr !important;
    }

    .mbb-brand{
        align-items:flex-start !important;
    }

    .mbb-brand h1{
        white-space:normal !important;
        font-size:24px !important;
    }

    .mbb-card > strong{
        font-size:30px !important;
    }

    .mbb-footer{
        flex-direction:column !important;
        align-items:flex-start !important;
    }
}

/* Mohammad board typography and spacing final fix */
.mbb-wrap{
    padding:20px 30px 18px !important;
    grid-template-rows:104px minmax(0,1fr) 72px !important;
    gap:20px !important;
}

.mbb-header{
    gap:18px !important;
    margin-bottom:0 !important;
    position:relative !important;
    z-index:2 !important;
}

.mbb-brand,
.mbb-status,
.mbb-last{
    border-radius:22px !important;
}

.mbb-brand{
    padding:12px 18px !important;
}

.mbb-brand h1{
    font-size:34px !important;
    line-height:1.18 !important;
    font-weight:950 !important;
    letter-spacing:-.4px !important;
}

.mbb-brand p{
    font-size:16px !important;
    line-height:1.35 !important;
    font-weight:700 !important;
}

.mbb-status,
.mbb-last{
    padding:10px 16px !important;
    line-height:1.35 !important;
}

.mbb-status span{
    font-size:14px !important;
    line-height:1.35 !important;
    padding:5px 11px !important;
    margin:2px 0 !important;
    font-weight:950 !important;
}

.mbb-last span{
    font-size:13px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
}

.mbb-last strong{
    font-size:23px !important;
    line-height:1.25 !important;
    font-weight:950 !important;
    margin:4px 0 !important;
}

.mbb-last small{
    font-size:12px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
}

.mbb-price-grid{
    position:relative !important;
    z-index:1 !important;
    gap:16px !important;
    padding-top:0 !important;
}

.mbb-card{
    border-radius:24px !important;
    padding:20px 20px 17px !important;
    justify-content:flex-start !important;
}

.mbb-card-title{
    font-size:20px !important;
    line-height:1.25 !important;
    font-weight:950 !important;
    margin:0 0 12px !important;
    color:#1f2f46 !important;
}

.mbb-card > strong{
    font-size:43px !important;
    line-height:1.05 !important;
    font-weight:950 !important;
    margin:auto 0 12px !important;
    color:#06152b !important;
}

.mbb-card small{
    font-size:16px !important;
    line-height:1.25 !important;
    font-weight:900 !important;
    color:#475569 !important;
}

.mbb-card em{
    font-size:13px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
    margin-top:6px !important;
    color:#64748b !important;
}

.mbb-multi{
    justify-content:flex-start !important;
    gap:0 !important;
}

.mbb-multi .mbb-card-title{
    margin-bottom:14px !important;
}

.mbb-rate-row{
    min-height:42px !important;
    padding:9px 0 !important;
    border-top:1px solid rgba(15,23,42,.12) !important;
    gap:12px !important;
}

.mbb-rate-row span{
    font-size:16px !important;
    line-height:1.2 !important;
    font-weight:950 !important;
    color:#475569 !important;
}

.mbb-rate-row strong{
    font-size:29px !important;
    line-height:1.05 !important;
    font-weight:950 !important;
}

.mbb-card.green-text > strong,
.mbb-rate-row.green strong{
    color:#0f8a39 !important;
}

.mbb-card.red-text > strong,
.mbb-rate-row.red strong{
    color:#ef4444 !important;
}

.mbb-card.jigar-text > strong{
    color:#7f0000 !important;
}

.mbb-card.purple-text > strong,
.mbb-rate-row.purple strong{
    color:#7c3aed !important;
}

.mbb-card.global-text > strong{
    color:#0f766e !important;
}

.mbb-footer{
    margin-top:0 !important;
    border-radius:22px !important;
    padding:10px 18px !important;
    font-size:16px !important;
    line-height:1.35 !important;
    font-weight:950 !important;
}

.mbb-footer > div:first-child{
    max-height:none !important;
    line-height:1.45 !important;
}

.mbb-links a,
.mbb-links span{
    font-size:14px !important;
    line-height:1.2 !important;
    font-weight:950 !important;
    padding:8px 12px !important;
}

/* Full HD browser/TV exact refinement */
@media(min-width:1500px) and (max-height:980px){
    .mbb-wrap{
        padding:18px 28px 16px !important;
        grid-template-rows:100px minmax(0,1fr) 70px !important;
        gap:18px !important;
    }

    .mbb-header{
        gap:16px !important;
    }

    .mbb-brand h1{
        font-size:32px !important;
    }

    .mbb-brand p{
        font-size:15px !important;
    }

    .mbb-brand img,
    .mbb-logo{
        width:64px !important;
        height:64px !important;
        border-radius:18px !important;
    }

    .mbb-logo{
        font-size:36px !important;
    }

    .mbb-price-grid{
        gap:14px !important;
    }

    .mbb-card{
        padding:18px 18px 15px !important;
        border-radius:22px !important;
    }

    .mbb-card-title{
        font-size:18px !important;
        line-height:1.22 !important;
        margin-bottom:10px !important;
    }

    .mbb-card > strong{
        font-size:39px !important;
        line-height:1.04 !important;
        margin:auto 0 10px !important;
    }

    .mbb-card small{
        font-size:15px !important;
    }

    .mbb-card em{
        font-size:12px !important;
    }

    .mbb-rate-row{
        min-height:38px !important;
        padding:8px 0 !important;
    }

    .mbb-rate-row span{
        font-size:15px !important;
    }

    .mbb-rate-row strong{
        font-size:26px !important;
    }

    .mbb-footer{
        font-size:14px !important;
        padding:9px 16px !important;
    }
}

/* When browser chrome/sidebar reduces real height */
@media(min-width:1500px) and (max-height:860px){
    .mbb-wrap{
        padding:14px 24px 12px !important;
        grid-template-rows:88px minmax(0,1fr) 58px !important;
        gap:14px !important;
    }

    .mbb-brand h1{
        font-size:29px !important;
    }

    .mbb-brand p{
        font-size:14px !important;
    }

    .mbb-brand img,
    .mbb-logo{
        width:58px !important;
        height:58px !important;
    }

    .mbb-price-grid{
        gap:12px !important;
    }

    .mbb-card{
        padding:16px 17px 13px !important;
    }

    .mbb-card-title{
        font-size:17px !important;
        margin-bottom:8px !important;
    }

    .mbb-card > strong{
        font-size:35px !important;
        margin:auto 0 8px !important;
    }

    .mbb-rate-row{
        min-height:34px !important;
        padding:7px 0 !important;
    }

    .mbb-rate-row span{
        font-size:14px !important;
    }

    .mbb-rate-row strong{
        font-size:23px !important;
    }

    .mbb-footer{
        font-size:13px !important;
        line-height:1.25 !important;
    }
}

/* Keep responsive sane */
@media(max-width:1400px){
    .mbb-card-title{
        font-size:18px !important;
    }

    .mbb-card > strong{
        font-size:36px !important;
    }

    .mbb-rate-row strong{
        font-size:25px !important;
    }
}

@media(max-width:700px){
    .mbb-card-title{
        font-size:17px !important;
    }

    .mbb-card > strong{
        font-size:32px !important;
    }

    .mbb-rate-row strong{
        font-size:23px !important;
    }
}

/* Generic board builder */
.bb-body{
    margin:0;
    width:100vw;
    min-height:100vh;
    overflow:hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,.20), transparent 26%),
        radial-gradient(circle at 86% 4%, rgba(255,244,185,.30), transparent 30%),
        linear-gradient(135deg,var(--bb-bg1) 0%,var(--bb-bg2) 100%);
    font-family:IRANSans, IRANSansWeb, Tahoma, sans-serif;
}

.bb-wrap{
    width:100vw;
    height:100vh;
    padding:18px 28px 16px;
    box-sizing:border-box;
    display:grid;
    grid-template-rows:var(--bb-header-h) minmax(0,1fr) 70px;
    gap:18px;
    overflow:hidden;
}

.bb-header{
    display:grid;
    grid-template-columns:1.25fr .92fr .72fr;
    gap:16px;
    align-items:stretch;
}

.bb-brand,
.bb-status,
.bb-last{
    border-radius:22px;
    border:1px solid rgba(255,255,255,.28);
    background:var(--bb-header);
    box-shadow:0 18px 46px rgba(33,20,2,.20);
}

.bb-brand{
    display:flex;
    align-items:center;
    gap:15px;
    padding:12px 18px;
}

.bb-brand img,
.bb-logo{
    width:64px;
    height:64px;
    border-radius:18px;
    flex:0 0 auto;
}

.bb-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#fff4bd,#d6a42e);
    color:#3a2505;
    font-size:36px;
    font-weight:950;
}

.bb-brand h1{
    color:#fff;
    margin:0 0 4px;
    font-size:32px;
    line-height:1.18;
    font-weight:950;
    white-space:nowrap;
}

.bb-brand p{
    color:rgba(255,255,255,.78);
    margin:0;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
}

.bb-status,
.bb-last{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:10px 16px;
    line-height:1.35;
    color:#fff;
}

.bb-status{
    align-items:flex-end;
}

.bb-status span{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    border-radius:999px;
    padding:5px 11px;
    margin:2px 0;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:14px;
    line-height:1.35;
    font-weight:950;
}

.bb-status .open{
    background:rgba(34,197,94,.24);
    color:#dcfce7;
}

.bb-status .closed{
    background:rgba(239,68,68,.22);
    color:#fee2e2;
}

.bb-last span{
    color:rgba(255,255,255,.75);
    font-size:13px;
    line-height:1.25;
    font-weight:800;
}

.bb-last strong{
    color:#fff;
    font-size:23px;
    line-height:1.25;
    font-weight:950;
    margin:4px 0;
}

.bb-last small{
    color:rgba(255,255,255,.72);
    font-size:12px;
    line-height:1.25;
    font-weight:800;
}

.bb-grid{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(var(--bb-cols),minmax(0,1fr));
    grid-auto-rows:1fr;
    gap:14px;
}

.bb-card{
    position:relative;
    overflow:hidden;
    min-width:0;
    min-height:0;
    border-radius:var(--bb-radius);
    background:var(--bb-card);
    border:1px solid rgba(255,255,255,.72);
    box-shadow:0 16px 34px rgba(55,31,0,.16);
    padding:18px 18px 15px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.bb-card:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg,#7a4b05,#f6d36d,#7a4b05);
}

.bb-card-title{
    color:#1f2f46;
    font-size:var(--bb-title);
    line-height:1.22;
    font-weight:950;
    margin:0 0 10px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.bb-card > strong{
    color:var(--bb-card-text);
    font-size:var(--bb-price);
    line-height:1.04;
    font-weight:950;
    margin:auto 0 10px;
    letter-spacing:-.5px;
    direction:ltr;
    text-align:right;
    white-space:nowrap;
}

.bb-card small{
    color:#475569;
    font-size:15px;
    line-height:1.25;
    font-weight:900;
}

.bb-card em{
    color:#64748b;
    font-style:normal;
    font-size:12px;
    line-height:1.25;
    font-weight:800;
    margin-top:6px;
}

.bb-multi{
    justify-content:flex-start;
    gap:0;
}

.bb-multi .bb-card-title{
    margin-bottom:12px;
}

.bb-rate-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:38px;
    padding:8px 0;
    border-top:1px solid rgba(15,23,42,.12);
    gap:12px;
}

.bb-rate-row span{
    color:#475569;
    font-size:15px;
    line-height:1.2;
    font-weight:950;
}

.bb-rate-row strong{
    color:#111827;
    font-size:26px;
    line-height:1.05;
    font-weight:950;
    direction:ltr;
    white-space:nowrap;
}

.bb-card.green > strong,
.bb-rate-row.green strong{
    color:#0f8a39;
}

.bb-card.red > strong,
.bb-rate-row.red strong{
    color:#ef4444;
}

.bb-card.jigar > strong,
.bb-rate-row.jigar strong{
    color:#7f0000;
}

.bb-card.purple > strong,
.bb-rate-row.purple strong{
    color:#7c3aed;
}

.bb-card.global > strong,
.bb-rate-row.global strong{
    color:#0f766e;
}

.bb-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    color:#fff;
    border:1px solid rgba(255,255,255,.24);
    background:rgba(47,27,4,.42);
    border-radius:22px;
    padding:9px 16px;
    line-height:1.35;
    font-size:14px;
    font-weight:950;
}

.bb-footer > div:first-child{
    line-height:1.45;
}

.bb-links{
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
}

.bb-links a,
.bb-links span{
    color:#fff;
    text-decoration:none;
    background:rgba(255,255,255,.13);
    border-radius:999px;
    padding:8px 12px;
    font-size:14px;
    line-height:1.2;
    font-weight:950;
}

.form-grid-4{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    align-items:end;
}

.builder-form textarea{
    width:100%;
}

.btn.danger{
    background:#ef4444;
    color:#fff;
}

.btn.mini{
    padding:7px 10px;
    font-size:12px;
}

@media(max-width:1400px){
    .bb-body{
        overflow:auto;
    }

    .bb-wrap{
        height:auto;
        min-height:100vh;
        grid-template-rows:auto auto auto;
        padding:16px;
    }

    .bb-header{
        grid-template-columns:1fr;
    }

    .bb-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .form-grid-4{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .bb-wrap{
        padding:12px;
    }

    .bb-grid,
    .form-grid-4{
        grid-template-columns:1fr;
    }

    .bb-brand h1{
        white-space:normal;
        font-size:24px;
    }

    .bb-card > strong{
        font-size:32px;
    }

    .bb-footer{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* Tenants quick actions and logo upload */
.tenant-row-actions{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    min-width:260px;
}

.tenant-row-actions .btn,
.btn.mini{
    padding:7px 10px;
    font-size:12px;
    line-height:1.2;
    border-radius:10px;
    white-space:nowrap;
}

.tenant-logo-preview{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    margin-bottom:8px;
}

.tenant-logo-preview img{
    width:78px;
    height:58px;
    object-fit:contain;
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:6px;
}

@media(max-width:900px){
    .tenant-row-actions{
        min-width:0;
    }
}

/* Final board layout safety fix */
html:has(.bb-body),
body.bb-body{
    width:100%;
    min-height:100%;
}

body.bb-body{
    overflow:hidden !important;
}

.bb-wrap{
    width:100vw !important;
    height:100vh !important;
    max-width:none !important;
    box-sizing:border-box !important;
    padding:18px 28px 16px !important;
    display:grid !important;
    grid-template-rows:100px 104px minmax(0,1fr) 138px !important;
    gap:14px !important;
    overflow:hidden !important;
}

.bb-header{
    min-height:0 !important;
}

.bb-brand,
.bb-status,
.bb-last{
    min-height:0 !important;
}

.bb-status{
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    align-content:center !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    padding:10px 14px !important;
}

.bb-status span{
    margin:0 !important;
    white-space:nowrap !important;
}

.bb-slogan{
    min-height:0 !important;
    height:100% !important;
    box-sizing:border-box !important;
    background:#fffaf0 !important;
    color:#111 !important;
    border:2px solid rgba(111,75,8,.38) !important;
    border-radius:26px !important;
    padding:12px 22px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:27px !important;
    font-weight:950 !important;
    line-height:1.35 !important;
    overflow:hidden !important;
}

.bb-grid{
    min-height:0 !important;
    height:100% !important;
    display:grid !important;
    grid-template-columns:repeat(var(--bb-cols), minmax(0, 1fr)) !important;
    grid-template-rows:repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows:minmax(0, 1fr) !important;
    gap:14px !important;
    align-content:stretch !important;
    align-items:stretch !important;
    overflow:hidden !important;
}

.bb-card{
    min-height:0 !important;
    height:100% !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    padding:18px 18px 14px !important;
    border-radius:var(--bb-radius) !important;
}

.bb-card-title{
    font-size:var(--bb-title) !important;
    line-height:1.25 !important;
    margin:0 0 8px !important;
}

.bb-card > strong{
    font-size:var(--bb-price) !important;
    line-height:1.05 !important;
    margin:auto 0 8px !important;
}

.bb-card small{
    font-size:15px !important;
    line-height:1.25 !important;
}

.bb-card em{
    display:none !important;
}

.bb-multi{
    justify-content:flex-start !important;
}

.bb-rate-row{
    min-height:34px !important;
    padding:7px 0 !important;
}

.bb-rate-row span{
    font-size:15px !important;
}

.bb-rate-row strong{
    font-size:25px !important;
}

.bb-footer-rich,
.bb-footer{
    min-height:0 !important;
    height:100% !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
}

.bb-footer-top{
    max-height:62px !important;
    overflow:hidden !important;
}

.bb-footer-bottom{
    max-height:44px !important;
    overflow:hidden !important;
}

@media(max-width:1400px){
    body.bb-body{
        overflow:auto !important;
    }

    .bb-wrap{
        height:auto !important;
        min-height:100vh !important;
        grid-template-rows:auto auto auto auto !important;
        padding:14px !important;
        gap:12px !important;
        overflow:visible !important;
    }

    .bb-header{
        grid-template-columns:1fr !important;
    }

    .bb-slogan{
        min-height:92px !important;
        height:auto !important;
        font-size:22px !important;
    }

    .bb-grid{
        height:auto !important;
        overflow:visible !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows:none !important;
        grid-auto-rows:minmax(210px, auto) !important;
    }

    .bb-card{
        height:auto !important;
        min-height:210px !important;
    }

    .bb-footer{
        height:auto !important;
    }

    .bb-footer-top,
    .bb-footer-bottom{
        max-height:none !important;
    }
}

@media(max-width:700px){
    .bb-wrap{
        padding:10px !important;
    }

    .bb-grid{
        grid-template-columns:1fr !important;
        grid-auto-rows:minmax(220px, auto) !important;
    }

    .bb-slogan{
        font-size:18px !important;
        line-height:1.5 !important;
    }

    .bb-brand h1{
        font-size:23px !important;
        white-space:normal !important;
    }

    .bb-card > strong{
        font-size:34px !important;
    }
}

/* Mohammad and generic board flexible UI final */
body.bb-body{
    overflow-y:auto !important;
    overflow-x:hidden !important;
    background:
        radial-gradient(circle at 12% 6%, rgba(255,255,255,.20), transparent 25%),
        radial-gradient(circle at 88% 0%, rgba(255,255,255,.22), transparent 28%),
        linear-gradient(135deg,var(--bb-bg1) 0%,var(--bb-bg2) 100%) !important;
}

.bb-wrap{
    width:100% !important;
    max-width:none !important;
    min-height:100vh !important;
    height:auto !important;
    box-sizing:border-box !important;
    padding:20px 30px 24px !important;
    display:grid !important;
    grid-template-rows:auto auto auto auto !important;
    gap:16px !important;
    overflow:visible !important;
}

.bb-header{
    display:grid !important;
    grid-template-columns:1.25fr .9fr .72fr !important;
    gap:16px !important;
    align-items:stretch !important;
}

.bb-brand,
.bb-status,
.bb-last{
    min-height:96px !important;
    height:auto !important;
    border-radius:26px !important;
    background:var(--bb-header) !important;
    border:1px solid rgba(255,255,255,.24) !important;
    box-shadow:0 18px 45px rgba(60,36,0,.16) !important;
}

.bb-brand{
    display:flex !important;
    align-items:center !important;
    gap:16px !important;
    padding:14px 20px !important;
}

.bb-brand img,
.bb-logo{
    width:72px !important;
    height:72px !important;
    border-radius:20px !important;
    object-fit:contain !important;
    flex:0 0 auto !important;
}

.bb-logo{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:linear-gradient(135deg,#fff2b8,#d7aa3a) !important;
    color:#4b3106 !important;
    font-size:36px !important;
    font-weight:950 !important;
}

.bb-brand h1{
    margin:0 0 6px !important;
    color:#fff !important;
    font-size:34px !important;
    line-height:1.2 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
}

.bb-brand p{
    margin:0 !important;
    color:rgba(255,255,255,.82) !important;
    font-size:16px !important;
    line-height:1.35 !important;
    font-weight:800 !important;
}

.bb-status{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    align-content:center !important;
    flex-wrap:wrap !important;
    gap:9px !important;
    padding:14px 16px !important;
}

.bb-status span{
    margin:0 !important;
    padding:7px 12px !important;
    border-radius:999px !important;
    font-size:14px !important;
    line-height:1.25 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
    background:rgba(255,255,255,.15) !important;
    color:#fff !important;
}

.bb-status .open{
    background:rgba(22,163,74,.32) !important;
    color:#dcfce7 !important;
}

.bb-status .closed{
    background:rgba(239,68,68,.22) !important;
    color:#fee2e2 !important;
}

.bb-last{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    padding:14px 18px !important;
    text-align:right !important;
}

.bb-last span{
    color:rgba(255,255,255,.75) !important;
    font-size:13px !important;
    line-height:1.25 !important;
    font-weight:850 !important;
}

.bb-last strong{
    color:#fff !important;
    font-size:25px !important;
    line-height:1.25 !important;
    font-weight:950 !important;
    margin:5px 0 !important;
}

.bb-last small{
    color:rgba(255,255,255,.78) !important;
    font-size:12px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
}

.bb-slogan{
    min-height:96px !important;
    height:auto !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    overflow:visible !important;
    padding:18px 24px !important;
    border-radius:28px !important;
    background:#fffaf0 !important;
    color:#1f1608 !important;
    border:2px solid rgba(96,63,8,.35) !important;
    box-shadow:0 18px 44px rgba(60,36,0,.14) !important;
    font-size:30px !important;
    line-height:1.45 !important;
    font-weight:950 !important;
}

.bb-grid{
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    display:grid !important;
    grid-template-columns:repeat(var(--bb-cols), minmax(0,1fr)) !important;
    grid-template-rows:none !important;
    grid-auto-rows:minmax(176px, auto) !important;
    gap:16px !important;
    overflow:visible !important;
    align-items:stretch !important;
    align-content:start !important;
}

.bb-card{
    height:auto !important;
    min-height:176px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    border-radius:var(--bb-radius) !important;
    background:var(--bb-card) !important;
    border:1px solid rgba(255,255,255,.72) !important;
    box-shadow:0 15px 34px rgba(66,42,6,.15) !important;
    padding:20px 20px 16px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
}

.bb-card:before{
    height:4px !important;
}

.bb-card-title{
    color:#24170a !important;
    font-size:var(--bb-title) !important;
    line-height:1.25 !important;
    font-weight:950 !important;
    margin:0 0 10px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.bb-card > strong{
    color:var(--bb-card-text) !important;
    font-size:var(--bb-price) !important;
    line-height:1.08 !important;
    font-weight:950 !important;
    margin:auto 0 10px !important;
    direction:ltr !important;
    text-align:right !important;
    white-space:nowrap !important;
}

.bb-card small{
    color:#5f5140 !important;
    font-size:15px !important;
    line-height:1.25 !important;
    font-weight:900 !important;
}

.bb-card em{
    display:none !important;
}

.bb-multi{
    gap:0 !important;
}

.bb-multi .bb-card-title{
    margin-bottom:12px !important;
}

.bb-rate-row{
    min-height:36px !important;
    padding:8px 0 !important;
    border-top:1px solid rgba(36,23,10,.13) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
}

.bb-rate-row span{
    color:#4d4032 !important;
    font-size:15px !important;
    line-height:1.2 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
}

.bb-rate-row strong{
    color:#24170a !important;
    font-size:25px !important;
    line-height:1.05 !important;
    font-weight:950 !important;
    direction:ltr !important;
    white-space:nowrap !important;
}

.bb-card.green > strong,
.bb-rate-row.green strong{
    color:#0f8a39 !important;
}

.bb-card.red > strong,
.bb-rate-row.red strong{
    color:#ef4444 !important;
}

.bb-card.jigar > strong,
.bb-rate-row.jigar strong{
    color:#7f0000 !important;
}

.bb-card.purple > strong,
.bb-rate-row.purple strong{
    color:#7c3aed !important;
}

.bb-card.global > strong,
.bb-rate-row.global strong{
    color:#0f766e !important;
}

.bb-card.orange > strong,
.bb-rate-row.orange strong{
    color:#f97316 !important;
}

.bb-card.blue > strong,
.bb-rate-row.blue strong{
    color:#0ea5e9 !important;
}

.bb-footer,
.bb-footer-rich{
    height:auto !important;
    min-height:132px !important;
    overflow:visible !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:center !important;
    gap:10px !important;
    border-radius:28px !important;
    padding:12px 16px !important;
    background:rgba(70,45,10,.42) !important;
    border:1px solid rgba(255,255,255,.22) !important;
    box-sizing:border-box !important;
}

.bb-footer-top{
    max-height:none !important;
    overflow:visible !important;
    background:#fffaf2 !important;
    color:#24170a !important;
    border-radius:20px !important;
    padding:12px 16px !important;
    font-size:18px !important;
    line-height:1.45 !important;
    font-weight:950 !important;
    text-align:center !important;
}

.bb-footer-bottom{
    max-height:none !important;
    overflow:visible !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:9px !important;
}

.bb-footer-bottom a,
.bb-footer-bottom span{
    background:#fffaf2 !important;
    color:#24170a !important;
    text-decoration:none !important;
    border-radius:999px !important;
    padding:8px 12px !important;
    font-size:14px !important;
    line-height:1.25 !important;
    font-weight:950 !important;
    border:1px solid rgba(96,63,8,.22) !important;
}

@media(min-width:1500px) and (max-height:920px){
    .bb-wrap{
        padding:16px 24px 18px !important;
        gap:12px !important;
    }

    .bb-brand,
    .bb-status,
    .bb-last{
        min-height:88px !important;
    }

    .bb-brand h1{
        font-size:31px !important;
    }

    .bb-brand p{
        font-size:14px !important;
    }

    .bb-brand img,
    .bb-logo{
        width:62px !important;
        height:62px !important;
    }

    .bb-slogan{
        min-height:82px !important;
        font-size:24px !important;
        line-height:1.35 !important;
        padding:12px 18px !important;
    }

    .bb-grid{
        grid-auto-rows:minmax(148px, auto) !important;
        gap:12px !important;
    }

    .bb-card{
        min-height:148px !important;
        padding:16px 17px 13px !important;
    }

    .bb-card-title{
        font-size:16px !important;
    }

    .bb-card > strong{
        font-size:32px !important;
    }

    .bb-rate-row{
        min-height:31px !important;
        padding:6px 0 !important;
    }

    .bb-rate-row strong{
        font-size:21px !important;
    }

    .bb-footer{
        min-height:112px !important;
    }

    .bb-footer-top{
        font-size:15px !important;
        padding:9px 12px !important;
    }

    .bb-footer-bottom a,
    .bb-footer-bottom span{
        font-size:12px !important;
        padding:7px 10px !important;
    }
}

@media(max-width:1200px){
    .bb-wrap{
        padding:14px !important;
        gap:12px !important;
    }

    .bb-header{
        grid-template-columns:1fr !important;
    }

    .bb-grid{
        grid-template-columns:repeat(2, minmax(0,1fr)) !important;
        grid-auto-rows:minmax(210px, auto) !important;
    }

    .bb-card{
        min-height:210px !important;
    }
}

@media(max-width:700px){
    .bb-wrap{
        padding:10px !important;
        gap:10px !important;
    }

    .bb-brand{
        align-items:flex-start !important;
    }

    .bb-brand h1{
        font-size:24px !important;
        white-space:normal !important;
    }

    .bb-brand p{
        font-size:13px !important;
    }

    .bb-status{
        justify-content:flex-start !important;
    }

    .bb-status span{
        font-size:12px !important;
        padding:6px 9px !important;
    }

    .bb-last strong{
        font-size:21px !important;
    }

    .bb-slogan{
        min-height:92px !important;
        font-size:18px !important;
        line-height:1.5 !important;
        padding:12px !important;
    }

    .bb-grid{
        grid-template-columns:1fr !important;
        grid-auto-rows:minmax(220px, auto) !important;
    }

    .bb-card{
        min-height:220px !important;
    }

    .bb-card > strong{
        font-size:34px !important;
    }

    .bb-footer-top{
        font-size:14px !important;
    }

    .bb-footer-bottom{
        justify-content:flex-start !important;
    }
}

/* Branding text sync visual polish */
.bb-slogan{
    white-space:normal !important;
    word-break:normal !important;
}

.bb-footer-top{
    white-space:normal !important;
    word-break:normal !important;
}

@media(min-width:1500px){
    .bb-slogan{
        font-size:28px !important;
        line-height:1.42 !important;
    }
}

/* Final compact price card spacing */
.bb-grid{
    gap:14px !important;
    grid-auto-rows:minmax(150px, auto) !important;
}

.bb-card{
    min-height:150px !important;
    padding:16px 18px 14px !important;
    justify-content:flex-start !important;
}

.bb-card-title{
    margin:0 0 8px !important;
    line-height:1.22 !important;
}

.bb-card > strong{
    margin:16px 0 8px !important;
    line-height:1.04 !important;
}

.bb-card small{
    margin-top:0 !important;
}

/* Single cards should not push price to the bottom */
.bb-card:not(.bb-multi){
    justify-content:flex-start !important;
}

.bb-card:not(.bb-multi) > strong{
    margin-top:18px !important;
}

/* Multi row cards keep compact rows */
.bb-multi .bb-card-title{
    margin-bottom:10px !important;
}

.bb-rate-row{
    min-height:32px !important;
    padding:6px 0 !important;
}

/* Full HD compact mode */
@media(min-width:1500px){
    .bb-wrap{
        gap:12px !important;
        padding-top:16px !important;
    }

    .bb-grid{
        grid-auto-rows:minmax(142px, auto) !important;
        gap:12px !important;
    }

    .bb-card{
        min-height:142px !important;
        padding:15px 17px 13px !important;
    }

    .bb-card > strong{
        margin:14px 0 7px !important;
    }

    .bb-card:not(.bb-multi) > strong{
        margin-top:16px !important;
    }
}

/* Browser height is limited, make it tighter */
@media(min-width:1500px) and (max-height:900px){
    .bb-slogan{
        min-height:76px !important;
        padding:10px 18px !important;
        font-size:25px !important;
        line-height:1.32 !important;
    }

    .bb-grid{
        grid-auto-rows:minmax(132px, auto) !important;
        gap:10px !important;
    }

    .bb-card{
        min-height:132px !important;
        padding:13px 15px 11px !important;
    }

    .bb-card-title{
        font-size:16px !important;
        margin-bottom:6px !important;
    }

    .bb-card > strong{
        font-size:31px !important;
        margin:12px 0 6px !important;
    }

    .bb-card small{
        font-size:13px !important;
    }

    .bb-rate-row{
        min-height:29px !important;
        padding:5px 0 !important;
    }

    .bb-rate-row strong{
        font-size:20px !important;
    }
}

/* Mobile remains readable */
@media(max-width:700px){
    .bb-card{
        min-height:185px !important;
    }

    .bb-card > strong{
        margin-top:18px !important;
    }
}

/* Compact slogan bar */
.bb-slogan{
    min-height:44px !important;
    height:auto !important;
    padding:8px 18px !important;
    border-radius:18px !important;
    font-size:18px !important;
    line-height:1.35 !important;
    font-weight:900 !important;
    margin:0 !important;
}

@media(min-width:1500px){
    .bb-slogan{
        min-height:42px !important;
        padding:7px 16px !important;
        font-size:17px !important;
        line-height:1.3 !important;
    }
}

@media(min-width:1500px) and (max-height:900px){
    .bb-slogan{
        min-height:38px !important;
        padding:6px 14px !important;
        font-size:16px !important;
        line-height:1.28 !important;
        border-radius:16px !important;
    }
}

@media(max-width:700px){
    .bb-slogan{
        min-height:46px !important;
        padding:8px 12px !important;
        font-size:14px !important;
        line-height:1.45 !important;
        border-radius:16px !important;
    }
}
