:root{--tn-wine:#7b1e2b;--tn-wine-dark:#5f1420;--tn-bg:#f6f7f9;--tn-border:#e7e7ea;--tn-text:#171717;--tn-muted:#666}.tn-market-app,.tn-public-page{font-family:inherit;color:var(--tn-text)}.tn-market-app{display:grid;grid-template-columns:240px 1fr;min-height:80vh;background:var(--tn-bg);border-radius:0;overflow:hidden}.tn-market-sidebar{background:#fff;border-right:1px solid var(--tn-border);padding:16px;display:flex;flex-direction:column;gap:8px}.tn-market-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}.tn-market-logo img{width:34px;height:34px;object-fit:contain;border-radius:8px}.tn-market-logo span{width:34px;height:34px;background:var(--tn-wine);color:#fff;display:grid;place-items:center;border-radius:8px;font-weight:700}.tn-market-sidebar button,.tn-market-sidebar a{appearance:none;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:12px;color:var(--tn-text);text-decoration:none;cursor:pointer;font:inherit}.tn-market-sidebar button.active,.tn-market-sidebar button:hover,.tn-market-sidebar a:hover{background:#f3eef0;color:var(--tn-wine)}.tn-market-main{padding:18px;min-width:0}.tn-market-section{display:none}.tn-market-section.active{display:block}.tn-market-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.tn-market-head h1{margin:0 0 4px;font-size:26px}.tn-market-head p{margin:0;color:var(--tn-muted)}.tn-head-actions{display:flex;gap:8px;flex-wrap:wrap}.tn-btn{border:0;background:var(--tn-wine);color:#fff;border-radius:12px;padding:11px 15px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font:inherit;font-weight:600}.tn-btn:hover{background:var(--tn-wine-dark);color:#fff}.tn-btn-dark{background:#1f2937}.tn-btn-ghost{background:#fff;color:var(--tn-wine);border:1px solid var(--tn-border)}.tn-btn-full{width:100%;margin-top:8px}.tn-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.tn-stat-grid>div,.tn-card,.tn-table-card{background:#fff;border:1px solid var(--tn-border);border-radius:16px;padding:16px}.tn-stat-grid b{display:block;font-size:28px;color:var(--tn-wine)}.tn-stat-grid span{color:var(--tn-muted)}.tn-card h2{margin-top:0}.tn-alert{padding:12px 14px;border-radius:14px;margin-bottom:14px;background:#fef3c7;color:#92400e}.tn-table-card{overflow:auto}.tn-table-card table{width:100%;border-collapse:collapse}.tn-table-card th,.tn-table-card td{padding:12px;border-bottom:1px solid var(--tn-border);text-align:left;vertical-align:top}.tn-table-card th{font-size:13px;color:var(--tn-muted);font-weight:700;background:#fafafa}.tn-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:#eee;font-size:12px;margin-left:4px}.tn-status-approved{background:#dcfce7;color:#166534}.tn-status-pending{background:#fef3c7;color:#92400e}.tn-status-rejected{background:#fee2e2;color:#991b1b}.tn-badge.warn{background:#fee2e2;color:#991b1b}.tn-mini{border:1px solid var(--tn-border);background:#fff;border-radius:10px;padding:7px 10px;margin:2px;cursor:pointer;color:#333}.tn-mini.danger{color:#b91c1c}.tn-inline-form{display:inline}.tn-filter-pills{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.tn-filter-pills button{border:1px solid var(--tn-border);background:#fff;border-radius:999px;padding:8px 13px;cursor:pointer}.tn-filter-pills button.active{background:var(--tn-wine);color:#fff;border-color:var(--tn-wine)}.tn-modal{display:none;position:fixed;inset:0;z-index:99999}.tn-modal.open{display:block}.tn-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45)}.tn-modal-box{position:relative;background:#fff;max-width:560px;margin:5vh auto;padding:20px;border-radius:20px;box-shadow:0 20px 80px rgba(0,0,0,.25);max-height:90vh;overflow:auto}.tn-modal-wide{max-width:820px}.tn-modal-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:999px;background:#f3f4f6;cursor:pointer;font-size:22px}.tn-modal-box label{display:block;margin-top:12px;font-weight:600}.tn-modal-box input,.tn-modal-box select,.tn-modal-box textarea,.tn-project-search{width:100%;box-sizing:border-box;border:1px solid var(--tn-border);border-radius:12px;padding:11px;margin-top:6px;font:inherit;background:#fff;color:#111}.tn-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.tn-form-tabs{display:flex;gap:8px;margin:12px 0}.tn-form-tabs button{border:1px solid var(--tn-border);background:#fff;border-radius:999px;padding:9px 13px;cursor:pointer}.tn-form-tabs button.active{background:var(--tn-wine);color:#fff}.tn-form-panel{display:none}.tn-form-panel.active{display:block}.tn-hint{font-size:13px;color:var(--tn-muted);margin:6px 0 0}.tn-hint.ok{color:#166534}.tn-hint.bad{color:#991b1b}.tn-project-pick-list{display:grid;gap:8px;margin-top:12px}.tn-project-pick-list button{border:1px solid var(--tn-border);background:#fff;border-radius:14px;padding:12px;text-align:left;cursor:pointer}.tn-project-pick-list small{display:block;color:var(--tn-muted);margin-top:3px}.tn-selected-project{background:#f9fafb;border:1px solid var(--tn-border);border-radius:12px;padding:10px}.tn-toast-wrap{position:fixed;right:20px;top:20px;z-index:100000}.tn-toast{background:#111827;color:#fff;border-radius:14px;padding:13px 16px;box-shadow:0 10px 35px rgba(0,0,0,.22)}.tn-toast-error{background:#991b1b}.tn-toast-success{background:#166534}.tn-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tn-plan{border:1px solid var(--tn-border);border-radius:14px;padding:12px}.tn-public-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.tn-product-card{background:#fff;border:1px solid var(--tn-border);border-radius:16px;padding:12px}.tn-product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#f3f4f6}.tn-product-card a{text-decoration:none;color:inherit}.tn-product-card h3{font-size:18px;margin:10px 0 6px}.tn-public-page{background:#f6f7f9;padding:20px}.tn-public-detail{max-width:1180px;margin:0 auto}.tn-breadcrumb{margin:0 0 14px;color:var(--tn-muted)}.tn-detail-grid{display:grid;grid-template-columns:1fr 320px;gap:18px}.tn-detail-main,.tn-detail-side{min-width:0}.tn-detail-main h1{font-size:32px;margin:10px 0 16px}.tn-detail-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;background:#eee;margin-bottom:16px}.tn-detail-specs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.tn-detail-specs div{background:#fff;border:1px solid var(--tn-border);border-radius:14px;padding:12px}.tn-detail-specs b{display:block;color:var(--tn-muted);font-size:13px;margin-bottom:5px}.tn-seller-box{background:#fff;border:1px solid var(--tn-border);border-radius:18px;padding:18px;position:sticky;top:18px;text-align:center}.tn-seller-avatar img{border-radius:999px}.tn-seller-box h3{margin:10px 0}.tn-public-page .tn-card{margin-bottom:14px}@media(max-width:860px){.tn-market-app{grid-template-columns:1fr}.tn-market-sidebar{position:relative;border-right:0;border-bottom:1px solid var(--tn-border);flex-direction:row;overflow:auto}.tn-market-logo{min-width:120px;margin:0}.tn-market-main{padding:12px}.tn-market-head{display:block}.tn-head-actions{margin-top:12px}.tn-stat-grid,.tn-detail-grid,.tn-detail-specs,.tn-plan-grid{grid-template-columns:1fr}.tn-modal-box{margin:2vh 10px}.tn-public-page{padding:10px}}
.tn-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:10px 0 14px}.tn-info-list p{margin:0;padding:10px 0;border-bottom:1px solid var(--tn-border)}.tn-info-list span{display:block;color:var(--tn-muted);font-size:13px;margin-bottom:3px}.tn-info-list strong{font-size:15px}.tn-plan-grid-view .tn-plan{background:#fff}.tn-plan-grid-view .tn-plan strong{display:block;color:var(--tn-wine);font-size:18px;margin-bottom:6px}.tn-plan-grid-view .tn-plan b{display:block;margin-bottom:8px}.tn-plan-grid-view .tn-plan p{margin:0;color:var(--tn-muted);line-height:1.5}.tn-public-detail .tn-seller-box{text-align:left}.tn-public-detail .tn-seller-box .tn-btn-full{text-align:center}.tn-product-card strong{color:var(--tn-wine)}
@media(max-width:860px){.tn-info-list{grid-template-columns:1fr}}
/* v1.2.5 */
body.timnhao-public-app-body{margin:0;background:var(--tn-bg);font-family:inherit}.tn-public-app{min-height:100vh;border-radius:0}.tn-public-main{padding:18px}.tn-compact-detail{max-width:none}.tn-muted{color:var(--tn-muted);font-size:13px;line-height:1.45}.tn-modal-box{width:min(90vw,1200px);max-width:1200px}.tn-modal-box:not(.tn-modal-wide){max-width:760px}.tn-product-list{display:grid;gap:12px}.tn-product-row{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:center;background:#fff;border:1px solid var(--tn-border);border-radius:16px;padding:12px}.tn-product-row-img img{width:150px;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#eee}.tn-product-row a{text-decoration:none;color:inherit}.tn-product-row h3{margin:0 0 6px;font-size:18px}.tn-product-row p{margin:0 0 6px;color:var(--tn-muted)}.tn-product-row strong{display:block;color:var(--tn-wine);margin-bottom:4px}.tn-product-row span{color:var(--tn-muted);font-size:13px}.tn-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tn-form-grid p{margin:0}@media(max-width:860px){.tn-modal-box{width:auto;max-width:none}.tn-product-row{grid-template-columns:1fr}.tn-product-row-img img{width:100%}.tn-form-grid{grid-template-columns:1fr}}

/* v1.2.6 UI fixes */
.tn-market-app,.tn-public-page,.tn-public-app,.tn-market-main,.tn-card,.tn-table-card,.tn-modal-box{font-family:inherit!important}
body.timnhao-public-app-body{font-family:inherit!important}
.tn-mobile-menu{display:none;position:fixed;left:12px;top:12px;z-index:100001;border:1px solid var(--tn-border);background:#fff;color:var(--tn-text);border-radius:12px;width:42px;height:42px;font:inherit;font-size:22px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.tn-market-sidebar{position:sticky;top:0;height:100vh;align-self:start;overflow:auto;z-index:20}
.tn-detail-side{position:sticky;top:18px;align-self:start}.tn-detail-side .tn-seller-box{position:static;top:auto}
.tn-product-row{grid-template-columns:150px minmax(0,1fr) 190px;align-items:stretch}.tn-product-row-seller{border-left:1px solid var(--tn-border);padding-left:14px;display:flex;flex-direction:column;gap:7px;justify-content:center}.tn-product-row-seller small{color:var(--tn-muted)}.tn-product-row-seller b{font-size:14px}.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--tn-border);border-radius:10px;padding:8px 10px;text-decoration:none;background:#fff;color:var(--tn-wine);font:inherit;cursor:pointer}.tn-mini-call{background:var(--tn-wine);border-color:var(--tn-wine);color:#fff}.tn-mini-call:hover{color:#fff}.tn-mini-zalo:hover,.tn-mini-lock:hover{background:#f3eef0;color:var(--tn-wine)}
@media(max-width:860px){.tn-mobile-menu{display:block}.tn-market-app{display:block}.tn-market-sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;height:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:20px 0 60px rgba(0,0,0,.2);border-right:1px solid var(--tn-border);border-bottom:0;flex-direction:column;overflow:auto;padding-top:62px}.tn-market-app.sidebar-open .tn-market-sidebar{transform:translateX(0)}.tn-market-main{padding-top:62px}.tn-detail-side{position:static}.tn-product-row{grid-template-columns:1fr}.tn-product-row-seller{border-left:0;border-top:1px solid var(--tn-border);padding-left:0;padding-top:12px}.tn-product-row-img img{width:100%}}

/* v1.2.7 - layout polish */
.tn-market-app,.tn-public-page,.tn-public-app{font-family:inherit!important;background:#f7f3f5!important;overflow:visible!important;min-height:100vh}
.tn-market-app{display:block!important;padding-left:256px!important;border-radius:0!important}
.tn-market-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:256px!important;height:100vh!important;background:#fff!important;border-right:1px solid #ead9de!important;padding:14px 10px!important;box-sizing:border-box!important;overflow-y:auto!important;box-shadow:none!important;z-index:9990!important;gap:4px!important}
.tn-market-logo{height:48px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:6px 10px!important;margin:0 0 12px!important;border-radius:12px!important}
.tn-market-logo img{width:30px!important;height:30px!important;border-radius:8px!important}.tn-market-logo a{display:flex!important;align-items:center!important}.tn-market-logo strong{font-size:15px!important;font-weight:700!important;color:#18181b!important}
.tn-market-sidebar a,.tn-market-sidebar button{width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:42px!important;border-radius:10px!important;padding:9px 12px!important;color:#27272a!important;font-weight:500!important;box-sizing:border-box!important;white-space:normal!important;line-height:1.25!important}
.tn-market-sidebar a:hover,.tn-market-sidebar button:hover,.tn-market-sidebar button.active{background:#f4edf0!important;color:var(--tn-wine)!important}
.tn-market-main{min-height:100vh!important;padding:20px!important;box-sizing:border-box!important;max-width:none!important;overflow:visible!important}
.tn-public-main{padding:20px 24px!important}.tn-public-detail{max-width:1360px!important;margin:0 auto!important}.tn-detail-grid{grid-template-columns:minmax(0,1fr) 320px!important;align-items:start!important}.tn-detail-side{position:sticky!important;top:20px!important;align-self:start!important}.tn-seller-box{position:static!important;text-align:left!important}.tn-seller-box .tn-seller-avatar{text-align:left!important}.tn-seller-box .tn-btn{text-align:center!important}
.tn-modal-box{width:90vw!important;max-width:1200px!important;border-radius:18px!important}.tn-modal-box:not(.tn-modal-wide){max-width:760px!important}
.tn-plan p{white-space:pre-line!important}.tn-plan-grid-view .tn-plan b{display:block;margin:8px 0;color:var(--tn-wine);font-size:20px}.tn-account-info .tn-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.tn-account-info .tn-info-list p{border-bottom:1px solid #ead9de;padding:10px 0;margin:0}.tn-account-info .tn-info-list span{display:block;color:#7a636b;font-size:13px;margin-bottom:4px}
.tn-product-list{display:flex!important;flex-direction:column!important;gap:10px!important}.tn-product-row{display:grid!important;grid-template-columns:120px minmax(0,1.5fr) minmax(170px,.7fr)!important;gap:14px!important;align-items:center!important;background:#fff!important;border:1px solid #ead9de!important;border-radius:16px!important;padding:12px!important}.tn-product-row-img img{width:120px!important;height:90px!important;object-fit:cover!important;border-radius:12px!important}.tn-product-row-body h3{margin:0 0 6px!important;font-size:17px!important;color:#171717!important}.tn-product-row-body p{margin:0 0 6px!important;color:#6b5b62!important}.tn-product-row-body strong{display:block;color:var(--tn-wine);margin-bottom:5px}.tn-product-row-body span{display:block;color:#374151;font-size:14px}.tn-product-row-seller{border-left:1px solid #ead9de!important;padding-left:14px!important;display:flex!important;flex-direction:column!important;gap:6px!important}.tn-product-row-seller small{color:#7a636b}.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{display:inline-flex!important;justify-content:center!important;border:1px solid #ead9de!important;border-radius:10px!important;padding:8px 10px!important;text-decoration:none!important;color:var(--tn-wine)!important;background:#fff!important;font-weight:600!important}.tn-mini-zalo{background:var(--tn-wine)!important;color:#fff!important;border-color:var(--tn-wine)!important}
.tn-mobile-menu{display:none!important;position:fixed!important;left:12px!important;top:12px!important;z-index:100001!important;width:auto!important;min-width:46px!important;height:42px!important;border-radius:999px!important;padding:0 14px!important;background:#fff!important;border:1px solid #ead9de!important;box-shadow:0 12px 30px rgba(0,0,0,.15)!important;font-size:0!important}.tn-mobile-menu:before{content:'☰ Menu';font-size:15px;font-weight:700;color:#111}
@media(max-width:860px){.tn-mobile-menu{display:inline-flex!important;align-items:center!important;justify-content:center!important}.tn-market-app{padding-left:0!important}.tn-market-sidebar{transform:translateX(-105%)!important;transition:transform .22s ease!important;width:82vw!important;max-width:320px!important;padding-top:64px!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important}.tn-market-app.sidebar-open .tn-market-sidebar{transform:translateX(0)!important}.tn-market-main,.tn-public-main{padding:66px 12px 16px!important}.tn-detail-grid{grid-template-columns:1fr!important}.tn-detail-side{position:static!important}.tn-account-info .tn-info-list{grid-template-columns:1fr}.tn-product-row{grid-template-columns:1fr!important}.tn-product-row-img img{width:100%!important;height:auto!important;aspect-ratio:4/3!important}.tn-product-row-seller{border-left:0!important;border-top:1px solid #ead9de!important;padding-left:0!important;padding-top:12px!important}.tn-modal-box{width:auto!important;margin:2vh 10px!important}}

/* v1.2.8: simple product list, compare popup, wider modals, mobile top menu */
.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:90vw!important;max-width:1400px!important;box-sizing:border-box!important;overflow-x:hidden!important}.tn-modal-box form{max-width:100%}.tn-plan-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}.tn-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.tn-list-head h2{margin:0}.tn-simple-list{display:grid!important;gap:8px!important}.tn-product-simple-row{display:grid;grid-template-columns:105px minmax(220px,1.4fr) minmax(190px,.9fr) minmax(130px,.7fr) minmax(140px,.7fr);align-items:center;gap:12px;background:#fff;border:1px solid var(--tn-border);border-radius:14px;padding:12px}.tn-product-simple-main a{text-decoration:none;color:inherit}.tn-product-simple-main strong{display:block;font-size:16px}.tn-product-simple-main span,.tn-product-simple-spec span,.tn-product-simple-member small{display:block;color:var(--tn-muted);font-size:13px;margin-top:4px}.tn-product-simple-spec b{color:var(--tn-wine)}.tn-compare-check{display:flex;align-items:center;gap:8px;font-weight:600;color:#374151}.tn-compare-check input{width:18px;height:18px}.tn-product-simple-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{border:1px solid #ead9de;background:#fff;color:var(--tn-wine);text-decoration:none;border-radius:999px;padding:8px 12px;font-weight:700;font-size:13px}.tn-mini-zalo{background:var(--tn-wine);color:#fff}.tn-compare-table-wrap{overflow:auto;border:1px solid var(--tn-border);border-radius:14px}.tn-compare-table{width:100%;border-collapse:collapse;min-width:720px;background:#fff}.tn-compare-table th,.tn-compare-table td{padding:12px;border-bottom:1px solid var(--tn-border);vertical-align:top;text-align:left}.tn-compare-table th{width:180px;background:#f8fafc;font-weight:700;position:sticky;left:0;z-index:1}.tn-compare-table a{color:var(--tn-wine);font-weight:700;text-decoration:none}
@media(max-width:860px){.tn-mobile-menu{left:0!important;top:0!important;right:0!important;width:100%!important;height:52px!important;border-radius:0!important;justify-content:flex-start!important;padding:0 16px!important;background:#fff!important}.tn-mobile-menu:before{content:'☰  TimNhao'!important;font-size:16px!important}.tn-market-sidebar{top:52px!important;padding-top:12px!important;height:calc(100vh - 52px)!important}.tn-market-main,.tn-public-main{padding-top:66px!important}.tn-product-simple-row{grid-template-columns:1fr!important}.tn-product-simple-actions{justify-content:flex-start}.tn-list-head{align-items:flex-start;flex-direction:column}.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:calc(100vw - 20px)!important;margin:64px 10px 12px!important;max-height:calc(100vh - 76px)!important}.tn-compare-table th{position:static}.tn-compare-table{min-width:640px}}

/* v1.2.9: clean fonts, simple list, compare images/member, pagination, mobile top/bottom bars */
.tn-market-app,.tn-public-page,.tn-public-app,.tn-market-main,.tn-public-main,.tn-modal,.tn-modal *{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important}
.tn-plan p,.tn-plan small{white-space:pre-line!important;word-break:normal!important}.tn-plan p br,.tn-plan small br{display:block!important}
.tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;box-sizing:border-box!important}.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:90vw!important;max-width:90vw!important;max-height:88vh!important;overflow:auto!important;margin:0!important}.tn-modal-backdrop{position:fixed!important;inset:0!important}
.tn-product-list.tn-simple-list{display:flex!important;flex-direction:column!important;gap:0!important;border:1px solid var(--tn-border)!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important}.tn-product-simple-row{display:grid!important;grid-template-columns:86px 92px minmax(250px,1.7fr) minmax(150px,.8fr) minmax(130px,.7fr) minmax(160px,.8fr)!important;gap:14px!important;align-items:center!important;border:0!important;border-bottom:1px solid var(--tn-border)!important;border-radius:0!important;padding:12px 14px!important;background:#fff!important}.tn-product-simple-row:last-child{border-bottom:0!important}.tn-product-simple-row:hover{background:#fffafa!important}.tn-product-simple-thumb img{width:92px!important;height:70px!important;object-fit:cover!important;border-radius:12px!important;background:#f3f4f6!important}.tn-product-simple-thumb:empty{display:block;width:92px;height:70px;border-radius:12px;background:#f3f4f6}.tn-product-simple-main strong{font-size:15px!important;line-height:1.35!important}.tn-product-simple-spec b{font-size:15px!important}.tn-product-simple-actions{justify-content:flex-end!important}.tn-pagination{display:flex;gap:8px;justify-content:flex-end;margin:14px 0 0}.tn-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:1px solid var(--tn-border);border-radius:999px;text-decoration:none;color:var(--tn-wine);background:#fff;font-weight:700}.tn-pagination a.active{background:var(--tn-wine);border-color:var(--tn-wine);color:#fff}.tn-compare-img{width:120px!important;height:90px!important;object-fit:cover!important;border-radius:12px!important;display:block}.tn-compare-table td{min-width:180px}.tn-compare-table th{white-space:nowrap}.tn-detail-side{z-index:5}
@media(max-width:860px){.tn-market-app,.tn-public-app{padding-left:0!important;padding-top:56px!important}.tn-mobile-menu{display:flex!important;position:fixed!important;left:0!important;right:0!important;top:0!important;width:100%!important;height:56px!important;border-radius:0!important;z-index:100002!important;align-items:center!important;justify-content:flex-start!important;padding:0 16px!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--tn-border)!important;box-shadow:0 10px 25px rgba(0,0,0,.08)!important}.tn-mobile-menu:before{content:'☰  TimNhao'!important;font-size:16px!important;font-weight:800!important;color:#111!important}.tn-market-sidebar{top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;transform:translateX(-105%)!important;border-radius:0!important;padding:12px!important;z-index:100001!important}.tn-market-app.sidebar-open .tn-market-sidebar,.tn-public-app.sidebar-open .tn-market-sidebar{transform:translateX(0)!important}.tn-market-main,.tn-public-main{padding:16px 10px 88px!important}.tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important}.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;margin:0!important}.tn-product-simple-row{grid-template-columns:28px 74px minmax(0,1fr)!important;gap:10px!important}.tn-product-simple-spec,.tn-product-simple-member,.tn-product-simple-actions{grid-column:3!important}.tn-product-simple-thumb img,.tn-product-simple-thumb:empty{width:74px!important;height:58px!important;border-radius:10px!important}.tn-product-simple-actions{justify-content:flex-start!important}.tn-detail-side{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:99999!important;background:#fff!important;border-top:1px solid var(--tn-border)!important;box-shadow:0 -12px 40px rgba(0,0,0,.12)!important;padding:10px!important}.tn-detail-side .tn-seller-box{border:0!important;box-shadow:none!important;padding:0!important;display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:center!important}.tn-detail-side .tn-seller-box h3{margin:0!important;font-size:14px!important}.tn-detail-side .tn-seller-avatar,.tn-detail-side .tn-muted{display:none!important}.tn-detail-side .tn-btn{margin:0!important;white-space:nowrap!important;padding:10px 12px!important}.tn-pagination{justify-content:center}.tn-compare-table{min-width:760px!important}.tn-compare-img{width:100px!important;height:76px!important}}

/* v1.3.0: edit from public detail, wider smart forms, UX Builder-friendly base */
.tn-market-app,.tn-public-app,.tn-market-main,.tn-public-main,.tn-card,.tn-modal,.tn-modal *{
  font-family: inherit !important;
}
.tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;overflow:hidden!important;}
.tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-modal-compare{
  width:90vw!important;max-width:90vw!important;min-width:0!important;max-height:88vh!important;overflow:auto!important;box-sizing:border-box!important;margin:0!important;
}
.tn-modal-box form{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.tn-smart-form input,.tn-smart-form select,.tn-smart-form textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
.tn-smart-form > input[type="hidden"]{display:none!important;}
.tn-project-form-layout{
  display:grid!important;grid-template-columns:160px minmax(0,1fr) 160px minmax(0,1fr)!important;gap:12px 16px!important;align-items:center!important;
}
.tn-project-form-layout label{margin:0!important;font-weight:700!important;color:#5b3541!important;}
.tn-project-form-layout .tn-hint,.tn-project-form-layout .tn-modal-actions,.tn-project-form-layout .tn-form-grid{grid-column:1/-1!important;}
.tn-project-form-layout textarea{min-height:92px!important;}
.tn-product-form-layout .tn-form-panel.active{
  display:grid!important;grid-template-columns:160px minmax(0,1fr) 160px minmax(0,1fr)!important;gap:12px 16px!important;align-items:center!important;
}
.tn-product-form-layout .tn-form-panel:not(.active){display:none!important;}
.tn-product-form-layout .tn-form-panel label{margin:0!important;font-weight:700!important;color:#5b3541!important;}
.tn-product-form-layout .tn-form-tabs,.tn-product-form-layout .tn-modal-actions,.tn-product-form-layout .tn-selected-project{grid-column:1/-1!important;}
.tn-product-form-layout .tn-hint,.tn-product-form-layout .tn-form-grid{grid-column:1/-1!important;}
.tn-product-form-layout textarea{min-height:96px!important;}
.tn-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.tn-form-grid p{margin:0!important;}
.tn-form-grid label{display:block!important;margin:0 0 6px!important;}
.tn-detail-side .tn-seller-box .tn-btn[data-tn-edit-project],.tn-detail-side .tn-seller-box .tn-btn[data-tn-edit-product]{cursor:pointer!important;}
@media(max-width:860px){
  .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  .tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
  .tn-project-form-layout,.tn-product-form-layout .tn-form-panel.active{grid-template-columns:1fr!important;gap:8px!important;}
  .tn-form-grid{grid-template-columns:1fr!important;}
}

/* v1.3.1: default font, cleaner package/payment, new account menus */
.tn-market-app,.tn-public-app,.tn-market-main,.tn-public-main,.tn-card,.tn-table-card,.tn-modal,.tn-modal *{
  font-family: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.tn-plan p,.tn-plan small{white-space:pre-line!important;line-height:1.55!important;overflow-wrap:anywhere!important;}
.tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;overflow:hidden!important;}
.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-box.tn-modal-wide,.tn-modal-compare{
  width:90vw!important;max-width:90vw!important;min-width:0!important;max-height:88vh!important;overflow:auto!important;margin:0!important;box-sizing:border-box!important;
}
.tn-upgrade-combined .tn-plan-grid-view .tn-plan{cursor:pointer;display:block;background:#fff;min-height:190px;}
.tn-upgrade-combined .tn-plan input{margin-right:8px;}
.tn-payment-note{margin-top:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:12px;color:#7c2d12;}
.tn-account-row{display:flex;gap:16px;align-items:flex-start}.tn-account-avatar img,.tn-account-avatar-preview img{border-radius:999px}.tn-account-row .tn-info-list{flex:1}
.tn-market-sidebar button,.tn-market-sidebar a{white-space:nowrap;}
@media(max-width:860px){
  .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  .tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-box.tn-modal-wide,.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
  .tn-account-row{display:block}.tn-account-avatar{margin-bottom:10px}.tn-upgrade-combined .tn-plan-grid-view{grid-template-columns:1fr!important;}
}

/* v1.3.2: modal QR + chống scroll ngang triệt để */
.tn-modal.open{overflow:hidden!important;padding:24px!important;box-sizing:border-box!important;}
.tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-payment-modal,.tn-modal-compare{
  width:min(90vw,1280px)!important;
  max-width:90vw!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
.tn-modal-box *{box-sizing:border-box!important;max-width:100%;}
.tn-upgrade-combined{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
.tn-upgrade-combined .tn-plan-grid-view{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;min-width:0!important;}
.tn-upgrade-combined .tn-plan{min-width:0!important;overflow-wrap:anywhere!important;white-space:normal!important;}
.tn-payment-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;align-items:start!important;margin-top:12px!important;}
.tn-payment-grid p{margin:0!important;min-width:0!important;}
.tn-payment-grid select,.tn-payment-grid input{width:100%!important;min-width:0!important;}
.tn-payment-summary{margin-top:12px;padding:14px;border:1px solid var(--tn-border);border-radius:14px;background:#fff7f9;overflow-wrap:anywhere;}
.tn-market-qr{margin-top:12px;padding:14px;border:1px dashed var(--tn-border);border-radius:14px;background:#fff;display:flex;gap:14px;align-items:center;flex-wrap:wrap;}
.tn-market-qr img{width:180px!important;height:auto!important;border-radius:12px!important;border:1px solid var(--tn-border)!important;background:#fff;}
.tn-market-qr.tn-qr-muted{opacity:.75;}
.tn-market-qr.tn-qr-muted img{display:none!important;}
@media(max-width:860px){
  .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  .tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-payment-modal,.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
  .tn-upgrade-combined .tn-plan-grid-view,.tn-payment-grid{grid-template-columns:1fr!important;}
}

/* v1.3.3: fix fatal-route side effects + no horizontal modal scroll */
html body .tn-modal.open{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body .tn-modal-box,
html body .tn-modal-box.tn-modal-wide,
html body .tn-payment-modal,
html body .tn-modal-compare{
  width:min(90vw,1200px)!important;
  max-width:min(90vw,1200px)!important;
  min-width:0!important;
  max-height:88vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
  margin:0!important;
}
html body .tn-modal-box *,
html body .tn-upgrade-combined,
html body .tn-plan-grid-view,
html body .tn-payment-grid{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
html body .tn-upgrade-combined .tn-plan-grid-view{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
}
html body .tn-plan p,
html body .tn-plan small{
  white-space:pre-line!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
html body .tn-payment-grid{grid-template-columns:1fr 1fr!important;}
@media(max-width:860px){
  html body .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  html body .tn-modal-box,
  html body .tn-modal-box.tn-modal-wide,
  html body .tn-payment-modal,
  html body .tn-modal-compare{
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    max-height:calc(100vh - 82px)!important;
  }
  html body .tn-upgrade-combined .tn-plan-grid-view,
  html body .tn-payment-grid{grid-template-columns:1fr!important;}
}

/* v1.4.2: compact project/product list, working compare/bookmark */
html body .tn-public-app, html body .tn-public-app *{font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;}
.tn-product-list-card{padding:14px!important;}
.tn-product-simple-list{display:block!important;border:1px solid var(--tn-border,#eadde2)!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;}
.tn-product-simple-row{display:grid!important;grid-template-columns:92px minmax(170px,1.35fr) minmax(135px,.85fr) minmax(100px,.65fr) auto!important;gap:10px!important;align-items:center!important;padding:10px 12px!important;border-bottom:1px solid var(--tn-border,#eadde2)!important;background:#fff!important;min-width:0!important;}
.tn-product-simple-row:last-child{border-bottom:0!important;}
.tn-compare-check{display:flex!important;align-items:center!important;gap:6px!important;font-size:13px!important;color:#5b3541!important;margin:0!important;white-space:nowrap!important;}
.tn-compare-check input{width:16px!important;height:16px!important;margin:0!important;}
.tn-product-simple-thumb{display:none!important;}
.tn-product-simple-main,.tn-product-simple-spec,.tn-product-simple-member,.tn-product-simple-actions{min-width:0!important;}
.tn-product-simple-main strong{display:block!important;font-size:14px!important;line-height:1.35!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#2f1b22!important;}
.tn-product-simple-main span,.tn-product-simple-spec span,.tn-product-simple-member small{display:block!important;font-size:12px!important;color:#7b6470!important;line-height:1.35!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.tn-product-simple-spec b{display:block!important;font-size:14px!important;line-height:1.35!important;color:#7a1f3d!important;}
.tn-product-simple-member b{font-size:13px!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.tn-product-simple-actions{display:flex!important;gap:6px!important;justify-content:flex-end!important;flex-wrap:nowrap!important;}
.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{border:1px solid var(--tn-border,#eadde2)!important;border-radius:10px!important;padding:7px 9px!important;font-size:12px!important;line-height:1!important;text-decoration:none!important;background:#fff!important;color:#4a2633!important;white-space:nowrap!important;}
.tn-mini-call{background:#7a1f3d!important;color:#fff!important;border-color:#7a1f3d!important;}
.tn-project-info-compact{padding:0!important;overflow:hidden!important;}
.tn-project-info-compact summary{cursor:pointer!important;padding:14px 16px!important;font-weight:700!important;color:#3d222d!important;list-style:none!important;border-bottom:1px solid var(--tn-border,#eadde2)!important;}
.tn-project-info-compact summary::-webkit-details-marker{display:none!important;}
.tn-project-info-compact summary:after{content:'+';float:right;font-size:18px!important;}
.tn-project-info-compact[open] summary:after{content:'–';}
.tn-project-info-body{padding:14px 16px!important;}
.tn-toast-live{position:fixed!important;right:18px!important;bottom:18px!important;z-index:999999!important;background:#2f1b22!important;color:#fff!important;padding:11px 14px!important;border-radius:12px!important;box-shadow:0 16px 42px rgba(0,0,0,.22)!important;opacity:0!important;transform:translateY(12px)!important;transition:.22s ease!important;font-size:14px!important;max-width:min(360px,calc(100vw - 32px))!important;}
.tn-toast-live.show{opacity:1!important;transform:translateY(0)!important;}
.tn-toast-live.error{background:#b42318!important;}
.tn-save-form button.saved{background:#fff0f3!important;color:#7a1f3d!important;border-color:#f1b4c4!important;}
html body .tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:24px!important;}
html body .tn-modal-box,html body .tn-modal-compare{width:min(90vw,1200px)!important;max-width:min(90vw,1200px)!important;overflow-x:hidden!important;box-sizing:border-box!important;}
html body .tn-modal-box *{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
.tn-compare-table-wrap{width:100%!important;overflow:auto!important;}
.tn-compare-table{width:100%!important;min-width:680px!important;border-collapse:collapse!important;}
.tn-compare-table th,.tn-compare-table td{border:1px solid var(--tn-border,#eadde2)!important;padding:10px!important;vertical-align:top!important;font-size:13px!important;}
.tn-compare-table th{width:150px!important;background:#fff7f9!important;text-align:left!important;color:#5b3541!important;}
.tn-compare-img{width:120px!important;height:90px!important;object-fit:cover!important;border-radius:12px!important;}
@media(max-width:860px){
  .tn-product-simple-row{grid-template-columns:34px minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important;}
  .tn-compare-check span{display:none!important;}
  .tn-product-simple-main{grid-column:2/3!important;}
  .tn-product-simple-spec{grid-column:2/3!important;}
  .tn-product-simple-member{display:none!important;}
  .tn-product-simple-actions{grid-column:3/4!important;grid-row:1/3!important;flex-direction:column!important;align-items:stretch!important;}
  .tn-mini-call,.tn-mini-zalo,.tn-mini-lock{padding:7px 8px!important;text-align:center!important;}
  html body .tn-modal.open{align-items:flex-start!important;padding:64px 8px 12px!important;}
  html body .tn-modal-box,html body .tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
}
/* v1.4.3: persisted saved state + clearer admin approval status */
.tn-save-form .saved{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}
.tn-admin-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600;background:#f1f5f9;color:#334155}
.tn-admin-status.tn-status-approved{background:#dcfce7;color:#166534}
.tn-admin-status.tn-status-pending{background:#fef3c7;color:#92400e}
.tn-admin-status.tn-status-rejected{background:#fee2e2;color:#991b1b}
tr.tn-admin-approved-row td{background:#fafafa;color:#64748b}

/* TimNhao v1.7.5 - Stable dashboard home layout system */
body .tn-home-shell-v175{display:block!important;min-height:100vh!important;background:#f7f3f5!important;padding-left:256px!important;overflow:visible!important;border-radius:0!important;font-family:inherit!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;}
body .tn-home-shell-v175, body .tn-home-shell-v175 *{box-sizing:border-box!important;letter-spacing:normal!important;text-transform:none!important;}
body .tn-home-shell-v175 .tn-market-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:256px!important;height:100vh!important;z-index:10000!important;background:#fff!important;border-right:1px solid var(--tn-border)!important;display:flex!important;flex-direction:column!important;padding:16px!important;gap:8px!important;overflow-y:auto!important;transform:none!important;box-shadow:none!important;}
body.admin-bar .tn-home-shell-v175 .tn-market-sidebar{top:32px!important;height:calc(100vh - 32px)!important;}
body .tn-home-shell-v175 .tn-market-main, body .tn-home-shell-v175 .tn-home-main-shell{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:18px!important;background:#f7f3f5!important;overflow:visible!important;}
body .tn-home-layout-v175{width:100%!important;max-width:1680px!important;margin:0 auto!important;display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;}
body .tn-home-topnote{display:inline-flex!important;align-self:flex-start!important;background:#7b1231!important;color:#fff!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;font-weight:800!important;}
body .tn-home-columns-v175{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important;align-items:start!important;width:100%!important;min-width:0!important;}
body .tn-home-center-v175{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;width:100%!important;}
body .tn-home-right-v175{min-width:0!important;width:100%!important;}
body .tn-home-right-v175 .tn-home-rank-side{position:sticky!important;top:18px!important;width:100%!important;margin:0!important;}
body .tn-home-shell-v175 .tn-card, body .tn-home-shell-v175 .tn-home-user-hero{width:100%!important;max-width:none!important;margin:0!important;overflow:hidden!important;}
body .tn-home-shell-v175 .tn-home-user-hero{padding:0!important;}
body .tn-home-shell-v175 .tn-home-hero-bg{width:100%!important;min-height:260px!important;padding:28px 32px!important;border-radius:22px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;overflow:hidden!important;}
body .tn-home-shell-v175 .tn-home-hero-bg h1{font-size:clamp(30px,4vw,56px)!important;line-height:1.05!important;margin:8px 0!important;white-space:normal!important;}
body .tn-home-shell-v175 .tn-home-hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(120px,1fr))!important;gap:10px!important;min-width:320px!important;max-width:460px!important;width:auto!important;}
body .tn-home-shell-v175 .tn-home-search .tn-home-filter{display:grid!important;grid-template-columns:minmax(230px,1.6fr) repeat(3,minmax(130px,1fr)) auto!important;gap:10px!important;align-items:center!important;width:100%!important;}
body .tn-home-shell-v175 .tn-home-search input, body .tn-home-shell-v175 .tn-home-search select{min-width:0!important;width:100%!important;}
body .tn-home-shell-v175 .tn-home-grid-compact{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:12px!important;}
body .tn-home-shell-v175 .tn-home-product-row{display:grid!important;grid-template-columns:110px minmax(0,1fr) 110px 80px!important;gap:10px!important;align-items:center!important;}
body .tn-home-shell-v175 .tn-home-rank-side{box-shadow:0 18px 55px rgba(55,26,38,.08)!important;border-radius:18px!important;}
body .tn-home-shell-v175 .tn-rank-mini{display:grid!important;grid-template-columns:32px 36px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;}
body .tn-home-shell-v175 .tn-sponsor-mini{grid-template-columns:32px 36px minmax(0,1fr)!important;}
body .tn-home-shell-v175 .tn-sponsor-mini b, body .tn-home-shell-v175 .tn-sponsor-zalo{grid-column:3!important;justify-self:start!important;text-align:left!important;}
@media(max-width:1200px){body .tn-home-columns-v175{grid-template-columns:1fr!important;}body .tn-home-right-v175 .tn-home-rank-side{position:relative!important;top:auto!important;}body .tn-home-shell-v175 .tn-home-hero-bg{align-items:flex-start!important;flex-direction:column!important;}body .tn-home-shell-v175 .tn-home-hero-stats{min-width:0!important;max-width:none!important;width:100%!important;}}
@media(max-width:860px){body .tn-home-shell-v175{padding-left:0!important;padding-top:56px!important;}body .tn-home-shell-v175 .tn-market-sidebar{top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:100001!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important;}body .tn-home-shell-v175.sidebar-open .tn-market-sidebar{transform:translateX(0)!important;}body .tn-home-shell-v175 .tn-home-main-shell{padding:14px 10px 88px!important;}body .tn-home-shell-v175 .tn-home-search .tn-home-filter{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row{grid-template-columns:88px minmax(0,1fr)!important;}body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(3),body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(4){grid-column:2!important;color:var(--tn-muted)!important;font-size:13px!important;}body .tn-home-shell-v175 .tn-home-hero-bg{min-height:260px!important;padding:20px!important;border-radius:18px!important;}body .tn-home-shell-v175 .tn-home-hero-stats{grid-template-columns:1fr 1fr!important;}}
@media(max-width:520px){body .tn-home-shell-v175 .tn-home-hero-stats{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(3),body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(4){grid-column:auto!important;}body .tn-home-shell-v175 .tn-home-code{width:max-content!important;text-align:left!important;}}


/* TimNhao v1.7.6 desktop home layout hard fix */
html body .tn-home-shell-v175{
  position:relative!important;
  left:50%!important;
  right:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  width:100vw!important;
  max-width:100vw!important;
  min-height:100vh!important;
  padding-left:256px!important;
  background:#f7f3f5!important;
  overflow-x:hidden!important;
  border-radius:0!important;
}
html body .tn-home-shell-v175 .tn-home-main-shell,
html body .tn-home-shell-v175 .tn-market-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:24px!important;
  margin:0!important;
  overflow:visible!important;
}
html body .tn-home-shell-v175 .tn-home-layout-v175{
  max-width:1600px!important;
  width:100%!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
}
html body .tn-home-shell-v175 .tn-home-columns-v175{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
}
html body .tn-home-shell-v175 .tn-home-center-v175,
html body .tn-home-shell-v175 .tn-home-right-v175{
  min-width:0!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-card,
html body .tn-home-shell-v175 .tn-home-user-hero,
html body .tn-home-shell-v175 .tn-home-search{
  width:100%!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-home-hero-bg{
  display:flex!important;
  flex-direction:row!important;
  justify-content:space-between!important;
  align-items:flex-end!important;
  min-height:260px!important;
  width:100%!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-home-hero-stats{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(130px,1fr))!important;
  gap:12px!important;
  width:min(460px,42%)!important;
  min-width:280px!important;
}
html body .tn-home-shell-v175 .tn-home-filter{
  display:grid!important;
  grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(140px,1fr)) auto!important;
  gap:10px!important;
  align-items:center!important;
}
html body .tn-home-shell-v175 .tn-home-filter input,
html body .tn-home-shell-v175 .tn-home-filter select,
html body .tn-home-shell-v175 .tn-home-filter button{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
@media(max-width:1200px){
  html body .tn-home-shell-v175 .tn-home-columns-v175{grid-template-columns:1fr!important;}
  html body .tn-home-shell-v175 .tn-home-hero-bg{flex-direction:column!important;align-items:flex-start!important;}
  html body .tn-home-shell-v175 .tn-home-hero-stats{width:100%!important;min-width:0!important;}
}
@media(max-width:860px){
  html body .tn-home-shell-v175{
    left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-top:56px!important;
  }
  html body .tn-home-shell-v175 .tn-home-main-shell{padding:14px 10px 90px!important;}
  html body .tn-home-shell-v175 .tn-home-filter{grid-template-columns:1fr!important;}
}

/* TimNhao v1.7.8 project quick product search */
.tn-project-product-search{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:center;margin:12px 0 14px}
.tn-project-product-search input{width:100%;border:1px solid #ead1da;border-radius:14px;padding:12px 14px;background:#fff;box-sizing:border-box}
.tn-project-product-search .tn-btn{white-space:nowrap}
@media(max-width:760px){.tn-project-product-search{grid-template-columns:1fr}.tn-project-product-search .tn-btn{width:100%}}

/* TimNhao v1.7.9 public sale product page */
.tn-sale-public-page{display:grid;gap:18px}
.tn-sale-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(240px,320px);gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#fff5f8);border:1px solid #ead1da;border-radius:24px;padding:22px;box-shadow:0 18px 50px rgba(123,18,49,.08)}
.tn-sale-avatar img{width:92px;height:92px;border-radius:24px;object-fit:cover;border:1px solid #ead1da;background:#fff}
.tn-sale-info h1{margin:10px 0 8px;font-size:34px;line-height:1.08;color:#241018}
.tn-sale-info p{margin:0;color:#77646b;font-size:15px}
.tn-sale-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.tn-sale-meta span{display:inline-flex;border:1px solid #ead1da;background:#fff;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:800;color:#7b1231}
.tn-sale-actions{display:grid;gap:10px}
.tn-sale-share-input,.tn-share-url input{width:100%;box-sizing:border-box;border:1px solid #ead1da;border-radius:14px;padding:11px 12px;background:#fff;color:#5a0d24;font-size:13px}
.tn-share-url{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 0;color:#77646b;font-size:13px}.tn-share-url span{font-weight:800;color:#241018}.tn-share-url input{max-width:420px}
.tn-sale-filter-card{padding:14px!important}.tn-sale-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:1100px){.tn-sale-hero{grid-template-columns:auto minmax(0,1fr)}.tn-sale-actions{grid-column:1/-1}.tn-sale-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.tn-sale-hero{grid-template-columns:1fr;text-align:left;padding:16px}.tn-sale-info h1{font-size:28px}.tn-sale-product-grid{grid-template-columns:1fr}.tn-share-url{display:block}.tn-share-url input{margin-top:8px;max-width:none}}

/* v1.8.0 - sale public product filters */
.tn-sale-filter-form{display:block}
.tn-sale-filter-grid{display:grid;grid-template-columns:1.2fr 1fr .85fr .85fr .75fr auto;gap:12px;align-items:end}
.tn-sale-filter-grid p{margin:0}
.tn-sale-filter-grid label{display:block;font-size:12px;font-weight:700;margin-bottom:6px;color:#6b7280}
.tn-sale-filter-grid input,.tn-sale-filter-grid select{width:100%;min-height:42px}
.tn-sale-filter-actions{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
@media(max-width:980px){.tn-sale-filter-grid{grid-template-columns:1fr 1fr}.tn-sale-filter-actions{grid-column:1/-1}}
@media(max-width:640px){.tn-sale-filter-grid{grid-template-columns:1fr}.tn-sale-filter-actions .tn-btn{width:100%}}


/* v1.8.1 - Sale public profile fixes */
.tn-sale-public-page{max-width:1180px;margin:0 auto;padding:16px!important;}
.tn-sale-public-page .tn-sale-hero{display:grid!important;grid-template-columns:96px minmax(0,1fr) 320px!important;gap:18px!important;align-items:center!important;background:#fff!important;border:1px solid #eadde2!important;border-radius:22px!important;padding:28px 22px!important;margin-bottom:18px!important;box-shadow:0 18px 45px rgba(72,31,48,.04)!important;}
.tn-sale-avatar img{width:92px!important;height:92px!important;border-radius:22px!important;object-fit:cover!important;}
.tn-sale-info h1{margin:10px 0 6px!important;font-size:32px!important;line-height:1.15!important;color:#16070c!important;}
.tn-sale-info p{margin:0 0 12px!important;color:#7b6470!important;}
.tn-sale-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;}
.tn-sale-meta span{display:inline-flex!important;align-items:center!important;border:1px solid #eadde2!important;border-radius:999px!important;padding:8px 12px!important;background:#fff!important;color:#8a123d!important;font-weight:800!important;font-size:13px!important;}
.tn-sale-actions{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;}
.tn-sale-share-input{width:100%!important;box-sizing:border-box!important;border:1px solid #eadde2!important;border-radius:12px!important;padding:12px!important;color:#8a123d!important;background:#fff!important;}
.tn-sale-filter-card{margin-bottom:18px!important;border-radius:18px!important;padding:18px!important;}
.tn-sale-filter-grid-v181{display:grid!important;grid-template-columns:minmax(190px,1.1fr) 150px 130px minmax(260px,1.4fr) auto!important;gap:14px!important;align-items:end!important;}
.tn-sale-filter-grid-v181 p,.tn-sale-filter-grid-v181 .tn-price-range-field{margin:0!important;min-width:0!important;}
.tn-price-range-field label,.tn-sale-filter-grid-v181 label{display:block!important;font-size:12px!important;font-weight:800!important;color:#6b5560!important;margin:0 0 8px!important;}
.tn-price-range-label{display:flex!important;justify-content:space-between!important;gap:10px!important;font-size:12px!important;font-weight:800!important;color:#8a123d!important;margin-bottom:4px!important;}
.tn-price-range{position:relative!important;height:36px!important;background:linear-gradient(#eadde2,#eadde2) center/100% 4px no-repeat!important;border-radius:999px!important;}
.tn-price-range input[type=range]{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:36px!important;padding:0!important;margin:0!important;background:transparent!important;pointer-events:none!important;-webkit-appearance:none!important;appearance:none!important;border:0!important;}
.tn-price-range input[type=range]::-webkit-slider-thumb{pointer-events:auto!important;-webkit-appearance:none!important;appearance:none!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#8a123d!important;border:3px solid #fff!important;box-shadow:0 4px 12px rgba(138,18,61,.28)!important;cursor:pointer!important;}
.tn-price-range input[type=range]::-moz-range-thumb{pointer-events:auto!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#8a123d!important;border:3px solid #fff!important;box-shadow:0 4px 12px rgba(138,18,61,.28)!important;cursor:pointer!important;}
.tn-price-range-field small{display:block!important;color:#7b6470!important;font-size:12px!important;margin-top:2px!important;}
.tn-sale-product-list{display:block!important;border:1px solid #eadde2!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important;}
.tn-sale-product-list .tn-product-simple-row{display:grid!important;grid-template-columns:86px 96px minmax(220px,1.5fr) minmax(150px,.85fr) minmax(120px,.65fr) minmax(130px,.7fr)!important;gap:14px!important;align-items:center!important;width:100%!important;box-sizing:border-box!important;border:0!important;border-bottom:1px solid #eadde2!important;border-radius:0!important;padding:12px 14px!important;background:#fff!important;}
.tn-sale-product-list .tn-product-simple-row:last-child{border-bottom:0!important;}
.tn-sale-product-list .tn-product-simple-thumb{display:block!important;}
.tn-sale-product-list .tn-product-simple-thumb img{display:block!important;width:96px!important;height:72px!important;object-fit:cover!important;border-radius:12px!important;background:#f3f4f6!important;}
.tn-sale-product-list .tn-product-simple-main strong,.tn-sale-product-list .tn-product-simple-main span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
.tn-sale-product-list .tn-product-simple-actions{display:flex!important;gap:8px!important;justify-content:flex-end!important;flex-wrap:wrap!important;}
@media(max-width:1080px){.tn-sale-public-page .tn-sale-hero{grid-template-columns:86px minmax(0,1fr)!important}.tn-sale-actions{grid-column:1/-1!important}.tn-sale-filter-grid-v181{grid-template-columns:1fr 1fr!important}.tn-price-range-field,.tn-sale-filter-actions{grid-column:1/-1!important}.tn-sale-product-list .tn-product-simple-row{grid-template-columns:34px 82px minmax(0,1fr) auto!important}.tn-sale-product-list .tn-product-simple-spec,.tn-sale-product-list .tn-product-simple-member{grid-column:3/4!important}.tn-sale-product-list .tn-product-simple-actions{grid-column:4/5!important;grid-row:1/4!important;flex-direction:column!important}.tn-sale-product-list .tn-product-simple-thumb img{width:82px!important;height:62px!important}}
@media(max-width:640px){.tn-sale-public-page{padding:10px!important}.tn-sale-public-page .tn-sale-hero{grid-template-columns:72px minmax(0,1fr)!important;padding:16px!important;border-radius:18px!important}.tn-sale-avatar img{width:72px!important;height:72px!important;border-radius:18px!important}.tn-sale-info h1{font-size:24px!important}.tn-sale-filter-grid-v181{grid-template-columns:1fr!important}.tn-sale-product-list .tn-product-simple-row{grid-template-columns:30px minmax(0,1fr)!important}.tn-sale-product-list .tn-product-simple-thumb{display:none!important}.tn-sale-product-list .tn-product-simple-main,.tn-sale-product-list .tn-product-simple-spec{grid-column:2!important}.tn-sale-product-list .tn-product-simple-member{display:none!important}.tn-sale-product-list .tn-product-simple-actions{grid-column:2!important;grid-row:auto!important;flex-direction:row!important;justify-content:flex-start!important}.tn-sale-filter-actions .tn-btn{width:100%!important}}

/* v1.8.2: sale profile list refinements */
.tn-sale-product-list .tn-product-simple-direction small{color:#7b6470!important;}
.tn-sale-product-list .tn-product-simple-direction b{color:#111827!important;font-size:14px!important;}
.tn-sale-product-list .tn-price-range-label span{min-width:86px!important;}

/* v1.8.4 - share sale products by project */
.tn-project-share-list{margin-top:12px;display:grid;gap:8px;max-width:760px}
.tn-project-share-list>strong{font-size:13px;color:#8f0d3d}
.tn-project-share-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(220px,2fr) auto;gap:8px;align-items:center;padding:8px;border:1px solid rgba(143,13,61,.16);border-radius:14px;background:#fff}
.tn-project-share-row span{font-weight:700;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tn-project-share-row input{height:36px;border:1px solid rgba(143,13,61,.18);border-radius:12px;padding:0 10px;color:#8f0d3d;background:#fff9fb}
.tn-sale-project-context{margin:14px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:720px){.tn-project-share-row{grid-template-columns:1fr}.tn-project-share-row input{width:100%}}
/* v1.8.4 - project table share controls */
.tn-project-share-cell{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:6px;align-items:center;min-width:320px}
.tn-project-share-cell input{height:34px;border:1px solid rgba(143,13,61,.18);border-radius:12px;padding:0 10px;color:#8f0d3d;background:#fff9fb;font-size:12px}
@media(max-width:720px){.tn-project-share-cell{grid-template-columns:1fr;min-width:0}.tn-project-share-cell input{width:100%}}

/* TimNhao v1.9.0: ensure same mobile topbar in marketplace/public pages */
.tn-mobile-topbar{display:none!important;}
@media(max-width:1024px){
  html body .tn-mobile-topbar{display:grid!important;grid-template-columns:56px minmax(0,1fr) 56px!important;align-items:center!important;position:fixed!important;top:0!important;left:0!important;right:0!important;height:56px!important;z-index:100005!important;background:#fff!important;border-bottom:1px solid var(--tn-border,#ead8df)!important;box-shadow:0 10px 28px rgba(33,21,26,.08)!important;}
  html body.admin-bar .tn-mobile-topbar{top:32px!important;}
  html body .tn-mobile-topbar .tn-mobile-menu{display:flex!important;position:static!important;width:56px!important;height:56px!important;min-width:56px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;align-items:center!important;justify-content:center!important;font-size:25px!important;color:var(--tn-text,#21151a)!important;line-height:1!important;}
  html body .tn-mobile-topbar .tn-mobile-menu:before{content:''!important;display:none!important;}
  html body .tn-mobile-logo{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;color:var(--tn-text,#21151a)!important;text-decoration:none!important;font-weight:900!important;}
  html body .tn-mobile-logo img{width:30px!important;height:30px!important;border-radius:9px!important;object-fit:cover!important;display:block!important;}
  html body .tn-mobile-logo span:not(.tn-logo-mark){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;border-radius:9px!important;background:var(--tn-wine,#7b1231)!important;color:#fff!important;font-weight:900!important;}
  html body .tn-mobile-logo strong{font-size:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:180px!important;}
  html body .tn-mobile-search{display:flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;text-decoration:none!important;color:var(--tn-text,#21151a)!important;font-size:30px!important;font-weight:900!important;line-height:1!important;}
  html body .tn-home-shell-v175,html body .tn-market-app,html body .tn-public-app{padding-left:0!important;padding-top:56px!important;}
  html body.admin-bar .tn-home-shell-v175 .tn-market-sidebar,html body.admin-bar .tn-market-sidebar{top:88px!important;height:calc(100vh - 88px)!important;}
  html body .tn-home-shell-v175 .tn-market-sidebar,html body .tn-market-sidebar{top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:100004!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important;border-right:1px solid var(--tn-border,#ead8df)!important;border-bottom:0!important;padding:12px!important;overflow:auto!important;background:#fff!important;}
  html body .tn-home-shell-v175.sidebar-open .tn-market-sidebar,html body .tn-market-app.sidebar-open .tn-market-sidebar,html body .tn-public-app.sidebar-open .tn-market-sidebar{transform:translateX(0)!important;}
  html body .tn-market-main,html body .tn-public-main,html body .tn-home-shell-v175 .tn-home-main-shell{padding-top:14px!important;}
}
@media(max-width:782px){html body.admin-bar .tn-mobile-topbar{top:46px!important;}html body.admin-bar .tn-home-shell-v175 .tn-market-sidebar,html body.admin-bar .tn-market-sidebar{top:102px!important;height:calc(100vh - 102px)!important;}}
@media(max-width:520px){html body .tn-mobile-logo strong{max-width:150px!important;font-size:15px!important;}}

/* TimNhao v1.9.2 - đồng bộ layout public/share/table/font */
html body.timnhao-public-app-body,
html body.timnhao-public-app-body *:not(.dashicons),
html body .tn-market-app,
html body .tn-market-app *:not(.dashicons){font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;box-sizing:border-box!important}
.tn-public-main,.tn-home-main-shell,.tn-market-main{font-family:inherit!important}.tn-public-detail,.tn-sale-public-page{font-family:inherit!important}.tn-market-head{gap:14px!important}.tn-social-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.tn-social-share span{font-size:13px;font-weight:800;color:#6b5560}.tn-social-share a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:999px;border:1px solid #eadde2;background:#fff;color:#8a123d!important;text-decoration:none!important;font-weight:900;font-size:13px;box-shadow:0 8px 22px rgba(72,31,48,.05)}.tn-social-share a:hover{background:#fff5f8;border-color:#d7a9b8}.tn-social-share .tn-share-facebook{background:#1877f2;color:#fff!important;border-color:#1877f2;font-family:Arial,sans-serif;font-size:18px}.tn-social-share .tn-share-zalo{background:#0068ff;color:#fff!important;border-color:#0068ff}.tn-social-share .tn-share-messenger{background:#f0f5ff;color:#0a58ca!important}.tn-social-share .tn-share-copy{background:#fff;color:#8a123d!important}.tn-sale-actions .tn-social-share{justify-content:flex-start;margin-top:0}.tn-sale-actions .tn-social-share span{width:100%;margin-bottom:-2px}.tn-table-card,.tn-card.tn-list-card,.tn-product-list-card,.tn-sale-product-list{border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important;overflow:hidden!important}.tn-table-card table,.tn-table,.tn-compare-table{width:100%!important;border-collapse:collapse!important;background:#fff!important}.tn-table-card th,.tn-table th,.tn-compare-table th{background:#fff5f8!important;color:#5f102b!important;font-size:12px!important;font-weight:900!important;text-align:left!important;padding:12px 14px!important;border-bottom:1px solid #eadde2!important;white-space:nowrap!important}.tn-table-card td,.tn-table td,.tn-compare-table td{padding:12px 14px!important;border-bottom:1px solid #f0e2e7!important;vertical-align:middle!important;color:#3f3036!important}.tn-table-card tr:last-child td,.tn-table tr:last-child td{border-bottom:0!important}.tn-product-simple-list:not(.tn-sale-product-list){border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important}.tn-product-simple-list:not(.tn-sale-product-list) .tn-product-simple-row{border:0!important;border-bottom:1px solid #f0e2e7!important;border-radius:0!important;margin:0!important}.tn-product-simple-list:not(.tn-sale-product-list) .tn-product-simple-row:last-child{border-bottom:0!important}.tn-event-list-card{font-family:inherit!important}.tn-public-detail .tn-card,.tn-public-detail .tn-seller-box,.tn-sale-filter-card{border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important}@media(max-width:760px){.tn-social-share{gap:6px}.tn-social-share a{height:34px;min-width:34px}.tn-table-card{overflow-x:auto!important}.tn-table-card table,.tn-table{min-width:680px}.tn-market-head{display:block!important}.tn-market-head .tn-badge,.tn-market-head .tn-event-hot{margin-top:10px!important}}

/* TimNhao v2.0.0 - Flatsome native reset */
body:not(.wp-admin) .tn-mobile-topbar,
body:not(.wp-admin) .tn-market-sidebar,
body:not(.wp-admin) .tn-sidebar{display:none!important}
body:not(.wp-admin) .tn-market-app,
body:not(.wp-admin) .tn-public-app,
body:not(.wp-admin) .tn-dashboard{display:block!important;min-height:0!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
body:not(.wp-admin) .tn-market-main,
body:not(.wp-admin) .tn-public-main,
body:not(.wp-admin) .tn-home-main-shell,
body:not(.wp-admin) .tn-main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
body:not(.wp-admin) .timnhao-flatsome-native{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;box-sizing:border-box!important;color:inherit!important;font-family:inherit!important}
body:not(.wp-admin) .timnhao-flatsome-native *{box-sizing:border-box!important;font-family:inherit!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-home-layout-v175,
body:not(.wp-admin) .tn-home-layout-v175{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-card,
body:not(.wp-admin) .timnhao-flatsome-native .tn-hero-card,
body:not(.wp-admin) .timnhao-flatsome-native .tn-seller-box,
body:not(.wp-admin) .timnhao-flatsome-native .tn-event-info-card{border-radius:12px!important;border:1px solid rgba(0,0,0,.08)!important;background:#fff!important;box-shadow:none!important;margin:0 0 20px!important;padding:20px!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-grid,
body:not(.wp-admin) .timnhao-flatsome-native .tn-home-grid,
body:not(.wp-admin) .timnhao-flatsome-native .tn-home-grid-compact,
body:not(.wp-admin) .timnhao-flatsome-native .tn-events-list-grid{gap:20px!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-btn{border-radius:6px!important;box-shadow:none!important;background:#8a123d!important;color:#fff!important;padding:10px 16px!important;line-height:1.2!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-btn-ghost{background:#fff!important;color:#8a123d!important;border:1px solid #8a123d!important}
body:not(.wp-admin) .timnhao-flatsome-native img{max-width:100%;height:auto}
body:not(.wp-admin) .timnhao-flatsome-native table{width:100%;display:table!important}
body:not(.wp-admin) .timnhao-flatsome-native input,
body:not(.wp-admin) .timnhao-flatsome-native select,
body:not(.wp-admin) .timnhao-flatsome-native textarea{max-width:100%!important;border-radius:6px!important}
@media(max-width:849px){body:not(.wp-admin) .timnhao-flatsome-native .tn-card,body:not(.wp-admin) .timnhao-flatsome-native .tn-hero-card{padding:14px!important;margin-bottom:14px!important}body:not(.wp-admin) .timnhao-flatsome-native .tn-table{display:block!important;overflow-x:auto!important;white-space:nowrap!important}}

/* TimNhao v2.0.1 - HOME Flatsome native hard override */
body:not(.wp-admin) .tn-home-native-page,
body:not(.wp-admin) .tn-home-native-page .tn-home-shell-v175,
body:not(.wp-admin) .tn-home-native-page .tn-market-app{
  display:block!important;width:100%!important;max-width:100%!important;min-height:0!important;
  margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important;border-radius:0!important;
}
body:not(.wp-admin) .tn-home-native-page .tn-market-sidebar,
body:not(.wp-admin) .tn-home-native-page .tn-mobile-topbar{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;position:absolute!important;left:-9999px!important;top:auto!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-main-shell,
body:not(.wp-admin) .tn-home-native-page .tn-market-main{
  display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important;
}
body:not(.wp-admin) .tn-home-native-page .tn-home-layout-v175{
  width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:20px!important;background:transparent!important;
}
body:not(.wp-admin) .tn-home-native-page .tn-home-columns-v175{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important;align-items:start!important;width:100%!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-center-v175{display:flex!important;flex-direction:column!important;gap:20px!important;width:100%!important;min-width:0!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-right-v175{width:100%!important;min-width:0!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-right-v175 .tn-home-rank-side{position:static!important;top:auto!important;}
body:not(.wp-admin) .tn-home-native-page .tn-card{margin:0 0 20px!important;}
@media(max-width:849px){body:not(.wp-admin) .tn-home-native-page .tn-home-columns-v175{grid-template-columns:1fr!important;}body:not(.wp-admin) .tn-home-native-page .tn-home-filter{grid-template-columns:1fr!important;}}

/* TimNhao v2.0.3 - clean Flatsome home layout, no plugin shell/sidebar */
body:not(.wp-admin) .timnhao-home-v203{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;clear:both!important;position:relative!important;left:auto!important;right:auto!important;transform:none!important;float:none!important;overflow:visible!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-market-app,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-shell-v175,
body:not(.wp-admin) .timnhao-home-v203 .tn-market-sidebar,
body:not(.wp-admin) .timnhao-home-v203 .tn-mobile-topbar{display:none!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-card,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-hero{width:100%!important;max-width:100%!important;margin:0 0 20px!important;padding:20px!important;border-radius:14px!important;background:#fff!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:none!important;overflow:hidden!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-hero{padding:0!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-bg{min-height:240px!important;border-radius:14px!important;padding:28px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(120px,1fr))!important;gap:10px!important;min-width:300px!important;max-width:430px!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important;align-items:start!important;width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-content,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-aside{min-width:0!important;width:100%!important;margin:0!important;padding:0!important;display:block!important;position:static!important;float:none!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter{display:grid!important;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(130px,1fr)) auto!important;gap:10px!important;align-items:center!important;width:100%!important;margin:14px 0!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter input,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter select,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter button{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-grid-compact{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:14px!important;width:100%!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-product-row{display:grid!important;grid-template-columns:110px minmax(0,1fr) 110px 80px!important;gap:10px!important;align-items:center!important;width:100%!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side{position:static!important;top:auto!important;margin-bottom:20px!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-topnote{display:inline-flex!important;background:#8a123d!important;color:#fff!important;border-radius:999px!important;padding:7px 12px!important;font-weight:700!important;font-size:13px!important;margin:0 0 16px!important}
@media(max-width:1100px){body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{grid-template-columns:1fr!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-bg{align-items:flex-start!important;flex-direction:column!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{min-width:0!important;max-width:none!important;width:100%!important}}
@media(max-width:849px){body:not(.wp-admin) .timnhao-home-v203 .tn-card{padding:14px!important;margin-bottom:14px!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter{grid-template-columns:1fr!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-product-row{grid-template-columns:1fr!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{grid-template-columns:1fr!important}}


/* TimNhao v2.0.4 - Desktop fixed Flatsome sidebar menu. Tablet/mobile giữ nguyên Flatsome gốc. */
@media (min-width: 850px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:280px!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #main,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .page-wrapper{max-width:none!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{
    display:block!important;position:fixed!important;z-index:9998!important;left:0!important;top:0!important;bottom:0!important;width:280px!important;
    height:100vh!important;overflow-y:auto!important;background:#fff!important;border-right:1px solid rgba(0,0,0,.08)!important;box-shadow:8px 0 28px rgba(0,0,0,.08)!important;padding:18px 16px!important;box-sizing:border-box!important;
  }
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .mfp-close,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .toggle{display:none!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed ul{list-style:none!important;margin:0!important;padding:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed li{margin:0!important;padding:0!important;border-bottom:1px solid rgba(0,0,0,.06)!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a{display:block!important;padding:12px 10px!important;color:#333!important;text-decoration:none!important;font-weight:600!important;border-radius:8px!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a:hover{background:#f6f6f6!important;color:#8a123d!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-wrap.off-canvas,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-bg{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-content{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:280px!important;height:100vh!important;margin:0!important;transform:none!important;
  }
}
@media (max-width: 849px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{display:none!important;}
}


/* TimNhao v2.0.5 - Desktop sidebar brand + hide desktop header menu. Mobile/tablet giữ nguyên Flatsome. */
@media (min-width: 850px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #masthead,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-main,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-bg-container{
    display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;
  }
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:300px!important;padding-top:0!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #main{padding-top:0!important;margin-top:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{width:300px!important;padding:22px 18px!important;}
  body:not(.wp-admin) .tn-sidebar-brand{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;margin:0 0 22px!important;padding:0 0 18px!important;border-bottom:1px solid rgba(0,0,0,.08)!important;}
  body:not(.wp-admin) .tn-sidebar-logo{width:74px!important;height:74px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff7ec!important;border:1px solid rgba(138,18,61,.12)!important;overflow:hidden!important;}
  body:not(.wp-admin) .tn-sidebar-logo img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important;}
  body:not(.wp-admin) .tn-sidebar-logo-text{font-size:30px!important;font-weight:800!important;color:#8a123d!important;}
  body:not(.wp-admin) .tn-sidebar-title{font-size:20px!important;line-height:1.2!important;font-weight:800!important;color:#222!important;letter-spacing:-.02em!important;}
  body:not(.wp-admin) .tn-sidebar-slogan{font-size:13px!important;line-height:1.45!important;color:#666!important;font-weight:500!important;}
  body:not(.wp-admin) .tn-sidebar-nav{display:block!important;width:100%!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .nav,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .menu{display:block!important;width:100%!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed li{border-bottom:0!important;margin:3px 0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a{padding:11px 12px!important;border-radius:10px!important;}
}
@media (max-width:849px){
  body:not(.wp-admin) #masthead,
  body:not(.wp-admin) .header-wrapper,
  body:not(.wp-admin) .header-main{display:block!important;visibility:visible!important;height:auto!important;}
}

/* TimNhao v2.0.6 - Sidebar brand ngang + tải sớm chống giật layout */
@media (min-width:850px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:300px!important;padding-top:0!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #masthead,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-main,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-bg-container{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{display:flex!important;flex-direction:column!important;position:fixed!important;z-index:99998!important;left:0!important;top:0!important;bottom:0!important;width:300px!important;height:100vh!important;background:#fff!important;border-right:1px solid rgba(0,0,0,.08)!important;box-shadow:8px 0 28px rgba(0,0,0,.08)!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;}
  body:not(.wp-admin) .tn-sidebar-brand{position:sticky!important;top:0!important;z-index:2!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:92px!important;margin:0!important;padding:16px 18px!important;background:#fff!important;border-bottom:1px solid rgba(0,0,0,.08)!important;box-sizing:border-box!important;box-shadow:0 8px 18px rgba(255,255,255,.88)!important;}
  body:not(.wp-admin) .tn-sidebar-logo{flex:0 0 58px!important;width:58px!important;height:58px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff7ec!important;border:1px solid rgba(138,18,61,.14)!important;overflow:hidden!important;}
  body:not(.wp-admin) .tn-sidebar-logo img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important;}
  body:not(.wp-admin) .tn-sidebar-logo span,
  body:not(.wp-admin) .tn-sidebar-logo-text{font-size:26px!important;font-weight:900!important;color:#8a123d!important;line-height:1!important;}
  body:not(.wp-admin) .tn-sidebar-brand-text{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important;}
  body:not(.wp-admin) .tn-sidebar-title{font-size:18px!important;line-height:1.18!important;font-weight:850!important;color:#222!important;letter-spacing:-.02em!important;white-space:normal!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;}
  body:not(.wp-admin) .tn-sidebar-slogan{font-size:12.5px!important;line-height:1.35!important;color:#666!important;font-weight:500!important;white-space:normal!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;}
  body:not(.wp-admin) .tn-sidebar-nav{flex:1 1 auto!important;display:block!important;width:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:12px 14px 18px!important;box-sizing:border-box!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .nav,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .menu,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed ul{display:block!important;width:100%!important;list-style:none!important;margin:0!important;padding:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed li{display:block!important;width:100%!important;margin:3px 0!important;padding:0!important;border-bottom:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a{display:block!important;width:100%!important;padding:11px 12px!important;border-radius:10px!important;color:#333!important;text-decoration:none!important;font-weight:650!important;box-sizing:border-box!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a:hover{background:#f7f4f5!important;color:#8a123d!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-wrap.off-canvas,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-bg{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
}
@media (max-width:849px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{display:none!important;}
  body:not(.wp-admin) #masthead,
  body:not(.wp-admin) .header-wrapper,
  body:not(.wp-admin) .header-main{display:block!important;visibility:visible!important;height:auto!important;}
}


/* TimNhao v2.0.7 - Unified product list layout for project, home and broker profile */
.tn-home-product-list.tn-product-simple-list,
.tn-sale-product-list.tn-product-simple-list,
.tn-product-list-card .tn-product-simple-list{
  border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important;
}
.tn-home-product-list .tn-product-simple-row,
.tn-sale-product-list .tn-product-simple-row,
.tn-product-list-card .tn-product-simple-row{
  display:grid!important;grid-template-columns:86px 96px minmax(220px,1.5fr) minmax(150px,.85fr) minmax(120px,.65fr) minmax(130px,.7fr)!important;gap:14px!important;align-items:center!important;width:100%!important;box-sizing:border-box!important;border:0!important;border-bottom:1px solid #eadde2!important;border-radius:0!important;padding:12px 14px!important;background:#fff!important;margin:0!important;
}
.tn-home-product-list .tn-product-simple-row:last-child,
.tn-sale-product-list .tn-product-simple-row:last-child,
.tn-product-list-card .tn-product-simple-row:last-child{border-bottom:0!important;}
.tn-home-product-list .tn-product-simple-thumb,
.tn-sale-product-list .tn-product-simple-thumb,
.tn-product-list-card .tn-product-simple-thumb{display:block!important;}
.tn-home-product-list .tn-product-simple-thumb img,
.tn-sale-product-list .tn-product-simple-thumb img,
.tn-product-list-card .tn-product-simple-thumb img{display:block!important;width:96px!important;height:72px!important;object-fit:cover!important;border-radius:12px!important;background:#f3f4f6!important;}
.tn-product-empty-thumb{display:flex!important;align-items:center!important;justify-content:center!important;width:96px!important;height:72px!important;border-radius:12px!important;background:#f6eef2!important;color:#8a123d!important;font-size:11px!important;font-weight:800!important;}
.tn-home-code-badge{justify-content:center!important;background:#fff5f8!important;border:1px solid #eadde2!important;border-radius:999px!important;padding:6px 8px!important;font-weight:900!important;color:#8a123d!important;}
.tn-home-product-list .tn-product-simple-main strong,
.tn-sale-product-list .tn-product-simple-main strong,
.tn-product-list-card .tn-product-simple-main strong,
.tn-home-product-list .tn-product-simple-main span,
.tn-sale-product-list .tn-product-simple-main span,
.tn-product-list-card .tn-product-simple-main span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
.tn-home-product-list .tn-product-simple-actions,
.tn-sale-product-list .tn-product-simple-actions,
.tn-product-list-card .tn-product-simple-actions{display:flex!important;gap:8px!important;justify-content:flex-end!important;flex-wrap:wrap!important;}
@media(max-width:1080px){
  .tn-home-product-list .tn-product-simple-row,
  .tn-sale-product-list .tn-product-simple-row,
  .tn-product-list-card .tn-product-simple-row{grid-template-columns:34px 82px minmax(0,1fr) auto!important;}
  .tn-home-product-list .tn-product-simple-spec,.tn-home-product-list .tn-product-simple-member,
  .tn-sale-product-list .tn-product-simple-spec,.tn-sale-product-list .tn-product-simple-member,
  .tn-product-list-card .tn-product-simple-spec,.tn-product-list-card .tn-product-simple-member{grid-column:3/4!important;}
  .tn-home-product-list .tn-product-simple-actions,
  .tn-sale-product-list .tn-product-simple-actions,
  .tn-product-list-card .tn-product-simple-actions{grid-column:4/5!important;grid-row:1/4!important;flex-direction:column!important;}
  .tn-home-product-list .tn-product-simple-thumb img,
  .tn-sale-product-list .tn-product-simple-thumb img,
  .tn-product-list-card .tn-product-simple-thumb img,.tn-product-empty-thumb{width:82px!important;height:62px!important;}
}
@media(max-width:640px){
  .tn-home-product-list .tn-product-simple-row,
  .tn-sale-product-list .tn-product-simple-row,
  .tn-product-list-card .tn-product-simple-row{grid-template-columns:30px minmax(0,1fr)!important;}
  .tn-home-product-list .tn-product-simple-thumb,
  .tn-sale-product-list .tn-product-simple-thumb,
  .tn-product-list-card .tn-product-simple-thumb{display:none!important;}
  .tn-home-product-list .tn-product-simple-main,.tn-home-product-list .tn-product-simple-spec,
  .tn-sale-product-list .tn-product-simple-main,.tn-sale-product-list .tn-product-simple-spec,
  .tn-product-list-card .tn-product-simple-main,.tn-product-list-card .tn-product-simple-spec{grid-column:2!important;}
  .tn-home-product-list .tn-product-simple-member,
  .tn-sale-product-list .tn-product-simple-member,
  .tn-product-list-card .tn-product-simple-member{display:none!important;}
  .tn-home-product-list .tn-product-simple-actions,
  .tn-sale-product-list .tn-product-simple-actions,
  .tn-product-list-card .tn-product-simple-actions{grid-column:2!important;grid-row:auto!important;flex-direction:row!important;justify-content:flex-start!important;}
}

/* TimNhao v2.0.8 - home cleanup and Flatsome-friendly layout */
.tn-home-topnote{display:none!important;}
.tn-seo-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.tn-home-event-banner{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:16px!important;align-items:center!important;margin:0 0 18px!important;padding:18px 20px!important;border:0!important;border-radius:22px!important;background:linear-gradient(135deg,#fff7fa,#fff,#f8eef2)!important;box-shadow:none!important;}
.tn-home-event-banner-main{display:flex!important;flex-direction:column!important;gap:5px!important;text-decoration:none!important;color:inherit!important;min-width:0!important;}
.tn-home-event-banner-main strong{font-size:22px!important;line-height:1.2!important;color:#3b1221!important;}
.tn-home-event-banner-main small{color:#6b7280!important;font-weight:600!important;}
.tn-home-countdown{display:grid!important;grid-template-columns:repeat(4,64px)!important;gap:8px!important;align-items:center!important;}
.tn-home-countdown div{background:#fff!important;border:1px solid #f0dce4!important;border-radius:16px!important;padding:9px 6px!important;text-align:center!important;box-shadow:0 8px 22px rgba(72,31,48,.05)!important;}
.tn-home-countdown b{display:block!important;font-size:20px!important;line-height:1!important;color:#8a123d!important;font-weight:900!important;}
.tn-home-countdown span{display:block!important;font-size:11px!important;color:#6b7280!important;margin-top:4px!important;font-weight:700!important;}
.tn-home-project-grid-4{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.tn-home-project-grid-4 .tn-home-card-compact{width:100%!important;min-width:0!important;}
.tn-bank-policy-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.tn-bank-policy-card{display:flex!important;flex-direction:column!important;gap:6px!important;padding:14px!important;border-radius:16px!important;background:#fff!important;border:1px solid #eadde2!important;text-decoration:none!important;color:inherit!important;}
.tn-bank-policy-card strong{color:#3b1221!important;font-size:15px!important;line-height:1.25!important;}
.tn-bank-policy-card span{color:#8a123d!important;font-weight:800!important;}
.tn-bank-policy-card small,.tn-bank-policy-card em{color:#6b7280!important;font-style:normal!important;}
.tn-bank-support-rank .tn-sponsor-mini small{font-weight:700!important;color:#6b7280!important;}
@media(max-width:849px){
  .tn-home-event-banner{grid-template-columns:1fr!important;padding:16px!important;}
  .tn-home-countdown{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;}
  .tn-home-project-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .tn-bank-policy-grid{grid-template-columns:1fr!important;}
}

/* TimNhao v2.0.9 - home event 9:16 banner grid */
.tn-home-events-block{margin:0 0 22px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.tn-home-section-head{margin:0 0 12px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.tn-home-section-head h2{margin:0!important;font-size:22px!important;line-height:1.2!important;color:#3b1221!important;}
.tn-link-more{font-weight:800!important;text-decoration:none!important;color:#8a123d!important;font-size:14px!important;}
.tn-home-event-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important;}
.tn-home-event-card{position:relative!important;display:block!important;aspect-ratio:3/4!important;min-height:0!important;border:0!important;border-radius:20px!important;overflow:hidden!important;background-image:var(--tn-event-bg)!important;background-size:cover!important;background-position:center!important;text-decoration:none!important;color:#fff!important;box-shadow:0 16px 42px rgba(26,12,18,.14)!important;}
.tn-home-event-placeholder{position:absolute!important;inset:0!important;background:linear-gradient(135deg,#8a123d,#3b1221)!important;}
.tn-home-event-shade{position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.16) 38%,rgba(0,0,0,.78) 100%)!important;}
.tn-home-event-content{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:2!important;display:flex!important;flex-direction:column!important;gap:8px!important;padding:14px!important;color:#fff!important;}
.tn-home-event-status{align-self:flex-start!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:6px 9px!important;border-radius:999px!important;background:rgba(255,255,255,.20)!important;backdrop-filter:blur(8px)!important;color:#fff!important;font-size:12px!important;font-weight:900!important;line-height:1!important;}
.tn-home-event-card.is-live .tn-home-event-status{background:rgba(18,163,74,.92)!important;}
.tn-home-event-status i{display:inline-block!important;width:8px!important;height:8px!important;border-radius:50%!important;background:#22c55e!important;box-shadow:0 0 0 4px rgba(34,197,94,.24)!important;}
.tn-home-event-card strong{display:block!important;color:#fff!important;font-size:17px!important;line-height:1.22!important;font-weight:900!important;text-shadow:0 2px 12px rgba(0,0,0,.45)!important;}
.tn-home-event-card small{display:block!important;color:rgba(255,255,255,.9)!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important;}
.tn-home-event-card .tn-home-countdown{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;width:100%!important;margin-top:3px!important;}
.tn-home-event-card .tn-home-countdown span{display:block!important;text-align:center!important;padding:6px 3px!important;border-radius:10px!important;background:rgba(255,255,255,.18)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;backdrop-filter:blur(8px)!important;}
.tn-home-event-card .tn-home-countdown b{display:block!important;color:#fff!important;font-size:16px!important;line-height:1!important;font-weight:950!important;}
.tn-home-event-card .tn-home-countdown em{display:block!important;margin-top:3px!important;color:rgba(255,255,255,.84)!important;font-size:9px!important;line-height:1!important;font-style:normal!important;font-weight:800!important;}
@media(max-width:849px){.tn-home-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.tn-home-event-card{border-radius:14px!important}.tn-home-event-content{padding:8px!important;gap:5px!important}.tn-home-event-status{font-size:9px!important;padding:4px 6px!important}.tn-home-event-status i{width:6px!important;height:6px!important}.tn-home-event-card strong{font-size:12px!important}.tn-home-event-card small{font-size:10px!important}.tn-home-event-card .tn-home-countdown{gap:3px!important}.tn-home-event-card .tn-home-countdown span{padding:4px 1px!important;border-radius:7px!important}.tn-home-event-card .tn-home-countdown b{font-size:11px!important}.tn-home-event-card .tn-home-countdown em{font-size:7px!important}}

@media (min-width:850px){.tn-home-event-card{border-radius:16px!important}.tn-home-event-content{padding:9px!important;gap:5px!important}.tn-home-event-status{font-size:9px!important;padding:4px 6px!important}.tn-home-event-card strong{font-size:12px!important}.tn-home-event-card small{font-size:10px!important}.tn-home-event-card .tn-home-countdown{gap:3px!important}.tn-home-event-card .tn-home-countdown span{padding:4px 2px!important;border-radius:8px!important}.tn-home-event-card .tn-home-countdown b{font-size:11px!important}.tn-home-event-card .tn-home-countdown em{font-size:7px!important}}
@media (min-width:850px) and (max-width:1024px){.tn-home-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.tn-market-sidebar a.tn-account-nav-link.active,.tn-market-sidebar a.tn-account-nav-link:hover{background:#7a102a!important;color:#fff!important}


/* v2.1.5: event 3:4, unified bank rank layout, hide compare text */
.tn-bank-support-rank .tn-rank-mini{display:grid!important;grid-template-columns:auto 34px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:12px 0!important;border-bottom:1px solid #eee!important;text-decoration:none!important;color:inherit!important;}
.tn-bank-support-rank .tn-rank-mini:last-child{border-bottom:0!important;}
.tn-bank-support-rank .tn-rank-mini strong{color:#8a123d!important;font-weight:900!important;}
.tn-bank-support-rank .tn-rank-mini span{display:flex!important;flex-direction:column!important;min-width:0!important;font-weight:800!important;color:#2d2430!important;}
.tn-bank-support-rank .tn-rank-mini small{font-size:13px!important;font-weight:600!important;color:#6b7280!important;margin-top:2px!important;white-space:normal!important;}
.tn-bank-support-rank .tn-rank-mini b{color:#8a123d!important;font-size:14px!important;font-weight:900!important;white-space:nowrap!important;}
.tn-product-simple-row .tn-compare-check .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.tn-mini-lock{cursor:pointer!important;}


/* TimNhao v2.1.6 rebuilt: force requested home/project fixes */
/* 1) Trang chủ - Sự kiện đúng tỷ lệ 3:4 ở mọi breakpoint */
html body .tn-home-events-block .tn-home-event-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
html body .tn-home-events-block .tn-home-event-card,
html body .tn-home-event-grid .tn-home-event-card{
  aspect-ratio:3/4!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  background-size:cover!important;
  background-position:center!important;
}
@supports not (aspect-ratio:3/4){
  html body .tn-home-event-grid .tn-home-event-card{height:0!important;padding-top:133.333%!important;}
  html body .tn-home-event-grid .tn-home-event-card>*{position:absolute!important;}
}
@media(max-width:849px){
  html body .tn-home-events-block .tn-home-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  html body .tn-home-event-grid .tn-home-event-card{aspect-ratio:3/4!important;}
}

/* 2) Thành viên ngân hàng dùng hoàn toàn layout giống Môi giới xuất sắc */
html body .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-mini,
html body .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini,
html body .tn-bank-support-rank a{
  display:grid!important;
  grid-template-columns:34px 38px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:9px!important;
  row-gap:2px!important;
  align-items:center!important;
  width:100%!important;
  padding:10px 0!important;
  border:0!important;
  border-bottom:1px solid var(--tn-border,#eadde2)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}
html body .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-mini:last-child,
html body .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini:last-child{border-bottom:0!important;}
html body .tn-bank-support-rank .tn-sponsor-mini>strong,
html body .tn-bank-support-rank .tn-rank-mini>strong{
  grid-column:1!important;grid-row:1 / span 2!important;
  color:var(--tn-text,#2b2430)!important;font-size:14px!important;font-weight:900!important;line-height:1!important;
}
html body .tn-bank-support-rank .tn-sponsor-mini img,
html body .tn-bank-support-rank .tn-sponsor-mini .avatar,
html body .tn-bank-support-rank .tn-rank-mini img,
html body .tn-bank-support-rank .tn-rank-mini .avatar{
  grid-column:2!important;grid-row:1 / span 2!important;width:34px!important;height:34px!important;max-width:none!important;border-radius:50%!important;object-fit:cover!important;
}
html body .tn-bank-support-rank .tn-sponsor-mini span,
html body .tn-bank-support-rank .tn-rank-mini span{
  grid-column:3!important;grid-row:1!important;min-width:0!important;display:block!important;color:var(--tn-text,#2b2430)!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
html body .tn-bank-support-rank .tn-sponsor-mini span small,
html body .tn-bank-support-rank .tn-rank-mini span small{
  display:block!important;margin-top:2px!important;font-size:11px!important;font-weight:600!important;color:var(--tn-muted,#7d6b72)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
html body .tn-bank-support-rank .tn-sponsor-mini b,
html body .tn-bank-support-rank .tn-rank-mini b{
  grid-column:3!important;grid-row:2!important;justify-self:start!important;margin:0!important;color:var(--tn-wine,#8a123d)!important;font-size:13px!important;font-weight:900!important;line-height:1.2!important;white-space:nowrap!important;
}
html body .tn-bank-support-rank .tn-sponsor-zalo,
html body .tn-bank-support-rank .tn-mini-call,
html body .tn-bank-support-rank .tn-mini-zalo{display:none!important;}
html body .tn-bank-support-rank .tn-sponsor-profile-hit{display:contents!important;}

/* 3) Dự án - Danh sách sản phẩm: tỷ lệ cột cân đối hơn */
html body .tn-product-list-card .tn-product-simple-row,
html body .tn-product-list.tn-simple-list .tn-product-simple-row{
  grid-template-columns:44px 92px minmax(260px,2fr) minmax(150px,.9fr) minmax(120px,.65fr) minmax(120px,.65fr)!important;
  gap:12px!important;
}
html body .tn-product-list-card .tn-product-simple-main{min-width:0!important;}
html body .tn-product-list-card .tn-product-simple-spec{min-width:0!important;}
html body .tn-product-simple-row .tn-compare-check{justify-content:center!important;min-width:32px!important;}
html body .tn-product-simple-row .tn-compare-check span:not(.screen-reader-text){display:none!important;}
@media(max-width:1080px){
  html body .tn-product-list-card .tn-product-simple-row,
  html body .tn-product-list.tn-simple-list .tn-product-simple-row{grid-template-columns:32px 82px minmax(0,1fr) auto!important;gap:10px!important;}
}
@media(max-width:640px){
  html body .tn-product-list-card .tn-product-simple-row,
  html body .tn-product-list.tn-simple-list .tn-product-simple-row{grid-template-columns:28px minmax(0,1fr)!important;gap:8px!important;}
}

/* TimNhao v2.1.7: hard fix home event ratio + bank hover/layout parity */
html body:not(.wp-admin) .tn-home-events-block .tn-home-event-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:start!important;
}
html body:not(.wp-admin) .tn-home-events-block .tn-home-event-card,
html body:not(.wp-admin) .tn-home-event-grid>a.tn-home-event-card{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:18px!important;
  background-size:cover!important;
  background-position:center!important;
  text-decoration:none!important;
  color:#fff!important;
}
html body:not(.wp-admin) .tn-home-events-block .tn-home-event-card::before,
html body:not(.wp-admin) .tn-home-event-grid>a.tn-home-event-card::before{
  content:""!important;
  display:block!important;
  width:100%!important;
  padding-top:133.333333%!important;
}
html body:not(.wp-admin) .tn-home-event-card .tn-home-event-placeholder,
html body:not(.wp-admin) .tn-home-event-card .tn-home-event-shade,
html body:not(.wp-admin) .tn-home-event-card .tn-home-event-content{position:absolute!important;}
@media(max-width:849px){
  html body:not(.wp-admin) .tn-home-events-block .tn-home-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
}
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-profile-hit{
  display:grid!important;
  grid-template-columns:34px 38px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:center!important;
  padding:10px 0!important;
  border:0!important;
  border-bottom:1px solid var(--tn-border,#eadde2)!important;
  background:transparent!important;
  color:inherit!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-profile-hit:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini:hover *,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini:hover *{text-decoration:none!important;}
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini:hover{
  background:#fff7fa!important;
  border-radius:12px!important;
  padding-left:8px!important;
  padding-right:8px!important;
  box-shadow:0 10px 24px rgba(137,9,50,.10)!important;
}
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-profile-hit{display:grid!important;}


/* TimNhao v2.1.8: home 8:4 layout, guest title, KPI tablet 2 cols, homepage compare */
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{
  display:grid!important;
  grid-template-columns:minmax(0,8fr) minmax(280px,4fr)!important;
  gap:20px!important;
  align-items:start!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-content,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-aside{min-width:0!important;width:100%!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-guest .tn-home-hero-bg h2,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-identity h2{
  margin:6px 0 6px!important;
  font-size:clamp(26px,3vw,42px)!important;
  line-height:1.08!important;
  font-weight:950!important;
  color:#fff!important;
  letter-spacing:-.03em!important;
  text-shadow:0 10px 28px rgba(0,0,0,.24)!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media (min-width:850px) and (max-width:1100px){
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{grid-template-columns:1fr!important;}
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:849px){
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{grid-template-columns:1fr!important;}
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important;}
html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head h2{margin:0!important;}
html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row{
  grid-template-columns:34px 82px minmax(0,1.7fr) minmax(130px,.75fr) minmax(96px,.55fr) minmax(112px,.65fr)!important;
  gap:12px!important;
}
html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row .tn-compare-check{justify-content:center!important;}
@media (max-width:1080px){
  html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row{grid-template-columns:30px 82px minmax(0,1fr) auto!important;}
}
@media (max-width:640px){
  html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head{align-items:flex-start!important;flex-direction:column!important;}
  html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row{grid-template-columns:28px minmax(0,1fr)!important;}
}

/* TimNhao v2.1.9: final shared avatar/rank parity */
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-mini{
  display:grid!important;grid-template-columns:34px 44px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;width:100%!important;padding:10px 0!important;border:0!important;border-bottom:1px solid var(--tn-border,#eadde2)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;text-decoration:none!important;box-sizing:border-box!important;
}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>strong{grid-column:1!important;grid-row:1!important;color:var(--tn-wine,#8a123d)!important;font-weight:900!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>.avatar,html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>img{grid-column:2!important;grid-row:1!important;width:44px!important;height:44px!important;max-width:44px!important;border-radius:50%!important;object-fit:cover!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>span{grid-column:3!important;grid-row:1!important;min-width:0!important;display:block!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>span small{display:block!important;margin-top:3px!important;font-size:12px!important;font-weight:600!important;color:var(--tn-muted,#7d6b72)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>b{grid-column:4!important;grid-row:1!important;justify-self:end!important;align-self:center!important;color:var(--tn-wine,#8a123d)!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important;margin:0!important;}
html body:not(.wp-admin) .tn-home-rank-side a.tn-rank-mini:hover,html body:not(.wp-admin) .tn-home-rank-side a.tn-rank-mini:hover *{text-decoration:none!important;}
html body:not(.wp-admin) img.avatar,html body:not(.wp-admin) .avatar,html body:not(.wp-admin) .timnhao-user-avatar{border-radius:50%!important;object-fit:cover!important;overflow:hidden!important;}


/* TimNhao v2.2.0: account avatar upload + home project overlay layout */
html body:not(.wp-admin) .tn-account-profile-form input[type="file"][name="timnhao_avatar"]{
  display:block!important;width:100%!important;margin:8px 0!important;padding:10px!important;border:1px dashed #d9b6c2!important;border-radius:14px!important;background:#fff7fa!important;
}
html body:not(.wp-admin) .tn-avatar-upload-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:8px 0 0!important;padding:9px 13px!important;border-radius:999px!important;background:var(--tn-wine,#8a123d)!important;color:#fff!important;font-weight:800!important;cursor:pointer!important;width:auto!important;
}
html body:not(.wp-admin) .tn-account-avatar-edit{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;}
html body:not(.wp-admin) .tn-account-avatar-preview img{width:96px!important;height:96px!important;border-radius:50%!important;object-fit:cover!important;border:3px solid #fff!important;box-shadow:0 8px 22px rgba(0,0,0,.12)!important;}
html body:not(.wp-admin) .tn-home-project-open-section .tn-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important;}
html body:not(.wp-admin) .tn-home-project-overlay-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
html body:not(.wp-admin) .tn-home-project-overlay-card{position:relative!important;display:block!important;aspect-ratio:4/3!important;min-height:0!important;border-radius:20px!important;overflow:hidden!important;background-image:var(--tn-project-bg)!important;background-size:cover!important;background-position:center!important;text-decoration:none!important;color:#fff!important;box-shadow:0 16px 38px rgba(32,12,20,.13)!important;transition:transform .18s ease,box-shadow .18s ease!important;}
html body:not(.wp-admin) .tn-home-project-overlay-card:hover{transform:translateY(-3px)!important;box-shadow:0 22px 48px rgba(32,12,20,.18)!important;text-decoration:none!important;color:#fff!important;}
html body:not(.wp-admin) .tn-home-project-overlay-card:hover *{text-decoration:none!important;}
html body:not(.wp-admin) .tn-home-project-placeholder{position:absolute!important;inset:0!important;background:linear-gradient(135deg,#8a123d,#243b55)!important;}
html body:not(.wp-admin) .tn-home-project-shade{position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.10) 40%,rgba(0,0,0,.76) 100%)!important;}
html body:not(.wp-admin) .tn-home-project-info{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:2!important;padding:14px!important;display:block!important;}
html body:not(.wp-admin) .tn-home-project-info strong{display:block!important;color:#fff!important;font-size:17px!important;line-height:1.2!important;font-weight:900!important;text-shadow:0 2px 14px rgba(0,0,0,.42)!important;}
html body:not(.wp-admin) .tn-home-project-info small{display:block!important;margin-top:5px!important;color:rgba(255,255,255,.9)!important;font-size:12px!important;font-weight:700!important;}
@media(max-width:849px){
  html body:not(.wp-admin) .tn-home-project-overlay-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  html body:not(.wp-admin) .tn-home-project-overlay-card{border-radius:15px!important;}
  html body:not(.wp-admin) .tn-home-project-info{padding:10px!important;}
  html body:not(.wp-admin) .tn-home-project-info strong{font-size:13px!important;}
  html body:not(.wp-admin) .tn-home-project-info small{font-size:10px!important;}
  html body:not(.wp-admin) .tn-account-avatar-edit{grid-template-columns:82px minmax(0,1fr)!important;}
  html body:not(.wp-admin) .tn-account-avatar-preview img{width:74px!important;height:74px!important;}
}

/* v2.2.1 fixes: account mobile shell, public project/event unified cards, avatar upload */
html body:not(.wp-admin) .tn-account-avatar img,
html body:not(.wp-admin) .tn-account-avatar-preview img,
html body:not(.wp-admin) img.timnhao-user-avatar,
html body:not(.wp-admin) .avatar{border-radius:999px!important;object-fit:cover!important;aspect-ratio:1/1!important;}
html body:not(.wp-admin) .tn-avatar-upload-field{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:flex-start!important;}
html body:not(.wp-admin) .tn-avatar-upload-field input[type=file]{width:100%!important;max-width:260px!important;font-size:12px!important;}
html body:not(.wp-admin) .tn-avatar-upload-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:9px 13px!important;border-radius:999px!important;background:#8a123d!important;color:#fff!important;font-weight:900!important;cursor:pointer!important;margin:0!important;line-height:1!important;}
@media(max-width:849px){
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-account-card,
  html body:not(.wp-admin) .tn-home-account-card{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;}
  html body:not(.wp-admin) .tn-home-account-card>.tn-card,
  html body:not(.wp-admin) .tn-home-account-card .tn-card{margin:0!important;}
}
html body:not(.wp-admin) .timnhao-page-projects .tn-card,
html body:not(.wp-admin) .timnhao-events-list-page .tn-card{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;}
html body:not(.wp-admin) .tn-projects-page-overlay-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card{aspect-ratio:4/3!important;}
@media(max-width:849px){html body:not(.wp-admin) .tn-projects-page-overlay-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card{aspect-ratio:3/4!important;height:auto!important;min-height:0!important;}
@media(max-width:849px){html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}}


/* v2.2.2: tablet/mobile account wrapper removal, public project/event text refinement */
@media(max-width:849px){
  html body:not(.wp-admin) .tn-home-aside .tn-card.tn-home-account-card,
  html body:not(.wp-admin) .tn-home-account-card,
  html body:not(.wp-admin) .tn-home-account-shell,
  html body:not(.wp-admin) .tn-home-aside > .tn-card:first-child{
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  html body:not(.wp-admin) .tn-home-aside .tn-card.tn-home-account-card > .tn-account-hero,
  html body:not(.wp-admin) .tn-home-account-card > .tn-account-hero,
  html body:not(.wp-admin) .tn-home-account-card > .tn-home-account-inner{
    margin:0!important;
  }
}
html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-home-project-info{
  padding:14px!important;
  gap:4px!important;
}
html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-home-project-info strong{
  font-size:16px!important;
  line-height:1.24!important;
  font-weight:900!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-shadow:0 2px 10px rgba(0,0,0,.36)!important;
}
html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-home-project-info small{
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:700!important;
  opacity:.92!important;
}
@media(max-width:849px){
  html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-home-project-info{padding:10px!important;}
  html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-home-project-info strong{font-size:13px!important;line-height:1.22!important;}
  html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-home-project-info small{font-size:10px!important;}
}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card .tn-home-countdown{display:none!important;}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-content{padding:12px!important;gap:6px!important;}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card strong{
  font-size:15px!important;
  line-height:1.24!important;
  font-weight:900!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card small{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:700!important;
  opacity:.92!important;
}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card .tn-event-time{
  display:block!important;
  margin-top:2px!important;
  color:rgba(255,255,255,.94)!important;
}
@media(max-width:849px){
  html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-content{padding:8px!important;gap:4px!important;}
  html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-status{font-size:9px!important;padding:4px 6px!important;}
  html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card strong{font-size:12px!important;line-height:1.18!important;}
  html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card small{font-size:9px!important;line-height:1.2!important;}
}


/* v2.2.3: project handover, event date/time split, remove account outer card on tablet/mobile */
html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-project-handover{
  margin-top:2px!important;
  display:block!important;
  color:rgba(255,255,255,.92)!important;
  font-size:11px!important;
  font-weight:800!important;
}
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card .tn-event-date,
html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card .tn-event-time{
  display:block!important;
  margin-top:1px!important;
  color:rgba(255,255,255,.95)!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
@media(max-width:1024px){
  html body:not(.wp-admin) .timnhao-home-v203 > .tn-card.tn-home-user-hero,
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-hero,
  html body:not(.wp-admin) .tn-home-user-hero.tn-card,
  html body:not(.wp-admin) .tn-home-user-guest.tn-card{
    padding:0!important;
    margin:0 0 14px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  html body:not(.wp-admin) .tn-home-user-hero .tn-home-hero-bg{
    margin:0!important;
    border-radius:18px!important;
  }
  html body:not(.wp-admin) .tn-home-user-hero:before,
  html body:not(.wp-admin) .tn-home-user-hero:after{display:none!important;content:none!important;}
}
@media(max-width:849px){
  html body:not(.wp-admin) .tn-projects-page-overlay-grid .tn-home-project-overlay-card .tn-project-handover{font-size:9px!important;}
  html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card .tn-event-date,
  html body:not(.wp-admin) .timnhao-events-list-page .tn-home-event-card .tn-event-time{font-size:8.5px!important;}
}

/* v2.2.4: auth clean pages, highlighted search, unified product hover, compare inline */
html body:not(.wp-admin) .timnhao-page-login .header-wrapper,
html body:not(.wp-admin) .timnhao-page-register .header-wrapper,
html body:not(.wp-admin) .tn-auth-wrap ~ .header-wrapper,
html body:not(.wp-admin) .tn-register-app ~ .header-wrapper{display:none!important;}
html body:not(.wp-admin) .tn-home-search{
  position:relative!important;
  border:1px solid rgba(138,18,61,.18)!important;
  background:linear-gradient(135deg,#fff 0%,#fff7f9 54%,#f8edf1 100%)!important;
  box-shadow:0 22px 60px rgba(138,18,61,.10)!important;
  overflow:hidden!important;
}
html body:not(.wp-admin) .tn-home-search:before{
  content:""!important;position:absolute!important;inset:0 auto auto 0!important;width:5px!important;height:100%!important;background:#8a123d!important;border-radius:18px 0 0 18px!important;
}
html body:not(.wp-admin) .tn-home-search h2{font-size:24px!important;color:#58102b!important;margin-bottom:14px!important;}
html body:not(.wp-admin) .tn-home-search .tn-home-filter input,
html body:not(.wp-admin) .tn-home-search .tn-home-filter select{background:#fff!important;border-color:#ead6dd!important;box-shadow:0 8px 18px rgba(138,18,61,.045)!important;}
html body:not(.wp-admin) .tn-home-search .tn-btn{box-shadow:0 12px 24px rgba(138,18,61,.18)!important;}
html body:not(.wp-admin) .tn-product-simple-row,
html body:not(.wp-admin) .tn-home-product-simple-row{
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease!important;
}
html body:not(.wp-admin) .tn-product-simple-row:hover,
html body:not(.wp-admin) .tn-home-product-simple-row:hover{
  transform:translateY(-2px)!important;
  background:#fff8fa!important;
  box-shadow:0 14px 34px rgba(72,31,48,.08)!important;
  border-color:#e7c8d2!important;
  z-index:2!important;
}
html body:not(.wp-admin) .tn-product-simple-row:hover a,
html body:not(.wp-admin) .tn-home-product-simple-row:hover a{text-decoration:none!important;}
html body:not(.wp-admin) .tn-compare-inline{display:inline-flex!important;align-items:center!important;gap:10px!important;white-space:nowrap!important;}
html body:not(.wp-admin) .tn-compare-count{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 11px!important;border-radius:999px!important;background:#fff5f8!important;border:1px solid #eadde2!important;color:#7e173d!important;font-size:12px!important;font-weight:800!important;}
@media(max-width:640px){
  html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head{flex-direction:column!important;align-items:flex-start!important;}
  html body:not(.wp-admin) .tn-compare-inline{width:100%!important;justify-content:space-between!important;}
  html body:not(.wp-admin) .tn-compare-inline .tn-btn{flex:0 0 auto!important;}
}


/* v2.2.5: home spacing, unified xem thêm blocks, compare button like reference */
html body:not(.wp-admin) .tn-home-aside .tn-card,
html body:not(.wp-admin) .tn-home-right-v175 .tn-card,
html body:not(.wp-admin) .tn-home-rank-side,
html body:not(.wp-admin) .tn-bank-support-rank{
  margin-bottom:24px!important;
  padding:20px!important;
  border-radius:16px!important;
}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini,
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini{
  min-height:64px!important;
  padding:12px 0!important;
  border-bottom:1px solid #f0e2e7!important;
  align-items:center!important;
}
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini:hover,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini:hover{
  background:#fff7fa!important;
  border-radius:14px!important;
  padding-left:10px!important;
  padding-right:10px!important;
  margin-left:-10px!important;
  margin-right:-10px!important;
}
html body:not(.wp-admin) .tn-bank-support-rank a:hover,
html body:not(.wp-admin) .tn-home-rank-side a:hover{
  text-decoration:none!important;
}
html body:not(.wp-admin) .tn-section-head .tn-more-link,
html body:not(.wp-admin) .tn-home-more,
html body:not(.wp-admin) a.tn-view-more,
html body:not(.wp-admin) .tn-card a[href*="du-an"].tn-btn-ghost,
html body:not(.wp-admin) .tn-card a[href*="su-kien"].tn-btn-ghost{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:38px!important;
  padding:9px 16px!important;
  border:1px solid #eadde2!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#8a123d!important;
  font-size:13px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
html body:not(.wp-admin) .tn-section-head .tn-more-link:hover,
html body:not(.wp-admin) .tn-home-more:hover,
html body:not(.wp-admin) a.tn-view-more:hover{
  background:#fff5f8!important;
  border-color:#c31552!important;
  text-decoration:none!important;
}
html body:not(.wp-admin) .tn-home-product-compare-card [data-tn-compare-open],
html body:not(.wp-admin) .tn-product-list-card [data-tn-compare-open]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:0 22px!important;
  border-radius:8px!important;
  border:1.5px solid #a30f42!important;
  background:#fff!important;
  color:#a30f42!important;
  box-shadow:none!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1!important;
  text-decoration:none!important;
}
html body:not(.wp-admin) .tn-home-product-compare-card [data-tn-compare-open]:hover,
html body:not(.wp-admin) .tn-product-list-card [data-tn-compare-open]:hover{
  background:#fff5f8!important;
  color:#8a123d!important;
  border-color:#8a123d!important;
  transform:translateY(-1px)!important;
  text-decoration:none!important;
}
html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head,
html body:not(.wp-admin) .tn-product-list-card .tn-section-head{
  gap:12px!important;
}
@media(max-width:640px){
  html body:not(.wp-admin) .tn-home-aside .tn-card,
  html body:not(.wp-admin) .tn-home-right-v175 .tn-card,
  html body:not(.wp-admin) .tn-home-rank-side,
  html body:not(.wp-admin) .tn-bank-support-rank{padding:18px!important;margin-bottom:18px!important;}
  html body:not(.wp-admin) .tn-home-product-compare-card [data-tn-compare-open],
  html body:not(.wp-admin) .tn-product-list-card [data-tn-compare-open]{min-height:42px!important;padding:0 16px!important;font-size:14px!important;}
}

/* TimNhao v2.2.7 - sync right ranking cards spacing with home grid */
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{gap:20px!important;align-items:start!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-aside{display:block!important;min-width:0!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks{display:flex!important;flex-direction:column!important;gap:20px!important;width:100%!important;margin:0!important;padding:0!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks>.tn-card,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank{margin:0!important;padding:22px!important;border-radius:16px!important;width:100%!important;box-sizing:border-box!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side h2,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank h2{margin:0 0 6px!important;line-height:1.18!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-rank-period{margin:0 0 18px!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini{display:grid!important;grid-template-columns:42px 44px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;min-height:66px!important;padding:10px 0!important;margin:0!important;border-bottom:1px solid #f0e2e7!important;border-radius:0!important;background:transparent!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:last-child,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini:last-child,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini:last-child{border-bottom:0!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:hover,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini:hover,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini:hover{background:#fff7fa!important;border-radius:14px!important;padding-left:10px!important;padding-right:10px!important;margin-left:-10px!important;margin-right:-10px!important;}
@media(max-width:849px){html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks{gap:16px!important;}html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks>.tn-card,html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side,html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank{padding:18px!important;}}

/* v2.3.2 mobile detail layout */
@media(max-width:1199px){.tn-detail-specs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px;}}
@media(max-width:767px){.tn-member-contributor,.tn-contributor-box{display:block!important}.tn-contributor-actions .btn,.tn-contributor-actions a{display:block!important;width:100%!important;margin:0 0 8px!important}}
