html body .tn-event-body,html body .tn-event-app,html body .tn-event-app *{font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;box-sizing:border-box}.tn-event-body{margin:0;background:#faf6f8;color:#3f3f46}.tn-event-app{min-height:100vh;background:#faf6f8}.tn-event-app .tn-public-sidebar{position:fixed;left:0;top:0;bottom:0;width:235px;background:#fff;border-right:1px solid #eadde2;padding:20px 14px;z-index:30;display:flex;flex-direction:column;gap:8px;box-shadow:10px 0 30px rgba(72,31,48,.04)}.tn-event-app .tn-public-sidebar a{display:block;text-decoration:none;color:#344054;padding:10px 12px;border-radius:12px;font-weight:600}.tn-event-app .tn-public-sidebar a:hover{background:#fff0f4;color:#7a1f3d}.tn-event-app .tn-market-logo{margin-bottom:16px;font-size:18px;font-weight:800;color:#7a1f3d}.tn-event-app .tn-public-main{margin-left:235px;min-height:100vh;padding:34px 28px 60px}.tn-event-detail{max-width:1240px;margin:0 auto;padding:0}.tn-event-detail .tn-market-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.tn-event-detail .tn-market-head h1{font-size:32px;line-height:1.2;margin:10px 0 6px;color:#3f3f46;font-weight:800}.tn-breadcrumb{font-size:14px;color:#7b6470}.tn-breadcrumb a{color:#344054;text-decoration:none}.tn-event-hot{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;white-space:nowrap;background:#fee2e2;color:#991b1b}.tn-event-alert{background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;border-radius:16px;padding:12px 14px;margin:0 0 18px;font-weight:650}.tn-event-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 340px!important;gap:22px!important;align-items:start}.tn-detail-main{min-width:0}.tn-detail-side{position:sticky;top:28px;min-width:0}.tn-event-media{position:relative;width:min(100%,460px);aspect-ratio:3/4;overflow:hidden;border-radius:22px;background:#f1eef0;margin:0 auto 18px;box-shadow:0 24px 60px rgba(72,31,48,.10);border:1px solid #eadde2}.tn-event-img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:22px!important}.tn-event-media:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(20,14,17,.58),rgba(20,14,17,.22),transparent);pointer-events:none}.tn-event-countdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px auto;max-width:460px}.tn-event-countdown div{background:#fff;border:1px solid #eadde2;border-radius:14px;text-align:center;padding:10px 6px;box-shadow:0 8px 24px rgba(72,31,48,.07)}.tn-event-countdown b{display:block;font-size:24px;line-height:1;color:#7a1f3d}.tn-event-countdown span{display:block;font-size:11px;color:#7b6470;margin-top:4px}.tn-ended{grid-column:1/-1!important;color:#7a1f3d;font-weight:800;background:#fff!important}.tn-event-subs{background:#fff0f3;border:1px solid #f1b4c4;color:#7a1f3d;border-radius:16px;padding:12px 14px;margin:16px 0;font-weight:800}.tn-event-detail .tn-card{background:#fff;border:1px solid #eadde2;border-radius:22px;padding:22px;box-shadow:0 18px 40px rgba(72,31,48,.05);margin-top:16px}.tn-event-detail .tn-card h2{margin:0 0 12px;color:#3f3f46}.tn-event-detail .tn-card p{line-height:1.65;color:#574550}.tn-event-detail .tn-seller-box{background:#fff;border:1px solid #eadde2;border-radius:22px;padding:22px;box-shadow:0 22px 60px rgba(72,31,48,.08)}.tn-event-detail .tn-seller-box h3{margin:0 0 16px;font-size:22px}.tn-event-detail .tn-seller-box img{border-radius:50%;margin-bottom:10px}.tn-event-detail .tn-seller-box h4{margin:0 0 14px;font-size:16px}.tn-event-detail .tn-seller-box p{margin:10px 0;color:#574550}.tn-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#8a123d;color:#fff!important;padding:13px 18px;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 14px 34px rgba(138,18,61,.18)}.tn-btn[disabled]{opacity:.65;cursor:not-allowed}.tn-btn-full{width:100%}.tn-event-hot-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.tn-event-hot-card{display:block;text-decoration:none;color:inherit;border:1px solid #eadde2;border-radius:16px;padding:10px;background:#fff}.tn-event-hot-card img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px}.tn-event-hot-card strong,.tn-event-hot-card span{display:block;margin-top:8px}.tn-event-top-banner{position:fixed;top:0;left:0;right:0;z-index:999999;background:#7a1f3d;color:#fff;padding:9px 14px;text-align:center;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.16)}.tn-event-top-banner a{color:#fff;text-decoration:underline;margin-left:10px}.admin-bar .tn-event-top-banner{top:32px}.tn-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tn-form-grid label{display:block;font-weight:700;color:#574550}.tn-form-grid input,.tn-form-grid textarea{width:100%;margin-top:6px;border:1px solid #eadde2;border-radius:14px;padding:12px}.tn-span-2{grid-column:1/-1}.tn-modal-wide{width:min(90vw,1200px)!important;max-width:min(90vw,1200px)!important;overflow-x:hidden!important}.tn-table{width:100%;border-collapse:collapse}.tn-table th,.tn-table td{border-bottom:1px solid #eadde2;padding:10px;text-align:left}.tn-toast-live{position:fixed;right:18px;bottom:18px;background:#1f2937;color:#fff;padding:12px 14px;border-radius:12px;z-index:999999;opacity:0;transform:translateY(10px);transition:.2s}.tn-toast-live.show{opacity:1;transform:translateY(0)}.tn-toast-live.error{background:#b42318}@media(max-width:980px){.tn-event-app .tn-public-sidebar{position:fixed;left:0;right:0;top:0;bottom:auto;width:auto;height:54px;display:flex;flex-direction:row;align-items:center;padding:8px 10px;overflow-x:auto}.tn-event-app .tn-public-sidebar .tn-market-logo{margin:0 8px 0 0;white-space:nowrap}.tn-event-app .tn-public-sidebar a{white-space:nowrap;padding:8px 10px}.tn-event-app .tn-public-main{margin-left:0;padding:76px 12px 40px}.tn-event-grid{grid-template-columns:1fr!important}.tn-detail-side{position:static}.tn-event-detail .tn-market-head{display:block}.tn-event-media{width:min(100%,380px)}.tn-event-countdown b{font-size:22px}.tn-form-grid{grid-template-columns:1fr}.tn-span-2{grid-column:auto}.tn-event-top-banner{font-size:12px;padding:8px 10px}}@media(max-width:560px){.tn-event-detail .tn-market-head h1{font-size:24px}.tn-event-media{width:100%;border-radius:18px}.tn-event-img{border-radius:18px!important}.tn-event-countdown{gap:6px}.tn-event-countdown div{border-radius:12px;padding:8px 4px}.tn-event-countdown b{font-size:19px}.tn-event-detail .tn-seller-box,.tn-event-detail .tn-card{border-radius:18px;padding:16px}}

/* v1.6.2: event layout giữ phong cách trang dự án, ảnh 3:4 và banner không fixed */
.tn-event-primary{display:grid;grid-template-columns:minmax(260px,420px) minmax(0,1fr);gap:22px;align-items:start;margin-bottom:18px}.tn-event-primary .tn-event-media{width:100%;max-width:420px;aspect-ratio:3/4;margin:0}.tn-event-info-col{min-width:0}.tn-event-info-card{margin-top:0!important}.tn-event-info-card .tn-event-countdown{max-width:none;margin:16px 0 0}.tn-event-subs:empty{display:none}.tn-event-subs.is-hidden{display:none}.tn-event-subs{margin-top:16px}.tn-event-subscribed{background:#b6758b!important;box-shadow:none!important}.tn-event-top-banner{position:relative!important;top:auto!important;left:auto!important;right:auto!important;z-index:40!important;display:flex;align-items:center;justify-content:center;gap:10px;min-height:34px;box-shadow:none!important}.tn-event-top-banner button{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:0;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;font-weight:900;cursor:pointer}.tn-event-top-banner.is-hidden{display:none!important}.admin-bar .tn-event-top-banner{top:auto!important}@media(max-width:980px){.tn-event-primary{grid-template-columns:1fr}.tn-event-primary .tn-event-media{max-width:420px;margin:0 auto}.tn-event-top-banner{font-size:12px;padding-right:42px}.tn-event-info-card .tn-event-countdown{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* v1.6.3: đồng bộ menu sự kiện với dashboard/project và banner nằm thật ở top */
.tn-event-app.tn-market-app{min-height:100vh}.tn-event-app .tn-market-sidebar{z-index:40}.tn-event-app .tn-market-main{min-height:100vh}.tn-event-top-banner{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;width:100%;margin:0;z-index:100!important}.tn-event-top-banner+*{margin-top:0}.tn-event-body .tn-mobile-menu{z-index:80}@media(max-width:980px){.tn-event-app .tn-market-main{padding-top:76px}.tn-event-app .tn-market-sidebar{top:0}.tn-event-top-banner{padding-right:42px}}

/* TimNhao v1.9.2 - đồng bộ chi tiết sự kiện với layout public */
html body .tn-event-body,html body .tn-event-app,html body .tn-event-app *:not(.dashicons){font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;box-sizing:border-box!important}.tn-event-app.tn-market-app .tn-market-sidebar{display:flex!important;flex-direction:column!important;gap:8px!important;background:#fff!important;border-right:1px solid #eadde2!important}.tn-event-app.tn-market-app .tn-market-sidebar a{border-radius:12px!important;padding:10px 12px!important;text-decoration:none!important;color:#3f3036!important;font-weight:800!important}.tn-event-app.tn-market-app .tn-market-sidebar a:hover,.tn-event-app.tn-market-app .tn-market-sidebar a.active{background:#fff0f4!important;color:#8a123d!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 .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-event-detail .tn-card,.tn-event-detail .tn-seller-box,.tn-event-info-card{border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important}.tn-events-list-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:14px!important}.tn-event-list-card{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:12px!important;border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;text-decoration:none!important;color:inherit!important;box-shadow:0 14px 34px rgba(72,31,48,.035)!important}.tn-event-list-card img{width:86px!important;height:114px!important;object-fit:cover!important;border-radius:14px!important;background:#f5f1f3!important}.tn-event-list-card strong{display:block!important;color:#261016!important;font-size:15px!important;line-height:1.3!important}.tn-event-list-card span,.tn-event-list-card small,.tn-event-list-card em{display:block!important;margin-top:5px!important;color:#77646b!important;font-size:12px!important;font-style:normal!important}.tn-table{width:100%!important;border-collapse:collapse!important;background:#fff!important}.tn-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 td{padding:12px 14px!important;border-bottom:1px solid #f0e2e7!important;vertical-align:middle!important;color:#3f3036!important}@media(max-width:760px){.tn-event-grid{grid-template-columns:1fr!important}.tn-event-detail .tn-market-head{display:block!important}.tn-social-share a{height:34px;min-width:34px}.tn-events-list-grid{grid-template-columns:1fr!important}.tn-event-list-card{grid-template-columns:74px minmax(0,1fr)!important}.tn-event-list-card img{width:74px!important;height:98px!important}}
: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.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.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;}
}
