
:root{
  --blue:#0b2f73;--blue-2:#164a9c;--purple:#0b2f73;--purple-2:#1b5ca8;--orange:#ff7a1a;
  --green:#17b26a;--red:#f04455;--cyan:#14b8c8;--ink:#0b1530;--text:#27324a;--muted:#667085;
  --bg:#f8faff;--card:#fff;--line:#e8ecf4;--soft:#f4f6fb;--shadow:0 12px 38px rgba(24,39,75,.08);
  --shadow-sm:0 6px 22px rgba(24,39,75,.07);--radius:20px;--radius-sm:13px;--container:1460px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:#f8faff;font-size:14px;line-height:1.55}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(var(--container),calc(100% - 44px));margin:0 auto}
.page{padding:18px 0 46px;min-height:calc(100vh - 112px)}
.muted{color:var(--muted)}
.small{font-size:12px}.tiny{font-size:11px}
.hidden{display:none!important}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.soft-card{background:linear-gradient(135deg,#fff,#f7f7ff)}
.row{display:flex}.between{justify-content:space-between}.center{align-items:center}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}
.gradient-text{background:linear-gradient(90deg,var(--blue),var(--purple-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.icon-circle{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef2ff;color:var(--blue);flex:0 0 auto}
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#eef2ff;color:var(--blue);font-size:11px;font-weight:700}
.badge.green{background:#e9f9f0;color:#138a55}.badge.orange{background:#fff2e8;color:#db650c}.badge.pink{background:#fff0f6;color:#e12e78}
.btn{border:1px solid #dfe4ef;background:#fff;color:var(--ink);border-radius:11px;min-height:42px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;transition:.2s}
.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(34,55,100,.09)}
.btn-primary{background:linear-gradient(135deg,var(--blue),#0b2f73);border-color:transparent;color:#fff}
.btn-soft{background:#eef2ff;border-color:transparent;color:var(--blue)}
.btn-ghost{background:transparent}
.btn-icon{width:42px;padding:0}
.btn-sm{min-height:34px;padding:7px 13px;border-radius:9px;font-size:12px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:26px 0 14px}
.section-heading h2{margin:0;font-size:22px;line-height:1.25}.section-heading p{margin:3px 0 0}
.link-blue{color:var(--blue);font-weight:700}
.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#e1e7f4;flex:0 0 auto}
.avatar.sm{width:34px;height:34px}.avatar.lg{width:56px;height:56px}
.divider{height:1px;background:var(--line)}
/* HEADER */
.site-header{height:72px;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.header-inner{height:100%;display:flex;align-items:center;gap:25px}
.brand{width:175px;flex:0 0 auto}.brand img{width:100%;height:52px;object-fit:contain}
.header-search{width:320px;height:40px;border-radius:18px;background:#f6f7fb;border:1px solid #f0f2f7;display:flex;align-items:center;gap:10px;padding:0 15px;color:#7a8295;font-size:12px}
.main-nav{margin-left:auto;display:flex;align-items:center;gap:31px;font-size:13px;font-weight:700;white-space:nowrap}
.main-nav a{padding:26px 0 23px;position:relative}
.main-nav a.active,.main-nav a:hover{color:var(--blue)}
.main-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:16px;height:2px;background:var(--blue);border-radius:2px}
.header-user{display:flex;align-items:center;gap:12px;margin-left:7px}
.header-user .profile-mini{display:flex;align-items:center;justify-content:center;font-weight:600}
.header-actions{display:flex;gap:10px;margin-left:4px}
.notice{position:relative;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-size:17px}
.notice .count{position:absolute;right:1px;top:0;background:var(--red);color:#fff;font-size:9px;font-weight:800;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;border:2px solid #fff}
/* FOOTER */
.site-footer{height:40px;border-top:1px solid var(--line);background:#fff;color:#7c8495;font-size:11px}
.footer-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.footer-links{display:flex;gap:8px}.footer-links a:hover{color:var(--blue)}
/* HOME */
.home-hero{display:grid;grid-template-columns:.93fr 1.25fr;gap:42px;align-items:center;padding:26px 0 18px}
.home-copy{padding-left:52px}.home-copy h1{font-size:51px;line-height:1.08;letter-spacing:-1.7px;margin:0 0 24px}.home-copy p{font-size:16px;max-width:520px;color:var(--muted)}
.home-actions{display:flex;gap:14px;margin-top:28px}
.home-visual{height:378px;border-radius:29px;overflow:hidden;position:relative;box-shadow:var(--shadow)}
.home-visual>img{width:100%;height:100%;object-fit:cover}
.home-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.04),rgba(0,0,0,.08))}
.hero-benefits{position:absolute;right:27px;top:42px;width:215px;padding:22px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.8);border-radius:22px;z-index:2}
.hero-benefits h3{font-size:18px;line-height:1.25;margin:0 0 16px}.benefit-row{display:flex;gap:10px;align-items:flex-start;margin:13px 0;color:#36415a;font-size:12px}
.hero-people{position:absolute;left:48px;bottom:15px;background:rgba(255,255,255,.96);z-index:2;border-radius:18px;padding:12px 18px;display:flex;align-items:center;gap:13px;box-shadow:var(--shadow-sm)}
.avatar-stack{display:flex}.avatar-stack img{width:35px;height:35px;border-radius:50%;border:3px solid #fff;margin-left:-9px;object-fit:cover}.avatar-stack img:first-child{margin-left:0}
.home-shortcuts{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;padding:16px;margin-top:2px}
.shortcut{border-radius:17px;padding:17px 15px;min-height:106px;background:linear-gradient(135deg,#fff,#f8f5ff);border:1px solid #f0effa;position:relative}
.shortcut:nth-child(2){background:linear-gradient(135deg,#fff,#f1fbf6)}.shortcut:nth-child(3){background:linear-gradient(135deg,#fff,#fff4f7)}.shortcut:nth-child(4){background:linear-gradient(135deg,#fff,#fff8f0)}.shortcut:nth-child(6){background:linear-gradient(135deg,#fff,#effbff)}
.shortcut i{font-size:22px;color:var(--blue)}.shortcut h3{font-size:14px;margin:12px 0 3px}.shortcut p{font-size:11px;color:var(--muted);margin:0}.shortcut .arrow{position:absolute;right:15px;bottom:12px}
.home-story-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}
.story-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.story-card{height:220px;position:relative;overflow:hidden;border-radius:16px}
.story-card img{width:100%;height:100%;object-fit:cover}.story-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 28%,rgba(3,10,25,.9))}
.story-content{position:absolute;left:15px;right:15px;bottom:13px;color:#fff;z-index:2}.story-content h3{font-size:14px;line-height:1.35;margin:8px 0}.story-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px}
.home-cta{background:linear-gradient(145deg,#1b5ca8,#1b5ca8);color:#fff;padding:24px;border:0}.home-cta h2{font-size:22px;line-height:1.35}.home-cta p{font-size:12px}.home-cta .btn{margin-top:16px}
.home-stats{display:grid;grid-template-columns:repeat(5,1fr);margin-top:18px;padding:17px}.home-stat{text-align:center;border-right:1px solid var(--line)}.home-stat:last-child{border:0}.home-stat b{font-size:22px}.home-stat span{display:block;color:var(--muted);font-size:11px}
/* AUTH */
.auth-page{min-height:calc(100vh - 112px);display:grid;grid-template-columns:39% 61%;background:#fff}
.auth-left{position:relative;background:linear-gradient(180deg,#f7faff 0,#f5f9ff 55%,#edf5ff 100%);padding:68px 70px;overflow:hidden}
.auth-left h1{font-size:36px;line-height:1.18;letter-spacing:-.7px;margin:0 0 20px}.auth-left p{font-size:14px;max-width:490px;color:var(--muted)}
.auth-points{margin-top:34px}.auth-point{display:flex;gap:14px;margin:24px 0}.auth-point .icon-circle{width:48px;height:48px}.auth-point h3{font-size:14px;margin:0 0 2px}.auth-point p{margin:0;font-size:12px}
.auth-scene{position:absolute;left:0;right:0;bottom:0;height:40%;overflow:hidden}.auth-scene img{width:100%;height:100%;object-fit:cover}.auth-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#edf5ff 0,rgba(237,245,255,.04) 38%)}
.auth-testimonial{position:absolute;left:90px;bottom:28px;background:rgba(255,255,255,.95);padding:18px;border-radius:16px;width:285px;z-index:2;box-shadow:var(--shadow-sm);font-size:11px}
.auth-right{padding:36px 60px;display:flex;align-items:center;justify-content:center}
.auth-card{width:min(700px,100%);padding:34px 40px;border-radius:20px}.auth-card h2{font-size:29px;margin:0}.auth-card>.muted{margin:4px 0 22px}
.social-login{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-or{display:flex;align-items:center;gap:12px;color:#8a92a5;font-size:12px;margin:18px 0}.auth-or:before,.auth-or:after{content:"";height:1px;background:var(--line);flex:1}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.field.full{grid-column:1/-1}
.field label{display:block;font-size:11px;font-weight:800;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;height:43px;border:1px solid #dfe4ee;border-radius:9px;padding:0 13px;outline:none;background:#fff}.field textarea{height:110px;padding-top:12px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(21,87,245,.08)}
.account-types{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.account-type{padding:14px;border:1px solid #dfe4ee;border-radius:12px;min-height:83px}.account-type.active{border-color:var(--blue);box-shadow:0 0 0 2px rgba(21,87,245,.08)}.account-type b{display:block;font-size:12px}.account-type span{font-size:10px;color:var(--muted)}
/* APP SHELL */
.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr) 320px;gap:18px;align-items:start}
.left-rail{position:sticky;top:88px}
.nav-card{padding:14px}.side-nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;font-weight:600;margin:2px 0}.side-nav a i{width:18px;text-align:center;color:#4e5c78}.side-nav a.active{background:#f1efff;color:#0b2f73}.side-nav a.active i{color:#0b2f73}
.profile-progress{padding:16px;margin-top:14px}.progress-line{height:7px;border-radius:5px;background:#eceef5;overflow:hidden}.progress-line span{display:block;height:100%;width:65%;background:linear-gradient(90deg,#0b2f73,#0b2f73);border-radius:5px}
.right-rail{position:sticky;top:88px}.rail-card{padding:17px;margin-bottom:14px}.rail-card h3{font-size:15px;margin:0 0 13px}.rail-row{display:flex;align-items:center;gap:10px;margin:12px 0}.rail-row .grow{flex:1}.rail-row b{font-size:12px}.rail-row span{font-size:10px;color:var(--muted)}
.stories{padding:17px;margin-bottom:14px}.stories-head{display:flex;justify-content:space-between;margin-bottom:13px}.story-scroll{display:flex;gap:20px;overflow:auto;padding-bottom:4px}.story-item{width:74px;text-align:center;flex:0 0 auto}.story-ring{width:66px;height:66px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#ff603b,#df2fa3,#0b2f73)}.story-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #fff}.story-item span{font-size:10px;display:block;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.composer{padding:14px 18px;margin-bottom:14px}.composer-top{display:flex;align-items:center;gap:11px;padding-bottom:13px;border-bottom:1px solid var(--line)}.composer-placeholder{flex:1;color:#7b8498}
.composer-tools{display:grid;grid-template-columns:repeat(5,1fr);padding-top:12px}.composer-tool{border:0;background:transparent;color:#38445e;font-weight:600;font-size:12px}.composer-tool i{margin-right:7px}
.post-card{padding:17px;margin-bottom:14px}.post-head{display:flex;align-items:center;gap:10px}.post-head .who{flex:1}.post-head b{font-size:13px}.post-head span{font-size:10px;color:var(--muted)}
.post-card .post-text{font-size:13px;margin:13px 0}.post-media{width:100%;border-radius:15px;max-height:500px;object-fit:cover}.post-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.post-gallery img{height:175px;width:100%;object-fit:cover;border-radius:11px}
.post-summary{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding:10px 0}.post-actions{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);padding-top:6px}
.action-btn{border:0;background:#fff;padding:9px 5px;border-radius:8px;color:#45516a;font-weight:600;font-size:12px}.action-btn:hover{background:#f5f7fb}.action-btn.active{color:var(--blue)}
.comment-box{border-top:1px solid var(--line);margin-top:5px;padding-top:12px}.comment-input{display:flex;gap:9px}.comment-input input{height:38px;flex:1;border:1px solid var(--line);border-radius:18px;padding:0 14px}
.menu-wrap{position:relative}.context-menu{position:absolute;right:0;top:30px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:11px;padding:8px;width:175px;z-index:8}.context-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px;border-radius:8px}.context-menu button:hover{background:#f6f7fb}
/* PROFILE */
.profile-layout{display:grid;grid-template-columns:240px minmax(0,1fr) 345px;gap:18px;align-items:start}
.profile-main-card{overflow:hidden}
.cover-wrap{height:250px;position:relative}.cover-wrap img{width:100%;height:100%;object-fit:cover}.cover-edit{position:absolute;right:18px;bottom:18px;background:rgba(7,17,34,.72);color:#fff;border-color:rgba(255,255,255,.3);backdrop-filter:blur(8px)}
.profile-info{padding:1px 26px 20px;position:relative;min-height:245px;display:flow-root}.profile-photo{width:150px;height:150px;border-radius:50%;border:6px solid #fff;object-fit:cover;margin-top:-72px;box-shadow:0 5px 16px rgba(25,38,69,.15)}
.profile-copy{position:absolute;left:205px;right:25px;top:18px}.profile-copy h1{margin:0;font-size:27px}.profile-handle{font-size:12px;color:var(--muted)}.profile-bio{font-size:12px;max-width:650px;margin-top:14px}.profile-actions{position:absolute;right:25px;top:22px;display:flex;gap:8px}
.profile-tags{display:flex;gap:8px;flex-wrap:wrap}.social-rounds{position:absolute;right:26px;bottom:22px;display:flex;gap:10px}.social-rounds a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff0f6;color:#ef2b72}
.profile-counter{display:grid;grid-template-columns:repeat(5,1fr);padding:16px;margin:14px 0}.counter-item{text-align:center;border-right:1px solid var(--line)}.counter-item:last-child{border:0}.counter-item b{font-size:18px}.counter-item span{display:block;font-size:10px;color:var(--muted)}
.content-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);padding:0 13px}.content-tabs button{border:0;background:#fff;padding:14px 8px;position:relative;font-weight:600;color:#4c5871}.content-tabs button.active{color:var(--blue)}.content-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--blue)}
.profile-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;padding-top:13px}.profile-post{overflow:hidden}.profile-post img{width:100%;height:170px;object-fit:cover}.profile-post .body{padding:12px}.profile-post h3{font-size:12px;margin:0 0 4px}.profile-post p{font-size:11px;margin:0;color:var(--muted)}.profile-post .foot{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:10px;margin-top:10px;font-size:11px}
.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center}.achievement .icon-circle{margin:auto}.achievement b{font-size:10px;display:block;margin-top:5px}.achievement span{font-size:9px;color:var(--muted)}
.empty-state{text-align:center;padding:20px;border-radius:14px;background:#f8f9fd;color:var(--muted)}
.photo-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.photo-strip img{height:70px;width:100%;object-fit:cover;border-radius:8px}
/* PUBLIC LISTINGS */
.public-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}
.banner{height:245px;border-radius:22px;overflow:hidden;position:relative}.banner img{width:100%;height:100%;object-fit:cover}.banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,16,42,.78),rgba(4,16,42,.05))}
.banner-copy{position:absolute;z-index:2;left:52px;top:48px;color:#fff;max-width:535px}.banner-copy h1{font-size:38px;line-height:1.15;margin:0 0 10px}.banner-copy p{font-size:14px;margin:0}
.filter-bar{display:flex;gap:11px;padding:14px;margin:14px 0;align-items:center}.filter-bar .field-inline{height:42px;border:1px solid #dfe4ee;border-radius:9px;padding:0 13px;background:#fff;min-width:180px}.filter-bar .grow{flex:1}
.card-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.listing-card{overflow:hidden}.listing-image{height:175px}.listing-image img{width:100%;height:100%;object-fit:cover}.listing-body{padding:14px}.listing-body h3{font-size:17px;line-height:1.25;margin:6px 0}.listing-body p{font-size:11px;color:var(--muted);margin:0 0 12px}.listing-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.listing-foot{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:12px;padding-top:10px;font-size:11px}
.newsletter-card{padding:25px;background:linear-gradient(145deg,#1b5ca8,#1b5ca8);color:#fff;border:0}.newsletter-card h3{font-size:21px}.newsletter-card input{width:100%;height:44px;border:0;border-radius:9px;padding:0 12px;margin:13px 0}
/* DETAIL */
.article-page{width:min(920px,calc(100% - 34px));margin:18px auto 0}.article-hero{height:320px;border-radius:19px;overflow:hidden}.article-hero img{width:100%;height:100%;object-fit:cover}
.breadcrumb{font-size:10px;color:var(--muted);margin:12px 0}.article-page h1{font-size:33px;line-height:1.2;margin:12px 0}.article-author{display:flex;align-items:center;gap:10px}.article-actions{display:flex;gap:0;border-bottom:1px solid var(--line);padding:9px 0 12px;margin-bottom:12px}.article-actions button{border:0;background:#fff;padding:8px 22px;color:#4b566e;border-right:1px solid var(--line)}.article-actions button:first-child{padding-left:0}.article-content{font-size:13px;color:#26324a}.article-content h2{font-size:21px;margin:20px 0 5px}.article-content img{width:100%;max-height:310px;object-fit:cover;border-radius:14px;margin:16px 0}
.tip-list{list-style:none;padding:0}.tip-list li{margin:5px 0}.tip-list i{color:var(--purple);margin-right:7px}
.related-packages{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.mini-package{overflow:hidden}.mini-package img{height:100px;width:100%;object-fit:cover}.mini-package .body{padding:9px}.mini-package b{font-size:10px}.mini-package .price{float:right;font-weight:800}
.comments-card{padding:14px}.comment-row{display:flex;gap:9px;padding:12px 0;border-bottom:1px solid var(--line)}.comment-row:last-child{border:0}.comment-row b{font-size:11px}.comment-row p{font-size:11px;margin:3px 0}
/* PACKAGES */
.package-hero{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:center;padding:18px 20px 8px}.package-hero h1{font-size:43px;line-height:1.05;margin:0 0 15px}.package-hero p{max-width:420px;color:var(--muted)}
.package-visual{height:270px;position:relative;overflow:visible}
.package-collage{height:100%;position:relative}
.package-collage img{position:absolute;object-fit:cover;border-radius:16px;box-shadow:0 12px 30px rgba(26,45,82,.18);border:4px solid #fff}
.package-collage img:nth-child(1){width:19%;height:45%;left:0;top:35%;transform:rotate(-5deg)}
.package-collage img:nth-child(2){width:25%;height:62%;left:15%;top:20%;transform:rotate(-3deg)}
.package-collage img:nth-child(3){width:36%;height:84%;left:35%;top:5%;z-index:2}
.package-collage img:nth-child(4){width:24%;height:54%;left:69%;top:15%;transform:rotate(3deg)}
.package-collage img:nth-child(5){width:18%;height:44%;right:0;top:39%;transform:rotate(5deg)}.package-search{display:grid;grid-template-columns:1.2fr .9fr .8fr .8fr auto;gap:14px;padding:17px;margin-top:5px}.package-search label{display:block;font-size:10px;font-weight:800;margin-bottom:5px}.package-search input,.package-search select{width:100%;height:40px;border:1px solid #dfe4ee;border-radius:9px;padding:0 11px}
.category-row{display:grid;grid-template-columns:repeat(10,1fr);padding:15px 10px;margin-top:14px}.category{text-align:center;font-size:10px}.category .icon-circle{margin:0 auto 6px}.category.active{color:var(--blue);font-weight:700}
.package-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.package-card{overflow:hidden}.package-card .media{height:170px;position:relative}.package-card .media img{width:100%;height:100%;object-fit:cover}.package-tag{position:absolute;left:10px;top:10px;color:#fff;background:#0f9c64;border-radius:999px;padding:4px 9px;font-size:9px;font-weight:800}.package-card .body{padding:13px}.package-card h3{font-size:13px;margin:0 0 5px}.package-pricing{display:flex;justify-content:space-between}.package-pricing b{font-size:16px}.company-line{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:11px;padding-top:10px;font-size:10px}.why-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:19px;margin-top:22px}.why-item{display:flex;align-items:center;gap:10px;padding:0 18px;border-right:1px solid var(--line)}.why-item:last-child{border:0}.why-item b{font-size:11px}.why-item span{font-size:9px;color:var(--muted)}

.package-detail-top{display:grid;grid-template-columns:1.5fr .8fr;gap:18px}
.package-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:18px}
/* COMPANY/COMMUNITY */
.entity-card{overflow:hidden}.entity-cover{height:285px;position:relative}.entity-cover>img{width:100%;height:100%;object-fit:cover}.entity-cover .cover-edit{bottom:16px}
.entity-summary{padding:0 27px 20px;display:flex;align-items:flex-start;gap:20px;position:relative;min-height:168px}.entity-logo{width:150px;height:150px;border-radius:50%;object-fit:cover;border:6px solid #fff;margin-top:-70px;box-shadow:0 5px 18px rgba(15,31,65,.14);z-index:2}.entity-copy{padding-top:15px;flex:1}.entity-copy h1{font-size:26px;margin:0 0 2px}.entity-copy p{max-width:630px;font-size:12px}.entity-actions{padding-top:23px;display:flex;gap:8px}
.entity-stats{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);padding:13px 0}.entity-stat{text-align:center;border-right:1px solid var(--line)}.entity-stat:last-child{border:0}.entity-stat b{font-size:16px}.entity-stat span{display:block;font-size:9px;color:var(--muted)}
.entity-tabs{display:flex;gap:27px;border-top:1px solid var(--line);padding:0 28px}.entity-tabs button{border:0;background:#fff;padding:15px 6px;position:relative;font-weight:600;color:#48546d}.entity-tabs button.active{color:var(--blue)}.entity-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--blue)}
.entity-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:18px;margin-top:15px}.info-card{padding:17px;margin-bottom:13px}.info-card h3{font-size:14px;margin:0 0 12px}.info-list{list-style:none;padding:0;margin:0}.info-list li{display:flex;gap:10px;font-size:11px;margin:10px 0;color:#3e4962}.destination-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.destination-thumbs img{height:70px;width:100%;object-fit:cover;border-radius:8px}
.pinned{border-left:3px solid var(--purple)}
.discussion-list p{font-size:11px;padding-bottom:8px;border-bottom:1px solid var(--line)}
/* TRAVELLERS/COMPANIES */
.directory-hero{padding:26px 0 6px}.directory-hero h1{font-size:31px;margin:0}.directory-filters{display:flex;gap:12px;margin:14px 0}.directory-filters input,.directory-filters select{height:42px;border:1px solid #dfe4ee;border-radius:10px;padding:0 13px}
.traveller-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.traveller-card{padding:20px;text-align:center}.traveller-card .avatar{width:82px;height:82px;margin:0 auto 10px}.traveller-card h3{font-size:15px;margin:0}.traveller-card p{font-size:11px;color:var(--muted)}
.company-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.company-directory-card{overflow:hidden}.company-directory-card .cover{height:135px}.company-directory-card .cover img{width:100%;height:100%;object-fit:cover}.company-directory-card .body{padding:14px}.company-directory-card .mini-logo{width:58px;height:58px;border-radius:50%;object-fit:cover;border:4px solid #fff;margin-top:-42px}
/* MODAL/TOAST */
.modal-backdrop{position:fixed;inset:0;background:rgba(8,15,31,.52);display:none;align-items:center;justify-content:center;z-index:200;padding:18px}.modal-backdrop.show{display:flex}.modal-card{width:min(560px,100%);background:#fff;border-radius:18px;box-shadow:0 25px 70px rgba(0,0,0,.25);padding:20px}.modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:14px}.modal-head h3{margin:0}.modal-close{border:0;background:#f2f4f8;width:34px;height:34px;border-radius:50%}
.toast{position:fixed;left:24px;bottom:24px;background:#0e1830;color:#fff;padding:12px 17px;border-radius:11px;box-shadow:0 16px 35px rgba(0,0,0,.22);z-index:300;animation:toast-in .25s ease}
@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
/* RESPONSIVE */
@media(max-width:1200px){
  .header-search{display:none}.main-nav{gap:20px}.home-copy{padding-left:0}.app-shell,.profile-layout{grid-template-columns:220px minmax(0,1fr)}.right-rail,.profile-layout>.right-rail{display:none}
  .public-layout{grid-template-columns:1fr}.public-layout>aside{display:none}.package-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:980px){
  .package-detail-top,.package-detail-layout{grid-template-columns:1fr}
  .home-hero,.package-hero{grid-template-columns:1fr}.home-visual{height:330px}.home-shortcuts{grid-template-columns:repeat(3,1fr)}
  .home-story-layout{grid-template-columns:1fr}.home-cta{display:none}.story-grid{grid-template-columns:repeat(2,1fr)}
  .auth-page{grid-template-columns:1fr}.auth-left{display:none}.auth-right{padding:28px}
  .app-shell,.profile-layout{grid-template-columns:1fr}.left-rail{display:none}.package-search{grid-template-columns:1fr 1fr}.category-row{grid-template-columns:repeat(5,1fr);gap:15px}.package-grid{grid-template-columns:repeat(2,1fr)}
  .entity-layout{grid-template-columns:1fr}.entity-layout>aside{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.info-card{margin:0}.traveller-grid,.company-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .container{width:min(100% - 24px,var(--container))}.site-header{height:auto}.header-inner{height:auto;padding:9px 0;flex-wrap:wrap}.brand{width:145px}.main-nav{order:3;width:100%;overflow:auto;justify-content:flex-start;gap:22px}.main-nav a{padding:8px 0}.main-nav a.active:after{bottom:2px}.header-actions,.header-user{margin-left:auto}
  .home-copy h1{font-size:39px}.home-copy{padding:0 4px}.home-visual{height:290px}.hero-benefits{display:none}.hero-people{left:14px}.home-shortcuts{grid-template-columns:repeat(2,1fr)}.story-grid{grid-template-columns:1fr}.home-stats{grid-template-columns:repeat(2,1fr);gap:16px}.home-stat{border:0}
  .auth-right{padding:18px}.auth-card{padding:22px}.form-grid,.social-login,.account-types{grid-template-columns:1fr}
  .composer-tools{grid-template-columns:repeat(3,1fr);gap:8px}.post-gallery{grid-template-columns:1fr}.post-gallery img{height:220px}.profile-info{min-height:auto;padding-bottom:18px}.profile-copy{position:static;padding-top:10px}.profile-actions{top:15px}.profile-photo{width:112px;height:112px}.social-rounds{position:static;margin-top:12px}.profile-counter{grid-template-columns:repeat(2,1fr);gap:14px}.counter-item{border:0}.profile-post-grid,.card-grid-3,.traveller-grid,.company-grid{grid-template-columns:1fr}
  .banner-copy{left:24px;top:38px;right:20px}.banner-copy h1{font-size:31px}.filter-bar{overflow:auto}.filter-bar .field-inline{min-width:180px}.article-page h1{font-size:27px}.related-packages{grid-template-columns:repeat(2,1fr)}
  .package-search{grid-template-columns:1fr}.category-row{grid-template-columns:repeat(3,1fr)}.package-grid{grid-template-columns:1fr}.why-strip{grid-template-columns:1fr 1fr;gap:15px}.why-item{border:0}
  .entity-cover{height:205px}.entity-summary{flex-direction:column}.entity-logo{width:110px;height:110px}.entity-copy{padding-top:0}.entity-actions{position:absolute;right:18px;top:12px}.entity-stats{grid-template-columns:repeat(2,1fr);gap:12px}.entity-stat{border:0}.entity-tabs{overflow:auto}.entity-layout>aside{grid-template-columns:1fr}
  .site-footer{height:auto;padding:9px 0}.footer-inner{flex-wrap:wrap;gap:7px}
}


/* =========================================================
   FINAL PROFESSIONAL OVERRIDES — TripMates Club
   ========================================================= */
:root{--container:1450px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:#f8faff;color:#0b1530}
.site-header{position:sticky;top:0;z-index:1000}
.site-footer{position:relative;z-index:20}
.clean-image{display:block;width:100%;height:100%;object-fit:cover}
.image-shell{overflow:hidden;background:#eef2f7}
.image-shell img{width:100%;height:100%;object-fit:cover;display:block}

/* Public blog listing exact proportions */
.public-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}
.banner{height:255px;border-radius:22px;overflow:hidden;position:relative;background:#eaf0f8}
.banner>img{width:100%;height:100%;object-fit:cover;display:block}
.banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,19,43,.75),rgba(4,19,43,.15))}
.banner-copy{position:absolute;z-index:2;left:48px;top:50%;transform:translateY(-50%);color:#fff;max-width:540px}
.banner-copy h1{font-size:40px;line-height:1.08;margin:0 0 10px}
.banner-copy p{font-size:15px;margin:0;max-width:430px}
.filter-bar{display:flex;gap:12px;padding:15px;margin:16px 0}
.field-inline{height:42px;border:1px solid #dfe5ef;border-radius:10px;padding:0 14px;background:#fff;color:#34405a}
.grow{flex:1}
.card-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.listing-card{overflow:hidden;border-radius:17px}
.listing-image{height:184px;display:block;overflow:hidden;background:#edf2f8}
.listing-image img{width:100%;height:100%;object-fit:cover;display:block;transition:.25s}
.listing-card:hover .listing-image img{transform:scale(1.025)}
.listing-body{padding:15px 15px 13px}
.listing-body h3{font-size:18px;line-height:1.25;margin:9px 0 6px;min-height:45px}
.listing-body>p{color:#667085;font-size:12px;line-height:1.5;min-height:37px;margin:0 0 11px}
.listing-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px;color:#687287}
.listing-foot{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);margin-top:12px;padding-top:10px}
.action-btn{border:0;background:transparent;color:#536079;padding:3px 0;font-size:12px}
.destination-tags{position:absolute;left:13px;top:13px;display:flex;gap:6px;flex-wrap:wrap;z-index:2}
.destination-tag{background:rgba(7,18,38,.66);backdrop-filter:blur(5px);color:#fff;border:1px solid rgba(255,255,255,.22);font-size:10px;font-weight:700;padding:5px 9px;border-radius:999px}
.listing-image{position:relative}
.rail-card{padding:18px;margin-bottom:16px}
.rail-card h3{margin:0;font-size:17px}
.rail-row{display:flex;align-items:center;gap:10px;margin-top:14px}
.rail-row .grow{line-height:1.25}
.rail-row span{font-size:11px;color:#7b8497}
.newsletter-card{padding:25px;background:linear-gradient(145deg,#1b5ca8,#1b5ca8);color:#fff;border:0}
.newsletter-card h3{font-size:22px}.newsletter-card input{width:100%;height:44px;border:0;border-radius:10px;padding:0 13px;margin:16px 0 10px}

/* Auth in a contained two-card layout */
.auth-page{min-height:calc(100vh - 112px);display:flex;align-items:center;background:#fff;padding:26px 0}
.auth-container{width:min(1380px,calc(100% - 44px));margin:auto;display:grid;grid-template-columns:.88fr 1.12fr;gap:26px;align-items:stretch;height:min(820px,calc(100vh - 138px))}
.auth-left,.auth-right{border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-sm);overflow:hidden;min-height:0}
.auth-left{padding:44px 48px;background:linear-gradient(180deg,#f8fbff,#eff5ff);position:relative}
.auth-left h1{font-size:38px}.auth-left p{font-size:14px}
.auth-points{margin-top:26px}
.auth-point{margin:17px 0}
.auth-scene{height:41%;bottom:0}
.auth-scene img{object-fit:cover}
.auth-right{padding:28px 38px;background:#fff;display:flex;align-items:center;justify-content:center}
.auth-card{box-shadow:none;border:0;padding:10px 16px;width:min(680px,100%)}
.auth-card h2{font-size:30px}
.auth-card .field input{height:44px}
.login-card{max-width:560px}
.auth-testimonial{left:34px;bottom:22px;width:280px}
.auth-page .site-footer{display:none}

/* Homepage story row equal to CTA */
.home-story-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:stretch}
.story-grid{height:100%;grid-auto-rows:1fr}
.story-card{height:100%;min-height:260px}
.home-cta{height:100%;min-height:260px;display:flex;flex-direction:column;justify-content:center}

/* Fixed social app shell: header, left and right fixed; center scrolls */
body.social-app{height:100vh;overflow:hidden;background:#f8faff}
body.social-app .site-header{position:fixed;left:0;right:0;top:0}
body.social-app .site-footer{display:none}
.social-shell{height:calc(100vh - 72px);margin-top:72px;padding:14px 0}
.social-grid{height:100%;display:grid;grid-template-columns:240px minmax(0,1fr) 330px;gap:18px}
.social-left,.social-right{height:100%;overflow:hidden}
.social-center{height:100%;overflow-y:auto;padding-right:5px;scrollbar-width:thin}
.social-center::-webkit-scrollbar{width:6px}.social-center::-webkit-scrollbar-thumb{background:#dfe4ef;border-radius:10px}
.social-left .sidebar,.social-right .rail-card{position:static}
.sidebar{height:100%;overflow-y:auto}
.sticky-rail{height:100%;overflow-y:auto;padding-right:3px}
.composer,.post-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}
.post-card{padding:17px;margin-bottom:15px}
.post-media{margin-top:13px;border-radius:15px;overflow:hidden;background:#eef2f7;max-height:560px}
.post-media img{width:100%;height:auto;max-height:560px;object-fit:cover}
.post-actions{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);margin-top:11px;padding-top:7px}
.post-actions button{border:0;background:transparent;padding:9px;color:#48546c;font-weight:650}
.post-actions button:hover{background:#f6f8fc;border-radius:9px}
.story-strip{display:flex;gap:17px;overflow-x:auto;padding:16px}
.story-person{text-align:center;min-width:72px}.story-person img{width:62px;height:62px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 2px #0b2f73}.story-person span{display:block;font-size:10px;margin-top:5px}

/* Profile professional */
.profile-cover-wrap{position:relative;height:270px;overflow:hidden;border-radius:20px 20px 0 0}
.profile-cover-wrap img{width:100%;height:100%;object-fit:cover}
.edit-cover-btn{position:absolute;right:18px;bottom:16px;background:rgba(9,18,35,.74);color:#fff;border:1px solid rgba(255,255,255,.42);border-radius:10px;padding:9px 14px;font-weight:700}
.profile-identity{display:flex;gap:22px;align-items:flex-start;padding:0 26px 23px}
.profile-photo{width:142px;height:142px;border-radius:50%;object-fit:cover;border:6px solid #fff;margin-top:-60px;z-index:2}
.profile-copy{flex:1;padding-top:15px}
.profile-controls{display:flex;gap:10px;padding-top:20px}
.profile-tabs{overflow-x:auto}
.profile-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}
.profile-content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.profile-post-card{overflow:hidden}.profile-post-card img{height:185px;width:100%;object-fit:cover}.profile-post-body{padding:13px}

/* Settings and utility */
.settings-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px}
.settings-menu{padding:14px;height:max-content;position:sticky;top:90px}
.settings-link{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:10px;font-weight:650}
.settings-link.active,.settings-link:hover{background:#eef2ff;color:var(--blue)}
.settings-panel{padding:24px}
.settings-panel h1{margin:0 0 6px}.setting-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}
.toggle{width:44px;height:24px;border-radius:20px;background:#ccd3df;position:relative;border:0}.toggle:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 5px rgba(0,0,0,.2)}.toggle.on{background:var(--blue)}.toggle.on:after{left:23px}
.chat-layout{height:calc(100vh - 130px);display:grid;grid-template-columns:330px minmax(0,1fr);overflow:hidden}
.chat-list{border-right:1px solid var(--line);overflow-y:auto}.chat-window{display:flex;flex-direction:column}.chat-head{padding:14px 18px;border-bottom:1px solid var(--line)}.chat-messages{flex:1;overflow-y:auto;padding:20px;background:#fafbfe}.bubble{max-width:70%;padding:11px 14px;border-radius:15px;background:#fff;border:1px solid var(--line);margin:8px 0}.bubble.me{margin-left:auto;background:#eaf0ff;border-color:#d8e2ff}.chat-input{display:flex;gap:10px;padding:14px;border-top:1px solid var(--line)}.chat-input input{flex:1;border:1px solid #dfe4ee;border-radius:12px;padding:0 14px}
.notification-item{display:flex;gap:12px;padding:14px;border-bottom:1px solid var(--line)}.notification-item.unread{background:#f4f7ff}
.itinerary-day{padding:18px;margin-bottom:14px}.itinerary-day h3{margin:0 0 10px}.timeline-line{border-left:2px solid #dce3f2;padding-left:18px}
.friends-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.friend-card{padding:20px;text-align:center}.friend-card img{width:82px;height:82px;border-radius:50%;object-fit:cover;margin:auto}
.dropdown-panel{position:absolute;right:0;top:48px;width:360px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);display:none;padding:12px;z-index:1200}.dropdown-panel.open{display:block}.header-user{position:relative}

/* Package detail */
.package-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.package-gallery{display:grid;grid-template-columns:2fr 1fr;gap:10px;height:420px}.package-gallery>img{width:100%;height:100%;object-fit:cover;border-radius:18px}.package-gallery-side{display:grid;grid-template-rows:1fr 1fr;gap:10px}.package-gallery-side img{width:100%;height:100%;object-fit:cover;border-radius:18px}.booking-card{padding:22px;position:sticky;top:90px}

/* responsive */
@media(max-width:1150px){
 .public-layout{grid-template-columns:1fr}.public-layout>aside{display:none}
 .card-grid-3{grid-template-columns:repeat(2,1fr)}
 .social-grid{grid-template-columns:220px minmax(0,1fr)}.social-right{display:none}
 .profile-main-grid{grid-template-columns:1fr}.package-detail-grid{grid-template-columns:1fr}
}
@media(max-width:800px){
 .auth-container{height:auto;grid-template-columns:1fr}.auth-left{min-height:620px}.auth-right{padding:22px}
 .card-grid-3,.profile-content-grid,.friends-grid{grid-template-columns:1fr}
 .social-grid{grid-template-columns:1fr}.social-left{display:none}.social-shell{padding:8px 0}
 .settings-layout{grid-template-columns:1fr}.settings-menu{position:static}
 .chat-layout{grid-template-columns:1fr}.chat-list{display:none}
 .package-gallery{grid-template-columns:1fr;height:auto}.package-gallery>img{height:280px}.package-gallery-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.package-gallery-side img{height:140px}
}

/* ===== TMC TARGETED FIX 2026-08-06 ===== */
.tmc-header .notice{border:0;background:transparent;color:var(--ink)}
.tmc-header .tmc-bell{border:1px solid var(--line);background:#fff}
.tmc-header .profile-mini .tiny{font-size:9px;color:#6e778b}
.tmc-notification-dropdown{right:70px;top:48px}
.tmc-drop-head{padding:4px 5px 10px}

/* Feed */
body.tmc-feed-page{height:100vh;overflow:hidden;background:#f8faff}
body.tmc-feed-page .site-header{position:fixed;left:0;right:0;top:0}
body.tmc-feed-page .site-footer{display:none}
.tmc-feed-shell{height:calc(100vh - 72px);margin-top:72px;padding:14px 0}
.tmc-feed-grid{height:100%;display:grid;grid-template-columns:238px minmax(0,1fr) 245px;gap:16px}
.tmc-feed-left,.tmc-contacts-rail{height:100%;min-height:0}
.tmc-side-card{height:100%;padding:13px;overflow-y:auto}
.tmc-side-link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:11px;font-weight:650;color:#26324a}
.tmc-side-link i{width:18px;text-align:center;color:#526079}
.tmc-side-link span{flex:1}
.tmc-side-link em{font-style:normal;background:#f04455;color:#fff;border-radius:20px;font-size:10px;padding:2px 7px}
.tmc-side-link.active,.tmc-side-link:hover{background:#efefff;color:#0b2f73}
.tmc-side-link.active i,.tmc-side-link:hover i{color:#0b2f73}
.tmc-create-post{width:100%;margin-top:12px}
.tmc-feed-center{height:100%;overflow-y:auto;padding-right:5px;scrollbar-width:thin}
.tmc-feed-center::-webkit-scrollbar{width:6px}.tmc-feed-center::-webkit-scrollbar-thumb{background:#d7ddea;border-radius:10px}
.tmc-stories{display:flex;gap:18px;padding:15px 16px;overflow-x:auto}
.tmc-story{min-width:68px;text-align:center}.tmc-story span{width:60px;height:60px;border-radius:50%;display:block;padding:3px;background:linear-gradient(145deg,#f14687,#0b2f73)}
.tmc-story img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:3px solid #fff}.tmc-story small{display:block;font-size:10px;margin-top:5px}
.tmc-composer{padding:15px;margin:14px 0}.tmc-composer-top{display:flex;align-items:center;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.tmc-composer-top>button{flex:1;border:0;background:#f5f7fb;border-radius:22px;padding:12px 16px;text-align:left;color:#7c8496}
.tmc-composer-tools{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding-top:10px}
.tmc-composer-tools button{border:0;background:transparent;border-radius:9px;padding:8px;color:#3e4962;font-weight:650}
.tmc-composer-tools button:hover{background:#f5f7fb}
.tmc-post-card{padding:17px;margin-bottom:15px}.tmc-post-head{display:flex;align-items:center;gap:11px}.tmc-post-head>div{flex:1}.tmc-post-head small{display:block;color:#7d869a;font-size:11px;margin-top:2px}
.tmc-verified{color:var(--blue);font-size:13px}.tmc-icon-button{border:0;background:transparent;width:36px;height:36px;border-radius:50%}.tmc-icon-button:hover{background:#f4f6fa}
.tmc-post-card>p{font-size:14px;line-height:1.55}.tmc-post-image{border-radius:15px;overflow:hidden;background:#eef2f7}.tmc-post-image img{width:100%;max-height:520px;object-fit:cover}
.tmc-post-summary{display:flex;justify-content:space-between;color:#6e778a;font-size:11px;padding:9px 2px;border-bottom:1px solid var(--line)}
.tmc-post-actions{display:grid;grid-template-columns:repeat(4,1fr);padding-top:6px}.tmc-post-actions button{border:0;background:transparent;padding:9px;border-radius:9px;color:#45516a;font-weight:650}.tmc-post-actions button:hover,.tmc-post-actions button.active{background:#f1f4fb;color:var(--blue)}
.comment-box{display:flex;align-items:center;gap:9px;padding-top:11px}.comment-box input{flex:1;border:1px solid var(--line);border-radius:20px;padding:10px 13px}.comment-box button{border:0;background:var(--blue);color:#fff;border-radius:10px;padding:8px 12px}

/* Contacts + chat */
.tmc-contacts-rail{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm);padding:10px;overflow:hidden}
.tmc-contacts-head{display:flex;align-items:center;justify-content:space-between;padding:7px 7px 10px}.tmc-contacts-head span{display:flex;gap:13px;color:#687287}
.tmc-contact-list{height:calc(100% - 40px);overflow-y:auto}.tmc-contact{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:10px;padding:8px;border-radius:11px;text-align:left}
.tmc-contact:hover{background:#f4f6fb}.tmc-contact-avatar{position:relative;width:38px;height:38px;flex:0 0 auto}.tmc-contact-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.tmc-contact-avatar i{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;background:#20b26b;border:2px solid #fff}
.tmc-contact span:last-child{min-width:0}.tmc-contact b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-contact small{display:block;color:#7d8699;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-chat-dock{position:fixed;right:14px;bottom:0;z-index:1500;display:flex;flex-direction:row-reverse;align-items:flex-end;gap:10px;pointer-events:none}
.tmc-chat-window{width:310px;height:390px;background:#fff;border:1px solid #dfe4ef;border-radius:15px 15px 0 0;box-shadow:0 16px 48px rgba(21,33,61,.22);display:flex;flex-direction:column;pointer-events:auto;overflow:hidden}
.tmc-chat-head{display:flex;align-items:center;gap:9px;padding:10px 11px;border-bottom:1px solid var(--line);background:#fff}.tmc-chat-head img{width:34px;height:34px;border-radius:50%;object-fit:cover}.tmc-chat-head div{flex:1}.tmc-chat-head small{display:block;color:#17a568;font-size:10px}
.tmc-chat-head button{border:0;background:transparent;width:28px;height:28px;border-radius:50%}.tmc-chat-head button:hover{background:#f1f3f8}
.tmc-chat-messages{flex:1;overflow-y:auto;padding:13px;background:#f7f9fd}.tmc-chat-bubble{max-width:82%;padding:9px 11px;border-radius:14px;background:#fff;border:1px solid var(--line);font-size:12px;margin-bottom:8px}.tmc-chat-bubble.me{margin-left:auto;background:#eaf0ff}
.tmc-chat-input{display:flex;gap:7px;padding:9px;border-top:1px solid var(--line)}.tmc-chat-input input{flex:1;border:1px solid var(--line);border-radius:18px;padding:8px 11px;font-size:12px}.tmc-chat-input button{border:0;background:var(--blue);color:#fff;width:34px;height:34px;border-radius:50%}

/* Shared logged pages + contact rail */
.tmc-page-with-contacts{padding-right:260px;position:relative}.tmc-page-with-contacts>.tmc-contacts-rail{position:fixed;right:14px;top:88px;width:230px;height:calc(100vh - 102px);z-index:50}

/* Profile */
.tmc-profile-page{max-width:1240px}.tmc-profile-hero{overflow:hidden}.tmc-profile-cover{height:280px;background:#eef2f7}.tmc-profile-cover img{width:100%;height:100%;object-fit:cover}
.tmc-profile-info{display:flex;align-items:flex-start;gap:22px;padding:0 27px 23px}.tmc-profile-avatar{width:148px;height:148px;border-radius:50%;object-fit:cover;border:6px solid #fff;margin-top:-66px;box-shadow:0 8px 24px rgba(19,32,62,.14);z-index:2}
.tmc-profile-copy{flex:1;padding-top:17px}.tmc-profile-title-row{display:flex;justify-content:space-between;gap:20px}.tmc-profile-title-row h1{font-size:30px;margin:0 0 2px}.tmc-profile-title-row span{color:#6e778a}
.tmc-profile-copy>p{margin:14px 0 12px;color:#34405a}.tmc-profile-buttons{display:flex;gap:9px;flex-wrap:wrap}.tmc-profile-tags{display:flex;gap:7px;flex-wrap:wrap}.tmc-profile-tags span{padding:6px 11px;background:#eef2ff;color:#0b2f73;border-radius:999px;font-size:11px;font-weight:700}
.tmc-profile-stats{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.tmc-profile-stats>div{text-align:center;border-right:1px solid var(--line)}.tmc-profile-stats>div:last-child{border-right:0}.tmc-profile-stats b{font-size:22px}.tmc-profile-stats span{display:block;color:#707a8e;font-size:11px}
.tmc-profile-tabs,.tmc-community-tabs{display:flex;gap:4px;padding:8px 17px;overflow-x:auto}.tmc-profile-tabs button,.tmc-community-tabs button{border:0;background:transparent;padding:11px 17px;color:#536079;font-weight:700;border-radius:9px;white-space:nowrap}.tmc-profile-tabs button.active,.tmc-community-tabs button.active{color:var(--blue);background:#eef2ff}
.tmc-profile-content{margin-top:16px}.tmc-profile-panel,.tmc-community-panel{display:none}.tmc-profile-panel.active,.tmc-community-panel.active{display:block}
.tmc-profile-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tmc-profile-post{overflow:hidden}.tmc-profile-post img{width:100%;height:195px;object-fit:cover}.tmc-profile-post>div{padding:14px}.tmc-profile-post b{font-size:14px}.tmc-profile-post p{color:#697286;font-size:12px}.tmc-profile-post span{font-size:11px;color:#526078}
.tmc-member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tmc-member-card{text-align:center;padding:22px}.tmc-member-card>img{width:78px;height:78px;border-radius:50%;object-fit:cover;margin:0 auto 10px}.tmc-member-card h3{margin:0}.tmc-member-card p{color:#6d778b;font-size:12px}.tmc-member-card>div{display:flex;gap:7px;justify-content:center}
.tmc-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tmc-photo-grid img{width:100%;height:190px;object-fit:cover;border-radius:15px}
.tmc-empty-state{text-align:center;padding:50px}.tmc-empty-state i{font-size:42px;color:#0b2f73}.tmc-review-card{padding:24px}.tmc-review-card span{color:#ff9e18;display:block;margin:8px 0}

/* Travellers */
.tmc-directory-heading{display:flex;align-items:end;justify-content:space-between;padding:26px 8px 18px}.tmc-directory-heading h1{font-size:34px;margin:7px 0 4px}.tmc-directory-heading p{color:#657086;margin:0}.tmc-directory-avatars{display:flex;align-items:center}.tmc-directory-avatars img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:3px solid #fff;margin-left:-10px}.tmc-directory-avatars b{font-size:12px;margin-left:10px}
.tmc-traveller-filters{display:grid;grid-template-columns:minmax(260px,1fr) 180px 180px 170px auto;gap:11px;padding:14px}.tmc-filter-search{display:flex;align-items:center;gap:9px;border:1px solid #dfe4ee;border-radius:10px;padding:0 13px}.tmc-filter-search input{border:0;outline:0;flex:1}.tmc-traveller-filters select{border:1px solid #dfe4ee;border-radius:10px;padding:0 12px}
.tmc-interest-shortcuts{display:flex;gap:9px;overflow-x:auto;padding:15px 0}.tmc-interest-shortcuts button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px;font-weight:650;color:#536079}.tmc-interest-shortcuts button.active{background:#eef2ff;color:var(--blue);border-color:#d9e2ff}
.tmc-traveller-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.tmc-traveller-card{overflow:hidden;position:relative}.tmc-traveller-cover{display:block;height:112px;background:#eef2f7}.tmc-traveller-cover img{width:100%;height:100%;object-fit:cover}.tmc-traveller-avatar{display:block;width:86px;height:86px;border-radius:50%;overflow:hidden;border:5px solid #fff;position:absolute;left:50%;top:68px;transform:translateX(-50%);box-shadow:0 7px 20px rgba(28,43,75,.13)}.tmc-traveller-avatar img{width:100%;height:100%;object-fit:cover}
.tmc-traveller-body{text-align:center;padding:48px 18px 19px}.tmc-traveller-body h3{margin:0 0 6px}.tmc-traveller-body p{color:#647086;font-size:11px;line-height:1.6}.tmc-mutual{display:inline-flex;align-items:center;gap:5px;color:#667087;font-size:10px;background:#f5f7fb;border-radius:999px;padding:5px 9px}
.tmc-traveller-stats{display:flex;justify-content:center;gap:42px;margin:13px 0}.tmc-traveller-stats b{font-size:16px}.tmc-traveller-stats span{display:block;color:#7a8496;font-size:10px}.tmc-traveller-actions{display:flex;gap:7px;justify-content:center;align-items:center}

/* Community */
.tmc-community-page{max-width:1240px}.tmc-community-hero{overflow:hidden}.tmc-community-cover{height:260px}.tmc-community-cover img{width:100%;height:100%;object-fit:cover}.tmc-community-info{display:flex;gap:22px;padding:0 28px 22px}.tmc-community-logo{width:145px;height:145px;border-radius:50%;object-fit:cover;border:6px solid #fff;margin-top:-60px;box-shadow:0 7px 22px rgba(23,37,69,.16);z-index:2}.tmc-community-copy{flex:1;padding-top:14px}.tmc-community-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.tmc-community-title h1{font-size:29px;margin:0 0 6px}.tmc-community-copy>p{color:#36425a}.tmc-community-meta{display:flex;gap:19px;flex-wrap:wrap;color:#687286;font-size:11px}
.tmc-community-tabs{border-top:1px solid var(--line)}.tmc-community-body{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:17px;margin-top:16px}.tmc-community-main{min-width:0}.tmc-community-panel .tmc-composer{margin:0 0 14px}.tmc-pinned{color:var(--blue);font-weight:700;font-size:12px;margin-bottom:12px}
.tmc-community-post-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.tmc-community-post-gallery img{width:100%;height:170px;object-fit:cover;border-radius:11px}
.tmc-tab-card{padding:26px}.tmc-tab-card h2{margin-top:0}.tmc-tab-card li{margin:9px 0}.tmc-mini-members{display:flex;gap:18px;flex-wrap:wrap}.tmc-mini-members span{display:flex;align-items:center;gap:8px}.tmc-mini-members img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.tmc-discussion-list{padding:8px 20px}.tmc-discussion-list article{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.tmc-discussion-list article:last-child{border-bottom:0}.tmc-discussion-list article>i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef2ff;color:var(--blue)}.tmc-discussion-list article>div{flex:1}.tmc-discussion-list h3{margin:0;font-size:14px}.tmc-discussion-list p{margin:3px 0 0;color:#6d7789;font-size:11px}.tmc-discussion-list span{font-size:11px;color:#617087}
.tmc-community-sidebar{display:flex;flex-direction:column;gap:14px}.tmc-info-card{padding:18px}.tmc-info-card h3{margin-top:0}.tmc-info-card>p{display:flex;justify-content:space-between;gap:10px;color:#59657b;font-size:12px}.tmc-contributor{display:flex;align-items:center;gap:10px;margin-top:12px}.tmc-contributor img{width:38px;height:38px;border-radius:50%;object-fit:cover}.tmc-contributor span{flex:1}.tmc-contributor small{display:block;color:#788296;font-size:10px}

/* states */
.friend-request-btn.requested{background:#eef2ff;color:var(--blue);border-color:#d8e2ff}.friend-request-btn.accepted{background:#e9f9f0;color:#138a55;border-color:#cdeedc}

@media(max-width:1280px){
  .tmc-feed-grid{grid-template-columns:220px minmax(0,1fr)}.tmc-feed-grid>.tmc-contacts-rail{display:none}
  .tmc-page-with-contacts{padding-right:0}.tmc-page-with-contacts>.tmc-contacts-rail{display:none}
}
@media(max-width:980px){
  .tmc-feed-grid{grid-template-columns:1fr}.tmc-feed-left{display:none}
  .tmc-profile-title-row,.tmc-community-title{flex-direction:column}.tmc-profile-card-grid,.tmc-member-grid,.tmc-traveller-grid{grid-template-columns:repeat(2,1fr)}
  .tmc-community-body{grid-template-columns:1fr}.tmc-community-sidebar{display:grid;grid-template-columns:repeat(2,1fr)}
  .tmc-traveller-filters{grid-template-columns:1fr 1fr}.tmc-filter-search{grid-column:1/-1}
}
@media(max-width:680px){
  .tmc-composer-tools{grid-template-columns:repeat(3,1fr)}.tmc-post-actions{grid-template-columns:repeat(2,1fr)}
  .tmc-profile-info,.tmc-community-info{flex-direction:column}.tmc-profile-avatar,.tmc-community-logo{width:112px;height:112px}.tmc-profile-stats{grid-template-columns:repeat(3,1fr)}
  .tmc-profile-card-grid,.tmc-member-grid,.tmc-traveller-grid,.tmc-photo-grid{grid-template-columns:1fr}.tmc-community-sidebar{grid-template-columns:1fr}
  .tmc-traveller-filters{grid-template-columns:1fr}.tmc-filter-search{grid-column:auto}.tmc-directory-avatars{display:none}
  .tmc-chat-window{width:calc(100vw - 18px)}.tmc-chat-dock{right:9px}
}

/* ===== PHP COMMON LAYOUT + AUTH HEIGHT FIX 2026-08-08 ===== */
body.auth-screen{min-height:100vh;overflow-x:hidden;overflow-y:auto;background:#f8faff}
body.auth-screen .auth-page{min-height:calc(100vh - 112px);height:auto;display:flex;align-items:flex-start;padding:24px 0 28px;overflow:visible}
body.auth-screen .auth-container{height:auto;min-height:calc(100vh - 164px);align-items:stretch;overflow:visible}
body.auth-screen .auth-left{min-height:760px}
body.auth-screen .auth-right{height:auto;min-height:760px;overflow:visible;align-items:flex-start;padding-top:24px;padding-bottom:24px}
body.auth-screen .auth-card{padding-top:10px;padding-bottom:18px}
body.auth-screen .site-footer{position:relative;height:40px}
@media(max-height:850px) and (min-width:801px){
 body.auth-screen .auth-page{padding-top:18px;padding-bottom:22px}
 body.auth-screen .auth-container{min-height:0}
 body.auth-screen .auth-left,body.auth-screen .auth-right{min-height:720px}
 body.auth-screen .auth-card{padding-top:4px}
}
@media(max-width:800px){
 body.auth-screen .auth-page{padding:14px 0 20px}
 body.auth-screen .auth-container{width:min(100% - 24px,680px);min-height:0}
 body.auth-screen .auth-left{display:none;min-height:0}
 body.auth-screen .auth-right{min-height:0;padding:16px;overflow:visible}
 body.auth-screen .auth-card{padding:8px 4px 14px}
}

/* ===== PROFILE SYSTEM V7 ===== */
.tmc-profile-cover{position:relative;overflow:hidden}
.tmc-profile-cover>img{display:block}
.tmc-media-edit{position:absolute;right:16px;bottom:14px;border:1px solid rgba(255,255,255,.72);background:rgba(15,25,45,.72);backdrop-filter:blur(8px);color:#fff;border-radius:10px;padding:9px 13px;font-weight:700;cursor:pointer}
.tmc-avatar-wrap{position:relative;flex:0 0 auto;z-index:3}
.tmc-avatar-wrap .tmc-profile-avatar{display:block;margin-left:0;margin-right:0}
.tmc-avatar-edit{position:absolute;right:8px;bottom:10px;width:38px;height:38px;border-radius:50%;border:3px solid #fff;background:#fff;color:#17233d;box-shadow:0 6px 18px rgba(21,33,61,.18);cursor:pointer}
.tmc-profile-meta{display:flex;gap:13px;flex-wrap:wrap;margin-top:8px;color:#788297;font-size:11px}
.tmc-profile-meta i{margin-right:4px;color:#69758d}
.tmc-profile-headline{margin-top:13px;font-weight:700;color:#26334b}
.tmc-profile-bio{max-width:780px;line-height:1.65}
.tmc-profile-web{display:inline-flex;gap:7px;align-items:center;margin-top:11px;color:var(--blue);font-size:12px;font-weight:650}
.tmc-profile-tags a{font-size:11px;font-weight:700;color:var(--blue)}
.tmc-profile-buttons{position:relative}
.tmc-profile-menu{display:none;position:absolute;right:0;top:48px;z-index:35;width:205px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px;box-shadow:0 15px 42px rgba(24,36,65,.17)}
.tmc-profile-menu.open{display:block}
.tmc-profile-menu button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:8px;padding:10px 11px;text-align:left;font:inherit;font-size:12px;font-weight:650;cursor:pointer;color:#35415a}
.tmc-profile-menu button:hover{background:#f5f7fb}
.tmc-profile-post{min-height:100%;display:block;color:inherit;text-decoration:none}
.tmc-profile-post:not(:has(img)){display:flex;align-items:center;min-height:170px}
.tmc-video-card{padding:20px;display:flex;gap:15px;align-items:center}.tmc-video-icon{width:58px;height:58px;border-radius:14px;display:grid;place-items:center;background:#fff0f0;color:#e22525;font-size:26px}.tmc-video-card>div:last-child{display:flex;flex-direction:column;gap:8px}.tmc-video-card a{font-size:12px;color:var(--blue);font-weight:700}
.tmc-review-user{display:flex;align-items:center;gap:11px}.tmc-review-user img{width:44px;height:44px;border-radius:50%;object-fit:cover}.tmc-review-user span{margin:3px 0 0}
.tmc-saved-list{padding:8px 18px}.tmc-saved-list>div{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.tmc-saved-list>div:last-child{border-bottom:0}.tmc-saved-list small{color:#7a8497}
.tmc-contact{width:100%;text-decoration:none;color:inherit}
.tmc-alert{margin:16px 0;padding:12px 14px;border-radius:10px;background:#eef6ff;color:#2450b7;font-size:13px}.tmc-alert.error{background:#fff0f1;color:#b62436}.tmc-alert.success{background:#edfbf4;color:#12764a}
.tmc-settings-media{margin:20px 0 25px}.tmc-settings-cover{height:200px;position:relative;border-radius:15px;overflow:hidden;background:#eef2f7}.tmc-settings-cover img{width:100%;height:100%;object-fit:cover}.tmc-settings-cover .btn{position:absolute;right:12px;bottom:12px;background:#fff}.tmc-settings-avatar{display:flex;align-items:end;gap:10px;margin:-48px 0 0 20px;position:relative;z-index:2}.tmc-settings-avatar img{width:104px;height:104px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 7px 18px rgba(19,32,62,.15)}.tmc-settings-avatar .btn{margin-bottom:8px;background:#fff}.tmc-settings-media>p{margin:12px 0 0 20px}.tmc-profile-settings-form .field small{display:block;margin-top:6px;color:#7b8495;font-size:10px}.tmc-settings-subhead{margin:27px 0 12px;padding-top:20px;border-top:1px solid var(--line)}
.tmc-live-toast{position:fixed;left:24px;bottom:24px;z-index:9999;background:#18233b;color:#fff;padding:11px 16px;border-radius:10px;box-shadow:0 10px 30px rgba(20,30,55,.22);font-size:12px;font-weight:650}.tmc-live-toast.error{background:#b72c3d}

/* Crop modal */
.tmc-crop-modal{width:min(680px,calc(100vw - 28px))}
.tmc-crop-stage{width:420px;height:420px;max-width:100%;margin:4px auto 0;background:#111827;overflow:hidden;position:relative;touch-action:none;cursor:grab;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.tmc-crop-stage.cover-mode{width:620px;height:180px;border-radius:13px}
.tmc-crop-stage.dragging{cursor:grabbing}
.tmc-crop-stage img{position:absolute;left:0;top:0;max-width:none!important;user-select:none;pointer-events:none;transform-origin:0 0}
.tmc-crop-controls{display:flex;align-items:center;gap:12px;max-width:520px;margin:18px auto 0;color:#667188}.tmc-crop-controls input{flex:1}
#reportProfileModal textarea{min-height:100px}

@media(max-width:680px){
 .tmc-profile-cover{height:190px}.tmc-media-edit{right:10px;bottom:10px;padding:8px 10px;font-size:11px}
 .tmc-profile-info{padding:0 16px 18px}.tmc-avatar-wrap{margin-top:-2px}.tmc-avatar-wrap .tmc-profile-avatar{margin-top:-58px}
 .tmc-profile-stats{grid-template-columns:repeat(5,minmax(85px,1fr));overflow-x:auto}.tmc-profile-stats>div{min-width:85px}
 .tmc-settings-cover{height:150px}.tmc-settings-avatar{margin-left:12px}.tmc-crop-stage{width:min(82vw,420px);height:min(82vw,420px)}.tmc-crop-stage.cover-mode{width:100%;height:31vw;max-height:180px;min-height:120px}
}

/* ===== PROFILE POLISH V8 ===== */
.tmc-profile-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tmc-profile-buttons .btn{min-height:36px;padding:7px 13px;border-radius:9px;font-size:12px;gap:6px}
.tmc-profile-buttons .btn-icon{width:36px;padding:0}
.tmc-profile-buttons .btn i{font-size:12px}
.tmc-media-edit{min-height:34px;padding:7px 11px;border-radius:9px;font-size:11px}
.tmc-avatar-edit{width:34px;height:34px;right:6px;bottom:8px}
.tmc-profile-cover>img,.tmc-settings-cover img{width:100%;height:100%;object-fit:cover;background:#edf2f8}
.tmc-profile-avatar,.tmc-settings-avatar img,.avatar{background:#edf2f8}

/* Header account menu */
.tmc-account-menu-wrap{position:relative}
.tmc-account-trigger{border:0;background:transparent;cursor:pointer;font:inherit;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--ink);width:42px;height:42px}
.tmc-account-trigger:hover{background:transparent}
.tmc-account-avatar-wrap{position:relative;display:block;width:38px;height:38px;border-radius:50%}
.tmc-account-trigger .tmc-account-avatar-wrap>.avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#edf2f8;border:2px solid var(--orange);padding:2px;box-shadow:0 0 0 1px rgba(255,122,26,.08)}
.tmc-account-avatar-arrow{position:absolute;right:-3px;bottom:-2px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#eef1f5;color:#26324a;border:2px solid #fff;box-shadow:0 1px 4px rgba(18,32,58,.18);font-size:7px;line-height:1;transition:transform .18s ease,background .18s ease}
.tmc-account-trigger:hover .tmc-account-avatar-arrow{background:#e4e8ee}
.tmc-account-trigger[aria-expanded="true"] .tmc-account-avatar-arrow{transform:rotate(180deg)}
.tmc-account-chevron{display:none}
.tmc-account-menu{display:none;position:absolute;right:0;top:calc(100% + 12px);z-index:1000;width:260px;background:#fff;border:1px solid #e5e9f1;border-radius:14px;padding:8px;box-shadow:0 18px 50px rgba(24,36,65,.18)}
.tmc-account-menu.open{display:block}
.tmc-account-menu-head{display:flex;align-items:center;gap:11px;padding:8px 9px 11px;margin-bottom:4px;border-bottom:1px solid #edf0f5}
.tmc-account-menu-head img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#edf2f8}
.tmc-account-menu-head div{min-width:0}.tmc-account-menu-head b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-account-menu-head small{display:block;color:#788297;margin-top:2px;font-size:10px}
.tmc-account-menu>a{display:flex;align-items:center;gap:11px;text-decoration:none;color:#26324a;padding:9px 10px;border-radius:9px;font-size:12px;font-weight:650}
.tmc-account-menu>a:hover{background:#f5f7fb}
.tmc-account-menu>a i{width:17px;text-align:center;color:#66728a}
.tmc-account-menu-sep{height:1px;background:#edf0f5;margin:5px 3px}
.tmc-account-logout-form{margin:0;padding:0}.tmc-account-menu .tmc-account-logout{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;text-align:left;color:#b52b3b;padding:9px 10px;border-radius:9px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.tmc-account-menu .tmc-account-logout:hover{background:#fff2f3}.tmc-account-menu .tmc-account-logout i{width:17px;text-align:center;color:#b52b3b}

@media(max-width:680px){
 .tmc-profile-buttons{gap:6px}.tmc-profile-buttons .btn{min-height:34px;padding:6px 10px;font-size:11px}
 .tmc-account-menu{right:-4px;width:min(270px,calc(100vw - 24px))}
}

/* v12 profile media editor reliability/polish */
.tmc-media-edit,.tmc-avatar-edit{font-family:inherit;appearance:none;-webkit-appearance:none}
.tmc-media-edit{border:0}
.tmc-avatar-edit{display:flex;align-items:center;justify-content:center;padding:0}
.tmc-modal-open{overflow:hidden}
#profileCropModal{z-index:9999}
#profileCropModal.show{display:flex!important}
#profileCropModal .tmc-crop-stage{background:#eef2f7}
#profileCropModal .tmc-crop-stage.avatar-mode{border-radius:12px}
#profileCropModal .tmc-crop-stage.cover-mode{border-radius:12px}

/* v15: keep profile media controls identical on Profile and Edit Profile */
.tmc-settings-cover .tmc-media-edit{right:12px;bottom:12px;background:rgba(15,25,45,.72);color:#fff;border:0}
.tmc-settings-avatar{align-items:flex-end}
.tmc-settings-avatar-photo{position:relative;width:104px;height:104px;flex:0 0 104px}
.tmc-settings-avatar-photo>img{display:block;width:104px;height:104px}
.tmc-settings-avatar-photo .tmc-avatar-edit{right:-2px;bottom:4px}

/* v17: settings profile media overlap fix */
.tmc-settings-avatar{
  width:max-content;
  max-width:calc(100% - 40px);
  pointer-events:none;
}
.tmc-settings-avatar-photo,
.tmc-settings-avatar .tmc-avatar-edit{
  pointer-events:auto;
}
.tmc-settings-cover .tmc-media-edit{
  z-index:5;
  pointer-events:auto;
}


/* ===== PROFESSIONAL UI / SETTINGS V20 ===== */
.btn{min-height:36px;padding:7px 13px;border-radius:8px;font-size:12px;font-weight:650;box-shadow:0 1px 2px rgba(17,24,39,.03)}
.btn:hover{transform:none;box-shadow:0 5px 14px rgba(34,55,100,.08);border-color:#ccd5e5}.btn-primary{box-shadow:0 4px 12px rgba(49,78,238,.16)}.btn-sm{min-height:30px;padding:5px 10px;font-size:11px}.btn-icon{width:36px}
.settings-panel{padding:22px}.settings-panel h1{font-size:26px}.settings-panel .field input,.settings-panel .field select,.settings-panel .field textarea{border-radius:9px}
.tmc-username-wrap{position:relative}.tmc-username-wrap input{padding-right:140px}.tmc-username-status{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:10px;font-weight:700;color:#7a8497}.tmc-username-status.ok{color:#16834e}.tmc-username-status.bad{color:#c23b4a}
.tmc-date-field{position:relative}.tmc-date-field input{cursor:pointer;padding-right:38px}.tmc-date-field>i{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#6d7890;pointer-events:none}
.tmc-multiselect{position:relative}.tmc-multiselect-control{width:100%;min-height:42px;border:1px solid #dfe4ef;background:#fff;border-radius:9px;padding:7px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;color:#7a8497}.tmc-multiselect-control>span{display:flex;gap:5px;flex-wrap:wrap}.tmc-multiselect-control em{font-style:normal;background:#eef2ff;color:#0b2f73;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700}.tmc-multiselect-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:90;background:#fff;border:1px solid #dfe4ef;border-radius:11px;padding:8px;box-shadow:0 14px 34px rgba(24,36,65,.15)}.tmc-multiselect.open .tmc-multiselect-menu{display:block}.tmc-multiselect-menu>input{width:100%;height:36px;border:1px solid #e1e6ef;border-radius:8px;padding:0 10px;margin-bottom:7px}.tmc-multiselect-options{max-height:220px;overflow:auto}.tmc-multiselect-option{display:flex;align-items:center;gap:9px;padding:8px;border-radius:7px;cursor:pointer;font-size:12px}.tmc-multiselect-option:hover{background:#f6f8fc}.tmc-multiselect-option input{width:auto!important}
.tmc-datepicker{display:none;position:absolute;z-index:10000;width:310px;background:#fff;border:1px solid #dfe4ef;border-radius:13px;padding:10px;box-shadow:0 18px 48px rgba(20,32,62,.18)}.tmc-datepicker.open{display:block}.tmc-dp-head{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;margin-bottom:8px}.tmc-dp-head>button{width:34px;height:34px;border:0;background:#f4f6fb;border-radius:8px;cursor:pointer}.tmc-dp-head>div{display:flex;gap:6px}.tmc-dp-head select{flex:1;height:34px;border:1px solid #e1e6ef;border-radius:8px;background:#fff;padding:0 7px}.tmc-dp-week,.tmc-dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.tmc-dp-week span{text-align:center;color:#8b94a6;font-size:9px;font-weight:800;padding:5px 0}.tmc-dp-grid button{height:34px;border:0;background:transparent;border-radius:8px;cursor:pointer;font-size:11px}.tmc-dp-grid button:hover{background:#eef2ff;color:#0b2f73}.tmc-dp-grid button.selected{background:#0b2f73;color:#fff}.tmc-dp-grid button:disabled{color:#c8ced9;cursor:not-allowed}.tmc-dp-foot{display:flex;justify-content:space-between;border-top:1px solid #edf0f5;margin-top:8px;padding-top:8px}.tmc-dp-foot button{border:0;background:transparent;color:#0b2f73;font-size:11px;font-weight:700;cursor:pointer}
.tmc-profile-gender{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:#5f6b82;font-size:11px;font-weight:650}.tmc-profile-gender i.fa-mars{color:#3d73df}.tmc-profile-gender i.fa-venus{color:#d85a91}
.tmc-switch{position:relative;width:42px;height:24px;display:inline-block}.tmc-switch input{opacity:0;width:0;height:0}.tmc-switch span{position:absolute;inset:0;border-radius:999px;background:#d9dfeb;cursor:pointer;transition:.18s}.tmc-switch span:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.15);transition:.18s}.tmc-switch input:checked+span{background:#0b2f73}.tmc-switch input:checked+span:before{transform:translateX(18px)}
.tmc-danger-zone{margin-top:24px;padding:18px;border:1px solid #f1d5d9;background:#fffafb;border-radius:12px}.tmc-danger-zone h3{margin:0 0 5px;color:#b72c3d}.tmc-danger-zone form{max-width:480px;margin-top:14px}.tmc-btn-danger{color:#fff!important;background:#b72c3d!important;border-color:#b72c3d!important;margin-top:10px}

.tmc-saved-row{display:grid;grid-template-columns:28px 1fr 16px;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}.tmc-saved-row:last-child{border-bottom:0}.tmc-saved-row small{display:block;margin-top:3px;color:#7a8497;font-size:10px}

/* TripMates profile editor polish v24 */
.tmc-profile-editor{margin-top:22px;display:grid;gap:16px}
.tmc-editor-section{border:1px solid #e7ebf3;border-radius:14px;background:#fff;padding:18px 18px 19px}
.tmc-editor-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:13px;margin-bottom:15px;border-bottom:1px solid #eef1f6}
.tmc-editor-section-head h3{margin:0 0 4px;font-size:15px;line-height:1.3;color:#10182b}.tmc-editor-section-head p{margin:0;color:#7b8597;font-size:11px}.tmc-editor-section-head>i{width:34px;height:34px;border-radius:9px;background:#f2f5ff;color:#0b2f73;display:grid;place-items:center;font-size:14px}
.tmc-profile-editor .form-grid{gap:14px 16px}.tmc-profile-editor .field label{font-size:11px;font-weight:700;color:#263149;margin-bottom:6px;display:block}.tmc-profile-editor .field small{display:block;margin-top:6px;color:#8b94a6;font-size:9.5px;line-height:1.45}.tmc-profile-editor .field input,.tmc-profile-editor .field select,.tmc-profile-editor .field textarea{min-height:40px;border:1px solid #dfe5ef;border-radius:9px;background:#fff;padding:9px 11px;font-size:11px;color:#10182b;outline:none;transition:border-color .15s,box-shadow .15s}.tmc-profile-editor .field textarea{min-height:92px;resize:vertical}.tmc-profile-editor .field input:focus,.tmc-profile-editor .field select:focus,.tmc-profile-editor .field textarea:focus{border-color:#1b5ca8;box-shadow:0 0 0 3px rgba(49,84,221,.08)}
.tmc-username-wrap{position:relative}.tmc-input-prefix{position:absolute;left:11px;top:50%;transform:translateY(-50%);font-size:11px;color:#6e788c;z-index:2}.tmc-profile-editor .field input.tmc-prefixed-input{padding-left:26px;padding-right:112px}.tmc-username-status{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:9.5px;font-weight:700}.tmc-username-status.ok{color:#159447}.tmc-username-status.bad{color:#d74444}
.tmc-profile-editor .tmc-multiselect-control{min-height:40px;border-color:#dfe5ef;border-radius:9px;padding:7px 10px;font-size:11px;color:#596579}.tmc-profile-editor .tmc-multiselect-control>span{align-items:center}.tmc-profile-editor .tmc-multiselect-control em{font-size:9.5px;padding:4px 7px;background:#eef2ff;color:#0b2f73}.tmc-profile-editor .tmc-multiselect-menu{display:none!important;border-radius:10px;box-shadow:0 18px 45px rgba(24,36,65,.16)}.tmc-profile-editor .tmc-multiselect.open .tmc-multiselect-menu{display:block!important}.tmc-profile-editor .tmc-multiselect-menu>input{height:36px!important;min-height:36px!important;font-size:10.5px!important;margin:0 0 7px!important}
.tmc-date-field{position:relative}.tmc-date-field>i{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#7d8799;pointer-events:none}.tmc-profile-editor .tmc-date-field input{padding-right:34px;cursor:pointer}
.tmc-editor-actions{display:flex;align-items:center;gap:9px;padding:2px 0 8px}.tmc-editor-actions .btn{min-height:35px;height:35px;padding:0 14px;border-radius:8px;font-size:10.5px;font-weight:700}.tmc-editor-actions .btn-primary{box-shadow:0 5px 13px rgba(49,84,221,.16)}
.settings-panel>.row.between.center .btn{height:34px;min-height:34px;padding:0 13px;border-radius:8px;font-size:10px}
@media(max-width:760px){.tmc-editor-section{padding:14px}.tmc-editor-section-head>i{display:none}.tmc-editor-actions{position:sticky;bottom:0;background:#fff;padding:10px 0;z-index:5}.tmc-profile-editor .field input.tmc-prefixed-input{padding-right:10px}.tmc-username-status{position:static;display:block;transform:none;margin-top:5px}}

/* v25 profile multiselect, profile actions and notifications */
.tmc-profile-editor .tmc-multiselect{position:relative;z-index:auto}
.tmc-profile-editor .tmc-multiselect.open{z-index:140}
.tmc-profile-editor .tmc-multiselect-menu{padding:8px;max-height:300px;overflow:hidden}
.tmc-profile-editor .tmc-multiselect-options{max-height:220px;overflow-y:auto;padding:2px}
.tmc-profile-editor .tmc-multiselect-option{min-height:34px!important;height:auto!important;padding:7px 8px!important;margin:0!important;display:flex!important;align-items:center!important;gap:9px!important;border-radius:7px;font-size:11px!important;line-height:1.25!important}
.tmc-profile-editor .tmc-multiselect-option input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;max-width:15px!important;max-height:15px!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;flex:0 0 15px!important}
.tmc-profile-editor .tmc-multiselect-option span{display:block!important;margin:0!important;padding:0!important;line-height:1.25!important;font-size:11px!important;color:#263149}
.tmc-profile-editor .tmc-multiselect-menu>input[type="search"]{display:block!important;width:100%!important;height:36px!important;min-height:36px!important;padding:0 10px!important;margin:0 0 7px!important}
.tmc-profile-panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 13px}.tmc-profile-panel-head h2{font-size:19px;margin:0 0 3px}.tmc-profile-panel-head p{margin:0;color:var(--muted);font-size:11px}.tmc-profile-panel-head .btn{margin-left:auto;white-space:nowrap}

.tmc-notice-wrap{position:relative}.tmc-bell{border:0;background:transparent}.tmc-notification-dropdown{display:none;position:absolute;right:-54px;top:46px;width:390px;max-height:520px;background:#fff;border:1px solid #e6eaf2;border-radius:14px;box-shadow:0 18px 48px rgba(20,32,60,.16);z-index:180;overflow:hidden}.tmc-notification-dropdown.open{display:block}.tmc-notification-drop-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px 11px;border-bottom:1px solid #edf0f5}.tmc-notification-drop-head b{font-size:14px}.tmc-notification-drop-head small{display:block;color:#8a93a4;font-size:9.5px;margin-top:1px}.tmc-notification-drop-head a,.tmc-notification-drop-footer{font-size:10px;font-weight:700;color:#0b2f73}.tmc-notification-drop-list{max-height:390px;overflow:auto}.tmc-notification-mini{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:11px 13px;border-bottom:1px solid #f0f2f6;align-items:start}.tmc-notification-mini:hover{background:#f8faff}.tmc-notification-mini.unread{background:#f3f6ff}.tmc-notification-mini img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#edf1f7}.tmc-notification-mini b{display:block;font-size:10.5px;line-height:1.35}.tmc-notification-mini span{display:block;color:#667085;font-size:9.5px;line-height:1.4;margin-top:2px}.tmc-notification-mini small{display:block;color:#9aa2b1;font-size:8.5px;margin-top:4px}.tmc-notification-drop-footer{display:block;text-align:center;padding:11px;background:#fafbfe}.tmc-notification-empty{padding:34px 12px;text-align:center;color:#8892a4;font-size:10px}.tmc-notification-empty i{display:block;font-size:22px;margin-bottom:7px;color:#a4adbd}
.tmc-notifications-shell{max-width:980px}.tmc-notifications-card{padding:0;overflow:hidden}.tmc-notifications-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 16px}.tmc-notifications-top h1{font-size:24px;margin:0 0 4px}.tmc-notifications-top p{margin:0;color:var(--muted);font-size:11px}.tmc-notification-top-actions{display:flex;gap:8px}.tmc-notification-tabs{display:flex;gap:4px;padding:0 24px;border-bottom:1px solid var(--line)}.tmc-notification-tabs a{padding:10px 13px;font-size:11px;font-weight:700;color:#697386;border-bottom:2px solid transparent}.tmc-notification-tabs a.active{color:#0b2f73;border-color:#0b2f73}.tmc-notification-tabs span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;background:#eef2ff;border-radius:20px;font-size:9px;margin-left:4px}.tmc-notification-row{display:grid;grid-template-columns:48px 1fr 8px;gap:12px;align-items:center;padding:14px 24px;border-bottom:1px solid #f0f2f6}.tmc-notification-row:hover{background:#fafbfe}.tmc-notification-row.unread{background:#f5f7ff}.tmc-notification-avatar{width:46px;height:46px;position:relative}.tmc-notification-avatar img{width:46px;height:46px;border-radius:50%;object-fit:cover}.tmc-notification-avatar i{position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#0b2f73;color:#fff;font-size:8px;border:2px solid #fff}.tmc-notification-copy b{display:block;font-size:11.5px}.tmc-notification-copy>span{display:block;color:#667085;font-size:10.5px;margin-top:2px}.tmc-notification-copy small{display:block;color:#98a1b2;font-size:9px;margin-top:5px}.tmc-unread-dot{width:7px;height:7px;border-radius:50%;background:#0b2f73}.tmc-notification-page-empty{text-align:center;padding:65px 20px}.tmc-notification-page-empty i{font-size:30px;color:#8290aa}.tmc-notification-page-empty h3{margin:10px 0 4px}.tmc-notification-page-empty p{margin:0;color:var(--muted);font-size:11px}
.tmc-notification-settings .tmc-settings-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:17px;border-bottom:1px solid var(--line)}.tmc-notification-settings .tmc-settings-title h1{margin:0 0 4px}.tmc-notification-settings .tmc-settings-title p{margin:0;color:var(--muted);font-size:11px}.tmc-settings-title-icon{width:38px;height:38px;border-radius:10px;background:#f1f4ff;color:#0b2f73;display:grid;place-items:center}.tmc-notify-list{margin-top:4px}.tmc-notify-setting{display:grid;grid-template-columns:36px 1fr auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #eef1f5}.tmc-notify-setting-icon{width:34px;height:34px;border-radius:9px;background:#f6f8fc;color:#51617c;display:grid;place-items:center;font-size:12px}.tmc-notify-setting b{font-size:11px}.tmc-notify-setting p{margin:2px 0 0;font-size:9.5px;color:#7c8799}.tmc-notify-extra{margin-top:14px;border-top:1px solid var(--line)}.tmc-notify-setting select{height:34px;border:1px solid #dfe4ef;border-radius:8px;padding:0 28px 0 10px;font-size:10px;background:#fff}.tmc-notify-security-note{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px;border-radius:10px;background:#f6f8ff;color:#3e4c67}.tmc-notify-security-note>i{color:#0b2f73;margin-top:2px}.tmc-notify-security-note b{font-size:10.5px}.tmc-notify-security-note p{font-size:9.5px;color:#738096;margin:2px 0 0}.tmc-settings-actions{display:flex;justify-content:flex-end;margin-top:16px}.tmc-settings-actions .btn{min-height:34px;height:34px;padding:0 13px;font-size:10px;border-radius:8px}
@media(max-width:760px){.tmc-notification-dropdown{position:fixed;left:12px;right:12px;top:66px;width:auto}.tmc-notifications-top{flex-direction:column}.tmc-notification-top-actions{width:100%}.tmc-notification-row{padding:12px 14px}.tmc-profile-panel-head{align-items:flex-start}.tmc-profile-panel-head p{padding-right:8px}}

/* v26 - compact social friends grid */
.tmc-friends-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:2px 0 16px}.tmc-friends-toolbar h2{margin:0 0 3px;font-size:18px;line-height:1.25;color:#101828}.tmc-friends-toolbar h2 span{font-size:13px;font-weight:700;color:#667085}.tmc-friends-toolbar p{margin:0;color:#7b8496;font-size:12px}.tmc-friend-search{width:min(330px,100%);height:40px;border:1px solid #dfe4ee;border-radius:12px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 12px;box-shadow:0 1px 2px rgba(16,24,40,.03)}.tmc-friend-search:focus-within{border-color:#7d9bc9;box-shadow:0 0 0 3px rgba(69,75,255,.08)}.tmc-friend-search i{color:#8791a5;font-size:13px}.tmc-friend-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:13px;color:#111827}.tmc-friend-search input::placeholder{color:#98a2b3}.tmc-friends-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tmc-friend-card{min-width:0;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #e5e9f2;border-radius:15px;background:#fff;box-shadow:0 3px 12px rgba(16,24,40,.035);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.tmc-friend-card:hover{border-color:#d3daf0;box-shadow:0 7px 20px rgba(16,24,40,.07);transform:translateY(-1px)}.tmc-friend-avatar{width:64px;height:64px;border-radius:13px;overflow:hidden;background:#f1f4f9;display:block}.tmc-friend-avatar img{width:100%;height:100%;display:block;object-fit:cover}.tmc-friend-info{min-width:0;display:flex;flex-direction:column;gap:2px}.tmc-friend-name{font-size:14px;font-weight:800;color:#111827;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-friend-name:hover{color:#0b2f73}.tmc-friend-handle{font-size:11px;color:#8b94a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-friend-location{display:flex;align-items:center;gap:5px;font-size:11px;color:#687386;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.tmc-friend-location i{font-size:10px;color:#8993a5}.tmc-friend-actions{display:flex;align-items:center;gap:5px}.tmc-icon-btn{width:30px;height:30px;border:1px solid #e0e5ef;border-radius:9px;background:#fff;color:#505b70;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;font-size:12px;padding:0;transition:.18s ease}.tmc-icon-btn:hover{border-color:#bfc9e3;background:#f6f7ff;color:#0b2f73}.tmc-friends-no-results{padding:42px 20px;text-align:center;color:#7c8699;display:flex;flex-direction:column;align-items:center;gap:5px}.tmc-friends-no-results[hidden]{display:none}.tmc-friends-no-results i{font-size:26px;color:#a1a9ba;margin-bottom:3px}.tmc-friends-no-results b{color:#344054;font-size:14px}.tmc-friends-no-results span{font-size:12px}
@media(max-width:1100px){.tmc-friends-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.tmc-friends-toolbar{align-items:stretch;flex-direction:column}.tmc-friend-search{width:100%}.tmc-friends-grid{grid-template-columns:1fr}.tmc-friend-card{grid-template-columns:58px minmax(0,1fr) auto;padding:10px}.tmc-friend-avatar{width:58px;height:58px}}


/* TripMates v27: slim fixed friends rail + reliable notification badge */
.notice .count[hidden]{display:none!important}
.tmc-page-with-contacts{padding-right:226px!important}
.tmc-page-with-contacts>.tmc-contacts-rail{position:fixed!important;right:12px!important;top:76px!important;width:202px!important;height:calc(100vh - 88px)!important;padding:10px 9px!important;border-radius:16px!important;z-index:50!important}
.tmc-contacts-head{padding:6px 6px 9px!important}
.tmc-contact{gap:8px!important;padding:7px 6px!important;border-radius:10px!important}
.tmc-contact-avatar{width:34px!important;height:34px!important}
.tmc-contact b{font-size:11.5px!important}
.tmc-contact small{font-size:9.5px!important}
@media(max-width:1180px){.tmc-page-with-contacts{padding-right:0!important}.tmc-page-with-contacts>.tmc-contacts-rail{display:none!important}}


/* TripMates v28: true slim fixed friends rail without squeezing the profile */
@media(min-width:1181px){
  .tmc-page-with-contacts{padding-right:0!important;position:relative!important}
  .tmc-page-with-contacts>.tmc-profile-page{width:calc(100% - 188px)!important;max-width:1240px!important;margin-left:auto!important;margin-right:188px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail{position:fixed!important;right:10px!important;top:70px!important;bottom:10px!important;width:164px!important;height:auto!important;padding:8px 7px!important;border-radius:14px!important;z-index:90!important;background:#fff!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contacts-head{padding:5px 5px 8px!important;font-size:12px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contacts-head span{font-size:11px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list{height:calc(100% - 34px)!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact{gap:7px!important;padding:6px 5px!important;border-radius:9px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar{width:30px!important;height:30px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar i{width:8px!important;height:8px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact b{font-size:10.5px!important;line-height:1.2!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact small{font-size:8.5px!important;line-height:1.2!important}
}
@media(max-width:1180px){
  .tmc-page-with-contacts>.tmc-profile-page{width:auto!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important}
}

/* TripMates v29: consistent friends UI on profile + Friends page */
.tmc-friend-avatar{border-radius:50%!important;flex:0 0 auto}.tmc-friend-avatar img{border-radius:50%!important}
.tmc-friends-page-wrap{max-width:1180px}.tmc-friends-page-heading{margin-bottom:18px}.tmc-friends-page-heading h2{margin-bottom:3px}.tmc-friends-section{margin-top:18px}.tmc-friends-section+.tmc-friends-section{margin-top:24px}.tmc-friends-toolbar-simple{align-items:center}.tmc-compact-btn{height:36px!important;padding:0 13px!important;border-radius:10px!important;font-size:12px!important;display:inline-flex!important;align-items:center!important;gap:7px!important}
.tmc-friends-page .tmc-friends-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tmc-friends-page .tmc-friend-card{min-height:88px}.tmc-friends-page .tmc-friend-avatar{width:58px;height:58px}.tmc-friends-page .tmc-friend-name{font-size:13px}.tmc-friends-page .tmc-friend-actions{align-self:center}
@media(max-width:1100px){.tmc-friends-page .tmc-friends-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.tmc-friends-page .tmc-friends-grid{grid-template-columns:1fr}.tmc-friends-page-heading{align-items:flex-start;gap:12px}.tmc-friends-page .tmc-friend-card{grid-template-columns:52px minmax(0,1fr) auto}.tmc-friends-page .tmc-friend-avatar{width:52px;height:52px}}


/* TripMates v30: centered profile + online-only compact friends rail */
@media(min-width:1181px){
  .tmc-page-with-contacts{padding-right:0!important;position:relative!important}
  .tmc-page-with-contacts>.tmc-profile-page{
    width:calc(100% - 44px)!important;
    max-width:min(1240px,calc(100vw - 210px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail{
    position:fixed!important;
    top:74px!important;
    right:14px!important;
    bottom:14px!important;
    width:78px!important;
    height:auto!important;
    padding:10px 8px!important;
    border:1px solid #e5e9f2!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 8px 28px rgba(16,24,40,.06)!important;
    z-index:90!important;
    overflow:hidden!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contacts-head{display:none!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list{
    height:100%!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:11px!important;
    padding:1px 0!important;
    scrollbar-width:none!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list::-webkit-scrollbar{display:none!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact{
    width:60px!important;
    min-width:60px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    text-align:center!important;
    text-decoration:none!important;
    border-radius:12px!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact:hover{background:#f7f8fc!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar{
    position:relative!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:50%!important;
    overflow:visible!important;
    display:block!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar img{
    width:42px!important;
    height:42px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    display:block!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar i{
    position:absolute!important;
    right:-1px!important;
    bottom:1px!important;
    width:10px!important;
    height:10px!important;
    border-radius:50%!important;
    background:#18b867!important;
    border:2px solid #fff!important;
    box-sizing:border-box!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact>b{
    display:block!important;
    width:60px!important;
    max-width:60px!important;
    font-size:9px!important;
    line-height:1.15!important;
    font-weight:700!important;
    color:#283247!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact>span:not(.tmc-contact-avatar),
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact small{display:none!important}
}
@media(max-width:1180px){
  .tmc-page-with-contacts>.tmc-profile-page{width:min(var(--container),calc(100% - 44px))!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important}
  .tmc-page-with-contacts>.tmc-contacts-rail{display:none!important}
}


/* TripMates v31: resilient public-profile navigation */
.site-header{z-index:5000!important;pointer-events:auto!important}
.site-header .header-inner,.site-header .main-nav,.site-header .header-actions{pointer-events:auto!important}
.tmc-profile-tabs>a{appearance:none;border:0;background:transparent;color:#3b465c;text-decoration:none;font:inherit;font-weight:700;cursor:pointer;padding:13px 17px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.tmc-profile-tabs>a:hover{background:#f6f8fc;color:#0b2f73}
.tmc-profile-tabs>a.active{background:#eef2ff;color:#0b2f73}
.tmc-profile-content{position:relative;z-index:1}
.tmc-profile-hero{position:relative;z-index:1}
@media(max-width:760px){.tmc-profile-tabs>a{padding:11px 12px;font-size:11px}}


/* TripMates v33: stable dropdown layers on every profile */
.tmc-account-menu,.tmc-notification-dropdown,.tmc-profile-menu{pointer-events:auto!important}
.tmc-account-menu{z-index:7000!important}
.tmc-notification-dropdown{z-index:7000!important}
.tmc-profile-buttons{position:relative!important}
.tmc-profile-menu{z-index:3000!important}

/* v34 unified dropdown stability */
.tmc-account-menu-wrap,.tmc-notice-wrap,.tmc-profile-buttons{position:relative!important;overflow:visible!important}
.tmc-account-menu,.tmc-notification-dropdown,.tmc-profile-menu{visibility:hidden;opacity:0;pointer-events:none!important;transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease}
.tmc-account-menu.open,.tmc-notification-dropdown.open,.tmc-profile-menu.open{display:block!important;visibility:visible!important;opacity:1;pointer-events:auto!important;transform:translateY(0)}
.tmc-account-menu{z-index:10050!important}
.tmc-notification-dropdown{z-index:10040!important}
.tmc-profile-menu{z-index:10020!important;top:calc(100% + 8px)!important;right:0!important}
.site-header,.header-inner,.header-actions{overflow:visible!important}

/* TripMates v36: compact profile action menu anchored to the three-dot button */
.tmc-profile-more{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}
.tmc-profile-more .tmc-profile-menu{top:calc(100% + 7px)!important;right:0!important;left:auto!important;margin:0!important;transform:none!important}
.tmc-profile-menu.open{transform:none!important}

/* v36 scalable Facebook-style chat dock */
.tmc-chat-dock{right:18px;bottom:0;gap:10px;max-width:calc(100vw - 28px);align-items:flex-end;z-index:12000}
.tmc-chat-window{width:320px;height:410px;border-radius:14px 14px 0 0;box-shadow:0 16px 42px rgba(27,40,68,.22);transition:height .16s ease,transform .16s ease;background:#fff}
.tmc-chat-window.minimized{height:54px}
.tmc-chat-window.minimized .tmc-chat-messages,.tmc-chat-window.minimized .tmc-chat-input,.tmc-chat-window.minimized .tmc-chat-attachment-preview{display:none}
.tmc-chat-head{height:54px;box-sizing:border-box;padding:8px 10px;cursor:default}
.tmc-chat-head>a{display:flex;text-decoration:none;color:inherit}.tmc-chat-avatar-wrap{width:34px;height:34px;position:relative;display:block}.tmc-chat-avatar-wrap img{width:34px;height:34px;border-radius:50%;object-fit:cover}.tmc-chat-avatar-wrap i{position:absolute;right:-1px;bottom:0;width:9px;height:9px;background:#20b26b;border:2px solid #fff;border-radius:50%}
.tmc-chat-head>div{min-width:0}.tmc-chat-head b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-chat-head small{font-size:9px;color:#7b8496;margin-top:1px}.tmc-chat-head button{cursor:pointer;color:#59657b;display:grid;place-items:center;flex:0 0 auto}
.tmc-chat-messages{position:relative;padding:10px 10px 12px;background:#f6f8fc;scroll-behavior:auto}
.tmc-chat-load-old{display:block;margin:0 auto 8px;border:0;background:#e9edf5;color:#5c6680;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:700;cursor:pointer}.tmc-chat-load-old[hidden]{display:none}
.tmc-chat-message{display:flex;margin:5px 0}.tmc-chat-message.me{justify-content:flex-end}.tmc-chat-message.them{justify-content:flex-start}
.tmc-chat-bubble{max-width:82%;margin:0;padding:8px 10px;border-radius:14px 14px 14px 4px;background:#fff;border:1px solid #e1e6ef;color:#26324a;font-size:12px;line-height:1.42;word-break:break-word}
.tmc-chat-message.me .tmc-chat-bubble{background:#0b2f73;color:#fff;border-color:#0b2f73;border-radius:14px 14px 4px 14px}
.tmc-chat-bubble>small{display:block;font-size:8px;opacity:.68;text-align:right;margin-top:4px}.tmc-chat-text+small{margin-top:4px}
.tmc-chat-image{display:block;margin:2px 0 4px}.tmc-chat-image img{display:block;max-width:190px;max-height:170px;border-radius:9px;object-fit:cover}
.tmc-chat-file{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none;padding:5px 0}.tmc-chat-file>i{font-size:20px}.tmc-chat-file span{min-width:0}.tmc-chat-file b{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.tmc-chat-file small{display:block;text-align:left;margin-top:1px}
.tmc-chat-attachment-preview{padding:6px 10px;border-top:1px solid var(--line);background:#fff}.tmc-chat-attachment-preview>span{display:flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:28px}.tmc-chat-attachment-preview button{float:right;margin-top:-22px;border:0;background:#f0f2f7;width:22px;height:22px;border-radius:50%;cursor:pointer}
.tmc-chat-input{align-items:center;padding:8px 9px;gap:6px}.tmc-chat-input input[type=text]{height:34px;min-width:0;padding:7px 11px;background:#f6f8fb}.tmc-chat-attach,.tmc-chat-send{width:34px!important;height:34px!important;border-radius:50%!important;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}.tmc-chat-attach{background:#f1f3f8!important;color:#536079!important}.tmc-chat-send{background:var(--blue)!important;color:#fff!important}

/* v36 real messages page */
.tmc-messages-page{max-width:1120px}.tmc-messages-shell{min-height:calc(100vh - 120px);display:grid;grid-template-columns:360px 1fr;overflow:hidden}.tmc-message-sidebar{border-right:1px solid var(--line);background:#fff}.tmc-message-sidebar-head{padding:22px 20px 10px}.tmc-message-sidebar-head h1{margin:0;font-size:22px}.tmc-message-sidebar-head p{margin:4px 0 0;color:#7a8496;font-size:11px}.tmc-message-search{margin:7px 14px 12px;height:38px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#7c8597}.tmc-message-search input{border:0;outline:0;flex:1;min-width:0;font:inherit;font-size:11px}.tmc-message-list{max-height:calc(100vh - 235px);overflow-y:auto}.tmc-message-row{width:100%;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;border:0;background:transparent;padding:10px 14px;text-align:left;cursor:pointer}.tmc-message-row:hover,.tmc-message-row.unread{background:#f4f7ff}.tmc-message-row-avatar{position:relative;width:42px;height:42px}.tmc-message-row-avatar img{width:42px;height:42px;border-radius:50%;object-fit:cover}.tmc-message-row-avatar i{position:absolute;right:0;bottom:1px;width:9px;height:9px;border-radius:50%;background:#21b16a;border:2px solid #fff}.tmc-message-row-copy{min-width:0}.tmc-message-row-copy b{display:block;font-size:12px;color:#15213b}.tmc-message-row-copy small{display:block;margin-top:3px;color:#768095;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-message-row>em{font-style:normal;background:#0b2f73;color:#fff;min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:grid;place-items:center;font-size:9px;font-weight:800}.tmc-message-empty{text-align:center;padding:42px 22px;color:#748095}.tmc-message-empty i{display:block;font-size:28px;margin-bottom:10px}.tmc-message-empty b,.tmc-message-empty span{display:block}.tmc-message-empty span{font-size:10px;margin-top:5px}.tmc-message-welcome{display:grid;place-items:center;align-content:center;text-align:center;padding:50px;color:#67738a}.tmc-message-welcome>i{font-size:46px;color:#0b2f73}.tmc-message-welcome h2{color:#18243e;margin:14px 0 6px}.tmc-message-welcome p{max-width:480px;font-size:12px;line-height:1.65}.tmc-message-welcome .btn{margin-top:10px}

@media(max-width:900px){.tmc-messages-shell{grid-template-columns:1fr}.tmc-message-welcome{display:none}.tmc-message-sidebar{border-right:0}.tmc-chat-dock{right:8px}.tmc-chat-window{width:min(320px,calc(100vw - 16px))}.tmc-chat-window:not(:last-child){display:none}}


/* v38: chat launchers stay on the current page and open the bottom-right chat window */
button.tmc-contact{
  border:0;
  background:transparent;
  width:100%;
  font:inherit;
  color:inherit;
  text-align:left;
  cursor:pointer;
  padding:0;
}
button.tmc-icon-btn{
  font:inherit;
  cursor:pointer;
}


/* TripMates v43: online-friends rail interaction containment */
@media (min-width:1181px){
  .tmc-page-with-contacts>.tmc-contacts-rail{
    pointer-events:none!important;
    isolation:isolate!important;
    contain:layout paint!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list,
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact{
    pointer-events:auto!important;
  }
}


/* TripMates v51: brand-blue UI, readable compact typography, friends/notification/profile polish */
:root{
  --blue:#0b2f73;
  --blue-2:#164a9c;
  --purple:#0b2f73;
  --purple-2:#1b5ca8;
  --tmc-brand-blue:#0b2f73;
  --tmc-brand-blue-hover:#08265f;
  --tmc-brand-blue-soft:#eef4ff;
  --tmc-brand-blue-line:#cddaf0;
}

/* Primary interactive language: logo blue, not purple. */
.btn{font-weight:600}
.btn-primary{background:var(--tmc-brand-blue);border-color:var(--tmc-brand-blue);box-shadow:0 4px 12px rgba(11,47,115,.16)}
.btn-primary:hover{background:var(--tmc-brand-blue-hover);border-color:var(--tmc-brand-blue-hover);box-shadow:0 7px 18px rgba(11,47,115,.18)}
.btn-soft,.icon-circle,.badge{background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue)}
.link-blue,.main-nav a.active,.main-nav a:hover{color:var(--tmc-brand-blue)}
.main-nav{font-weight:600}
.main-nav a.active:after{background:var(--tmc-brand-blue)}
.settings-link{font-weight:600}
.settings-link.active,.settings-link:hover{background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue)}
.tmc-profile-tabs>a{font-weight:600}
.tmc-profile-tabs>a:hover,.tmc-profile-tabs>a.active{background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue)}
.tmc-icon-btn:hover{border-color:var(--tmc-brand-blue-line);background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue)}
.tmc-friend-name{font-weight:600}.tmc-friend-name:hover{color:var(--tmc-brand-blue)}
.tmc-profile-tags{margin-top:13px;row-gap:8px}
.tmc-profile-tags span{background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue);font-weight:600}
.tmc-profile-tags a{color:var(--tmc-brand-blue);font-weight:600}
.tmc-profile-headline{font-weight:600}

/* Gender belongs with profile metadata, with a clear icon on owner and public traveller profiles. */
.tmc-profile-meta .tmc-profile-gender{display:inline-flex;align-items:center;gap:5px;margin:0;color:#788297;font-size:11px;font-weight:500}
.tmc-profile-meta .tmc-profile-gender i{margin-right:0}
.tmc-profile-meta .tmc-profile-gender i.fa-mars{color:var(--tmc-brand-blue)}
.tmc-profile-meta .tmc-profile-gender i.fa-venus{color:#c84f83}

/* Friends page: one aligned search/actions row on desktop. */
.tmc-friends-page-heading{align-items:flex-start;gap:18px}
.tmc-friends-header-tools{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto}
.tmc-friends-header-tools .tmc-friend-search{width:330px;height:40px;margin:0}
.tmc-friends-header-tools .tmc-compact-btn{height:40px!important;min-height:40px!important;margin:0;white-space:nowrap;font-weight:600!important}
.tmc-friend-search:focus-within{border-color:var(--tmc-brand-blue);box-shadow:0 0 0 3px rgba(11,47,115,.09)}
.tmc-friend-search input{font-size:13px;font-weight:400}
.tmc-friends-page-heading h2 span,.tmc-friends-toolbar h2 span{font-weight:500}

/* Small text should stay readable rather than looking artificially bold. */
.field label{font-weight:600}
.tmc-account-menu a{font-weight:500}
.tmc-account-menu-head b{font-weight:600}
.tmc-compact-btn,.btn-sm{font-weight:600}
.tmc-friend-handle,.tmc-friend-location{font-weight:400}

/* Edit Profile / Settings readability after switching to Segoe UI. */
.settings-panel{font-size:14px}
.settings-panel h1{font-size:27px;line-height:1.2}
.settings-panel>.row.between.center p{font-size:13px;line-height:1.5}
.settings-panel>.row.between.center .btn{font-size:12px;font-weight:600}
.tmc-editor-section{padding:19px 20px 20px}
.tmc-editor-section-head h3{font-size:16px;font-weight:600}
.tmc-editor-section-head p{font-size:12.5px;line-height:1.45}
.tmc-editor-section-head>i{background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue)}
.tmc-profile-editor .field label{font-size:13px;font-weight:600;margin-bottom:7px}
.tmc-profile-editor .field input,.tmc-profile-editor .field select,.tmc-profile-editor .field textarea,.tmc-profile-editor .tmc-multiselect-control{font-size:13px;font-weight:400}
.tmc-profile-settings-form .field small{font-size:11.5px;line-height:1.45}
.tmc-editor-actions .btn{font-size:12.5px;font-weight:600}
.tmc-settings-media>p{font-size:12px}

/* Notifications: latest 10 in dropdown, larger readable type, exact unread badge count. */
.notice .count{width:auto;min-width:18px;height:18px;padding:0 4px;right:-2px;top:-2px;font-size:9.5px;font-weight:700;line-height:14px}
.tmc-notification-dropdown{width:400px}
.tmc-notification-drop-head b{font-size:15px;font-weight:600}
.tmc-notification-drop-head small{font-size:11px}
.tmc-notification-drop-head a,.tmc-notification-drop-footer{font-size:11.5px;font-weight:600;color:var(--tmc-brand-blue)}
.tmc-notification-mini{grid-template-columns:40px 1fr;gap:11px;padding:11px 14px}
.tmc-notification-mini img{width:40px;height:40px}
.tmc-notification-mini b{font-size:12.5px;font-weight:600;line-height:1.35}
.tmc-notification-mini span{font-size:11.5px;line-height:1.4}
.tmc-notification-mini small{font-size:10.5px;margin-top:4px}
.tmc-notification-mini.unread{background:#f3f7ff}
.tmc-notification-tabs a{font-size:12px;font-weight:600}
.tmc-notification-tabs a.active{color:var(--tmc-brand-blue);border-color:var(--tmc-brand-blue)}
.tmc-notification-tabs span{background:var(--tmc-brand-blue-soft);font-weight:600}
.tmc-notification-avatar i,.tmc-unread-dot{background:var(--tmc-brand-blue)}
.tmc-notification-copy b{font-size:13.5px;font-weight:600}
.tmc-notification-copy>span{font-size:12.5px;line-height:1.45}
.tmc-notification-copy small{font-size:11px}
.tmc-notifications-top p{font-size:12.5px}
.tmc-settings-title-icon{background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue)}
.tmc-notification-settings .tmc-settings-title p{font-size:12.5px}
.tmc-notify-setting b{font-size:13px;font-weight:600}
.tmc-notify-setting p{font-size:11.5px;line-height:1.4}
.tmc-notify-setting select{font-size:12px}
.tmc-notify-security-note>i{color:var(--tmc-brand-blue)}
.tmc-notify-security-note b{font-size:12.5px;font-weight:600}
.tmc-notify-security-note p{font-size:11.5px}
.tmc-settings-actions .btn{font-size:12.5px;font-weight:600}

@media(max-width:760px){
  .tmc-friends-page-heading{flex-direction:column;align-items:stretch}
  .tmc-friends-header-tools{width:100%;margin-left:0;flex-wrap:wrap;justify-content:stretch}
  .tmc-friends-header-tools .tmc-friend-search{width:100%;flex:1 1 100%}
  .tmc-friends-header-tools .tmc-compact-btn{width:max-content}
  .tmc-notification-dropdown{width:auto}
}

/* TripMates v52: content-height online rail + compact four-column traveller directory */
@media (min-width:1181px){
  .tmc-page-with-contacts>.tmc-contacts-rail{
    top:78px!important;
    right:12px!important;
    bottom:auto!important;
    width:92px!important;
    height:auto!important;
    max-height:calc(100vh - 92px)!important;
    padding:9px 7px 8px!important;
    border-radius:16px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    pointer-events:auto!important;
    contain:layout paint!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contacts-head.tmc-online-head{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:2px 2px 8px!important;
    min-height:22px!important;
    flex:0 0 auto!important;
    border:0!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-online-head b{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    color:#44506a!important;
    font-size:10px!important;
    line-height:1.2!important;
    font-weight:600!important;
    white-space:nowrap!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-online-head b>i{
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:#19b968!important;
    display:block!important;
    flex:0 0 auto!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list{
    height:auto!important;
    max-height:calc(100vh - 148px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    flex:0 1 auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:9px!important;
    padding:2px 1px 4px!important;
    scrollbar-width:thin!important;
    scrollbar-color:#ccd4e2 transparent!important;
    pointer-events:auto!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list::-webkit-scrollbar{display:block!important;width:4px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list::-webkit-scrollbar-track{background:transparent!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-list::-webkit-scrollbar-thumb{background:#ccd4e2!important;border-radius:999px!important}
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact{
    width:72px!important;
    min-width:72px!important;
    gap:4px!important;
    padding:3px 2px!important;
    border-radius:11px!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar,
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar img{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact-avatar i{
    width:10px!important;
    height:10px!important;
    right:-1px!important;
    bottom:0!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-contact>b{
    width:70px!important;
    max-width:70px!important;
    min-height:22px!important;
    font-size:9.5px!important;
    line-height:1.15!important;
    font-weight:600!important;
    color:#283247!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    text-align:center!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-online-view-all{
    display:block!important;
    padding:7px 2px 2px!important;
    color:var(--tmc-brand-blue)!important;
    font-size:9.5px!important;
    font-weight:500!important;
    text-align:center!important;
    text-decoration:none!important;
    flex:0 0 auto!important;
    pointer-events:auto!important;
  }
  .tmc-page-with-contacts>.tmc-contacts-rail .tmc-online-view-all:hover{text-decoration:underline!important}
}

/* Find Travel Mates: smaller social cards, four per row on desktop. */
.tmc-traveller-grid.tmc-traveller-grid-compact{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.tmc-traveller-card-compact{
  min-width:0;
  min-height:228px;
  padding:20px 14px 18px;
  overflow:visible;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  border-radius:16px;
  box-shadow:0 4px 16px rgba(16,24,40,.04);
}
.tmc-traveller-card-compact .tmc-traveller-avatar{
  position:relative;
  left:auto;
  top:auto;
  transform:none;
  width:72px;
  height:72px;
  padding:3px;
  border:0;
  border-radius:50%;
  overflow:hidden;
  background:conic-gradient(#e84682,#ff8b35,#315bdc,#8744df,#e84682);
  box-shadow:none;
  flex:0 0 auto;
}
.tmc-traveller-card-compact .tmc-traveller-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border:3px solid #fff;
  border-radius:50%;
}
.tmc-traveller-card-compact .tmc-traveller-body{
  width:100%;
  padding:10px 0 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
}
.tmc-traveller-card-compact .tmc-traveller-body h3{
  margin:0;
  font-size:15px;
  line-height:1.25;
  font-weight:600;
  color:#111827;
  max-width:100%;
}
.tmc-traveller-card-compact .tmc-traveller-body h3 a{color:inherit;text-decoration:none}
.tmc-traveller-card-compact .tmc-traveller-handle{
  margin:5px 0 0;
  font-size:10.5px;
  line-height:1.3;
  color:#7a8497;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
.tmc-traveller-card-compact .tmc-traveller-summary{
  min-height:34px;
  margin:8px 0 0;
  color:#657087;
  font-size:11.5px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tmc-traveller-card-compact .tmc-traveller-actions{
  width:100%;
  margin-top:auto;
  padding-top:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex-wrap:nowrap;
}
.tmc-traveller-card-compact .tmc-directory-action{
  min-height:32px;
  height:32px;
  padding:0 10px;
  border-radius:8px;
  font-size:11px;
  font-weight:500;
  white-space:nowrap;
  box-shadow:none;
}
.tmc-traveller-card-compact .tmc-directory-action i{font-size:10px}
.tmc-traveller-card-compact .friend-request-btn.accepted{background:#effaf5;border-color:#bfe8d4;color:#087a4b}
.tmc-traveller-card-compact .friend-request-btn.requested{background:#f6f8fb;border-color:#dfe5ee;color:#667085}

@media(max-width:1250px){
  .tmc-traveller-grid.tmc-traveller-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .tmc-traveller-grid.tmc-traveller-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .tmc-traveller-grid.tmc-traveller-grid-compact{grid-template-columns:1fr}
  .tmc-traveller-card-compact{min-height:214px}
}

/* =========================
   v54 Messaging polish
   ========================= */
.tmc-messages-route .tmc-chat-dock{display:none!important}

/* Compact bottom-right chat: slightly larger, easier-to-read text. */
.tmc-chat-head b{font-size:13px;font-weight:600}
.tmc-chat-head small{font-size:10.5px}
.tmc-chat-avatar-wrap.offline i{background:#aab3c2}
.tmc-chat-bubble{font-size:13px;line-height:1.48;padding:9px 11px}
.tmc-chat-bubble>small{font-size:9.5px;margin-top:5px}
.tmc-chat-input{position:relative;padding:8px 9px;gap:6px}
.tmc-chat-input-wrap{position:relative;flex:1;min-width:0}
.tmc-chat-input-wrap input[type=text]{width:100%;height:36px;min-width:0;padding:8px 12px!important;font-size:13px!important;line-height:1.3;background:#f6f8fb;border:1px solid #dbe2ec;border-radius:18px;outline:0}
.tmc-chat-input-wrap input[type=text]:focus{border-color:#2450b7;box-shadow:0 0 0 2px rgba(36,80,183,.10)}
.tmc-chat-emoji,.tmc-chat-attach,.tmc-chat-send{width:34px!important;height:34px!important;border-radius:50%!important;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}
.tmc-chat-emoji,.tmc-chat-attach{background:#f1f3f8!important;color:#536079!important}
.tmc-chat-emoji:hover,.tmc-chat-attach:hover{background:#e8edf5!important;color:#2450b7!important}
.tmc-chat-send{background:#2450b7!important;color:#fff!important}
.tmc-emoji-picker{position:absolute;left:0;bottom:43px;width:224px;padding:8px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#fff;border:1px solid #dfe5ee;border-radius:12px;box-shadow:0 14px 38px rgba(24,36,62,.18);z-index:30}
.tmc-emoji-picker[hidden]{display:none!important}
.tmc-emoji-picker button{height:38px;border:0;background:transparent;border-radius:8px;font-size:21px;cursor:pointer;line-height:1}
.tmc-emoji-picker button:hover{background:#f2f5fa}

/* Full Messages page. */
.tmc-messages-page{max-width:1180px}
.tmc-messages-shell{height:calc(100vh - 112px);min-height:620px;grid-template-columns:350px minmax(0,1fr)}
.tmc-message-stage{min-width:0;height:100%;background:#fff}
.tmc-message-welcome{height:100%;box-sizing:border-box}
.tmc-message-conversation{height:100%;display:flex;flex-direction:column;min-width:0;background:#fff}
.tmc-message-conversation[hidden]{display:none!important}
.tmc-message-conversation-head{height:68px;flex:0 0 68px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 18px;border-bottom:1px solid var(--line);background:#fff}
.tmc-message-peer{display:flex;align-items:center;gap:11px;min-width:0;text-decoration:none;color:inherit}
.tmc-message-peer-avatar{position:relative;width:42px;height:42px;flex:0 0 42px}
.tmc-message-peer-avatar img{width:42px;height:42px;border-radius:50%;object-fit:cover;display:block}
.tmc-message-peer-avatar i{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;background:#20b26b;border:2px solid #fff}
.tmc-message-peer-avatar i[hidden]{display:none!important}
.tmc-message-peer>span:last-child{min-width:0}
.tmc-message-peer b{display:block;font-size:14px;font-weight:600;color:#13203a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-message-peer small{display:block;margin-top:2px;font-size:11px;color:#7a8497}
.tmc-message-profile-btn{height:36px;padding:0 12px;border:1px solid #dbe2ec;border-radius:9px;display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#26334e;font-size:12px;font-weight:500;background:#fff}
.tmc-message-profile-btn:hover{border-color:#2450b7;color:#2450b7;background:#f7f9ff}
.tmc-message-thread{position:relative;flex:1;min-height:0;overflow-y:auto;padding:18px 22px;background:#f7f9fc;scroll-behavior:auto}
.tmc-message-thread .tmc-chat-message{margin:7px 0}
.tmc-message-thread .tmc-chat-bubble{max-width:68%;font-size:14px;line-height:1.5;padding:10px 13px;border-radius:16px 16px 16px 5px}
.tmc-message-thread .tmc-chat-message.me .tmc-chat-bubble{border-radius:16px 16px 5px 16px}
.tmc-message-thread .tmc-chat-image img{max-width:300px;max-height:260px}
.tmc-message-thread .tmc-chat-file b{font-size:12px;max-width:260px}
.tmc-message-thread .tmc-chat-bubble>small{font-size:10px;margin-top:5px}
.tmc-message-load-old{display:block;margin:0 auto 12px;border:0;background:#e9eef6;color:#536079;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:500;cursor:pointer}
.tmc-message-load-old[hidden]{display:none!important}
.tmc-message-attachment-preview{flex:0 0 auto;padding:7px 16px;border-top:1px solid var(--line);background:#fff}
.tmc-message-attachment-preview[hidden]{display:none!important}
.tmc-message-attachment-preview>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#4b5870;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:30px}
.tmc-message-attachment-preview button{float:right;margin-top:-24px;border:0;background:#f1f3f7;width:24px;height:24px;border-radius:50%;cursor:pointer;color:#526079}
.tmc-message-composer{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:11px 14px;border-top:1px solid var(--line);background:#fff}
.tmc-message-tool,.tmc-message-send{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:0 0 auto;font-size:14px}
.tmc-message-tool{background:#f0f3f8;color:#526079}
.tmc-message-tool:hover{background:#e7edf5;color:#2450b7}
.tmc-message-send{background:#2450b7;color:#fff}
.tmc-message-input-wrap{position:relative;flex:1;min-width:0}
.tmc-message-input-wrap input{width:100%;height:40px;border:1px solid #dbe2ec;border-radius:20px;padding:9px 14px;font-size:14px;line-height:1.35;outline:0;background:#f7f9fc;color:#17233c}
.tmc-message-input-wrap input:focus{background:#fff;border-color:#2450b7;box-shadow:0 0 0 2px rgba(36,80,183,.10)}
.tmc-full-emoji-picker{left:0;bottom:48px;width:246px;grid-template-columns:repeat(4,1fr)}
.tmc-message-row.active{background:#eef3ff}
.tmc-message-row:hover{background:#f5f7fb}
.tmc-message-row.unread:not(.active){background:#f7f9ff}
.tmc-message-row-avatar i{background:#20b26b}
.tmc-message-row-copy b{font-size:13px;font-weight:600}
.tmc-message-row-copy small{font-size:11px}
.tmc-message-search input{font-size:12px}

@media(max-width:900px){
  .tmc-messages-shell{height:auto;min-height:calc(100vh - 95px);grid-template-columns:1fr}
  .tmc-message-sidebar{min-height:calc(100vh - 95px)}
  .tmc-message-stage{display:none}
  .tmc-messages-route.has-open-message .tmc-message-sidebar{display:none}
  .tmc-messages-route.has-open-message .tmc-message-stage{display:block;min-height:calc(100vh - 95px)}
  .tmc-message-conversation{min-height:calc(100vh - 95px)}
  .tmc-message-thread{padding:14px 12px}
  .tmc-message-thread .tmc-chat-bubble{max-width:84%}
  .tmc-message-profile-btn span{display:none}
}
.tmc-message-back{display:none;width:36px;height:36px;border:0;border-radius:50%;background:#f0f3f8;color:#33415e;cursor:pointer;place-items:center;flex:0 0 36px}
@media(max-width:900px){.tmc-message-back{display:grid}.tmc-message-conversation-head{padding-left:10px}.tmc-message-peer{flex:1}}

/* =========================
   v55 Friendship safety, profile badge, emoji picker and UI polish
   ========================= */

/* Friends / Request Sent are status indicators, never destructive actions. */
.friend-request-btn.is-static:disabled,
.tmc-directory-action.friend-request-btn.is-static:disabled{
  opacity:1!important;
  cursor:default!important;
  pointer-events:none!important;
  transform:none!important;
  box-shadow:none!important;
}
.friend-request-btn.accepted.is-static:disabled{background:#effaf5;border-color:#bfe8d4;color:#087a4b}
.friend-request-btn.requested.is-static:disabled{background:#f6f8fb;border-color:#dfe5ee;color:#667085}
.tmc-profile-menu [data-profile-unfriend]{color:#b42332}
.tmc-profile-menu [data-profile-unfriend] i{color:#b42332}

/* Header avatar: Facebook-like compact control with TripMates multicolour travel ring. */
.tmc-account-avatar-wrap{
  padding:2px;
  box-sizing:border-box;
  background:conic-gradient(from 210deg,#1557f5 0 22%,#7b46f6 22% 46%,#ef3f95 46% 68%,#ff7a1a 68% 88%,#1557f5 88% 100%);
  box-shadow:0 2px 9px rgba(24,39,75,.13);
}
.tmc-account-trigger .tmc-account-avatar-wrap>.avatar{
  width:100%;height:100%;display:block;box-sizing:border-box;
  border:2px solid #fff!important;padding:0!important;box-shadow:none!important;background:#edf2f8;
}

/* Settings navigation: keep separate rounded rows instead of visually stuck links. */
.settings-menu{padding:14px}
.settings-link{margin:0 0 6px!important}
.settings-link:last-child{margin-bottom:0!important}
.settings-link.active,.settings-link:hover{box-shadow:inset 0 0 0 1px rgba(11,47,115,.025)}

/* WhatsApp-style richer emoji picker shared by small and full chat. */
.tmc-emoji-picker{
  width:320px!important;
  max-width:min(320px,calc(100vw - 28px));
  padding:0!important;
  display:block!important;
  overflow:hidden;
  border-radius:14px;
  background:#fff;
}
.tmc-emoji-picker[hidden]{display:none!important}
.tmc-emoji-tabs{height:42px;display:grid;grid-template-columns:repeat(7,1fr);align-items:center;border-bottom:1px solid #edf0f4;padding:0 6px;background:#fff}
.tmc-emoji-tabs button{height:42px!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:19px!important;padding:0!important;position:relative;color:#687287}
.tmc-emoji-tabs button.active:after{content:"";position:absolute;left:7px;right:7px;bottom:0;height:3px;background:#18a957;border-radius:3px 3px 0 0}
.tmc-emoji-search{height:40px;margin:8px 9px 4px;border:1px solid #dfe5ee;border-radius:20px;display:flex;align-items:center;gap:8px;padding:0 12px;color:#798396;background:#f8f9fb}
.tmc-emoji-search:focus-within{border-color:#18a957;box-shadow:0 0 0 2px rgba(24,169,87,.08);background:#fff}
.tmc-emoji-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;font:inherit!important;font-size:12.5px!important;padding:0!important;height:auto!important;box-shadow:none!important}
.tmc-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:1px;max-height:236px;overflow-y:auto;padding:7px 8px 10px;scrollbar-width:thin}
.tmc-emoji-grid::-webkit-scrollbar{width:5px}.tmc-emoji-grid::-webkit-scrollbar-thumb{background:#ccd4df;border-radius:99px}
.tmc-emoji-grid button{height:36px!important;min-width:0;border:0!important;background:transparent!important;border-radius:7px!important;font-size:23px!important;line-height:1!important;padding:0!important;cursor:pointer}
.tmc-emoji-grid button:hover{background:#f0f3f6!important;transform:scale(1.06)}
.tmc-full-emoji-picker{width:336px!important;bottom:50px!important}

/* Restore the earlier colourful decorative surfaces outside profile controls. */
.gradient-text{background:linear-gradient(90deg,#1557f5,#b45cf1);-webkit-background-clip:text;background-clip:text;color:transparent}
.home-cta{background:linear-gradient(145deg,#6a78ff,#b35df2)!important}
.newsletter-card{background:linear-gradient(145deg,#6d79ff,#b45af0)!important}
.profile-progress .progress-line span{background:linear-gradient(90deg,#8b3df5,#3a59f8)!important}
.story-ring{background:linear-gradient(135deg,#ff603b,#df2fa3,#4335ff)!important}
.tmc-story span{background:linear-gradient(145deg,#f14687,#4335ff)!important}

@media(max-width:560px){
  .tmc-emoji-picker,.tmc-full-emoji-picker{width:min(312px,calc(100vw - 22px))!important}
  .tmc-emoji-grid{grid-template-columns:repeat(7,1fr)}
}
\n\n/* =========================\n   v57 Facebook-style compact chat sizing\n   ========================= */\n/* Wider compact chat so the composer and emoji panel never feel cramped. */\n.tmc-chat-window{width:370px;height:430px}\n.tmc-chat-input{position:relative;padding:8px 10px;gap:7px;overflow:visible}\n.tmc-chat-input-wrap{flex:1;min-width:0}\n.tmc-chat-input-wrap input[type=text]{height:38px!important;font-size:14px!important;padding:9px 13px!important;border-radius:20px}\n.tmc-chat-emoji,.tmc-chat-attach,.tmc-chat-send{width:36px!important;height:36px!important;font-size:14px}\n.tmc-chat-send.tmc-chat-quick-action{background:transparent!important;color:#2450b7!important;font-size:18px;box-shadow:none!important}\n.tmc-chat-send.tmc-chat-quick-action:hover{background:#eef3ff!important}\n.tmc-chat-send.tmc-chat-quick-action.is-send{background:#2450b7!important;color:#fff!important;font-size:14px}\n\n/* Picker is positioned against the whole composer, not the narrow text field. */\n.tmc-chat-input>.tmc-emoji-picker{\n  left:8px!important;\n  right:8px!important;\n  bottom:52px!important;\n  width:auto!important;\n  max-width:none!important;\n  box-sizing:border-box;\n}\n.tmc-chat-input>.tmc-emoji-picker .tmc-emoji-grid{grid-template-columns:repeat(8,minmax(0,1fr))}\n\n@media(max-width:900px){\n  .tmc-chat-window{width:min(370px,calc(100vw - 16px));height:min(430px,calc(100vh - 20px))}\n}\n@media(max-width:430px){\n  .tmc-chat-input>.tmc-emoji-picker{left:6px!important;right:6px!important}\n  .tmc-chat-input>.tmc-emoji-picker .tmc-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}\n}\n

/* =========================
   v59 Followers / Following popup
   ========================= */
.tmc-profile-stats>button.tmc-profile-stat-action{
  appearance:none;border:0;border-right:1px solid var(--line);background:transparent;padding:0;
  color:inherit;font:inherit;text-align:center;cursor:pointer;min-width:0;
}
.tmc-profile-stats>button.tmc-profile-stat-action b{display:block;font-size:22px;line-height:1.15;color:#101828}
.tmc-profile-stats>button.tmc-profile-stat-action span{display:block;color:#707a8e;font-size:11px;margin-top:3px}
.tmc-profile-stats>button.tmc-profile-stat-action:hover{background:#f7f9ff}
.tmc-profile-stats>button.tmc-profile-stat-action:hover b,.tmc-profile-stats>button.tmc-profile-stat-action:hover span{color:#0b2f73}

.tmc-connections-modal[hidden]{display:none!important}
.tmc-connections-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:18px}
.tmc-connections-backdrop{position:absolute;inset:0;background:rgba(12,20,38,.48);backdrop-filter:blur(2px)}
.tmc-connections-dialog{position:relative;width:min(720px,calc(100vw - 28px));max-height:min(720px,calc(100vh - 36px));display:flex;flex-direction:column;background:#fff;border:1px solid #e1e7f0;border-radius:18px;box-shadow:0 28px 80px rgba(16,24,40,.24);overflow:hidden}
.tmc-connections-dialog-head{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;border-bottom:1px solid #edf0f5;background:#fff}
.tmc-connections-dialog-head h3{margin:0;font-size:19px;line-height:1.2;color:#111827;font-weight:700}
.tmc-connections-dialog-head span{display:block;margin-top:3px;color:#7b8496;font-size:12px}
.tmc-connections-close{width:36px;height:36px;border:0;border-radius:50%;background:#f1f4f8;color:#536079;display:grid;place-items:center;cursor:pointer;font-size:15px}
.tmc-connections-close:hover{background:#e8edf5;color:#0b2f73}
.tmc-connections-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#fbfcfe}
.tmc-connection-card{min-width:0;display:grid;grid-template-columns:50px minmax(0,1fr) 36px;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e5e9f2;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(16,24,40,.03)}
.tmc-connection-avatar{width:50px;height:50px;border-radius:50%;overflow:hidden;display:block;background:#eef2f7}
.tmc-connection-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.tmc-connection-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.tmc-connection-copy>a{font-size:13.5px;font-weight:650;color:#111827;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-connection-copy>a:hover{color:#0b2f73}
.tmc-connection-copy>span{font-size:11px;color:#7b8496;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-connection-action{display:flex;justify-content:flex-end}
.tmc-connection-status,.tmc-connection-add{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:12px}
.tmc-connection-status{border:1px solid #e0e6ef;background:#f7f9fc;color:#687386}
.tmc-connection-status.friend{border-color:#bce6d2;background:#effaf5;color:#07824f}
.tmc-connection-status.pending{color:#7b8496;background:#f5f7fa}
.tmc-connection-add{border:1px solid #d8e1f1;background:#fff;color:#0b2f73;cursor:pointer}
.tmc-connection-add:hover{border-color:#0b2f73;background:#f2f6ff}
.tmc-connection-add:disabled{opacity:.55;cursor:wait}
.tmc-connections-loading,.tmc-connections-empty{grid-column:1/-1;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#7a8496;text-align:center}
.tmc-connections-loading i,.tmc-connections-empty i{font-size:24px;color:#9aa5b8}
.tmc-connections-empty b{font-size:13px;color:#344054}
.tmc-connections-empty.error i{color:#c2414f}
@media(max-width:640px){
  .tmc-connections-dialog{width:min(520px,calc(100vw - 18px));max-height:calc(100vh - 18px)}
  .tmc-connections-list{grid-template-columns:1fr;padding:10px}
  .tmc-connection-card{grid-template-columns:46px minmax(0,1fr) 34px}
  .tmc-connection-avatar{width:46px;height:46px}
}

/* =========================
   v60 chat receipt spacing
   ========================= */
.tmc-chat-receipt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:5px;
  vertical-align:middle;
  line-height:1;
}
.tmc-chat-receipt i{display:block;line-height:1}


/* =========================
   v61 Profile stat trigger visual reset
   ========================= */
.tmc-profile-stats>div.tmc-profile-stat-action{
  cursor:pointer;
  background:transparent;
  outline:0;
}
.tmc-profile-stats>div.tmc-profile-stat-action:hover{background:#f7f9ff}
.tmc-profile-stats>div.tmc-profile-stat-action:hover b,
.tmc-profile-stats>div.tmc-profile-stat-action:hover span{color:#0b2f73}
.tmc-profile-stats>div.tmc-profile-stat-action:focus-visible{
  outline:2px solid rgba(11,47,115,.22);
  outline-offset:-2px;
}

/* ===== Feed / Posts live system ===== */
.tmc-composer-tools>a,.tmc-composer-tools>button{border:0;background:transparent;border-radius:9px;padding:8px;color:#3e4962;font-weight:600;text-decoration:none;text-align:center;font-size:13px}
.tmc-composer-tools>a:hover,.tmc-composer-tools>button:hover{background:#f5f7fb}
.tmc-post-author{color:inherit;text-decoration:none}.tmc-post-author:hover{color:var(--blue)}
.tmc-post-copy{font-size:14px;line-height:1.6;color:#222d43;margin:13px 0;overflow-wrap:anywhere}
.tmc-post-head small i{margin-right:3px}
.tmc-post-video{position:relative;width:100%;aspect-ratio:16/9;border-radius:15px;overflow:hidden;background:#0d1320;margin-top:10px}.tmc-post-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.tmc-post-summary>span:first-child i{width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#0b2f73;color:#fff;font-size:10px;margin-right:3px}
.tmc-post-comments{display:none;border-top:1px solid var(--line);padding-top:9px;margin-top:2px}.tmc-post-comments.has-comments{display:block}
.tmc-post-comment-row{display:flex;gap:9px;margin:8px 0}.tmc-post-comment-row>a{flex:0 0 auto}.tmc-post-comment-row img{width:32px;height:32px;border-radius:50%;object-fit:cover}.tmc-post-comment-row>div{background:#f3f5f9;border-radius:13px;padding:7px 10px;min-width:0}.tmc-post-comment-row b{display:block;font-size:12px}.tmc-post-comment-row p{margin:2px 0;color:#2c374e;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.tmc-post-comment-row small{display:block;color:#8a93a5;font-size:10px}
.tmc-post-menu-wrap{position:relative}.tmc-post-menu{display:none;position:absolute;right:0;top:38px;z-index:35;width:175px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 36px rgba(22,34,61,.16);padding:6px}.tmc-post-menu.open{display:block}.tmc-post-menu button{width:100%;border:0;background:transparent;border-radius:8px;padding:9px 10px;text-align:left;color:#34405a;font:inherit;font-size:12px}.tmc-post-menu button:hover{background:#f4f6fa}.tmc-post-menu button i{width:20px;color:#68748c}
.tmc-feed-empty{padding:55px 24px;text-align:center}.tmc-feed-empty>i{font-size:38px;color:#0b2f73}.tmc-feed-empty h3{margin:12px 0 5px}.tmc-feed-empty p{color:#7b8599;margin:0 0 18px}.tmc-feed-contact-empty{display:grid;place-items:center;text-align:center;color:#8b94a6;padding:35px 10px;gap:8px;font-size:11px}.tmc-feed-contact-empty i{font-size:22px}
.tmc-post-modal{width:min(610px,100%)}.tmc-post-modal-user{display:flex;align-items:center;gap:10px;margin-bottom:10px}.tmc-post-modal-user img{width:42px;height:42px;border-radius:50%;object-fit:cover}.tmc-post-modal-user b{display:block;font-size:14px}.tmc-post-modal-user small{display:inline-flex;align-items:center;gap:5px;color:#6e778a;font-size:11px;margin-top:2px}.tmc-post-modal-text{width:100%;min-height:140px;resize:vertical;border:0;outline:0;font:inherit;font-size:16px;line-height:1.55;color:#18233b;padding:10px 2px;background:transparent}.tmc-post-modal-text::placeholder{color:#9aa3b3}.tmc-post-preview{position:relative;border-radius:14px;overflow:hidden;background:#f2f4f8;margin:8px 0 12px}.tmc-post-preview img{display:block;width:100%;max-height:360px;object-fit:cover}.tmc-post-preview button{position:absolute;right:10px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(16,24,40,.72);color:#fff}.tmc-post-extra{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;padding:9px 12px;margin:9px 0}.tmc-post-extra i{color:#0b2f73}.tmc-post-extra input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:13px}.tmc-post-add-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:13px;padding:11px 12px;margin-top:14px}.tmc-post-add-row>span{font-size:13px;font-weight:600}.tmc-post-add-row>div{display:flex;gap:4px}.tmc-post-add-row button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;font-size:18px}.tmc-post-add-row button:hover{background:#f3f5f9}.tmc-post-add-row button:nth-child(1){color:#19a463}.tmc-post-add-row button:nth-child(2){color:#e53d55}.tmc-post-add-row button:nth-child(3){color:#0b2f73}.tmc-post-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}
.tmc-post-actions button:disabled,.comment-box button:disabled{opacity:.58;cursor:not-allowed}

@media(max-width:700px){.tmc-post-modal-text{font-size:15px;min-height:120px}.tmc-post-actions{grid-template-columns:repeat(4,1fr)}.tmc-post-actions button{font-size:11px;padding:8px 3px}.tmc-post-actions button span{display:none}.tmc-post-summary{font-size:10px}}

/* ===== v63 final Facebook-style post composer + AI ===== */
.tmc-final-composer{width:min(640px,calc(100vw - 24px));max-height:min(820px,calc(100vh - 24px));overflow:auto;padding-bottom:0}
.tmc-final-composer .modal-head{position:sticky;top:0;z-index:6;background:#fff;border-bottom:1px solid var(--line);margin:0 -20px 8px;padding:14px 20px}
.tmc-final-composer .modal-head h3{font-size:20px;font-weight:700}
.tmc-final-composer .tmc-post-modal-user{margin-top:10px;align-items:flex-start}
.tmc-post-modal-user-copy{min-width:0;flex:1}.tmc-post-modal-user-copy>b{font-size:15px}
.tmc-post-top-controls{display:flex;align-items:center;gap:7px;margin-top:5px;flex-wrap:wrap}
.tmc-post-audience{display:inline-flex;align-items:center;gap:5px;background:#e9edf4;border-radius:7px;padding:4px 7px;color:#1f2937;font-size:11px;font-weight:600;cursor:pointer}
.tmc-post-audience select{appearance:none;border:0;background:transparent;font:inherit;color:inherit;outline:0;padding:0 2px;cursor:pointer}.tmc-post-audience>.fa-caret-down{font-size:9px}
.tmc-ai-label{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:7px;background:#fff4e8;color:#a94b00;font-size:11px;font-weight:600}
.tmc-final-composer .tmc-post-modal-text{min-height:160px;font-size:22px;line-height:1.45;padding:12px 0 8px;resize:none}.tmc-final-composer .tmc-post-modal-text::placeholder{color:#747b84}
.tmc-post-context-chips{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 10px}.tmc-post-context-chips>span{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbe3ef;background:#f6f8fc;border-radius:999px;padding:5px 8px;color:#334155;font-size:12px}.tmc-post-context-chips button{border:0;background:transparent;color:#7a8495;padding:0;width:18px;height:18px;border-radius:50%}
.tmc-post-media-preview{margin:8px 0 12px;border-radius:14px;overflow:visible;background:transparent}.tmc-post-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.tmc-post-media-grid.one{grid-template-columns:1fr}.tmc-post-media-item{position:relative;min-height:150px;border-radius:12px;overflow:hidden;background:#eef2f7}.tmc-post-media-item img,.tmc-post-media-item video{display:block;width:100%;height:100%;max-height:360px;object-fit:cover}.tmc-post-media-item button{position:absolute;right:8px;top:8px;width:32px;height:32px;border:1px solid rgba(255,255,255,.6);border-radius:50%;background:rgba(15,23,42,.78);color:#fff}
.tmc-post-gif-preview{margin:8px 0;border-radius:14px;overflow:hidden;background:#f1f3f7}.tmc-post-gif-preview img{display:block;max-width:100%;max-height:320px;margin:auto}
.tmc-post-tool-panel{border:1px solid #d9e1ed;border-radius:14px;padding:12px;margin:10px 0;background:#fff;box-shadow:0 8px 22px rgba(20,45,90,.06)}
.tmc-post-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.tmc-post-panel-head b{font-size:13px;display:flex;align-items:center;gap:7px}.tmc-post-panel-head button{border:0;background:#eef1f5;color:#5f6877;width:28px;height:28px;border-radius:50%}
.tmc-post-tool-panel>input{width:100%;height:42px;border:1px solid #d6deea;border-radius:10px;padding:0 12px;outline:0;font:inherit;font-size:13px}.tmc-post-tool-panel>input:focus{border-color:#1f4d99;box-shadow:0 0 0 3px rgba(31,77,153,.08)}.tmc-post-tool-panel>small{display:block;margin-top:7px;color:#798395;font-size:11px}
.tmc-feeling-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.tmc-feeling-grid button{border:1px solid #e0e6ef;background:#f8fafc;border-radius:9px;padding:8px 7px;text-align:left;font-size:12px}.tmc-feeling-grid button:hover{border-color:#f18a24;background:#fff8ef}
.tmc-post-people-search{height:40px;border:1px solid #d9e1ed;border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 11px}.tmc-post-people-search i{color:#8993a5}.tmc-post-people-search input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:13px}
.tmc-post-people-results{max-height:230px;overflow:auto;margin-top:8px}.tmc-post-person{width:100%;display:flex;align-items:center;gap:9px;border:0;background:#fff;border-radius:10px;padding:7px;text-align:left}.tmc-post-person:hover{background:#f5f7fb}.tmc-post-person img{width:38px;height:38px;border-radius:50%;object-fit:cover}.tmc-post-person span{flex:1;min-width:0}.tmc-post-person b,.tmc-post-person small{display:block}.tmc-post-person b{font-size:13px}.tmc-post-person small{font-size:11px;color:#7b8495;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-post-person>i{color:#1f4d99}.tmc-post-searching{padding:16px;text-align:center;color:#7b8495;font-size:12px}
.tmc-ai-panel{background:linear-gradient(180deg,#fbfcff 0%,#fff 100%);border-color:#d7e2f3}.tmc-ai-panel>p{margin:-2px 0 10px;color:#778194;font-size:11px}.tmc-ai-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.tmc-ai-actions button{min-height:42px;border:1px solid #dce4ef;background:#fff;border-radius:10px;padding:7px 8px;font-size:11px;font-weight:600;color:#22324d;display:flex;align-items:center;gap:6px;justify-content:flex-start}.tmc-ai-actions button:hover{border-color:#f18a24;background:#fff8ef}.tmc-ai-actions button:disabled{opacity:.55;cursor:wait}.tmc-ai-status{margin-top:10px;padding:9px 10px;border-radius:9px;background:#eef4ff;color:#234d8c;font-size:12px}
.tmc-final-composer .tmc-post-add-row{margin-top:12px;padding:10px 12px}.tmc-post-main-tools{display:flex;align-items:center;gap:2px}.tmc-post-main-tools button{width:38px!important;height:38px!important;font-size:18px!important}.tmc-post-main-tools button:nth-child(1){color:#20a75a}.tmc-post-main-tools button:nth-child(2){color:#3777ec}.tmc-post-main-tools button:nth-child(3){color:#f08a24}.tmc-post-main-tools button:nth-child(4){color:#ed564d}.tmc-post-main-tools button:nth-child(5){color:#6d4be8}.tmc-post-main-tools button:nth-child(6){color:#667085}
.tmc-post-more-tools{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:8px;padding:10px;border:1px solid #e0e6ef;border-radius:12px;background:#fafbfd}.tmc-post-more-tools>button,.tmc-post-more-tools>label{display:flex;align-items:center;gap:8px;min-height:38px;border:0;background:#fff;border-radius:9px;padding:8px 10px;font-size:12px;color:#26344d;text-align:left}.tmc-post-more-tools>button:hover,.tmc-post-more-tools>label:hover{background:#f1f5fa}.tmc-post-more-tools i{width:18px;color:#1f4d99}.tmc-post-more-tools label input{margin-left:auto}
.tmc-post-draft-note{margin-top:8px;color:#687386;font-size:11px}.tmc-final-composer .tmc-post-modal-actions{position:sticky;bottom:0;background:#fff;padding:10px 0 14px;margin-top:8px}.tmc-publish-post{width:100%;justify-content:center;min-height:42px;font-size:14px}

/* Feed output for final post composer */
.tmc-collab-banner{margin:-15px -15px 12px;padding:10px 13px;background:#fff6e9;border-bottom:1px solid #f6d8ae;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7d480f;font-size:12px}.tmc-collab-banner span{display:flex;align-items:center;gap:7px}.tmc-collab-banner div{display:flex;gap:6px}.tmc-collab-banner button{border:1px solid #e2b674;background:#fff;border-radius:8px;padding:5px 9px;font-size:11px}.tmc-collab-banner button.accept{background:#1f4d99;border-color:#1f4d99;color:#fff}
.tmc-post-author-line{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:13px}.tmc-post-author-line>span{color:#7d8797}.tmc-post-author-line>a:not(.tmc-post-author){font-weight:600;color:#1f4d99}.tmc-post-meta{display:flex!important;align-items:center;gap:4px;flex-wrap:wrap;margin-top:3px}.tmc-post-meta>span{display:inline-flex;align-items:center;gap:4px}.tmc-post-ai-badge{padding:2px 6px;border-radius:999px;background:#fff4e8;color:#a94b00;font-weight:600}
.tmc-post-tagged{font-size:12px;color:#667085;margin:0 15px 10px}.tmc-post-tagged i{color:#3777ec;margin-right:5px}.tmc-post-tagged a{color:#1f4d99;font-weight:600}
.tmc-post-media-gallery{display:grid;gap:3px;margin-top:10px;background:#e9edf3}.tmc-post-media-gallery.count-1{grid-template-columns:1fr}.tmc-post-media-gallery.count-2{grid-template-columns:1fr 1fr}.tmc-post-media-gallery.count-3,.tmc-post-media-gallery.count-4{grid-template-columns:1fr 1fr}.tmc-post-media-cell{min-height:210px;max-height:520px;background:#111;overflow:hidden}.tmc-post-media-gallery.count-3 .tmc-post-media-cell:first-child{grid-row:span 2}.tmc-post-media-cell img,.tmc-post-media-cell video{display:block;width:100%;height:100%;min-height:210px;max-height:520px;object-fit:cover}.tmc-post-gif{margin-top:10px;background:#f1f3f6;text-align:center}.tmc-post-gif img{display:block;max-width:100%;max-height:520px;margin:auto}.tmc-post-actions button.disabled{opacity:.55;cursor:default}

@media(max-width:700px){.tmc-final-composer{width:100%;max-height:calc(100vh - 12px)}.tmc-final-composer .tmc-post-modal-text{font-size:18px;min-height:130px}.tmc-ai-actions{grid-template-columns:repeat(2,1fr)}.tmc-feeling-grid{grid-template-columns:repeat(2,1fr)}.tmc-post-main-tools button{width:34px!important;height:34px!important;font-size:16px!important}.tmc-post-add-row>span{font-size:12px}.tmc-post-more-tools{grid-template-columns:1fr}.tmc-post-media-cell,.tmc-post-media-cell img,.tmc-post-media-cell video{min-height:160px}.tmc-collab-banner{align-items:flex-start;flex-direction:column}}

/* ===== v65 Final social post / timeline ===== */
.tmc-post-head>.tmc-post-head-copy{flex:1;min-width:0}.tmc-post-head>.tmc-post-menu-wrap{flex:0 0 auto!important;margin-left:auto;align-self:flex-start}.tmc-post-menu-wrap .tmc-icon-button{width:36px;height:36px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;color:#4c5870}.tmc-post-menu-wrap .tmc-icon-button:hover{background:#f0f2f5}.tmc-post-menu{right:0;left:auto;top:40px;width:220px}.tmc-post-menu button{font-size:13.5px;padding:10px 11px}
.tmc-post-author-line{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:14.5px}.tmc-post-author-line>a{color:#111827;text-decoration:none}.tmc-post-follow{border:0;background:transparent;color:#174ea6;font-size:13px;font-weight:600;padding:1px 4px;cursor:pointer}.tmc-post-follow:hover{text-decoration:underline}.tmc-post-follow.following{color:#64748b}.tmc-post-meta{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px;font-size:12.5px!important;line-height:1.35}.tmc-post-meta a{color:inherit;text-decoration:none}.tmc-post-meta a:hover{text-decoration:underline}
.tmc-post-copy-wrap{position:relative;margin:12px 0}.tmc-post-copy{font-size:15.5px!important;line-height:1.52!important;color:#1f2937!important;margin:0!important;white-space:normal}.tmc-post-copy.collapsed{max-height:105px;overflow:hidden}.tmc-post-see-more{border:0;background:transparent;padding:3px 0 0;color:#344054;font-size:13.5px;font-weight:600;cursor:pointer}.tmc-post-copy-wrap.has-background{min-height:310px;margin:12px -17px 0;display:flex;align-items:center;justify-content:center;padding:34px;text-align:center;overflow:hidden}.tmc-post-copy-wrap.has-background .tmc-post-copy{font-size:27px!important;line-height:1.25!important;font-weight:650;color:#fff!important;max-width:720px}.tmc-post-copy-wrap.bg-blue{background:linear-gradient(135deg,#0d47a1,#2374e1)}.tmc-post-copy-wrap.bg-sunset{background:linear-gradient(135deg,#ff7a18,#af002d 90%)}.tmc-post-copy-wrap.bg-ocean{background:linear-gradient(135deg,#0061ff,#60efff)}.tmc-post-copy-wrap.bg-forest{background:linear-gradient(135deg,#0b6b3a,#46a758)}.tmc-post-copy-wrap.bg-violet{background:linear-gradient(135deg,#6d28d9,#db2777)}.tmc-post-copy-wrap.bg-orange{background:linear-gradient(135deg,#f59e0b,#ea580c)}.tmc-post-copy-wrap.bg-night{background:linear-gradient(135deg,#0f172a,#334155)}.tmc-post-copy-wrap.bg-travel{background:linear-gradient(135deg,#174ea6,#0ea5e9 55%,#f59e0b)}
.tmc-post-backgrounds{display:flex;gap:7px;align-items:center;margin:2px 0 10px;overflow-x:auto;padding:2px}.tmc-post-backgrounds button{width:34px;height:34px;border:2px solid transparent;border-radius:9px;background:#fff;padding:2px;cursor:pointer}.tmc-post-backgrounds button.active{border-color:#174ea6;box-shadow:0 0 0 2px rgba(23,78,166,.12)}.tmc-post-backgrounds span{display:grid;place-items:center;width:100%;height:100%;border-radius:6px;font-size:11px;font-weight:700}.tmc-post-backgrounds .plain{background:#f3f4f6;color:#334155}.tmc-post-backgrounds .bg-blue{background:linear-gradient(135deg,#0d47a1,#2374e1);color:#fff}.tmc-post-backgrounds .bg-sunset{background:linear-gradient(135deg,#ff7a18,#af002d);color:#fff}.tmc-post-backgrounds .bg-ocean{background:linear-gradient(135deg,#0061ff,#60efff);color:#fff}.tmc-post-backgrounds .bg-forest{background:linear-gradient(135deg,#0b6b3a,#46a758);color:#fff}.tmc-post-backgrounds .bg-violet{background:linear-gradient(135deg,#6d28d9,#db2777);color:#fff}.tmc-post-backgrounds .bg-orange{background:linear-gradient(135deg,#f59e0b,#ea580c);color:#fff}.tmc-post-backgrounds .bg-night{background:linear-gradient(135deg,#0f172a,#334155);color:#fff}.tmc-post-backgrounds .bg-travel{background:linear-gradient(135deg,#174ea6,#0ea5e9,#f59e0b);color:#fff}.tmc-post-backgrounds.compact{margin-top:12px}.tmc-post-modal-text[class*="preview-bg-"]{border-radius:14px;padding:26px 18px!important;color:#fff!important;text-align:center;min-height:180px}.tmc-post-modal-text.preview-bg-blue{background:linear-gradient(135deg,#0d47a1,#2374e1)}.tmc-post-modal-text.preview-bg-sunset{background:linear-gradient(135deg,#ff7a18,#af002d)}.tmc-post-modal-text.preview-bg-ocean{background:linear-gradient(135deg,#0061ff,#60efff)}.tmc-post-modal-text.preview-bg-forest{background:linear-gradient(135deg,#0b6b3a,#46a758)}.tmc-post-modal-text.preview-bg-violet{background:linear-gradient(135deg,#6d28d9,#db2777)}.tmc-post-modal-text.preview-bg-orange{background:linear-gradient(135deg,#f59e0b,#ea580c)}.tmc-post-modal-text.preview-bg-night{background:linear-gradient(135deg,#0f172a,#334155)}.tmc-post-modal-text.preview-bg-travel{background:linear-gradient(135deg,#174ea6,#0ea5e9,#f59e0b)}.tmc-post-modal-text[class*="preview-bg-"]::placeholder{color:rgba(255,255,255,.75)}
.tmc-post-media-gallery{display:grid;gap:3px;margin:10px -17px 0;background:#0b0d10;overflow:hidden}.tmc-post-media-cell{position:relative;border:0;padding:0;margin:0;background:#111;cursor:pointer;overflow:hidden;min-height:0!important;max-height:none!important}.tmc-post-media-cell img,.tmc-post-media-cell video{width:100%;height:100%;display:block;object-fit:cover;min-height:0!important;max-height:none!important}.tmc-post-media-cell.single{height:min(620px,68vh);display:grid;place-items:center;isolation:isolate}.tmc-post-media-cell.single:before{content:"";position:absolute;inset:-24px;background-image:var(--tmc-media-bg);background-size:cover;background-position:center;filter:blur(24px) brightness(.6);transform:scale(1.1);z-index:-1}.tmc-post-media-cell.single img{width:100%;height:100%;object-fit:contain;position:relative;z-index:1}.tmc-post-media-gallery.media-count-2{grid-template-columns:1fr 1fr}.tmc-post-media-gallery.media-count-2 .tmc-post-media-cell{height:430px}.tmc-post-media-gallery.media-count-3{grid-template-columns:1.25fr 1fr;grid-template-rows:210px 210px}.tmc-post-media-gallery.media-count-3 .tmc-post-media-cell:first-child{grid-row:1/3}.tmc-post-media-gallery.media-count-4{grid-template-columns:1fr 1fr;grid-template-rows:250px 250px}.tmc-post-media-gallery.media-count-5{grid-template-columns:1.1fr 1fr 1fr;grid-template-rows:230px 230px}.tmc-post-media-gallery.media-count-5 .tmc-post-media-cell:first-child{grid-row:1/3}.tmc-post-media-cell video{background:#000}.tmc-media-more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.52);color:#fff;font-size:38px;font-weight:700}.tmc-post-gif{margin-left:-17px;margin-right:-17px}.tmc-post-gif img{max-height:620px;object-fit:contain}
.tmc-post-summary{font-size:13px!important;padding:10px 2px 8px}.tmc-post-summary a{color:inherit;text-decoration:none}.tmc-reaction-summary{border:0;background:transparent;color:#526079;padding:0;cursor:pointer}.tmc-reaction-summary span{font-size:15px;margin-left:-3px}.tmc-post-actions{border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}.tmc-post-actions button{font-size:14px!important;font-weight:550;padding:10px 6px}.tmc-reaction-action-wrap{position:relative;display:flex}.tmc-reaction-action-wrap>[data-post-reaction]{width:100%}.tmc-reaction-picker{position:absolute;left:2px;bottom:44px;display:flex;align-items:center;gap:3px;background:#fff;border:1px solid #e5e7eb;border-radius:30px;padding:5px 7px;box-shadow:0 8px 28px rgba(15,23,42,.18);opacity:0;visibility:hidden;transform:translateY(6px);transition:.16s;z-index:45}.tmc-reaction-action-wrap:hover .tmc-reaction-picker,.tmc-reaction-picker:focus-within{opacity:1;visibility:visible;transform:none}.tmc-reaction-picker button{width:39px!important;height:39px!important;padding:0!important;border-radius:50%!important;font-size:24px!important;transition:transform .12s}.tmc-reaction-picker button:hover{transform:scale(1.25);background:#f8fafc}.tmc-post-actions button.reaction-love{color:#e11d48}.tmc-post-actions button.reaction-haha,.tmc-post-actions button.reaction-wow,.tmc-post-actions button.reaction-sad{color:#d97706}.tmc-post-actions button.reaction-like{color:#174ea6}
.tmc-post-comments{padding-top:5px!important;border-top:0!important}.tmc-post-comment-row{align-items:flex-start;gap:8px;margin:10px 0}.tmc-post-comment-row>div,.tmc-comment-main{background:transparent!important;padding:0!important;border-radius:0!important;min-width:0;flex:1}.tmc-comment-bubble{display:inline-block;max-width:calc(100% - 12px);background:#f0f2f5;border-radius:16px;padding:8px 11px}.tmc-post-comment-row b{font-size:13.5px!important;line-height:1.25}.tmc-post-comment-row p{font-size:14px!important;line-height:1.42!important;color:#1f2937!important;margin:3px 0 0!important}.tmc-comment-tools{display:flex;align-items:center;gap:10px;padding:3px 8px 0;font-size:12px;color:#68748a}.tmc-comment-tools>button,.tmc-comment-tools .tmc-comment-reaction-wrap>button{border:0;background:transparent;padding:0;color:#596579;font-size:12px;font-weight:600;cursor:pointer}.tmc-comment-tools button.active{color:#174ea6}.tmc-comment-reaction-wrap{position:relative}.tmc-comment-reaction-picker{position:absolute;left:-8px;bottom:20px;display:flex;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:4px;box-shadow:0 8px 22px rgba(15,23,42,.16);opacity:0;visibility:hidden;z-index:40}.tmc-comment-reaction-wrap:hover .tmc-comment-reaction-picker{opacity:1;visibility:visible}.tmc-comment-reaction-picker button{border:0;background:transparent!important;font-size:18px!important;padding:2px!important}.tmc-comment-react-count{margin-left:auto}.tmc-comment-delete{opacity:.55}.tmc-comment-delete:hover{opacity:1;color:#c62828!important}.tmc-view-replies,.tmc-more-comments{border:0;background:transparent;color:#445168;font-weight:600;font-size:13px;padding:5px 8px;cursor:pointer}.tmc-more-comments{padding-left:42px}.tmc-comment-replies{margin-left:14px;border-left:2px solid #eef1f5;padding-left:10px}.tmc-post-comment-row.nested{margin:8px 0}.tmc-comment-reply-form{display:flex;gap:7px;margin:7px 8px}.tmc-comment-reply-form input{flex:1;border:1px solid #d9dee8;border-radius:18px;padding:8px 11px;font-size:13px}.tmc-comment-reply-form button{border:0;background:#174ea6;color:#fff;border-radius:16px;padding:7px 12px;font-weight:600}.comment-box input{font-size:14px!important}.comment-box button{font-size:13px!important}
.tmc-edit-post-modal{width:min(620px,calc(100vw - 28px))}.tmc-edit-post-modal textarea,.tmc-edit-post-modal input,.tmc-edit-post-modal select{width:100%;border:1px solid #d8deea;border-radius:10px;padding:10px 12px;font:inherit}.tmc-edit-post-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tmc-edit-comments{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:13px}.tmc-edit-comments input{width:auto}
.tmc-media-lightbox{position:fixed;inset:0;z-index:2500;background:rgba(4,8,16,.96);display:none;align-items:center;justify-content:center}.tmc-media-lightbox.open{display:flex}.tmc-lightbox-stage{width:min(92vw,1200px);height:88vh;display:grid;place-items:center}.tmc-lightbox-stage img,.tmc-lightbox-stage video{max-width:100%;max-height:100%;object-fit:contain}.tmc-lightbox-close,.tmc-lightbox-nav{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:50%;display:grid;place-items:center;cursor:pointer}.tmc-lightbox-close{right:22px;top:18px;width:44px;height:44px;font-size:22px}.tmc-lightbox-nav{top:50%;transform:translateY(-50%);width:48px;height:48px;font-size:20px}.tmc-lightbox-nav.prev{left:22px}.tmc-lightbox-nav.next{right:22px}.tmc-lightbox-count{position:absolute;bottom:18px;color:#fff;background:rgba(0,0,0,.4);padding:5px 12px;border-radius:20px}.tmc-lightbox-open{overflow:hidden}
.tmc-feed-loader{text-align:center;padding:16px 0 40px;color:#7a8598}.tmc-feed-skeleton{display:grid;gap:8px}.tmc-feed-skeleton span{display:block;height:14px;border-radius:8px;background:linear-gradient(90deg,#eef1f5,#f8fafc,#eef1f5);background-size:200% 100%;animation:tmcSkeleton 1.2s linear infinite}.tmc-feed-skeleton span:nth-child(2){height:220px}.tmc-feed-skeleton span:nth-child(3){width:70%}@keyframes tmcSkeleton{to{background-position:-200% 0}}.tmc-post-detail-shell{padding-top:28px;padding-bottom:60px}.tmc-post-detail-column{max-width:760px;margin:0 auto}
@media(max-width:700px){.tmc-post-copy{font-size:15px!important}.tmc-post-copy-wrap.has-background{margin-left:-12px;margin-right:-12px;min-height:260px;padding:24px}.tmc-post-copy-wrap.has-background .tmc-post-copy{font-size:23px!important}.tmc-post-media-gallery{margin-left:-12px;margin-right:-12px}.tmc-post-media-gallery.media-count-2 .tmc-post-media-cell{height:260px}.tmc-post-media-gallery.media-count-3{grid-template-rows:150px 150px}.tmc-post-media-gallery.media-count-4{grid-template-rows:170px 170px}.tmc-post-media-gallery.media-count-5{grid-template-rows:150px 150px}.tmc-post-media-cell.single{height:min(520px,62vh)}.tmc-reaction-picker{bottom:40px}.tmc-reaction-picker button{width:34px!important;height:34px!important;font-size:21px!important}.tmc-edit-post-grid{grid-template-columns:1fr}.tmc-lightbox-nav{width:40px;height:40px}.tmc-lightbox-nav.prev{left:8px}.tmc-lightbox-nav.next{right:8px}}
.tmc-profile-panel[data-profile-panel="posts"] .tmc-profile-card-grid{display:block;max-width:780px;margin:0 auto}.tmc-profile-panel[data-profile-panel="posts"] .tmc-post-card{margin-bottom:16px}

/* v68: feed recovery loader must obey the hidden attribute */
.tmc-feed-skeleton[hidden]{display:none!important}

/* ===== v69 Feed/Post UI polish + live timeline ===== */
/* Give the action separators breathing room instead of touching the buttons. */
.tmc-post-actions{
  padding:5px 0!important;
  margin:0 0 9px!important;
  border-top:1px solid #e3e8f0!important;
  border-bottom:1px solid #e3e8f0!important;
}
.tmc-post-actions button{min-height:40px}

/* Facebook-like multiline comment/reply composer. Enter posts; Shift+Enter adds a line. */
.comment-box.tmc-comment-composer{
  display:flex;align-items:flex-start;gap:9px;
  border-top:0!important;margin-top:4px;padding:10px 0 3px!important;
}
.tmc-comment-input-wrap{flex:1;min-width:0;position:relative}
.tmc-comment-input-wrap textarea{
  display:block;width:100%;min-height:42px;max-height:120px;resize:none;overflow-y:auto;
  border:1px solid #e0e5ed!important;border-radius:12px!important;background:#f0f2f5!important;
  color:#172033;font:inherit;font-size:14.5px!important;line-height:1.42;padding:10px 12px!important;outline:0;
}
.tmc-comment-input-wrap textarea:focus{border-color:#c9d6eb!important;box-shadow:0 0 0 2px rgba(11,47,115,.05)}
.tmc-comment-input-wrap textarea::placeholder{color:#737d8d}
.tmc-comment-input-wrap>small{display:none}
.comment-box.tmc-comment-composer>button,
.tmc-comment-reply-form>button{
  flex:0 0 auto;min-height:40px;border:0;background:var(--tmc-brand-blue,#0b2f73);color:#fff;
  border-radius:10px!important;padding:0 14px!important;font-size:13px!important;font-weight:600;margin-top:1px;
}
.tmc-comment-reply-form{display:flex;align-items:flex-start;gap:8px;margin:8px 8px 5px!important}
.tmc-comment-reply-form .tmc-comment-input-wrap{flex:1}
.tmc-comment-reply-form textarea{
  display:block;width:100%;min-height:38px;max-height:110px;resize:none;overflow-y:auto;
  border:1px solid #e0e5ed;border-radius:11px;background:#f0f2f5;color:#172033;
  padding:9px 11px;font:inherit;font-size:13.5px;line-height:1.4;outline:0;
}

/* Make generated post backgrounds survive the feed compatibility path and read like social background posts. */
.tmc-post-copy-wrap.has-background .tmc-post-copy{white-space:pre-wrap}

/* Compact Create Post spacing. */
.tmc-final-composer{position:relative}
.tmc-final-composer .modal-head{padding:10px 18px!important;margin:0 -20px 3px!important}
.tmc-final-composer .modal-head h3{font-size:19px!important}
.tmc-final-composer .tmc-post-modal-user{margin-top:4px!important;margin-bottom:4px!important}
.tmc-final-composer .tmc-post-modal-text{min-height:132px!important;padding:8px 0 5px!important}
.tmc-final-composer .tmc-post-backgrounds{margin:0 0 8px!important}
.tmc-final-composer .tmc-post-add-row{margin-top:10px!important}

/* AI Assist is now a compact HTML dropdown and no longer stretches the composer. */
.tmc-ai-dropdown{
  position:absolute;right:22px;bottom:78px;z-index:80;width:300px;max-width:calc(100% - 44px);
  background:#fff;border:1px solid #d9e1ed;border-radius:13px;box-shadow:0 18px 46px rgba(15,35,70,.20);
  padding:8px;overflow:hidden;
}
.tmc-ai-dropdown[hidden]{display:none!important}
.tmc-ai-dropdown-head{display:flex;align-items:center;justify-content:space-between;padding:4px 5px 7px;border-bottom:1px solid #eef1f5}
.tmc-ai-dropdown-head b{font-size:13px;display:flex;align-items:center;gap:7px;color:#17233b}
.tmc-ai-dropdown-head>button{width:28px;height:28px;border:0;border-radius:50%;background:#f2f4f7;color:#667085}
.tmc-ai-dropdown-menu{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding-top:6px;max-height:278px;overflow:auto}
.tmc-ai-dropdown-menu>button{display:flex;align-items:center;gap:8px;min-width:0;border:0;background:#fff;color:#26344c;border-radius:8px;padding:8px 9px;text-align:left;font:inherit;font-size:12px;font-weight:500}
.tmc-ai-dropdown-menu>button:hover{background:#edf3ff;color:#0b2f73}
.tmc-ai-dropdown-menu>button i,.tmc-ai-symbol{width:18px;text-align:center;color:#0b2f73;font-size:11px;font-weight:700}
.tmc-ai-dropdown .tmc-ai-status{margin:6px 2px 1px;padding:7px 8px;font-size:11px}

/* Keep Cancel and Save comfortably separated in Edit Post. */
.tmc-edit-post-actions{gap:12px!important}
.tmc-edit-post-actions .btn{min-width:92px}

/* Unified soft-blue navigation/tab treatment like the approved settings screenshot. */
.tmc-side-card{display:flex;flex-direction:column;gap:5px}
.tmc-side-link{margin:0!important;border:1px solid transparent}
.tmc-side-link:hover,.tmc-side-link.active{background:#eaf1ff!important;color:#0b2f73!important;border-color:#e3ebfb}
.settings-menu{display:flex;flex-direction:column;gap:6px}
.settings-link{margin:0!important;border:1px solid transparent}
.settings-link:hover,.settings-link.active{background:#eaf1ff!important;color:#0b2f73!important;border-color:#e3ebfb}
.tmc-profile-tabs,.tmc-community-tabs{gap:6px!important}
.tmc-profile-tabs>a,.tmc-profile-tabs>button,.tmc-community-tabs button{border:1px solid transparent!important}
.tmc-profile-tabs>a:hover,.tmc-profile-tabs>a.active,.tmc-profile-tabs>button:hover,.tmc-profile-tabs>button.active,.tmc-community-tabs button:hover,.tmc-community-tabs button.active{background:#eaf1ff!important;color:#0b2f73!important;border-color:#e3ebfb!important}
.content-tabs,.entity-tabs{gap:6px!important;padding:7px 10px!important}
.content-tabs button,.entity-tabs button{border-radius:9px!important;padding:10px 13px!important;background:transparent!important}
.content-tabs button:hover,.content-tabs button.active,.entity-tabs button:hover,.entity-tabs button.active{background:#eaf1ff!important;color:#0b2f73!important}
.content-tabs button.active:after,.entity-tabs button.active:after{display:none!important}
.tmc-notification-tabs{gap:6px!important;padding:7px 24px!important}
.tmc-notification-tabs a{border:1px solid transparent!important;border-radius:9px!important;padding:9px 12px!important}
.tmc-notification-tabs a:hover,.tmc-notification-tabs a.active{background:#eaf1ff!important;color:#0b2f73!important;border-color:#e3ebfb!important}

@media(max-width:700px){
  .tmc-ai-dropdown{position:fixed;left:14px;right:14px;bottom:78px;width:auto;max-width:none}
  .tmc-ai-dropdown-menu{grid-template-columns:1fr 1fr;max-height:250px}
  .comment-box.tmc-comment-composer>button,.tmc-comment-reply-form>button{padding:0 11px!important}
}

/* ===== v70 Post interaction + media viewer polish ===== */
/* Keep hover backgrounds visually separated inside the action row. */
.tmc-post-actions{
  gap:8px!important;
  padding:6px 10px!important;
}
.tmc-post-actions>button,
.tmc-post-actions>.tmc-reaction-action-wrap{min-width:0}
.tmc-post-actions button{border-radius:10px!important}
.tmc-reaction-action-wrap>[data-post-reaction]{border-radius:10px!important}

/* Comment total behaves like an in-place opener instead of navigating away. */
.tmc-comments-link{border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer}
.tmc-comments-link:hover{text-decoration:underline}

/* Facebook-inspired multiline comment/reply composer, without pill-shaped fields. */
.comment-box.tmc-comment-composer{align-items:flex-start!important;gap:9px!important;padding:9px 0 4px!important}
.comment-box.tmc-comment-composer .avatar{margin-top:2px}
.tmc-comment-input-wrap{
  background:#f0f2f5;border:1px solid #e3e7ee;border-radius:16px!important;
  padding:7px 10px 6px;min-height:48px;
}
.tmc-comment-input-wrap textarea,
.tmc-comment-reply-form textarea{
  min-height:24px!important;max-height:104px!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;padding:0!important;font-size:14px!important;line-height:1.4!important;
}
.tmc-comment-input-wrap textarea:focus,.tmc-comment-reply-form textarea:focus{border:0!important;box-shadow:none!important}
.tmc-comment-compose-tools{display:flex;align-items:center;gap:13px;margin-top:5px;color:#6c7789;font-size:13px;line-height:1}
.tmc-comment-compose-tools span{display:grid;place-items:center;width:18px;height:18px}
.comment-box.tmc-comment-composer>button.tmc-comment-send,
.tmc-comment-reply-form>button.tmc-comment-send{
  width:38px;height:38px;min-height:38px!important;padding:0!important;border-radius:50%!important;
  display:grid;place-items:center;margin-top:5px!important;background:var(--tmc-brand-blue,#0b2f73);font-size:13px!important;
}
.tmc-comment-reply-form{align-items:flex-start!important;gap:8px!important;margin:9px 8px 6px!important}
.tmc-comment-reply-form .tmc-comment-input-wrap{min-height:44px;padding:6px 10px 5px}

/* AI menu: wide enough for every action label to stay on one line. */
.tmc-ai-dropdown{width:390px!important;max-width:calc(100% - 32px)!important;right:16px!important}
.tmc-ai-dropdown-menu{grid-template-columns:1fr 1fr!important;gap:5px!important}
.tmc-ai-dropdown-menu>button{font-size:12.5px!important;padding:9px 10px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
.tmc-ai-dropdown .tmc-ai-status{font-size:12px!important;color:#526079}

/* Facebook-style media viewer: media on the left, post/comments on the right. */
.tmc-media-lightbox{
  z-index:1000000!important;background:rgba(5,8,14,.97)!important;padding:0!important;
  align-items:stretch!important;justify-content:stretch!important;
}
.tmc-media-lightbox.open{display:block!important}
.tmc-lightbox-shell{width:100vw;height:100vh;display:grid;grid-template-columns:minmax(0,1fr) 390px;background:#05080e}
.tmc-lightbox-media-pane{position:relative;min-width:0;height:100vh;display:grid;place-items:center;background:#05080e;overflow:hidden}
.tmc-lightbox-stage{width:100%!important;height:100%!important;display:grid;place-items:center;padding:34px 72px!important}
.tmc-lightbox-stage img,.tmc-lightbox-stage video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.tmc-lightbox-side{height:100vh;background:#fff;border-left:1px solid rgba(255,255,255,.08);overflow-y:auto;color:#172033}
.tmc-lightbox-post-panel{min-height:100%;padding:16px 16px 24px}
.tmc-lightbox-post-panel .tmc-post-head{padding:0 0 12px!important;border-bottom:1px solid #edf0f4}
.tmc-lightbox-post-panel .tmc-post-copy-wrap{margin:12px 0!important}
.tmc-lightbox-post-panel .tmc-post-copy-wrap.has-background{min-height:180px!important;margin:12px 0!important;border-radius:12px;padding:20px!important}
.tmc-lightbox-post-panel .tmc-post-copy-wrap.has-background .tmc-post-copy{font-size:20px!important}
.tmc-lightbox-post-panel .tmc-post-summary{margin-top:6px}
.tmc-lightbox-post-panel .tmc-post-actions{margin-bottom:4px!important}
.tmc-lightbox-post-panel .tmc-post-comments{padding-top:7px}
.tmc-lightbox-post-panel .tmc-more-comments{margin-left:0}
.tmc-lightbox-post-panel .comment-box.tmc-comment-composer{position:sticky;bottom:0;background:#fff;padding:10px 0 4px!important;margin-top:8px!important;z-index:3}
.tmc-lightbox-close{left:18px!important;right:auto!important;top:18px!important;z-index:20!important;width:44px!important;height:44px!important;background:rgba(255,255,255,.16)!important}
.tmc-lightbox-nav{z-index:15!important;background:rgba(255,255,255,.16)!important}
.tmc-lightbox-nav.prev{left:18px!important}.tmc-lightbox-nav.next{right:18px!important}
.tmc-lightbox-nav[hidden],.tmc-lightbox-count[hidden]{display:none!important}
.tmc-lightbox-count{left:50%;right:auto;transform:translateX(-50%);bottom:18px!important;z-index:15}
body.tmc-lightbox-open{overflow:hidden!important}

@media(max-width:980px){
  .tmc-lightbox-shell{grid-template-columns:1fr;grid-template-rows:minmax(0,64vh) minmax(260px,36vh)}
  .tmc-lightbox-media-pane{height:64vh}.tmc-lightbox-side{height:36vh;border-left:0;border-top:1px solid #e7eaf0}
  .tmc-lightbox-stage{padding:58px 46px 30px!important}.tmc-lightbox-post-panel{padding:12px 14px 18px}
}
@media(max-width:700px){
  .tmc-post-actions{gap:4px!important;padding-left:4px!important;padding-right:4px!important}
  .tmc-ai-dropdown{width:calc(100% - 20px)!important;max-width:none!important;right:10px!important}
  .tmc-ai-dropdown-menu>button{font-size:12px!important;padding:8px!important}
  .tmc-lightbox-stage{padding:58px 12px 22px!important}.tmc-lightbox-nav{width:38px!important;height:38px!important}
  .tmc-lightbox-nav.prev{left:6px!important}.tmc-lightbox-nav.next{right:6px!important}.tmc-lightbox-close{left:10px!important;top:10px!important}
}


/* ===== v71 Feed / media-story polish ===== */
.gap-10{gap:10px}
.modal-backdrop .row.gap-10{gap:12px!important}
.modal-backdrop .row.gap-10>.btn{margin:0!important}

/* Use only the browser scrollbar on Feed. Left/right rails stay sticky. */
body.tmc-feed-page{height:auto!important;min-height:100vh;overflow-x:hidden!important;overflow-y:auto!important}
.tmc-feed-shell{height:auto!important;min-height:calc(100vh - 72px);overflow:visible!important}
.tmc-feed-grid{height:auto!important;min-height:calc(100vh - 100px);align-items:start}
.tmc-feed-center{height:auto!important;min-height:0!important;overflow:visible!important;padding-right:0!important;scrollbar-width:auto!important}
.tmc-feed-center::-webkit-scrollbar{display:none!important}
.tmc-feed-left{position:sticky;top:86px;height:calc(100vh - 100px)!important;min-height:0}
.tmc-contacts-rail{position:sticky;top:86px;height:calc(100vh - 100px)!important;min-height:0}

/* Facebook-style recent media stories instead of online-user circles. */
.tmc-media-stories{gap:10px!important;padding:12px!important;overflow-x:auto!important;scrollbar-width:none}
.tmc-media-stories::-webkit-scrollbar{display:none}
.tmc-media-story{position:relative;flex:0 0 118px;width:118px;border:0;background:transparent;padding:0;text-align:left;cursor:pointer;color:#172033}
.tmc-media-story-cover{position:relative;display:block;width:118px;height:184px;border-radius:14px;overflow:hidden;background:#e9edf4;box-shadow:0 1px 4px rgba(15,23,42,.12)}
.tmc-media-story-cover>img,.tmc-media-story-cover>video{width:100%;height:100%;display:block;object-fit:cover;transition:transform .18s ease}
.tmc-media-story:hover .tmc-media-story-cover>img,.tmc-media-story:hover .tmc-media-story-cover>video{transform:scale(1.025)}
.tmc-media-story-cover:after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;background:linear-gradient(transparent,rgba(5,12,25,.72));pointer-events:none}
.tmc-media-story-avatar{position:absolute!important;left:9px;top:9px;width:36px!important;height:36px!important;border-radius:50%;padding:2px;background:linear-gradient(135deg,#ff603b,#df2fa3,#4335ff);z-index:3}
.tmc-media-story-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #fff}
.tmc-media-story small{position:absolute;left:9px;right:7px;bottom:10px;z-index:3;color:#fff;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.tmc-story-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);color:#174ea6;font-size:13px}
.tmc-media-story-create .tmc-media-story-cover:after{background:linear-gradient(transparent 40%,rgba(5,12,25,.72))}
.tmc-media-story-create .tmc-media-story-cover>img{filter:saturate(.88)}
.tmc-media-story-create .tmc-media-story-cover>i.fa-plus{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:4;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#174ea6;color:#fff;border:3px solid #fff}

/* Keep comment/reply composers simple: textarea + send only. */
.tmc-comment-compose-tools{display:none!important}

/* Compact media-viewer action row so labels never wrap or collide. */
.tmc-lightbox-post-panel .tmc-post-actions{gap:4px!important;padding:5px 0!important}
.tmc-lightbox-post-panel .tmc-post-actions button{min-height:34px!important;padding:6px 3px!important;font-size:11.5px!important;line-height:1!important;white-space:nowrap!important;border-radius:8px!important}
.tmc-lightbox-post-panel .tmc-post-actions button i{font-size:12px!important;margin-right:2px}
.tmc-lightbox-post-panel .tmc-reaction-action-wrap{min-width:0}
.tmc-lightbox-post-panel .tmc-post-ai-badge{display:none!important}

@media(max-width:1100px){
  .tmc-media-story{flex-basis:108px;width:108px}.tmc-media-story-cover{width:108px;height:170px}
}
@media(max-width:700px){
  body.tmc-feed-page .tmc-feed-left,body.tmc-feed-page .tmc-contacts-rail{position:static;height:auto!important}
  .tmc-media-story{flex-basis:102px;width:102px}.tmc-media-story-cover{width:102px;height:160px}
}

/* v72 - compact profile post/media tabs */
.tmc-profile-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tmc-profile-post-tile{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-decoration:none;color:inherit;border:1px solid #e2e8f0;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.tmc-profile-post-tile:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:0 10px 26px rgba(15,23,42,.08)}
.tmc-profile-post-tile-media{height:180px;position:relative;display:grid;place-items:center;overflow:hidden;background:#eef2f7}
.tmc-profile-post-tile-media img,.tmc-profile-post-tile-media video{width:100%;height:100%;display:block;object-fit:cover}
.tmc-profile-post-tile-media.text-only{padding:22px;text-align:center;background:#f5f7fb;color:#172033;font-size:17px;line-height:1.38;font-weight:600}
.tmc-profile-post-tile-media.text-only.bg-blue{background:linear-gradient(135deg,#0d47a1,#2374e1);color:#fff}.tmc-profile-post-tile-media.text-only.bg-sunset{background:linear-gradient(135deg,#ff7a18,#af002d 90%);color:#fff}.tmc-profile-post-tile-media.text-only.bg-ocean{background:linear-gradient(135deg,#0061ff,#60efff);color:#fff}.tmc-profile-post-tile-media.text-only.bg-forest{background:linear-gradient(135deg,#0b6b3a,#46a758);color:#fff}.tmc-profile-post-tile-media.text-only.bg-violet{background:linear-gradient(135deg,#6d28d9,#db2777);color:#fff}.tmc-profile-post-tile-media.text-only.bg-orange{background:linear-gradient(135deg,#f59e0b,#ea580c);color:#fff}.tmc-profile-post-tile-media.text-only.bg-night{background:linear-gradient(135deg,#0f172a,#334155);color:#fff}.tmc-profile-post-tile-media.text-only.bg-travel{background:linear-gradient(135deg,#174ea6,#0ea5e9 55%,#f59e0b);color:#fff}
.tmc-profile-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(15,23,42,.72);color:#fff;font-size:18px;box-shadow:0 6px 20px rgba(0,0,0,.18)}.tmc-profile-play.youtube{background:#e31b23}
.tmc-profile-post-tile-copy{padding:12px 13px 13px;display:flex;flex-direction:column;gap:6px;min-height:108px}.tmc-profile-post-tile-copy>b{font-size:14px;line-height:1.35;color:#111827;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tmc-profile-post-tile-copy>small{font-size:11.5px;color:#7b8496}
.tmc-profile-post-stats{display:flex;align-items:center;gap:16px;margin-top:auto;padding-top:7px;color:#657086;font-size:11.5px}.tmc-profile-post-stats span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.tmc-profile-post-stats i{font-size:11px;color:#344b78}
.tmc-profile-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tmc-profile-video-tile{overflow:hidden;text-decoration:none;color:inherit;border:1px solid #e2e8f0;transition:transform .16s ease,box-shadow .16s ease}.tmc-profile-video-tile:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(15,23,42,.08)}
.tmc-profile-video-preview{height:178px;position:relative;display:grid;place-items:center;overflow:hidden;background:#111827}.tmc-profile-video-preview img,.tmc-profile-video-preview video{width:100%;height:100%;display:block;object-fit:cover}.tmc-profile-video-preview>span{font-size:34px;color:#fff}.tmc-profile-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(15,23,42,.72);color:#fff;font-size:16px;padding-left:2px}
.tmc-profile-video-copy{padding:12px 13px 13px;display:flex;flex-direction:column;gap:10px}.tmc-profile-video-copy>b{font-size:14px;line-height:1.38;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tmc-profile-photo-tile{display:block;overflow:hidden;border-radius:15px;background:#eef2f7;cursor:pointer}.tmc-profile-photo-tile img{transition:transform .2s ease}.tmc-profile-photo-tile:hover img{transform:scale(1.025)}
.tmc-profile-post-modal{position:fixed;inset:0;z-index:2400;display:grid;place-items:center;padding:24px}.tmc-profile-post-modal[hidden]{display:none!important}.tmc-profile-post-modal-backdrop{position:absolute;inset:0;background:rgba(8,13,24,.72);backdrop-filter:blur(2px)}
.tmc-profile-post-dialog{position:relative;z-index:1;width:min(780px,calc(100vw - 32px));max-height:92vh;overflow-y:auto;background:#f5f7fb;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.3);padding:18px}.tmc-profile-post-dialog-close{position:sticky;top:0;margin-left:auto;z-index:5;width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:#e9edf3;color:#172033;cursor:pointer;margin-bottom:-38px}.tmc-profile-post-dialog-body{padding-top:6px}.tmc-profile-post-dialog-body>.tmc-post-card{margin:0;box-shadow:none;border:1px solid #e1e6ef}.tmc-profile-post-loading{min-height:260px;display:flex;align-items:center;justify-content:center;gap:9px;color:#667085}.tmc-profile-post-dialog .tmc-post-ai-badge{display:none!important}
body.tmc-profile-post-modal-open{overflow:hidden!important}
@media(max-width:980px){.tmc-profile-post-grid,.tmc-profile-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.tmc-profile-post-grid,.tmc-profile-video-grid{grid-template-columns:1fr}.tmc-profile-post-tile-media,.tmc-profile-video-preview{height:210px}.tmc-profile-post-modal{padding:8px}.tmc-profile-post-dialog{width:100%;max-height:96vh;border-radius:14px;padding:12px}}

/* ===== v73 chronological feed + universal media viewer ===== */
/* Universal viewer must always sit above the fixed header/dropdowns/chat. */
.tmc-media-lightbox{z-index:2147483000!important}
.tmc-lightbox-media-pane{isolation:isolate;background:#05080e!important}
.tmc-lightbox-media-pane.has-image-bg::before{
  content:"";position:absolute;inset:-42px;z-index:0;pointer-events:none;
  background-image:linear-gradient(rgba(5,8,14,.42),rgba(5,8,14,.42)),var(--tmc-lightbox-bg);
  background-size:cover;background-position:center;background-repeat:no-repeat;
  filter:blur(30px) saturate(.9);transform:scale(1.08);opacity:.72
}
.tmc-lightbox-media-pane.has-image-bg::after{content:"";position:absolute;inset:0;z-index:0;background:rgba(5,8,14,.24);pointer-events:none}
.tmc-lightbox-stage{position:relative;z-index:2;overflow:visible!important}
.tmc-lightbox-stage img{
  position:relative;z-index:2;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:calc(100vh - 32px)!important;
  object-fit:contain!important;object-position:center!important
}
.tmc-lightbox-stage video{position:relative;z-index:2;max-width:100%!important;max-height:calc(100vh - 32px)!important;object-fit:contain!important}
.tmc-lightbox-close{z-index:40!important}.tmc-lightbox-nav{z-index:35!important}.tmc-lightbox-count{z-index:35!important}
/* Story strip contains media posts only; no standalone logged-in profile tile. */
.tmc-media-stories:empty{display:none!important}
@media(max-width:900px){
  .tmc-lightbox-stage img,.tmc-lightbox-stage video{max-height:calc(64vh - 20px)!important}
}


/* ===== v74 profile photo no-crop + universal viewer consistency ===== */
/* Profile Photos grid: never crop source media. Use a blurred copy only as the backdrop. */
.tmc-photo-grid .tmc-profile-photo-tile{
  position:relative!important;
  height:190px!important;
  min-height:190px!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  background:#0b111b!important;
  border-radius:15px!important;
  isolation:isolate;
}
.tmc-photo-grid .tmc-profile-photo-blur{
  position:absolute;inset:-18px;z-index:0;overflow:hidden;pointer-events:none;
  opacity:.62;filter:blur(18px) saturate(.9);transform:scale(1.08);
}
.tmc-photo-grid .tmc-profile-photo-blur img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
}
.tmc-photo-grid .tmc-profile-photo-main{
  position:relative;z-index:2;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;display:block!important;
  border-radius:0!important;transform:none!important;
}
.tmc-photo-grid .tmc-profile-photo-tile:hover .tmc-profile-photo-main{transform:none!important}
/* Keep the universal media viewer above every header/dropdown and fit tall media fully. */
.tmc-media-lightbox{z-index:2147483646!important}
.tmc-lightbox-shell{position:relative;z-index:1}
.tmc-lightbox-close{z-index:2147483647!important}
.tmc-lightbox-stage{overflow:hidden!important}
.tmc-lightbox-stage img{
  width:auto!important;height:auto!important;max-width:100%!important;
  max-height:calc(100vh - 40px)!important;object-fit:contain!important;object-position:center!important;
}
@media(max-width:640px){
  .tmc-photo-grid .tmc-profile-photo-tile{height:220px!important;min-height:220px!important}
}

/* ===== v75 TripMates travel-native feed features ===== */
.tmc-travel-tool-panel{padding:14px 16px}.tmc-travel-tool-panel>p{margin:2px 0 12px}.tmc-travel-field-grid{display:grid;grid-template-columns:1fr 150px;gap:10px 12px}.tmc-travel-field-grid label,.tmc-travel-single-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#26324a}.tmc-travel-field-grid input,.tmc-travel-single-field input{height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;font:inherit}.tmc-travel-panel-actions{display:flex;justify-content:flex-end;margin-top:12px}.tmc-post-context-chips .travel-kind{background:#edf7ff;border-color:#cce7ff;color:#0b5aa8}.tmc-post-context-chips .travel-kind.question{background:#f3efff;border-color:#ddd2ff;color:#6547bd}
.tmc-travel-feature-card{margin:10px 16px 12px;padding:12px 14px;border:1px solid #dce6f5;border-radius:14px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px 12px;align-items:center;background:linear-gradient(135deg,#f4f9ff,#fff)}.tmc-travel-feature-card.question{background:linear-gradient(135deg,#f7f3ff,#fff);border-color:#e3dbff}.tmc-travel-feature-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#e7f2ff;color:var(--blue);font-size:18px}.tmc-travel-feature-card.question .tmc-travel-feature-icon{background:#eee8ff;color:#6547bd}.tmc-travel-feature-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.tmc-travel-feature-copy b{font-size:14px}.tmc-travel-feature-copy span{font-size:12px;color:#65718a;white-space:normal}.tmc-travel-feature-card>small{grid-column:2/4;color:#748097;font-size:11px}.tmc-travel-interest{border:1px solid #b9dfcf;background:#eefbf5;color:#12845a;border-radius:10px;padding:8px 11px;font-weight:650;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.tmc-travel-interest.active{background:#daf6e9;border-color:#9fd6bd;color:#08714a}
.tmc-travel-signals{margin:10px 16px 4px;padding:9px 10px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tmc-travel-signals-place{font-size:12px;color:#58657d;margin-right:auto;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tmc-travel-signals button{border:1px solid #dbe3ee;background:#fff;color:#34425c;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:5px}.tmc-travel-signals button b{font-size:11px;color:#73809a}.tmc-travel-signals button.active{background:#eef4ff;border-color:#b9cef5;color:var(--blue)}
.tmc-save-collection-modal{max-width:470px}.tmc-save-collection-list{display:flex;flex-direction:column;gap:7px;margin:12px 0;max-height:300px;overflow:auto}.tmc-save-collection-row{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:10px;border:1px solid #e1e6ef;background:#fff;border-radius:12px;padding:10px 11px;text-align:left;color:#18233b}.tmc-save-collection-row:hover,.tmc-save-collection-row.active{background:#f3f7ff;border-color:#c8d8f3}.tmc-save-collection-icon{width:38px;height:38px;border-radius:10px;background:#edf4ff;color:var(--blue);display:grid;place-items:center}.tmc-save-collection-row span:nth-child(2){display:flex;flex-direction:column;gap:2px}.tmc-save-collection-row b{font-size:13px}.tmc-save-collection-row small{font-size:11px;color:#7b879a}.tmc-save-collection-row>i{color:#8190a6}.tmc-save-loading{padding:18px;text-align:center;color:#758198}.tmc-new-collection-form{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:12px}.tmc-new-collection-form input{flex:1;min-width:0;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px}.tmc-save-collection-footer{display:flex;justify-content:flex-end;margin-top:10px}.danger-soft{background:#fff3f3!important;color:#c42b37!important;border-color:#ffd7dc!important}
.tmc-saved-collections-bar{display:flex;gap:8px;overflow-x:auto;padding:4px 0 14px}.tmc-saved-collections-bar a{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce3ee;border-radius:999px;padding:8px 12px;background:#fff;color:#44526b;font-size:12px;font-weight:600;white-space:nowrap}.tmc-saved-collections-bar a.active,.tmc-saved-collections-bar a:hover{background:#eef4ff;border-color:#c7d7f2;color:var(--blue)}.tmc-saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tmc-saved-card{display:flex;gap:12px;padding:12px;min-width:0}.tmc-saved-card-media{width:86px;height:74px;border-radius:10px;background:#f2f5fa;overflow:hidden;display:grid;place-items:center;color:#7f8ba0;font-size:22px;flex:0 0 auto}.tmc-saved-card-media img{width:100%;height:100%;object-fit:cover}.tmc-saved-card-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.tmc-saved-card-copy b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-saved-card-copy small{font-size:11px;color:#78849a}.tmc-saved-card-copy span{font-size:11px;color:var(--blue)}
@media(max-width:900px){.tmc-travel-field-grid{grid-template-columns:1fr}.tmc-travel-feature-card{grid-template-columns:42px minmax(0,1fr)}.tmc-travel-feature-card .tmc-travel-interest{grid-column:1/3;justify-content:center}.tmc-travel-feature-card>small{grid-column:1/3}.tmc-saved-grid{grid-template-columns:1fr}.tmc-travel-signals-place{width:100%;max-width:none;margin-right:0}.tmc-new-collection-form{flex-direction:column}}
#tmcSaveCollectionModal{z-index:2147483647!important}

/* v76: stable travel actions + clean full Create Post modal */
#postModal.modal-backdrop{
  z-index:12000!important;
  align-items:flex-start!important;
  justify-content:center!important;
  overflow-y:auto!important;
  padding:10px 16px 18px!important;
}
#postModal .tmc-final-composer{
  width:min(640px,calc(100vw - 24px))!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0 auto!important;
  padding-bottom:18px!important;
}
#postModal .tmc-final-composer .modal-head{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  margin:0 -20px 2px!important;
  padding:8px 18px 10px!important;
}
#postModal .tmc-final-composer .tmc-post-modal-user{
  margin-top:0!important;
}
#postModal .tmc-final-composer .tmc-post-modal-actions{
  position:static!important;
  bottom:auto!important;
  padding:8px 0 0!important;
  margin-top:8px!important;
}
#postModal .tmc-final-composer form{overflow:visible!important;}
#tmcSaveCollectionModal{z-index:12100!important;}
#tmcSaveCollectionModal .tmc-save-collection-modal{width:min(470px,calc(100vw - 24px));}
@media(max-width:700px){
  #postModal.modal-backdrop{padding:6px!important;}
  #postModal .tmc-final-composer{width:100%!important;margin:0!important;}
}

/* v79: Travel Buddy date fields + modal-safe custom datepicker */
.tmc-datepicker{
  position:fixed!important;
  z-index:2147483647!important;
  max-width:calc(100vw - 24px)!important;
}
#postModal .tmc-travel-tool-panel{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  overflow:visible;
}
#postModal .tmc-travel-field-grid{
  grid-template-columns:minmax(0,1fr) 150px!important;
  gap:10px 12px!important;
  width:100%;
  align-items:end;
}
#postModal .tmc-travel-field-grid>label{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
#postModal .tmc-travel-field-grid input,
#postModal .tmc-travel-field-grid .tmc-date-field,
#postModal .tmc-travel-field-grid .tmc-date-field input{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
#postModal .tmc-travel-field-grid .tmc-date-field{
  display:block;
}
#postModal .tmc-travel-field-grid .tmc-date-field input{
  height:42px!important;
  padding:0 38px 0 12px!important;
}
#postModal .tmc-travel-panel-actions{
  margin-top:12px!important;
  gap:10px;
}
@media(max-width:700px){
  #postModal .tmc-travel-field-grid{grid-template-columns:1fr!important;}
  #postModal .tmc-travel-panel-actions .btn{width:100%;justify-content:center;}
}

/* ===== v80 Professional Travel Blogs ===== */
.tmc-blog-editor-shell{padding-top:24px}.tmc-blog-editor-container{max-width:1380px}.tmc-blog-editor-topbar,.tmc-my-blogs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.tmc-blog-editor-topbar h1,.tmc-my-blogs-head h1{font-size:30px;line-height:1.15;margin:5px 0 7px;color:#10182b}.tmc-blog-editor-topbar p,.tmc-my-blogs-head p{margin:0;color:#667188;font-size:14px}.tmc-blog-kicker{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--tmc-brand-blue);text-transform:uppercase}.tmc-blog-kicker i{margin-right:6px}.tmc-blog-top-actions{display:flex;gap:9px;flex-wrap:wrap}.tmc-blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}.tmc-blog-main,.tmc-blog-sidebar{display:grid;gap:16px}.tmc-blog-sidebar{position:sticky;top:88px}.tmc-blog-section{background:#fff;border:1px solid #e2e8f2;border-radius:16px;padding:20px;box-shadow:0 10px 28px rgba(18,32,60,.045)}.tmc-blog-title-section{padding:22px}.tmc-blog-label{display:block;font-size:13px;font-weight:600;color:#263149;margin-bottom:7px}.tmc-blog-title-input{border:0!important;box-shadow:none!important;padding:0!important;font-size:28px!important;font-weight:650!important;line-height:1.25!important;min-height:48px!important;width:100%;color:#111827}.tmc-blog-title-input::placeholder{color:#9aa3b3}.tmc-blog-slug-line{display:flex;align-items:center;gap:0;margin-top:9px;color:#8993a5;font-size:12px;background:#f7f9fc;border-radius:9px;padding:8px 10px;overflow:hidden}.tmc-blog-slug-line input{border:0!important;background:transparent!important;padding:0!important;height:auto!important;min-height:0!important;box-shadow:none!important;flex:1;font-size:12px!important;color:#4e5d75}.tmc-blog-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #eef1f6;padding-bottom:13px;margin-bottom:16px}.tmc-blog-section-head.compact{padding-bottom:11px;margin-bottom:13px}.tmc-blog-section-head h2{font-size:17px;margin:0 0 4px;color:#111827}.tmc-blog-section-head p{font-size:12.5px;line-height:1.45;margin:0;color:#758095}.tmc-blog-section-head>i{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eef4ff;color:var(--tmc-brand-blue);flex:0 0 36px}.tmc-blog-editor-form .field{margin-top:12px}.tmc-blog-editor-form .field:first-child{margin-top:0}.tmc-blog-editor-form .field label{display:block;margin-bottom:7px;font-size:13px;font-weight:600;color:#27324a}.tmc-blog-editor-form input,.tmc-blog-editor-form textarea,.tmc-blog-editor-form select{font-family:inherit;font-size:13.5px}.tmc-blog-editor-form .field input,.tmc-blog-editor-form .field textarea{width:100%;border:1px solid #dfe5ef;border-radius:10px;background:#fff;padding:11px 12px;color:#172033;outline:none}.tmc-blog-editor-form .field input:focus,.tmc-blog-editor-form .field textarea:focus{border-color:var(--tmc-brand-blue);box-shadow:0 0 0 3px rgba(31,78,154,.08)}.tmc-blog-editor-form .field small,.tmc-blog-help{display:block;margin-top:6px;color:#8791a3;font-size:11.5px;line-height:1.4}.tmc-blog-banner-picker{position:relative;width:100%;height:265px;border:1px dashed #bdc8da;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#f4f7fb);overflow:hidden;cursor:pointer;display:grid;place-items:center;color:#647087}.tmc-blog-banner-picker:hover{border-color:var(--tmc-brand-blue);background:#f7faff}.tmc-blog-banner-picker img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tmc-blog-banner-picker img[hidden],.tmc-blog-banner-placeholder[hidden],.tmc-blog-crop-aspects[hidden],.tmc-blog-crop-meta[hidden]{display:none!important}.tmc-blog-banner-placeholder{display:grid;place-items:center;gap:6px;text-align:center}.tmc-blog-banner-placeholder>i{font-size:28px;color:var(--tmc-brand-blue)}.tmc-blog-banner-placeholder b{font-size:14px;color:#172033}.tmc-blog-banner-placeholder small{font-size:11.5px}.tmc-blog-banner-edit{position:absolute;right:12px;bottom:12px;background:rgba(17,24,39,.86);color:#fff;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:600;box-shadow:0 4px 15px rgba(0,0,0,.15)}.tmc-blog-multiselect .tmc-multiselect-control{min-height:44px;border-radius:10px;font-size:13px}.tmc-blog-multiselect .tmc-multiselect-control em{font-size:11px;font-weight:600;padding:5px 8px;background:#edf4ff;color:var(--tmc-brand-blue)}.tmc-blog-multiselect.open{z-index:250}.tmc-blog-multiselect .tmc-multiselect-menu{z-index:260}.tmc-blog-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.tmc-blog-mini-grid .full{grid-column:1/-1}.tmc-blog-check{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid #e6ebf3;border-radius:11px;background:#fafbfd;cursor:pointer}.tmc-blog-check input{margin-top:3px}.tmc-blog-check span{display:grid;gap:3px}.tmc-blog-check b{font-size:13px}.tmc-blog-check small{font-size:11.5px;color:#7e899a}.tmc-blog-publish-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:14px}.tmc-blog-publish-actions .btn{width:100%;min-height:39px}.tmc-blog-review-note{display:flex;gap:8px;margin:12px 0 0;padding:10px 11px;border-radius:10px;background:#f8fafc;color:#667188;font-size:11.5px;line-height:1.45}.tmc-blog-current-status{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;padding:9px 10px;border-radius:9px;background:#f8fafc;font-size:12px}.tmc-blog-current-status b,.tmc-blog-status{border-radius:999px;padding:5px 8px;font-size:10.5px;text-transform:uppercase;letter-spacing:.03em}.status-approved{background:#e8f8ef;color:#16834d}.status-pending{background:#fff5df;color:#a96b00}.status-draft{background:#eef2f7;color:#687489}.status-rejected{background:#fff0f0;color:#c83e3e}.status-unpublished{background:#eef2f7;color:#5c6678}
.tmc-rich-toolbar{position:sticky;top:70px;z-index:20;display:flex;align-items:center;gap:5px;flex-wrap:wrap;border:1px solid #dfe5ef;border-bottom:0;border-radius:12px 12px 0 0;background:#fff;padding:7px;box-shadow:0 5px 12px rgba(23,36,68,.04)}.tmc-rich-toolbar>span{width:1px;height:24px;background:#e5eaf1;margin:0 2px}.tmc-rich-toolbar button,.tmc-rich-toolbar select{height:34px;border:0;border-radius:7px;background:transparent;color:#34415a;padding:0 9px;font:600 12px inherit;cursor:pointer}.tmc-rich-toolbar button:hover,.tmc-rich-toolbar select:hover{background:#eef4ff;color:var(--tmc-brand-blue)}.tmc-rich-editor{min-height:520px;border:1px solid #dfe5ef;border-radius:0 0 12px 12px;background:#fff;padding:26px 30px;font-size:16px;line-height:1.78;color:#20293b;outline:none}.tmc-rich-editor:focus{border-color:#9db6de;box-shadow:0 0 0 3px rgba(31,78,154,.05)}.tmc-rich-editor:empty:before{content:attr(data-placeholder);color:#9aa3b2}.tmc-rich-editor h2{font-size:26px;line-height:1.3;margin:30px 0 12px}.tmc-rich-editor h3{font-size:21px;line-height:1.35;margin:25px 0 10px}.tmc-rich-editor p{margin:0 0 16px}.tmc-rich-editor blockquote{margin:20px 0;padding:14px 18px;border-left:4px solid var(--tmc-brand-blue);background:#f5f8fd;border-radius:0 10px 10px 0;color:#42516b}.tmc-rich-editor ul,.tmc-rich-editor ol{padding-left:26px}.tmc-rich-editor a{color:var(--tmc-brand-blue);text-decoration:underline}.tmc-rich-editor figure{margin:24px 0}.tmc-rich-editor figure img{max-width:100%;height:auto;border-radius:12px;display:block;margin:auto}.tmc-rich-editor figcaption{text-align:center;color:#7b8698;font-size:12px;margin-top:7px}.tmc-blog-video-embed{position:relative;padding-top:56.25%;border-radius:12px;overflow:hidden;background:#0d1320;margin:22px 0}.tmc-blog-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.tmc-blog-editor-note{display:flex;align-items:center;gap:7px;color:#7c8799;font-size:11.5px;margin-top:9px}.tmc-blog-crop-backdrop{z-index:2147483646!important;align-items:center!important;overflow:auto;padding:24px 12px}.tmc-blog-crop-modal{width:min(880px,calc(100vw - 24px));max-height:none}.tmc-blog-crop-modal .modal-head p{margin:3px 0 0;color:#7b8698;font-size:12px}.tmc-blog-crop-stage-wrap{display:flex;justify-content:center;padding:12px;background:#eef2f7;border-radius:13px;overflow:auto}.tmc-blog-crop-stage{position:relative;overflow:hidden;background:#111827;touch-action:none;cursor:grab;max-width:100%;border-radius:8px;box-shadow:0 0 0 1px rgba(255,255,255,.3)}.tmc-blog-crop-stage.dragging{cursor:grabbing}.tmc-blog-crop-stage img{position:absolute;left:0;top:0;max-width:none!important;user-select:none;pointer-events:none;transform-origin:0 0}.tmc-blog-crop-controls{display:flex;align-items:center;gap:12px;margin:14px auto 0;max-width:620px;color:#68758a}.tmc-blog-crop-controls input{flex:1}.tmc-blog-crop-aspects{display:flex;gap:7px;margin-bottom:10px;flex-wrap:wrap}.tmc-blog-crop-aspects button{border:1px solid #dfe5ef;background:#fff;border-radius:8px;height:34px;padding:0 12px;font-size:11.5px;font-weight:600;cursor:pointer}.tmc-blog-crop-aspects button.active{border-color:var(--tmc-brand-blue);background:#edf4ff;color:var(--tmc-brand-blue)}.tmc-blog-crop-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.tmc-blog-crop-meta .field{margin:0}.tmc-modal-actions{display:flex;align-items:center;gap:10px;margin-top:16px}.tmc-modal-actions .grow{flex:1}
/* Public blog directory */
.tmc-blogs-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.tmc-blogs-main{min-width:0}.tmc-blogs-hero{height:330px;border-radius:20px;overflow:hidden;position:relative;margin-bottom:16px;background:#163359}.tmc-blogs-hero>img{width:100%;height:100%;object-fit:cover}.tmc-blogs-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,20,42,.8),rgba(7,20,42,.25) 62%,rgba(7,20,42,.05))}.tmc-blogs-hero-overlay{position:absolute;z-index:2;left:34px;bottom:34px;max-width:650px;color:#fff}.tmc-blogs-hero-overlay>span{font-size:11px;font-weight:800;letter-spacing:.1em;color:#dbe9ff}.tmc-blogs-hero-overlay h1{font-size:36px;line-height:1.1;margin:7px 0 9px}.tmc-blogs-hero-overlay p{font-size:15px;line-height:1.55;margin:0 0 16px;color:#eef5ff}.tmc-blog-filter{display:grid;grid-template-columns:minmax(260px,1.4fr) 190px 170px 145px auto;gap:9px;padding:12px;margin-bottom:20px}.tmc-blog-filter input,.tmc-blog-filter select{height:42px;border:1px solid #dfe5ef;border-radius:10px;background:#fff;padding:0 11px;font:400 13px inherit;color:#46536a;outline:none}.tmc-blog-search{position:relative}.tmc-blog-search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#7a8598}.tmc-blog-search input{width:100%;padding-left:35px}.tmc-blog-list-heading{display:flex;justify-content:space-between;margin:6px 0 13px}.tmc-blog-list-heading h2{font-size:21px;margin:0 0 3px}.tmc-blog-list-heading p{font-size:12px;color:#7a8598;margin:0}.tmc-blog-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tmc-blog-card{overflow:hidden;border-radius:16px}.tmc-blog-card-image{height:230px;display:block;position:relative;background:#eef2f7;overflow:hidden}.tmc-blog-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.tmc-blog-card:hover .tmc-blog-card-image img{transform:scale(1.02)}.tmc-blog-no-image{width:100%;height:100%;display:grid;place-items:center;color:#a4adbc;font-size:30px}.tmc-blog-destination{position:absolute;left:11px;bottom:11px;background:rgba(17,24,39,.82);color:#fff;border-radius:999px;padding:7px 10px;font-size:10.5px;font-weight:600}.tmc-blog-card-body{padding:16px}.tmc-blog-category-line{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.tmc-blog-category-line span{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--tmc-brand-blue);background:#edf4ff;border-radius:999px;padding:4px 7px}.tmc-blog-card h3{font-size:18px;line-height:1.35;margin:0 0 7px}.tmc-blog-card h3 a{color:#111827;text-decoration:none}.tmc-blog-card-body>p{font-size:13px;line-height:1.5;color:#69758a;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tmc-blog-author-line>a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#172033}.tmc-blog-author-line img{width:34px;height:34px;border-radius:50%;object-fit:cover}.tmc-blog-author-line span{display:grid;gap:1px}.tmc-blog-author-line b{font-size:12px}.tmc-blog-author-line small{font-size:10.5px;color:#7b8698}.tmc-blog-card-stats{display:flex;align-items:center;gap:13px;border-top:1px solid #eef1f5;margin-top:13px;padding-top:11px;color:#758095;font-size:10.5px}.tmc-blog-card-stats>a{margin-left:auto;color:var(--tmc-brand-blue);font-weight:700;text-decoration:none}.tmc-blog-pagination{display:flex;justify-content:center;gap:7px;margin:24px 0}.tmc-blogs-rail{display:grid;gap:16px;position:sticky;top:88px}.tmc-blog-rail-card,.tmc-blog-write-card{padding:17px;border-radius:15px}.tmc-blog-rail-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.tmc-blog-rail-head h3{font-size:15px;margin:0}.tmc-blog-rail-head a{font-size:10.5px;color:var(--tmc-brand-blue);font-weight:700}.tmc-blog-author-row{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:9px 0;text-decoration:none;color:#172033;border-bottom:1px solid #f0f2f6}.tmc-blog-author-row:last-child{border-bottom:0}.tmc-blog-author-row img{width:40px;height:40px;border-radius:50%;object-fit:cover}.tmc-blog-author-row span{display:grid}.tmc-blog-author-row b{font-size:12px}.tmc-blog-author-row small{font-size:10.5px;color:#7b8698}.tmc-blog-author-row>i{color:#a1a9b8;font-size:10px}.tmc-blog-topic-list{display:grid}.tmc-blog-topic-list a{display:flex;justify-content:space-between;gap:8px;padding:9px 2px;color:#35425a;text-decoration:none;font-size:11.5px}.tmc-blog-topic-list small{color:#8a94a5}.tmc-blog-write-card{text-align:center;background:linear-gradient(145deg,#edf4ff,#fff7ef)}.tmc-blog-write-card>i{width:44px;height:44px;display:grid;place-items:center;margin:0 auto 8px;border-radius:50%;background:#fff;color:var(--tmc-brand-blue);box-shadow:0 8px 20px rgba(31,78,154,.12)}.tmc-blog-write-card h3{margin:0 0 5px}.tmc-blog-write-card p{font-size:12px;line-height:1.5;color:#6f7b90}
/* Blog detail */
.tmc-blog-article{max-width:1180px;margin:0 auto}.tmc-blog-preview-banner{display:flex;align-items:center;gap:10px;background:#fff7e8;border:1px solid #f5dbad;padding:10px 13px;border-radius:11px;margin-bottom:12px;color:#7b571c;font-size:12px}.tmc-blog-preview-banner .btn{margin-left:auto}.tmc-blog-detail-hero{height:520px;border-radius:20px;overflow:hidden;position:relative;background:#101827}.tmc-blog-detail-hero>img{width:100%;height:100%;object-fit:cover}.tmc-blog-detail-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,15,29,.04) 25%,rgba(8,15,29,.8) 100%)}.tmc-blog-detail-hero-copy{position:absolute;left:44px;right:44px;bottom:38px;color:#fff;max-width:880px}.tmc-blog-detail-cats{display:flex;gap:7px;flex-wrap:wrap}.tmc-blog-detail-cats a{font-size:10.5px;font-weight:700;text-decoration:none;color:#fff;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.22);padding:5px 8px;border-radius:999px}.tmc-blog-detail-hero h1{font-size:44px;line-height:1.08;margin:10px 0 10px;text-shadow:0 2px 14px rgba(0,0,0,.2)}.tmc-blog-detail-hero-copy>p{font-size:16px;line-height:1.55;margin:0 0 10px;color:#eff5ff}.tmc-blog-hero-destination{font-size:12px;font-weight:600}.tmc-blog-detail-body{max-width:880px;margin:0 auto;padding:24px 0 50px}.tmc-blog-article-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.tmc-blog-detail-author{display:flex;align-items:center;gap:10px;text-decoration:none;color:#172033}.tmc-blog-detail-author img{width:48px;height:48px;border-radius:50%;object-fit:cover}.tmc-blog-detail-author span{display:grid;gap:2px}.tmc-blog-detail-author b{font-size:14px}.tmc-blog-detail-author small{font-size:11px;color:#788397}.tmc-blog-detail-meta{display:flex;align-items:center;gap:10px;color:#7b8698;font-size:11px}.tmc-blog-action-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:13px 0;border-top:1px solid #e9edf4;border-bottom:1px solid #e9edf4;margin:20px 0 28px}.tmc-blog-action-bar button{height:40px;border:0;border-radius:9px;background:#f7f9fc;color:#3c4961;display:flex;align-items:center;justify-content:center;gap:6px;font:600 12px inherit;cursor:pointer}.tmc-blog-action-bar button:hover,.tmc-blog-action-bar button.active{background:#edf4ff;color:var(--tmc-brand-blue)}.tmc-blog-action-bar button b{font-size:10px}.tmc-blog-prose{font-size:16px;line-height:1.82;color:#273247}.tmc-blog-prose>p{margin:0 0 19px}.tmc-blog-prose h2{font-size:27px;line-height:1.3;margin:35px 0 13px;color:#111827}.tmc-blog-prose h3{font-size:21px;margin:28px 0 10px;color:#111827}.tmc-blog-prose img{max-width:100%;height:auto;border-radius:14px;display:block;margin:26px auto 8px}.tmc-blog-prose figure{margin:28px 0}.tmc-blog-prose figcaption{text-align:center;font-size:12px;color:#7a8598;margin-top:8px}.tmc-blog-prose blockquote{border-left:4px solid var(--tmc-brand-blue);background:#f5f8fd;padding:16px 18px;margin:24px 0;border-radius:0 12px 12px 0;color:#44536d}.tmc-blog-prose a{color:var(--tmc-brand-blue)}.tmc-blog-prose .tmc-blog-video-embed{margin:28px 0}.tmc-blog-tags{display:flex;gap:7px;flex-wrap:wrap;margin:25px 0}.tmc-blog-tags a{background:#f1f5fb;color:#4e5c73;text-decoration:none;border-radius:999px;padding:6px 9px;font-size:11px}.tmc-blog-author-card{display:grid;grid-template-columns:80px 1fr;gap:16px;padding:20px;margin:30px 0;border-radius:16px;background:linear-gradient(145deg,#f8fbff,#fff)}.tmc-blog-author-card>img{width:80px;height:80px;border-radius:50%;object-fit:cover}.tmc-blog-author-card span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#7d8798}.tmc-blog-author-card h3{margin:2px 0 5px}.tmc-blog-author-card p{font-size:12.5px;line-height:1.5;color:#67748a;margin:0 0 9px}.tmc-blog-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:28px 0 12px}.tmc-blog-section-title h2{font-size:20px;margin:0 0 3px}.tmc-blog-section-title p{margin:0;color:#7a8598;font-size:11.5px}.tmc-blog-section-title>a{font-size:11px;color:var(--tmc-brand-blue);font-weight:700}.tmc-blog-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tmc-blog-related-grid>a{overflow:hidden;text-decoration:none;color:#172033}.tmc-blog-related-grid img{width:100%;height:125px;object-fit:cover}.tmc-blog-related-grid div{padding:11px}.tmc-blog-related-grid b{font-size:12px;line-height:1.35;display:block}.tmc-blog-related-grid p{font-size:10.5px;color:#7c8798;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tmc-blog-related-grid small{font-size:9.5px;color:#8b94a4}.tmc-blog-comments{scroll-margin-top:90px}.tmc-blog-comment-composer{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:end;padding:14px;background:#f8fafc;border:1px solid #e6eaf1;border-radius:14px}.tmc-blog-comment-composer img,.tmc-blog-comment>img,.tmc-blog-reply>img{width:38px;height:38px;border-radius:50%;object-fit:cover}.tmc-blog-comment-composer textarea,.tmc-blog-reply-form textarea{width:100%;border:1px solid #dfe5ef;background:#fff;border-radius:10px;padding:10px 11px;font:400 13px/1.4 inherit;resize:vertical;outline:none}.tmc-blog-comment-list{display:grid;gap:14px;margin-top:16px}.tmc-blog-comment{display:grid;grid-template-columns:38px 1fr;gap:9px}.tmc-blog-comment-bubble{display:inline-block;max-width:min(100%,700px);background:#f2f4f8;border-radius:12px;padding:9px 11px}.tmc-blog-comment-bubble>div{display:flex;align-items:center;gap:7px}.tmc-blog-comment-bubble b{font-size:12.5px}.tmc-blog-comment-bubble small{font-size:9.5px;color:#8993a3}.tmc-blog-comment-bubble p{font-size:13px;line-height:1.45;margin:3px 0 0}.tmc-blog-comment-tools{display:flex;gap:10px;padding:4px 5px}.tmc-blog-comment-tools button{border:0;background:transparent;color:#5e6b80;font-size:10.5px;font-weight:600;cursor:pointer;padding:0}.tmc-blog-replies{display:grid;gap:9px;margin:6px 0 0 17px}.tmc-blog-reply{display:grid;grid-template-columns:32px 1fr;gap:7px}.tmc-blog-reply>img{width:32px;height:32px}.tmc-blog-reply-form{display:grid;grid-template-columns:1fr auto;gap:7px;margin:7px 0 0 17px}.tmc-blog-login-note{padding:15px;border-radius:12px;background:#f8fafc;color:#758095;font-size:12px}.tmc-blog-login-note a{color:var(--tmc-brand-blue);font-weight:700}
/* My blogs */
.tmc-my-blogs-container{max-width:1280px}.tmc-my-blog-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0 18px}.tmc-my-blog-stats>div{background:#fff;border:1px solid #e4e9f1;border-radius:14px;padding:15px;text-align:center}.tmc-my-blog-stats b{display:block;font-size:22px;color:#111827}.tmc-my-blog-stats span{font-size:11px;color:#798497}.tmc-my-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tmc-my-blog-card{overflow:hidden;border-radius:16px}.tmc-my-blog-image{height:190px;background:#eef2f7;position:relative}.tmc-my-blog-image>img{width:100%;height:100%;object-fit:cover}.tmc-my-blog-image>span{height:100%;display:grid;place-items:center;color:#a4adbc;font-size:30px}.tmc-my-blog-image .tmc-blog-status{position:absolute;left:10px;top:10px}.tmc-my-blog-body{padding:15px}.tmc-my-blog-body h3{font-size:16px;margin:0 0 6px}.tmc-my-blog-body>p{font-size:12px;line-height:1.45;color:#738095;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}.tmc-my-blog-meta{display:flex;gap:12px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:9px 0;margin:11px 0;color:#778296;font-size:10px}.tmc-my-blog-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.tmc-my-blog-actions form{margin:0}.tmc-my-blog-actions .danger{color:#c83838}.tmc-my-blog-updated{display:block;margin-top:9px;color:#929aab;font-size:9.5px}
@media(max-width:1100px){.tmc-blog-layout{grid-template-columns:1fr}.tmc-blog-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-blog-sidebar>.tmc-blog-section:first-child{grid-column:1/-1}.tmc-blogs-layout{grid-template-columns:1fr}.tmc-blogs-rail{position:static;grid-template-columns:repeat(2,1fr)}.tmc-blog-filter{grid-template-columns:1fr 1fr 1fr}.tmc-blog-search{grid-column:1/-1}.tmc-blog-filter .btn{grid-column:3}.tmc-my-blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.tmc-blog-editor-shell{padding-top:12px}.tmc-blog-editor-topbar,.tmc-my-blogs-head{display:block}.tmc-blog-top-actions,.tmc-my-blogs-head>.btn{margin-top:12px}.tmc-blog-editor-topbar h1,.tmc-my-blogs-head h1{font-size:25px}.tmc-blog-sidebar{display:grid;grid-template-columns:1fr}.tmc-blog-sidebar>.tmc-blog-section:first-child{grid-column:auto}.tmc-blog-title-input{font-size:23px!important}.tmc-blog-banner-picker{height:190px}.tmc-rich-toolbar{top:64px}.tmc-rich-editor{padding:18px 16px;min-height:430px;font-size:15px}.tmc-blog-crop-meta{grid-template-columns:1fr}.tmc-blog-mini-grid{grid-template-columns:1fr}.tmc-blog-mini-grid .full{grid-column:auto}.tmc-blogs-hero{height:380px}.tmc-blogs-hero-overlay{left:20px;right:20px;bottom:22px}.tmc-blogs-hero-overlay h1{font-size:30px}.tmc-blog-filter{grid-template-columns:1fr}.tmc-blog-filter .btn,.tmc-blog-search{grid-column:auto}.tmc-blog-card-grid{grid-template-columns:1fr}.tmc-blogs-rail{grid-template-columns:1fr}.tmc-blog-detail-hero{height:480px;border-radius:0}.tmc-blog-detail-hero-copy{left:20px;right:20px;bottom:24px}.tmc-blog-detail-hero h1{font-size:31px}.tmc-blog-detail-body{padding:18px 14px 40px}.tmc-blog-article-head{align-items:flex-start;flex-direction:column}.tmc-blog-action-bar{grid-template-columns:repeat(2,1fr)}.tmc-blog-prose{font-size:15px}.tmc-blog-related-grid{grid-template-columns:1fr}.tmc-blog-author-card{grid-template-columns:60px 1fr}.tmc-blog-author-card>img{width:60px;height:60px}.tmc-blog-comment-composer{grid-template-columns:36px 1fr}.tmc-blog-comment-composer .btn{grid-column:2;justify-self:end}.tmc-blog-comment-composer img{width:36px;height:36px}.tmc-my-blog-stats{grid-template-columns:repeat(2,1fr)}.tmc-my-blog-grid{grid-template-columns:1fr}}

/* v84: published blogs inside the main social feed */
.tmc-blog-feed-card{overflow:hidden}.tmc-blog-feed-preview{display:block;color:inherit;text-decoration:none;border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5;background:#fff}.tmc-blog-feed-image{height:360px;overflow:hidden;background:#eef2f7}.tmc-blog-feed-image img{width:100%;height:100%;object-fit:cover;display:block}.tmc-blog-feed-copy{padding:16px 18px 18px}.tmc-blog-feed-label{display:flex;align-items:center;gap:7px;color:var(--tmc-brand-blue);font-size:12px;font-weight:700;margin-bottom:8px}.tmc-blog-feed-label>span{margin-left:auto;color:#6d788b;font-size:11px;font-weight:500}.tmc-blog-feed-cats{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.tmc-blog-feed-cats span{font-size:10px;font-weight:700;color:#3f5f96;background:#edf4ff;border-radius:999px;padding:4px 7px}.tmc-blog-feed-copy h3{font-size:21px;line-height:1.3;margin:0 0 7px;color:#111827}.tmc-blog-feed-copy p{font-size:14px;line-height:1.55;color:#657187;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tmc-blog-feed-read{display:inline-flex;align-items:center;gap:7px;color:var(--tmc-brand-blue);font-size:12px;font-weight:700}.tmc-blog-feed-summary>span{display:flex;align-items:center;gap:5px}.tmc-blog-feed-actions>a{display:flex;align-items:center;justify-content:center;gap:7px;color:inherit;text-decoration:none;border-radius:10px;min-height:40px}.tmc-blog-feed-actions>a:hover{background:#edf4ff;color:var(--tmc-brand-blue)}
@media(max-width:760px){.tmc-blog-feed-image{height:250px}.tmc-blog-feed-copy h3{font-size:18px}.tmc-blog-feed-label{align-items:flex-start;flex-direction:column}.tmc-blog-feed-label>span{margin-left:0}.tmc-blog-feed-actions{grid-template-columns:repeat(2,1fr)}}

/* ===== v85 Blog feed spacing + reply composer polish ===== */
.tmc-blog-feed-card .tmc-post-head{
  margin-bottom:12px;
}
.tmc-blog-feed-card .tmc-blog-feed-preview{
  margin-top:0;
}

/* Keep reply composers closed until the traveller explicitly clicks Reply. */
.tmc-blog-reply-form[hidden]{
  display:none!important;
}
.tmc-blog-reply-form{
  align-items:end;
}

/* Blog comment/reply submit controls use one consistent compact height. */
.tmc-blog-comment-composer>.btn,
.tmc-blog-reply-form>.btn{
  height:36px!important;
  min-height:36px!important;
  padding:0 14px!important;
  align-self:end;
  white-space:nowrap;
}

/* ===== Communities: database-backed final UI ===== */
.tmc-page-alert{margin:0 0 16px;padding:12px 15px;border:1px solid #d9e6fa;border-radius:12px;background:#f4f8ff;color:#24436d;font-size:13px;font-weight:600}.tmc-page-alert.success{border-color:#ccebdc;background:#f1fbf6;color:#16724a}.tmc-page-alert.error{border-color:#f4d5d8;background:#fff6f6;color:#b3323d}
.tmc-communities-shell,.tmc-my-communities-shell,.tmc-community-manage-shell{max-width:1240px}.tmc-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.tmc-communities-hero{min-height:300px;border:1px solid #e3eaf5;border-radius:24px;background:linear-gradient(135deg,#f5f9ff 0%,#fff 62%,#eef6ff 100%);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:34px;align-items:center;padding:42px 48px;overflow:hidden;position:relative}.tmc-communities-hero:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;background:rgba(11,47,115,.045);right:-120px;top:-155px}.tmc-communities-hero-copy{position:relative;z-index:2}.tmc-communities-hero-copy h1{font-size:40px;line-height:1.1;letter-spacing:-1px;margin:8px 0 13px}.tmc-communities-hero-copy p{max-width:650px;margin:0;color:#627087;font-size:15px;line-height:1.65}.tmc-community-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.tmc-communities-hero-art{height:210px;position:relative;z-index:2}.tmc-community-art-card{position:absolute;width:190px;padding:17px;border:1px solid #e5ebf4;border-radius:17px;background:rgba(255,255,255,.96);box-shadow:0 14px 34px rgba(31,57,104,.10)}.tmc-community-art-card i{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#edf4ff;color:var(--blue);font-size:18px}.tmc-community-art-card b,.tmc-community-art-card span{display:block}.tmc-community-art-card b{margin-top:10px;font-size:13px}.tmc-community-art-card span{margin-top:2px;color:#78859a;font-size:11px}.tmc-community-art-card.one{left:5px;top:4px}.tmc-community-art-card.two{right:0;top:56px}.tmc-community-art-card.three{left:70px;bottom:0}
.tmc-community-discovery-tools{margin:18px 0 2px}.tmc-community-search{height:54px;border:1px solid #e1e7f0;border-radius:15px;background:#fff;display:flex;align-items:center;gap:10px;padding:6px 7px 6px 17px;box-shadow:0 6px 18px rgba(25,43,80,.04)}.tmc-community-search>i{color:#8490a3}.tmc-community-search input{border:0;outline:0;min-width:0;flex:1;color:#25324a;background:transparent}.tmc-community-search .btn{min-height:40px}.tmc-search-clear{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#778398}.tmc-search-clear:hover{background:#f1f4f8}.tmc-community-topic-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.tmc-community-topic-chips a{border:1px solid #e3e8f0;border-radius:999px;background:#fff;padding:6px 11px;color:#59667d;font-size:11px;font-weight:650}.tmc-community-topic-chips a:hover{border-color:#cbd9ed;color:var(--blue);background:#f7faff}
.tmc-community-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tmc-community-discovery-card{overflow:hidden;border-radius:17px;transition:transform .18s ease,box-shadow .18s ease}.tmc-community-discovery-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(24,39,75,.10)}.tmc-community-card-cover{display:block;height:150px;background:#eaf0f8;position:relative}.tmc-community-card-cover>img{width:100%;height:100%;object-fit:cover}.tmc-community-card-cover>em{position:absolute;right:10px;top:10px;background:rgba(255,255,255,.94);color:#a86900;border-radius:999px;padding:5px 8px;font-style:normal;font-size:9px;font-weight:800}.tmc-community-card-logo{position:absolute;left:16px;bottom:-30px;width:64px;height:64px;border-radius:17px;padding:3px;background:#fff;box-shadow:0 5px 16px rgba(24,39,75,.16)}.tmc-community-card-logo img{width:100%;height:100%;border-radius:14px;object-fit:cover}.tmc-community-card-body{padding:38px 16px 15px}.tmc-community-card-title{display:flex;align-items:center;gap:6px}.tmc-community-card-title a{min-width:0}.tmc-community-card-title h3{font-size:16px;line-height:1.3;margin:0}.tmc-verified{color:#1c6bd6;font-size:.86em}.tmc-community-card-body>p{height:38px;margin:7px 0 11px;color:#6d788d;font-size:11.5px;line-height:1.55;overflow:hidden}.tmc-community-card-meta{display:flex;align-items:center;gap:13px;color:#707d91;font-size:10.5px}.tmc-community-card-meta span{display:flex;align-items:center;gap:5px}.tmc-community-card-foot{border-top:1px solid #eef1f5;margin-top:12px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:9px}.tmc-community-card-foot>span{min-width:0;color:#66758a;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-community-empty{text-align:center;padding:42px 20px}.tmc-community-empty.compact{padding:28px 18px}.tmc-community-empty>i{font-size:30px;color:#9aabc3}.tmc-community-empty h3{margin:10px 0 4px;font-size:17px}.tmc-community-empty p{margin:0 auto 15px;max-width:470px;color:#7a8598;font-size:12px}
/* Community detail */
.tmc-community-detail-page{background:#f8faff}.tmc-community-detail-page .tmc-community-hero{border-radius:18px}.tmc-community-detail-page .tmc-community-cover{height:285px;background:#eaf0f8}.tmc-community-detail-page .tmc-community-cover img{width:100%;height:100%;object-fit:cover}.tmc-community-detail-page .tmc-community-info{align-items:flex-end;padding:0 25px 20px}.tmc-community-detail-page .tmc-community-logo{width:132px;height:132px;border-radius:27px;border-width:5px;margin-top:-48px}.tmc-community-name-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.tmc-community-name-row h1{margin:0;font-size:27px}.tmc-status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;background:#fff4e7;color:#a96008;font-size:9.5px;font-weight:800;text-transform:capitalize}.tmc-status-pill.approved{background:#eaf8f0;color:#15704a}.tmc-status-pill.rejected,.tmc-status-pill.frozen{background:#fff0f1;color:#b02d3a}.tmc-community-primary-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tmc-community-primary-actions form{margin:0}.tmc-joined-static{pointer-events:none;background:#f3f6fa}.tmc-community-detail-page .tmc-community-meta{margin-top:10px}.tmc-community-tabs{scroll-margin-top:82px}.tmc-community-tabs button{cursor:pointer}.tmc-community-composer{margin:0 0 14px}.tmc-community-join-prompt{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.tmc-community-join-prompt>div{display:flex;align-items:center;gap:12px}.tmc-community-join-prompt>div>i{width:40px;height:40px;border-radius:12px;background:#edf4ff;color:var(--blue);display:grid;place-items:center}.tmc-community-join-prompt b,.tmc-community-join-prompt span{display:block}.tmc-community-join-prompt span{color:#758197;font-size:11px;margin-top:2px}.tmc-community-private-lock{text-align:center;padding:48px 25px}.tmc-community-private-lock.small{padding:34px 22px}.tmc-community-private-lock>span{width:58px;height:58px;margin:0 auto;border-radius:18px;background:#eef4fd;color:var(--blue);display:grid;place-items:center;font-size:23px}.tmc-community-private-lock h2{font-size:20px;margin:13px 0 5px}.tmc-community-private-lock p{max-width:480px;margin:0 auto;color:#778397;font-size:12px}.tmc-community-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 12px}.tmc-community-section-title h2{margin:0;font-size:19px}.tmc-community-section-title p{margin:2px 0 0;color:#778398;font-size:11px}.tmc-community-about-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:14px}.tmc-community-about-card{padding:19px}.tmc-community-about-card h3{font-size:16px;margin:0 0 9px}.tmc-about-copy{color:#536178;font-size:12.5px;line-height:1.65;white-space:pre-line}.tmc-community-rules{margin:0;padding-left:19px;color:#526076;font-size:12px}.tmc-community-rules li+li{margin-top:8px}.tmc-rules-heading{display:flex;align-items:center;gap:8px}.tmc-rules-heading i{color:var(--blue)}
.tmc-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-member-card{display:flex;align-items:center;gap:11px}.tmc-member-role{display:inline-block;color:#6d788b;font-size:9.5px;margin-top:2px}.tmc-community-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.tmc-community-photo-grid a{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:11px;background:#eef2f7}.tmc-community-photo-grid img{width:100%;height:100%;object-fit:cover}.tmc-sidebar-description{display:block!important;color:#657187!important;line-height:1.55!important}.tmc-sidebar-fact{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid #eef1f5}.tmc-sidebar-fact>i{width:28px;height:28px;border-radius:9px;background:#f0f5fc;color:var(--blue);display:grid;place-items:center}.tmc-sidebar-fact span{min-width:0}.tmc-sidebar-fact small,.tmc-sidebar-fact b{display:block}.tmc-sidebar-fact small{font-size:9px;color:#8994a5}.tmc-sidebar-fact b{font-size:11px;color:#39465d;margin-top:1px}.tmc-community-about-card .link-blue{border:0;background:transparent;padding:8px 0 0;font-size:11px}.tmc-community-report-card summary{cursor:pointer;color:#69758a;font-size:11px;font-weight:650}.tmc-community-report-card form{display:grid;gap:8px;margin-top:12px}.tmc-community-report-card select,.tmc-community-report-card textarea{width:100%;border:1px solid #dfe5ee;border-radius:9px;padding:8px 9px;background:#fff;color:#47556c;font-size:11px}.tmc-contributor{text-decoration:none}.tmc-contributor:hover b{color:var(--blue)}
.tmc-post-community-target{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#edf4ff;color:var(--blue);padding:5px 9px;font-size:10px;font-weight:750}.tmc-post-community-link{color:var(--blue);font-weight:700}.tmc-post-community-link:hover{text-decoration:underline}.tmc-post-pinned{display:flex;align-items:center;gap:6px;color:#53637c;font-size:10px;font-weight:700;margin:0 0 7px}.tmc-post-pinned i{color:var(--blue)}
/* My Communities */
.tmc-my-communities-page,.tmc-community-manage-page{background:#f8faff}.tmc-my-community-head,.tmc-community-manage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.tmc-my-community-head h1,.tmc-community-manage-head h1{font-size:28px;line-height:1.15;margin:5px 0 5px}.tmc-my-community-head p,.tmc-community-manage-head p{margin:0;color:#758096;font-size:12px}.tmc-back-link{display:inline-flex;align-items:center;gap:6px;color:#708099;font-size:10.5px;font-weight:700}.tmc-back-link:hover{color:var(--blue)}.tmc-my-community-tabs{display:flex;gap:7px;overflow-x:auto;border-bottom:1px solid #e3e8f0;margin-bottom:20px}.tmc-my-community-tabs a{padding:9px 12px;border-bottom:2px solid transparent;color:#637087;font-size:11px;font-weight:700;white-space:nowrap}.tmc-my-community-tabs a.active,.tmc-my-community-tabs a:hover{color:var(--blue);border-color:var(--blue)}.tmc-my-community-tabs span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#edf2f8;font-size:9px}.tmc-my-community-section{scroll-margin-top:88px;margin-top:22px}.tmc-my-community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.tmc-my-community-card{overflow:hidden}.tmc-my-community-cover{display:block;height:128px;position:relative;background:#e9eef5}.tmc-my-community-cover>img{width:100%;height:100%;object-fit:cover}.tmc-my-community-cover>span{position:absolute;left:14px;bottom:-25px;width:56px;height:56px;border-radius:15px;background:#fff;padding:3px;box-shadow:0 4px 14px rgba(24,39,75,.16)}.tmc-my-community-cover>span img{width:100%;height:100%;border-radius:12px;object-fit:cover}.tmc-my-community-cover>.tmc-status-pill{position:absolute;right:9px;top:9px}.tmc-my-community-body{padding:34px 14px 14px}.tmc-my-community-body h3{margin:0;font-size:15px}.tmc-my-community-body>div:first-child>p{height:34px;margin:5px 0 10px;color:#758095;font-size:10.5px;line-height:1.5;overflow:hidden}.tmc-my-community-meta{display:flex;gap:10px;flex-wrap:wrap;color:#728095;font-size:9.5px}.tmc-my-community-meta span{display:flex;align-items:center;gap:4px}.tmc-my-community-actions{display:flex;gap:7px;border-top:1px solid #edf0f4;margin-top:11px;padding-top:11px}.tmc-btn-count{min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:rgba(255,255,255,.2);display:inline-grid;place-items:center;font-size:9px}.tmc-community-pending-card{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:11px;padding:12px}.tmc-pending-community-icon{width:48px;height:48px;border-radius:13px;overflow:hidden;background:#eef2f7}.tmc-pending-community-icon img{width:100%;height:100%;object-fit:cover}.tmc-community-pending-card h3{font-size:13px;margin:0}.tmc-community-pending-card p{margin:2px 0 0;color:#7a8596;font-size:10px}
/* Create / manage community */
.tmc-community-manage-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.tmc-community-form-card{padding:20px}.tmc-card-title>div{display:flex;align-items:center;gap:11px}.tmc-card-title h2{font-size:17px;margin:0}.tmc-card-title p{margin:2px 0 0;color:#7b8699;font-size:10.5px}.tmc-card-icon{width:38px;height:38px;border-radius:11px;background:#edf4ff;color:var(--blue);display:grid;place-items:center}.tmc-community-form{display:grid;gap:14px;margin-top:16px}.tmc-community-image-edit{position:relative;margin-bottom:24px}.tmc-community-cover-preview{height:210px;border-radius:14px;background-size:cover;background-position:center;background-color:#eaf0f7;position:relative;overflow:hidden}.tmc-community-cover-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(7,21,42,.23))}.tmc-community-cover-preview>label{position:absolute;right:10px;bottom:10px;z-index:2;border-radius:9px;background:rgba(255,255,255,.94);padding:7px 10px;font-size:10px;font-weight:750;cursor:pointer}.tmc-community-logo-preview{position:absolute;left:20px;bottom:-28px;width:76px;height:76px;border:4px solid #fff;border-radius:19px;background:#fff;box-shadow:0 5px 15px rgba(24,39,75,.15)}.tmc-community-logo-preview img{width:100%;height:100%;border-radius:15px;object-fit:cover}.tmc-community-logo-preview label{position:absolute;right:-5px;bottom:-5px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;border:2px solid #fff;font-size:9px;cursor:pointer}.tmc-form-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tmc-community-form .field{display:block}.tmc-community-form .field>span{display:block;margin-bottom:5px;color:#46536a;font-size:10.5px;font-weight:700}.tmc-community-form input,.tmc-community-form select,.tmc-community-form textarea{width:100%;border:1px solid #dfe5ee;border-radius:10px;background:#fff;padding:10px 11px;outline:0;color:#29364d;font-size:12px}.tmc-community-form input:focus,.tmc-community-form select:focus,.tmc-community-form textarea:focus{border-color:#9db7db;box-shadow:0 0 0 3px rgba(11,47,115,.06)}.tmc-community-form textarea{resize:vertical}.tmc-community-form .field>small{display:block;margin-top:5px;color:#8b95a6;font-size:9.5px}.tmc-prefix-input{display:flex;border:1px solid #dfe5ee;border-radius:10px;overflow:hidden;background:#f8fafc}.tmc-prefix-input>span{display:flex;align-items:center;padding:0 9px;color:#8994a5;font-size:9px;border-right:1px solid #e5e9f0;white-space:nowrap}.tmc-prefix-input input{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff}.tmc-community-form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf0f5;padding-top:14px}.tmc-community-form.is-readonly input:disabled,.tmc-community-form.is-readonly select:disabled,.tmc-community-form.is-readonly textarea:disabled{opacity:1;color:#56647b;background:#f8fafc;cursor:not-allowed}.tmc-community-form.is-readonly .tmc-community-cover-preview>label,.tmc-community-form.is-readonly .tmc-community-logo-preview>label{display:none}.tmc-community-readonly-note{display:flex;align-items:flex-start;gap:8px;border-radius:10px;background:#f2f6fc;color:#617087;padding:10px 12px;font-size:10.5px}.tmc-community-readonly-note i{color:var(--blue);margin-top:2px}.tmc-community-manage-side{display:grid;gap:12px;position:sticky;top:88px}.tmc-community-setup-card,.tmc-community-mini-stats{padding:16px}.tmc-community-setup-card h3,.tmc-community-mini-stats h3{font-size:14px;margin:0 0 10px}.tmc-community-setup-card h3 i{color:var(--blue);margin-right:5px}.tmc-community-setup-card ul{list-style:none;margin:0;padding:0}.tmc-community-setup-card li{display:flex;align-items:flex-start;gap:7px;color:#647187;font-size:10.5px;padding:5px 0}.tmc-community-setup-card li i{color:#1b9a64;margin-top:3px}.tmc-community-setup-card>p{border-top:1px solid #edf0f4;margin:9px 0 0;padding-top:9px;color:#8190a3;font-size:9.5px}.tmc-community-mini-stats>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef1f5;padding:8px 0;font-size:10.5px;color:#6c788c}.tmc-community-mini-stats b{font-size:13px;color:#26334a}.tmc-community-mini-stats .btn{width:100%;margin-top:8px}.tmc-community-review-note{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin-bottom:15px;background:#fffaf3;border-color:#f2e2c9}.tmc-community-review-note>i{width:36px;height:36px;border-radius:10px;background:#fff0d7;color:#aa650e;display:grid;place-items:center}.tmc-community-review-note b,.tmc-community-review-note span{display:block}.tmc-community-review-note b{font-size:12px}.tmc-community-review-note span{margin-top:2px;color:#7b715f;font-size:10.5px}.tmc-community-review-note.danger{background:#fff7f7;border-color:#f2d9dc}.tmc-community-manage-members{margin-top:24px}.tmc-community-members-table{overflow:hidden;margin-bottom:12px}.tmc-table-title{padding:12px 14px;border-bottom:1px solid #edf0f4}.tmc-table-title h3{font-size:13px;margin:0}.tmc-table-title h3 span{color:#8793a5;font-size:10px}.tmc-community-member-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;border-top:1px solid #f0f2f5}.tmc-community-member-row:first-of-type{border-top:0}.tmc-member-identity{display:flex;align-items:center;gap:10px;min-width:0}.tmc-member-identity img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#edf1f6}.tmc-member-identity span{min-width:0}.tmc-member-identity b,.tmc-member-identity small{display:block}.tmc-member-identity b{font-size:11.5px}.tmc-member-identity small{margin-top:1px;color:#818b9d;font-size:9.5px}.tmc-row-actions{display:flex;align-items:center;gap:6px}.tmc-row-actions form{margin:0}.tmc-role-form select{height:34px;border:1px solid #dfe5ee;border-radius:9px;padding:0 8px;background:#fff;color:#526078;font-size:10px}.tmc-icon-action{width:34px;height:34px;border-radius:9px;border:1px solid #e1e6ed;background:#fff;color:#66758a;display:grid;place-items:center}.tmc-icon-action:hover{background:#f5f8fb;color:var(--blue)}.tmc-icon-action.danger{color:#c74a54}.tmc-owner-badge,.tmc-member-role-label{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;background:#f3f6fa;color:#607087;font-size:9.5px;font-weight:700}.tmc-owner-badge{background:#fff5e8;color:#a96512}.tmc-community-banned{padding:0;overflow:hidden}.tmc-community-banned summary{padding:13px 14px;cursor:pointer;font-size:11px;font-weight:700}.tmc-community-banned summary span{color:#8d98a8}
@media(max-width:1020px){.tmc-communities-hero{grid-template-columns:1fr;padding:34px}.tmc-communities-hero-art{display:none}.tmc-community-discovery-grid,.tmc-my-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-community-manage-grid{grid-template-columns:1fr}.tmc-community-manage-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-community-about-grid{grid-template-columns:1fr}.tmc-community-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.tmc-communities-hero{min-height:0;padding:24px 20px;border-radius:18px}.tmc-communities-hero-copy h1{font-size:30px}.tmc-communities-hero-copy p{font-size:13px}.tmc-community-hero-actions .btn{flex:1}.tmc-community-search{height:auto;flex-wrap:wrap;padding:10px 11px}.tmc-community-search input{min-width:calc(100% - 34px);height:34px}.tmc-community-search .btn{width:100%}.tmc-community-discovery-grid,.tmc-my-community-grid{grid-template-columns:1fr}.tmc-community-card-cover{height:165px}.tmc-community-detail-page .tmc-community-cover{height:190px}.tmc-community-detail-page .tmc-community-info{padding:0 16px 16px;align-items:flex-start}.tmc-community-detail-page .tmc-community-logo{width:92px;height:92px;border-radius:22px;margin-top:-37px}.tmc-community-name-row h1{font-size:22px}.tmc-community-primary-actions{width:100%}.tmc-community-primary-actions .btn,.tmc-community-primary-actions form{flex:1}.tmc-community-primary-actions form .btn{width:100%}.tmc-community-join-prompt{align-items:flex-start;flex-direction:column}.tmc-community-join-prompt .btn{width:100%}.tmc-member-grid{grid-template-columns:1fr}.tmc-community-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-my-community-head,.tmc-community-manage-head{display:block}.tmc-my-community-head>.btn{margin-top:12px;width:100%}.tmc-form-grid.two{grid-template-columns:1fr}.tmc-community-cover-preview{height:160px}.tmc-community-manage-side{grid-template-columns:1fr}.tmc-prefix-input{display:block}.tmc-prefix-input>span{display:block;padding:6px 9px;border:0;border-bottom:1px solid #e5e9f0}.tmc-community-member-row{align-items:flex-start;flex-direction:column}.tmc-row-actions{width:100%;flex-wrap:wrap}.tmc-role-form{flex:1}.tmc-role-form select{width:100%}.tmc-community-pending-card{grid-template-columns:44px 1fr}.tmc-community-pending-card form{grid-column:1/-1}.tmc-community-pending-card .btn{width:100%}}
.tmc-community-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tmc-community-video-grid>a{position:relative;display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#101827}.tmc-community-video-grid video{width:100%;height:100%;object-fit:cover}.tmc-community-video-grid>a>span{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(transparent,rgba(0,0,0,.12))}.tmc-community-video-grid>a>span i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);color:var(--blue);font-size:13px;padding-left:2px}
@media(max-width:760px){.tmc-community-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== v90 Company Pages ===== */
.tmc-companies-page,.tmc-company-pages-page,.tmc-company-manage-page,.tmc-company-detail-page{background:#f8faff}.tmc-companies-shell,.tmc-company-pages-shell,.tmc-company-manage-shell,.tmc-company-detail-shell{max-width:1240px}.tmc-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.tmc-companies-hero{min-height:278px;border:1px solid #e1e8f2;border-radius:22px;padding:36px 40px;background:linear-gradient(135deg,#fff 0%,#f4f8ff 72%,#edf4ff 100%);display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:center;overflow:hidden;position:relative}.tmc-companies-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-100px;top:-120px;background:rgba(11,47,115,.045)}.tmc-companies-hero h1{font-size:34px;line-height:1.14;letter-spacing:-.6px;margin:9px 0 10px;max-width:690px}.tmc-companies-hero p{font-size:13px;color:#68758a;margin:0;max-width:670px}.tmc-company-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.tmc-company-hero-art{display:grid;grid-template-columns:1fr;gap:9px;position:relative;z-index:2}.tmc-company-hero-art>div{display:grid;grid-template-columns:40px 1fr;column-gap:11px;align-items:center;background:rgba(255,255,255,.92);border:1px solid #e5ebf3;border-radius:14px;padding:12px 14px;box-shadow:0 8px 24px rgba(20,45,85,.06)}.tmc-company-hero-art i{grid-row:1/3;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#edf4ff;color:var(--blue);font-size:16px}.tmc-company-hero-art b{font-size:12px}.tmc-company-hero-art span{color:#7c8798;font-size:10.5px}.tmc-company-searchbar{margin-top:14px;padding:10px;display:flex;align-items:center;gap:8px;border-radius:14px;box-shadow:none}.tmc-search-field{height:40px;min-width:210px;border:1px solid #e0e6ef;border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 11px;background:#fff}.tmc-search-field.grow{flex:1;min-width:300px}.tmc-search-field i{color:#8793a6}.tmc-search-field input{width:100%;border:0;outline:0;color:#28364d;font-size:12px}.tmc-company-searchbar select{height:40px;min-width:190px;border:1px solid #e0e6ef;border-radius:10px;padding:0 10px;background:#fff;color:#4c5b72;font-size:11.5px}.tmc-company-searchbar .btn{min-height:40px}.tmc-company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.tmc-company-card{overflow:hidden;transition:transform .18s,box-shadow .18s}.tmc-company-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(23,45,84,.09)}.tmc-company-card-cover{height:142px;display:block;position:relative;background:#eaf0f7}.tmc-company-card-cover>img{width:100%;height:100%;object-fit:cover}.tmc-company-card-cover>span{position:absolute;left:15px;bottom:-28px;width:62px;height:62px;padding:3px;border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(22,42,77,.17)}.tmc-company-card-cover>span img{width:100%;height:100%;border-radius:13px;object-fit:cover}.tmc-company-card-cover>em{position:absolute;right:10px;top:10px;background:rgba(255,255,255,.94);color:#8b5a05;border-radius:999px;padding:5px 8px;font-size:9px;font-style:normal;font-weight:800}.tmc-company-card-body{padding:36px 15px 14px}.tmc-company-card-title{display:flex;align-items:center;gap:6px}.tmc-company-card-title h3{font-size:15px;margin:0}.tmc-verified{color:#1875d1;font-size:.82em}.tmc-company-card-tagline{height:34px;margin:5px 0 8px;color:#68758a;font-size:10.5px;line-height:1.5;overflow:hidden}.tmc-company-card-location{color:#68778c;font-size:10px;margin-bottom:10px}.tmc-company-card-location i{color:var(--blue);margin-right:4px}.tmc-company-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;padding:9px 0;font-size:9px;color:#818b9b}.tmc-company-card-stats span{text-align:center;border-right:1px solid #edf1f5}.tmc-company-card-stats span:last-child{border:0}.tmc-company-card-stats b{display:block;color:#2a3850;font-size:11px}.tmc-company-card-foot{display:flex;align-items:center;justify-content:space-between;gap:9px;padding-top:11px}.tmc-company-card-foot>span{min-width:0;color:#7d899b;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-company-card-foot .btn{white-space:nowrap}.tmc-company-empty{text-align:center;padding:44px 24px}.tmc-company-empty.compact{padding:30px 20px}.tmc-company-empty>i{font-size:28px;color:var(--blue);margin-bottom:8px}.tmc-company-empty h3{font-size:17px;margin:2px 0 5px}.tmc-company-empty p{max-width:600px;margin:0 auto 14px;color:#788498;font-size:11.5px}
/* My company pages */
.tmc-company-pages-head,.tmc-company-manage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.tmc-company-pages-head h1,.tmc-company-manage-head h1{font-size:29px;line-height:1.15;margin:5px 0 5px}.tmc-company-pages-head p,.tmc-company-manage-head p{margin:0;color:#748096;font-size:12px}.tmc-company-summary-strip{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:18px;background:#fff;border:1px solid #e4e9f1;border-radius:15px;overflow:hidden}.tmc-company-summary-strip>div{padding:14px 17px;border-right:1px solid #edf0f4}.tmc-company-summary-strip>div:last-child{border:0}.tmc-company-summary-strip b,.tmc-company-summary-strip span{display:block}.tmc-company-summary-strip b{font-size:20px}.tmc-company-summary-strip span{color:#7c8798;font-size:9.5px}.tmc-company-owned-section{margin-top:21px}.tmc-company-owned-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.tmc-company-owned-card{overflow:hidden}.tmc-company-owned-cover{height:130px;display:block;position:relative;background:#eaf0f7}.tmc-company-owned-cover>img{width:100%;height:100%;object-fit:cover}.tmc-company-owned-cover>span{position:absolute;left:14px;bottom:-25px;width:56px;height:56px;padding:3px;border-radius:15px;background:#fff;box-shadow:0 5px 15px rgba(22,44,82,.15)}.tmc-company-owned-cover>span img{width:100%;height:100%;border-radius:12px;object-fit:cover}.tmc-company-owned-cover>.tmc-status-pill{position:absolute;right:9px;top:9px}.tmc-status-pill.suspended{background:#fff0f1;color:#ac3540}.tmc-status-pill.new{background:#eaf4ff;color:#1769aa}.tmc-status-pill.read{background:#eef2f6;color:#5d6b7f}.tmc-status-pill.closed{background:#f4f5f7;color:#7d8793}.tmc-company-owned-body{padding:34px 14px 14px}.tmc-company-owned-body h3{font-size:15px;margin:0}.tmc-company-owned-body>div:first-child>p{height:34px;overflow:hidden;color:#748095;font-size:10.5px;line-height:1.5;margin:5px 0 9px}.tmc-company-owned-meta{display:flex;gap:10px;flex-wrap:wrap;color:#768397;font-size:9.5px}.tmc-company-owned-meta span{display:flex;align-items:center;gap:4px}.tmc-company-owned-actions{display:flex;gap:7px;border-top:1px solid #edf0f4;margin-top:11px;padding-top:11px}.tmc-company-rejection{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:9px 10px;border-radius:10px;background:#fff4f4;color:#8f3740;font-size:10px}.tmc-company-rejection b,.tmc-company-rejection span{display:block}
/* Manage company */
.tmc-company-review-banner{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;padding:13px 15px;border:1px solid #e1e7ef;border-radius:13px;background:#fff}.tmc-company-review-banner.approved{background:#f3fbf7;border-color:#d5ecdf}.tmc-company-review-banner.rejected{background:#fff7f7;border-color:#efdadd}.tmc-company-review-banner b{font-size:12px}.tmc-company-review-banner p{margin:2px 0 0;color:#6f7a8c;font-size:10.5px}.tmc-company-form{display:grid;gap:14px}.tmc-company-media-editor{position:relative;overflow:visible;margin-bottom:20px}.tmc-company-cover-preview{height:230px;border-radius:18px 18px 0 0;background-position:center;background-size:cover;background-color:#e9eef5;position:relative}.tmc-company-cover-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(9,24,45,.22));pointer-events:none}.tmc-company-cover-preview>label{position:absolute;right:13px;bottom:13px;z-index:2;background:rgba(255,255,255,.96)}.tmc-company-logo-editor{position:absolute;left:25px;bottom:-37px;display:flex;align-items:flex-end;gap:8px;z-index:3}.tmc-company-logo-editor>img{width:88px;height:88px;border-radius:22px;border:5px solid #fff;object-fit:cover;background:#fff;box-shadow:0 7px 18px rgba(20,40,72,.16)}.tmc-company-logo-editor>label{margin-bottom:5px}.tmc-company-media-note{min-height:68px;padding:14px 18px 13px 128px}.tmc-company-media-note b,.tmc-company-media-note span{display:block}.tmc-company-media-note b{font-size:12px}.tmc-company-media-note span{color:#7b8798;font-size:10px;margin-top:2px}.tmc-company-form-card{padding:19px}.tmc-form-section-title{display:flex;align-items:flex-start;gap:11px;border-bottom:1px solid #edf0f4;padding-bottom:12px;margin-bottom:15px}.tmc-form-section-title>i{width:38px;height:38px;border-radius:11px;background:#edf4ff;color:var(--blue);display:grid;place-items:center}.tmc-form-section-title h2{font-size:16px;margin:0}.tmc-form-section-title p{font-size:10.5px;color:#7b8797;margin:2px 0 0}.tmc-company-form .field small{display:block;margin-top:5px;color:#8994a5;font-size:9.5px}.tmc-company-form-actions{display:flex;justify-content:flex-end;gap:8px;padding:3px 0 15px}.tmc-company-enquiries{margin-top:26px;scroll-margin-top:88px}.tmc-company-enquiry-list{display:grid;gap:10px}.tmc-company-enquiry-item{padding:15px;border-left:3px solid transparent}.tmc-company-enquiry-item.new{border-left-color:var(--blue)}.tmc-company-enquiry-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tmc-company-enquiry-person{display:flex;align-items:center;gap:10px}.tmc-company-enquiry-person img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#edf1f6}.tmc-company-enquiry-person b,.tmc-company-enquiry-person span{display:block}.tmc-company-enquiry-person b{font-size:12px}.tmc-company-enquiry-person span{color:#798598;font-size:9.5px}.tmc-company-enquiry-item>p{white-space:normal;color:#4e5d73;font-size:11.5px;line-height:1.65;margin:12px 0}.tmc-company-enquiry-actions{display:flex;gap:7px;flex-wrap:wrap}.tmc-company-enquiry-actions form{margin:0}
/* Public company profile */
.tmc-company-profile-card{overflow:hidden}.tmc-company-profile-cover{height:285px;position:relative;background:#eaf0f7}.tmc-company-profile-cover>img{width:100%;height:100%;object-fit:cover}.tmc-company-profile-cover>.tmc-status-pill{position:absolute;right:14px;top:14px;background:rgba(255,255,255,.95)}.tmc-company-profile-main{display:flex;align-items:flex-end;gap:16px;padding:0 22px 17px}.tmc-company-profile-logo{width:126px;height:126px;flex:0 0 126px;margin-top:-48px;border-radius:28px;border:5px solid #fff;object-fit:cover;background:#fff;box-shadow:0 7px 20px rgba(22,44,82,.16);position:relative;z-index:2}.tmc-company-profile-copy{flex:1;min-width:0;padding-top:12px}.tmc-company-title-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.tmc-company-title-row h1{font-size:27px;line-height:1.15;margin:0}.tmc-company-tagline{margin:5px 0 8px;color:#5f6e83;font-size:12.5px}.tmc-company-public-meta{display:flex;gap:13px;flex-wrap:wrap;color:#778397;font-size:10px}.tmc-company-public-meta span,.tmc-company-public-meta a{display:flex;align-items:center;gap:5px}.tmc-company-public-meta a:hover{color:var(--blue)}.tmc-company-profile-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:auto;padding-bottom:3px}.tmc-company-profile-actions form{margin:0}.tmc-company-profile-stats{display:flex;align-items:center;gap:4px;border-top:1px solid #edf0f4;padding:10px 19px}.tmc-company-profile-stats>a,.tmc-company-profile-stats>div{min-width:92px;padding:5px 12px;border-right:1px solid #edf0f4;text-align:center}.tmc-company-profile-stats>*:last-child{border:0}.tmc-company-profile-stats b,.tmc-company-profile-stats span{display:block}.tmc-company-profile-stats b{font-size:15px}.tmc-company-profile-stats span{color:#808b9b;font-size:9px}.tmc-company-tabs{display:flex;align-items:center;gap:3px;border-top:1px solid #edf0f4;padding:0 14px;overflow-x:auto}.tmc-company-tabs a{padding:11px 12px 9px;border-bottom:2px solid transparent;color:#637086;font-size:10.5px;font-weight:750;white-space:nowrap}.tmc-company-tabs a.active,.tmc-company-tabs a:hover{color:var(--blue);border-color:var(--blue)}.tmc-company-owner-notice{display:flex;align-items:center;gap:11px;margin:13px 0;padding:12px 14px;border:1px solid #e5e9ef;border-radius:12px;background:#fffaf2}.tmc-company-owner-notice>i{width:38px;height:38px;border-radius:11px;background:#fff0d8;color:#9b6318;display:grid;place-items:center}.tmc-company-owner-notice b,.tmc-company-owner-notice span{display:block}.tmc-company-owner-notice b{font-size:11.5px}.tmc-company-owner-notice span{font-size:10px;color:#7d725f}.tmc-company-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start;margin-top:14px}.tmc-company-content-layout>aside{display:grid;gap:11px;position:sticky;top:88px}.tmc-company-composer{margin-bottom:13px}.tmc-company-side-card{padding:15px}.tmc-company-side-card h3{font-size:13px;margin:0 0 9px}.tmc-company-side-card>p{color:#6e7a8d;font-size:10.5px;line-height:1.6;margin:0}.tmc-company-side-card ul{list-style:none;margin:0;padding:0}.tmc-company-side-card li{display:flex;align-items:flex-start;gap:8px;padding:6px 0;color:#5f6d82;font-size:10.5px;border-top:1px solid #f0f2f5}.tmc-company-side-card li:first-child{border-top:0}.tmc-company-side-card li i{width:15px;color:var(--blue);margin-top:2px}.tmc-company-side-card li a:hover{color:var(--blue)}.tmc-company-mini-tags,.tmc-company-chip-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.tmc-company-mini-tags span,.tmc-company-chip-list span{border-radius:999px;background:#f1f5fb;color:#54647b;padding:5px 8px;font-size:9.5px}.tmc-company-chip-list.destinations span i{color:var(--blue)}.tmc-company-social-links{display:grid;grid-template-columns:1fr 1fr;gap:6px}.tmc-company-social-links a{display:flex;align-items:center;gap:7px;border:1px solid #e5eaf1;border-radius:9px;padding:7px 8px;color:#5e6b80;font-size:9.5px}.tmc-company-social-links a:hover{border-color:#b8cbe5;color:var(--blue)}.tmc-company-about-card{padding:20px}.tmc-company-about-card h2{font-size:19px;margin:0 0 10px}.tmc-company-about-card h3{font-size:13px;margin:18px 0 7px}.tmc-company-about-card>p{white-space:normal;color:#4f5e73;font-size:12px;line-height:1.75}.tmc-company-packages-coming{margin-top:14px}.tmc-company-photo-grid,.tmc-company-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.tmc-company-photo-grid>a,.tmc-company-video-grid>a{position:relative;display:block;aspect-ratio:1.1/1;border-radius:12px;overflow:hidden;background:#e9eef5}.tmc-company-photo-grid img,.tmc-company-video-grid video{width:100%;height:100%;object-fit:cover}.tmc-company-video-grid>a{aspect-ratio:16/10;background:#111827}.tmc-company-video-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#102245,#08152e);color:#fff;font-size:26px}.tmc-company-media-tab{margin-top:14px}.tmc-company-reviews-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;margin-top:14px;align-items:start}.tmc-company-rating-summary{padding:17px;display:flex;align-items:center;gap:13px}.tmc-company-rating-summary>strong{font-size:31px}.tmc-company-rating-summary b,.tmc-company-rating-summary span{display:block}.tmc-company-rating-summary span{color:#798598;font-size:10px}.tmc-review-stars{color:#efaa19;letter-spacing:1px}.tmc-company-review{padding:15px;margin-top:9px}.tmc-company-review>header{display:flex;align-items:center;gap:9px}.tmc-company-review>header img{width:38px;height:38px;border-radius:50%;object-fit:cover}.tmc-company-review>header b,.tmc-company-review>header span{display:block}.tmc-company-review>header b{font-size:11.5px}.tmc-company-review>header span{font-size:9px;color:#8791a1}.tmc-company-review>p{margin:10px 0 0;color:#526076;font-size:11px;line-height:1.65}.tmc-company-review-form,.tmc-company-report-card{padding:16px}.tmc-company-review-form h3,.tmc-company-report-card h3{font-size:13px;margin:0 0 9px}.tmc-company-review-form label,.tmc-company-report-card label,.tmc-company-enquiry-card label{display:block;margin-top:9px;color:#55637a;font-size:10px;font-weight:650}.tmc-company-review-form select,.tmc-company-report-card select,.tmc-company-review-form textarea,.tmc-company-report-card textarea,.tmc-company-enquiry-card input,.tmc-company-enquiry-card textarea{width:100%;border:1px solid #dde4ed;border-radius:9px;background:#fff;padding:9px 10px;outline:0;font-size:10.5px;color:#314058}.tmc-company-review-form textarea,.tmc-company-report-card textarea,.tmc-company-enquiry-card textarea{min-height:92px;resize:vertical}.tmc-company-review-form .btn,.tmc-company-report-card .btn,.tmc-company-enquiry-card .btn{width:100%;margin-top:9px}.tmc-company-enquiry-card h3 i{color:var(--blue);margin-right:5px}.tmc-company-enquiry-card label span{font-weight:400;color:#8b95a4}
@media(max-width:1020px){.tmc-companies-hero{grid-template-columns:1fr}.tmc-company-hero-art{grid-template-columns:repeat(3,1fr)}.tmc-company-hero-art>div{grid-template-columns:34px 1fr}.tmc-company-hero-art i{width:34px;height:34px}.tmc-company-grid,.tmc-company-owned-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-company-content-layout,.tmc-company-reviews-layout{grid-template-columns:1fr}.tmc-company-content-layout>aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-company-enquiry-card{grid-column:1/-1}}
@media(max-width:760px){.tmc-companies-hero{padding:24px 20px;min-height:0;border-radius:18px}.tmc-companies-hero h1{font-size:28px}.tmc-company-hero-art{display:none}.tmc-company-hero-actions .btn{flex:1}.tmc-company-searchbar{display:grid;grid-template-columns:1fr}.tmc-search-field,.tmc-search-field.grow,.tmc-company-searchbar select{min-width:0;width:100%}.tmc-company-searchbar .btn{width:100%}.tmc-company-grid,.tmc-company-owned-grid{grid-template-columns:1fr}.tmc-company-pages-head,.tmc-company-manage-head{display:block}.tmc-company-pages-head>.btn,.tmc-company-manage-head>.btn{width:100%;margin-top:11px}.tmc-company-summary-strip{grid-template-columns:repeat(2,1fr)}.tmc-company-summary-strip>div:nth-child(2){border-right:0}.tmc-company-summary-strip>div:nth-child(-n+2){border-bottom:1px solid #edf0f4}.tmc-company-media-editor{margin-bottom:13px}.tmc-company-cover-preview{height:170px}.tmc-company-logo-editor{left:15px;bottom:-30px}.tmc-company-logo-editor>img{width:70px;height:70px;border-radius:18px}.tmc-company-logo-editor>label{font-size:0;width:34px;padding:0}.tmc-company-logo-editor>label i{font-size:11px}.tmc-company-media-note{padding-left:98px;min-height:59px}.tmc-company-form .form-grid{grid-template-columns:1fr}.tmc-company-form .field.full{grid-column:auto}.tmc-company-form-actions .btn{flex:1}.tmc-company-profile-cover{height:190px}.tmc-company-profile-main{align-items:flex-start;flex-wrap:wrap;padding:0 15px 14px}.tmc-company-profile-logo{width:90px;height:90px;flex-basis:90px;margin-top:-34px;border-radius:21px}.tmc-company-profile-copy{flex-basis:calc(100% - 110px)}.tmc-company-title-row h1{font-size:21px}.tmc-company-profile-actions{width:100%;padding:0}.tmc-company-profile-actions .btn,.tmc-company-profile-actions form{flex:1}.tmc-company-profile-actions form .btn{width:100%}.tmc-company-profile-stats{overflow-x:auto;padding:8px 10px}.tmc-company-profile-stats>a,.tmc-company-profile-stats>div{min-width:82px}.tmc-company-content-layout>aside{grid-template-columns:1fr}.tmc-company-photo-grid,.tmc-company-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-company-reviews-layout{grid-template-columns:1fr}.tmc-company-enquiry-head{align-items:flex-start;flex-direction:column}.tmc-company-enquiry-actions .btn{width:100%}.tmc-company-enquiry-actions form{width:100%}}
.tmc-company-photo-grid>button{appearance:none;border:0;padding:0;position:relative;display:block;aspect-ratio:1.1/1;border-radius:12px;overflow:hidden;background:#e9eef5;cursor:pointer}.tmc-company-photo-grid>button:hover img{transform:scale(1.025)}.tmc-company-photo-grid>button img{width:100%;height:100%;object-fit:cover;transition:transform .18s}.tmc-company-review{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px}.tmc-company-review>a>img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#edf1f6}.tmc-company-review>div>.row b{font-size:11.5px}.tmc-company-review>div>.row small{color:#8792a3;font-size:9px}.tmc-company-review>div>p{margin:7px 0 0;color:#526076;font-size:11px;line-height:1.65}.tmc-company-review .small-stars{font-size:9px;margin-top:3px}.tmc-company-rating-summary>p{margin-left:auto;color:#768397;font-size:10px}.tmc-company-report-card details{margin-top:9px}.tmc-company-report-card summary{cursor:pointer;color:var(--blue);font-size:10px;font-weight:700}

/* ===== COMPANY FLAGSHIP UI V2 =====
   Company Pages use the same visual scale and interaction language as the approved traveller Profile / Edit Profile UI. */
.tmc-companies-page,.tmc-company-pages-page,.tmc-company-manage-page,.tmc-company-detail-page{font-size:14px;color:#10182b}
.tmc-company-detail-shell,.tmc-company-pages-shell,.tmc-companies-shell{max-width:1240px}

/* Public Company Profile — mirror traveller profile proportions and typography. */
.tmc-company-profile-card{overflow:hidden;border-radius:18px;box-shadow:0 10px 30px rgba(19,32,62,.055)}
.tmc-company-profile-cover{height:280px;position:relative;overflow:hidden;background:#eef2f7}
.tmc-company-profile-cover>img{width:100%;height:100%;object-fit:cover;display:block}
.tmc-company-profile-cover>.tmc-status-pill{top:14px;right:14px}
.tmc-company-profile-cover .tmc-media-edit{right:16px;bottom:14px;text-decoration:none}
.tmc-company-profile-info{display:flex;align-items:flex-start;gap:22px;padding:0 27px 23px}
.tmc-company-profile-logo-wrap{position:relative;flex:0 0 auto;z-index:3}
.tmc-company-profile-logo{display:block;width:148px;height:148px;border-radius:30px;object-fit:cover;border:6px solid #fff;margin-top:-66px;background:#edf2f8;box-shadow:0 8px 24px rgba(19,32,62,.14)}
.tmc-company-profile-logo-wrap .tmc-avatar-edit{right:7px;bottom:8px;display:grid;place-items:center;text-decoration:none}
.tmc-company-profile-copy{flex:1;min-width:0;padding-top:17px}
.tmc-company-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.tmc-company-title-row h1{font-size:30px;line-height:1.18;margin:0 0 4px;color:#0b1325;letter-spacing:-.25px}
.tmc-company-title-row .tmc-verified{font-size:.78em;margin-left:3px}
.tmc-company-tagline{margin:3px 0 0;color:#526078;font-size:14px;line-height:1.5;font-weight:500}
.tmc-company-public-meta{display:flex;gap:13px;flex-wrap:wrap;margin-top:9px;color:#788297;font-size:11.5px}
.tmc-company-public-meta span,.tmc-company-public-meta a{display:inline-flex;align-items:center;gap:5px;color:inherit}
.tmc-company-public-meta i{color:#69758d}
.tmc-company-public-meta a:hover{color:var(--tmc-brand-blue)}
.tmc-company-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;position:relative}
.tmc-company-profile-actions form{margin:0}
.tmc-company-profile-actions .btn{min-height:38px;font-size:12px;font-weight:600}
.tmc-company-profile-actions .btn-icon{width:40px;min-width:40px;padding:0}
.tmc-company-bookmark-active{background:var(--tmc-brand-blue-soft)!important;color:var(--tmc-brand-blue)!important;border-color:var(--tmc-brand-blue-line)!important}
.tmc-company-category-tags{margin-top:13px}
.tmc-company-category-tags span{display:inline-flex;align-items:center;gap:6px;font-size:11.5px}
.tmc-company-profile-bio{max-width:800px;margin:13px 0 0;color:#34405a;font-size:13.5px;line-height:1.65}
.tmc-company-profile-stats{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;gap:0}
.tmc-company-profile-stats>a,.tmc-company-profile-stats>div{min-width:0;padding:0 10px;border-right:1px solid var(--line);text-align:center;text-decoration:none;color:inherit}
.tmc-company-profile-stats>*:last-child{border-right:0}
.tmc-company-profile-stats b{display:block;font-size:22px;line-height:1.15;color:#101828}
.tmc-company-profile-stats span{display:block;margin-top:3px;color:#707a8e;font-size:11px}
.tmc-company-profile-stats>a:hover{background:#f7f9ff}
.tmc-company-profile-stats>a:hover b,.tmc-company-profile-stats>a:hover span{color:var(--tmc-brand-blue)}
.tmc-company-tabs.tmc-profile-tabs{display:flex;gap:6px!important;padding:8px 17px!important;border-top:0!important;overflow-x:auto}
.tmc-company-tabs.tmc-profile-tabs a{appearance:none;border:1px solid transparent!important;border-radius:10px!important;padding:13px 17px!important;color:#3b465c!important;font-size:13px!important;font-weight:600!important;line-height:1!important;text-decoration:none;white-space:nowrap}
.tmc-company-tabs.tmc-profile-tabs a:hover,.tmc-company-tabs.tmc-profile-tabs a.active{background:#eaf1ff!important;color:#0b2f73!important;border-color:#e3ebfb!important}

/* Company content and side cards: readable, profile-scale type. */
.tmc-company-content-layout{grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:18px}
.tmc-company-content-layout>aside{gap:13px;top:90px}
.tmc-company-composer{margin-bottom:16px}
.tmc-company-side-card{padding:18px;border-radius:15px}
.tmc-company-side-card h3{font-size:15px;font-weight:650;margin:0 0 10px;color:#172033}
.tmc-company-side-card>p,.tmc-company-enquiry-card>p{font-size:12.5px;line-height:1.6;color:#667188;margin:0 0 8px}
.tmc-company-side-card li{gap:9px;padding:8px 0;font-size:12.5px;line-height:1.45;color:#56647a}
.tmc-company-side-card li i{width:17px;margin-top:2px}
.tmc-company-mini-tags,.tmc-company-chip-list{gap:7px;margin-top:11px}
.tmc-company-mini-tags span,.tmc-company-chip-list span{padding:6px 10px;font-size:11.5px;background:var(--tmc-brand-blue-soft);color:var(--tmc-brand-blue);font-weight:550}
.tmc-company-social-links{gap:8px}
.tmc-company-social-links a{padding:9px 10px;border-radius:10px;font-size:12px}
.tmc-company-about-card{padding:24px}
.tmc-company-about-card h2{font-size:22px;margin:0 0 12px}
.tmc-company-about-card h3{font-size:15px;margin:21px 0 9px}
.tmc-company-about-card>p{font-size:13.5px;line-height:1.75;color:#435168}
.tmc-company-media-tab{padding:19px;margin-top:18px}
.tmc-company-media-tab .section-heading h2{font-size:20px}
.tmc-company-photo-grid,.tmc-company-video-grid{gap:10px}
.tmc-company-owner-notice{padding:14px 16px;margin:16px 0;border-radius:13px}
.tmc-company-owner-notice b{font-size:13px}.tmc-company-owner-notice span{font-size:12px;line-height:1.45;margin-top:2px}

/* Enquiry / review controls — no tiny labels or sample values that look pre-filled. */
.tmc-company-review-form,.tmc-company-report-card{padding:19px;border-radius:15px}
.tmc-company-review-form h3,.tmc-company-report-card h3{font-size:15px;margin:0 0 8px}
.tmc-company-review-form p,.tmc-company-report-card p{font-size:12.5px;line-height:1.55;color:#68758a}
.tmc-company-review-form label,.tmc-company-report-card label,.tmc-company-enquiry-card label{display:block;margin-top:12px;color:#35435a;font-size:12.5px;font-weight:600}
.tmc-company-enquiry-card label span{font-size:11px;font-weight:400;color:#8b95a4}
.tmc-company-review-form select,.tmc-company-report-card select,.tmc-company-review-form textarea,.tmc-company-report-card textarea,.tmc-company-enquiry-card input,.tmc-company-enquiry-card textarea{width:100%;border:1px solid #dfe5ef;border-radius:10px;background:#fff;padding:10px 12px;outline:0;font-family:inherit;font-size:13px;font-weight:400;line-height:1.45;color:#172033;box-shadow:none}
.tmc-company-enquiry-card input{height:44px}
.tmc-company-review-form textarea,.tmc-company-report-card textarea,.tmc-company-enquiry-card textarea{min-height:112px;resize:vertical}
.tmc-company-review-form input::placeholder,.tmc-company-review-form textarea::placeholder,.tmc-company-report-card textarea::placeholder,.tmc-company-enquiry-card input::placeholder,.tmc-company-enquiry-card textarea::placeholder{color:#a4adbb;font-weight:400;opacity:1}
.tmc-company-review-form select:focus,.tmc-company-review-form textarea:focus,.tmc-company-report-card select:focus,.tmc-company-report-card textarea:focus,.tmc-company-enquiry-card input:focus,.tmc-company-enquiry-card textarea:focus{border-color:var(--tmc-brand-blue);box-shadow:0 0 0 3px rgba(11,47,115,.08)}
.tmc-company-enquiry-card .btn,.tmc-company-review-form .btn,.tmc-company-report-card .btn{min-height:40px;font-size:12.5px;margin-top:12px}
.tmc-company-rating-summary{padding:20px}.tmc-company-rating-summary>strong{font-size:34px}.tmc-company-rating-summary span,.tmc-company-rating-summary>p{font-size:12px}
.tmc-company-review{padding:17px}.tmc-company-review>div>.row b{font-size:13px}.tmc-company-review>div>.row small{font-size:11px}.tmc-company-review>div>p{font-size:12.5px;line-height:1.65}

/* Create / Edit Company — same settings shell and editor scale as Edit Profile. */
.tmc-company-settings-layout{max-width:1240px;align-items:start}
.tmc-company-settings-menu{position:sticky;top:88px}
.tmc-company-settings-menu .settings-link{font-size:13px;min-height:47px}
.tmc-company-settings-panel{padding:24px}
.tmc-company-settings-head{margin-bottom:4px}
.tmc-company-settings-head h1{font-size:27px;line-height:1.2;margin:0 0 6px}
.tmc-company-settings-head p{font-size:13px;line-height:1.5;margin:0}
.tmc-company-settings-head .btn{font-size:12px;min-height:36px}
.tmc-company-review-banner{margin:18px 0;padding:14px 16px;border-radius:12px}
.tmc-company-review-banner b{font-size:13px}.tmc-company-review-banner p{font-size:12px;line-height:1.45;margin-top:3px}
.tmc-company-form{display:grid;gap:16px}
.tmc-company-settings-media{margin:20px 0 4px;scroll-margin-top:95px}
.tmc-company-settings-cover{height:200px;border-radius:15px}
.tmc-company-settings-cover .tmc-media-edit{right:12px;bottom:12px}
.tmc-company-settings-logo-row{margin-top:-48px;margin-left:20px}
.tmc-company-settings-logo{width:112px!important;height:112px!important;flex:0 0 112px!important}
.tmc-company-settings-logo>img{display:block;width:112px!important;height:112px!important;border-radius:25px!important;border:5px solid #fff!important;object-fit:cover;background:#edf2f8;box-shadow:0 7px 18px rgba(19,32,62,.15)}
.tmc-company-settings-logo .tmc-avatar-edit{right:-2px;bottom:4px}
.tmc-company-settings-media>p{margin:13px 0 0 20px;font-size:12px}
.tmc-company-form .tmc-editor-section{scroll-margin-top:95px}
.tmc-company-form .tmc-editor-section-head h3{font-size:16px;font-weight:600}
.tmc-company-form .tmc-editor-section-head p{font-size:12.5px;line-height:1.45}
.tmc-company-form .field label{font-size:13px;font-weight:600;margin-bottom:7px;color:#263149}
.tmc-company-form .field input,.tmc-company-form .field select,.tmc-company-form .field textarea{font-family:inherit;font-size:13px;font-weight:400;color:#10182b;min-height:43px;border-radius:9px;padding:9px 11px}
.tmc-company-form .field textarea{min-height:110px}
.tmc-company-form .field small{font-size:11.5px;line-height:1.45;color:#8b94a6}
.tmc-company-form input::placeholder,.tmc-company-form textarea::placeholder{color:#a4adbb;opacity:1;font-weight:400}
.tmc-company-slug-wrap{display:flex;align-items:center;min-height:43px;border:1px solid #dfe5ef;border-radius:9px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.tmc-company-slug-wrap:focus-within{border-color:#1b5ca8;box-shadow:0 0 0 3px rgba(49,84,221,.08)}
.tmc-company-slug-wrap>span{padding-left:11px;color:#8b94a6;font-size:11.5px;white-space:nowrap}
.tmc-company-slug-wrap>input{border:0!important;box-shadow:none!important;border-radius:0!important;min-width:0;padding-left:2px!important}
.tmc-company-form-actions{justify-content:flex-start!important;padding:0!important;gap:10px!important}
.tmc-company-form-actions .btn{font-size:12.5px;min-height:38px}
.tmc-company-enquiries{margin-top:30px;padding-top:4px;scroll-margin-top:95px}
.tmc-company-enquiries-head{margin-bottom:15px}
.tmc-company-enquiry-item{padding:17px;border-radius:13px}
.tmc-company-enquiry-person img{width:44px;height:44px}.tmc-company-enquiry-person b{font-size:13px}.tmc-company-enquiry-person span{font-size:11.5px;line-height:1.4}.tmc-company-enquiry-item>p{font-size:12.5px;line-height:1.65}

/* Discovery and My Company Pages should not look like a smaller-font secondary product. */
.tmc-companies-hero p{font-size:14px;line-height:1.6}.tmc-eyebrow{font-size:12px}.tmc-company-hero-art b{font-size:13px}.tmc-company-hero-art span{font-size:11.5px}
.tmc-company-searchbar input,.tmc-company-searchbar select{font-size:13px!important}.tmc-company-card-title h3{font-size:17px}.tmc-company-card-tagline{height:auto;min-height:39px;font-size:12.5px;line-height:1.55}.tmc-company-card-location{font-size:11.5px}.tmc-company-card-stats{font-size:11px}.tmc-company-card-stats b{font-size:14px}.tmc-company-card-foot>span{font-size:11px}
.tmc-company-pages-head p{font-size:13px}.tmc-company-summary-strip span{font-size:11px}.tmc-company-owned-body h3{font-size:16px}.tmc-company-owned-body>div:first-child>p{height:auto;min-height:38px;font-size:12px}.tmc-company-owned-meta{font-size:11px}.tmc-company-rejection{font-size:11.5px;line-height:1.45}

@media(max-width:1020px){
  .tmc-company-content-layout{grid-template-columns:1fr}.tmc-company-content-layout>aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-company-enquiry-card{grid-column:1/-1}
  .tmc-company-settings-menu{position:static}
}
@media(max-width:760px){
  .tmc-company-profile-cover{height:190px}.tmc-company-profile-info{padding:0 16px 18px;gap:14px;flex-wrap:wrap}.tmc-company-profile-logo{width:112px;height:112px;margin-top:-52px;border-radius:24px}.tmc-company-profile-copy{padding-top:10px;flex-basis:100%}.tmc-company-title-row{display:block}.tmc-company-title-row h1{font-size:24px}.tmc-company-tagline{font-size:13px}.tmc-company-public-meta{font-size:11px}.tmc-company-profile-actions{margin-top:13px;justify-content:flex-start}.tmc-company-profile-actions .btn:not(.btn-icon),.tmc-company-profile-actions form:first-child{flex:1}.tmc-company-profile-actions form:first-child .btn{width:100%}.tmc-company-profile-bio{font-size:13px}.tmc-company-profile-stats{grid-template-columns:repeat(5,minmax(85px,1fr));overflow-x:auto}.tmc-company-profile-stats>a,.tmc-company-profile-stats>div{min-width:85px}.tmc-company-profile-stats b{font-size:20px}.tmc-company-tabs.tmc-profile-tabs{padding:7px 10px!important}.tmc-company-tabs.tmc-profile-tabs a{padding:11px 12px!important;font-size:12px!important}.tmc-company-content-layout>aside{grid-template-columns:1fr}.tmc-company-side-card{padding:16px}.tmc-company-settings-panel{padding:18px}.tmc-company-settings-head{align-items:flex-start}.tmc-company-settings-head .btn{margin-left:12px}.tmc-company-settings-cover{height:150px}.tmc-company-settings-logo-row{margin-left:12px}.tmc-company-settings-logo,.tmc-company-settings-logo>img{width:96px!important;height:96px!important;flex-basis:96px!important;border-radius:22px!important}.tmc-company-form .form-grid{grid-template-columns:1fr}.tmc-company-form .field.full{grid-column:auto}.tmc-company-slug-wrap{display:block;padding:8px 10px}.tmc-company-slug-wrap>span{display:block;padding:0;font-size:10.5px}.tmc-company-slug-wrap>input{padding:4px 0 0!important;min-height:30px!important}.tmc-company-form-actions{position:sticky;bottom:0;background:#fff;padding:10px 0!important;z-index:5}.tmc-company-form-actions .btn{flex:1}.tmc-company-enquiry-head{flex-direction:column}.tmc-company-enquiry-actions .btn,.tmc-company-enquiry-actions form{width:100%}
}

/* ===== Company identity posting + company composer v92 ===== */
.tmc-post-identity-picker{position:relative;flex:0 1 auto;min-width:0}
.tmc-post-identity-current{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;color:#111827;font:inherit;text-align:left;min-width:0;max-width:310px}
.tmc-post-identity-picker.has-company-options .tmc-post-identity-current{cursor:pointer;border-radius:12px;padding:4px 7px 4px 4px;margin:-4px 0 -4px -4px}
.tmc-post-identity-picker.has-company-options .tmc-post-identity-current:hover{background:#f4f7fb}
.tmc-post-identity-current>img{width:44px!important;height:44px!important;flex:0 0 44px;border-radius:50%!important;object-fit:cover;border:1px solid #e2e8f0}
.tmc-post-identity-current>span{min-width:0;display:block;line-height:1.15}
.tmc-post-identity-current>span>b{display:block!important;font-size:15px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}
.tmc-post-identity-current>span>small{display:block!important;margin-top:4px!important;font-size:10.5px!important;color:#7b8495!important}
.tmc-post-identity-current>i{font-size:10px;color:#697386;margin-left:2px}
.tmc-post-identity-menu{position:absolute;left:0;top:52px;z-index:80;width:min(340px,calc(100vw - 58px));max-height:330px;overflow:auto;background:#fff;border:1px solid #dfe5ef;border-radius:14px;box-shadow:0 18px 48px rgba(15,31,63,.18);padding:7px}
.tmc-post-identity-menu-title{padding:7px 9px 6px;font-size:11px;font-weight:700;color:#667085;text-transform:uppercase;letter-spacing:.04em}
.tmc-post-identity-option{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:10px;padding:8px;text-align:left;color:#172033;font:inherit;cursor:pointer}
.tmc-post-identity-option:hover,.tmc-post-identity-option.active{background:#f1f5ff}
.tmc-post-identity-option>img{width:38px!important;height:38px!important;flex:0 0 38px;border-radius:50%!important;object-fit:cover;border:1px solid #e4e9f2}
.tmc-post-identity-option>span{min-width:0;flex:1}.tmc-post-identity-option>span>b{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-post-identity-option>span>small{display:block!important;margin-top:3px!important;color:#7a8598!important;font-size:10.5px!important}
.tmc-post-identity-option>i{color:var(--tmc-brand-blue,#2450b7);font-size:14px;opacity:0}.tmc-post-identity-option.active>i{opacity:1}
.tmc-company-composer-tools{grid-template-columns:repeat(3,1fr)!important}
.tmc-company-composer-tools .composer-tool{min-height:38px;border-radius:9px}
@media(max-width:700px){.tmc-post-identity-current{max-width:245px}.tmc-post-identity-current>span>b{max-width:150px}.tmc-post-identity-menu{width:min(320px,calc(100vw - 42px))}}
.tmc-post-modal-user>img[data-post-author-avatar]{width:44px!important;height:44px!important;flex:0 0 44px;border-radius:50%!important;object-fit:cover;border:1px solid #e2e8f0}
.tmc-post-identity-picker{display:inline-block;max-width:100%}
.tmc-post-identity-current{max-width:270px;gap:6px}
.tmc-post-identity-current>span>b{max-width:220px}
.tmc-post-identity-current>img{display:none!important}
.tmc-post-identity-picker.has-company-options .tmc-post-identity-current{padding:1px 6px 1px 0;margin:-1px 0 0}
.tmc-post-identity-menu{top:38px}


/* ===== v93 universal media viewer scroll ownership fix ===== */
/* The page itself must never own the scrollbar while the full-screen viewer is open. */
html.tmc-lightbox-open,
body.tmc-lightbox-open,
body.tmc-feed-page.tmc-lightbox-open{
  height:100%!important;
  overflow:hidden!important;
  overscroll-behavior:none;
}

/* Keep long post/comments usable on the right without showing a browser-edge scrollbar. */
.tmc-media-lightbox.open .tmc-lightbox-side{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  overscroll-behavior:contain;
}
.tmc-media-lightbox.open .tmc-lightbox-side::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

/* If media is taller than the viewport, scrolling belongs to the left media pane. */
.tmc-media-lightbox.open .tmc-lightbox-media-pane{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.tmc-media-lightbox.open .tmc-lightbox-stage{
  height:auto!important;
  min-height:100vh!important;
  overflow:visible!important;
}
.tmc-media-lightbox.open .tmc-lightbox-stage img,
.tmc-media-lightbox.open .tmc-lightbox-stage video{
  max-height:none!important;
}

@media(max-width:980px){
  .tmc-media-lightbox.open .tmc-lightbox-stage{min-height:64vh!important}
}

/* ===== Travel Packages Phase 1 ===== */
.tmc-package-manage-page,.tmc-package-detail-page,.tmc-packages-page{background:#f8faff}
.tmc-package-editor-shell,.tmc-package-detail-shell{max-width:1240px}
.tmc-package-editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:4px 0 14px}.tmc-package-editor-head h1{font-size:28px;line-height:1.2;margin:8px 0 5px}.tmc-package-editor-head p{margin:0;color:#748095;font-size:12px}.tmc-package-back{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:11px;font-weight:750}.tmc-package-editor{display:grid;gap:14px}.tmc-package-editor-card{padding:20px;box-shadow:none}.tmc-package-editor-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;margin-bottom:15px;border-bottom:1px solid #edf1f6}.tmc-package-editor-section-head>div{display:grid;grid-template-columns:30px 1fr;column-gap:10px;align-items:center}.tmc-package-editor-section-head>div>span{grid-row:1/3;width:30px;height:30px;border-radius:10px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:11px;font-weight:800}.tmc-package-editor-section-head h2{font-size:16px;margin:0}.tmc-package-editor-section-head p{font-size:10.5px;color:#7a8799;margin:2px 0 0}.tmc-package-editor-section-head>i{width:38px;height:38px;border-radius:11px;background:#f4f7fb;color:var(--blue);display:grid;place-items:center}.tmc-package-editor .field label{display:block;font-size:10.5px;font-weight:750;color:#3d4b61;margin-bottom:5px}.tmc-package-editor .field input,.tmc-package-editor .field select,.tmc-package-editor .field textarea{width:100%;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#26364d;padding:10px 11px;outline:none;transition:border-color .18s,box-shadow .18s}.tmc-package-editor .field input,.tmc-package-editor .field select{height:42px}.tmc-package-editor .field textarea{min-height:112px;resize:vertical;line-height:1.55}.tmc-package-editor .field input:focus,.tmc-package-editor .field select:focus,.tmc-package-editor .field textarea:focus{border-color:#a6bedf;box-shadow:0 0 0 3px rgba(11,47,115,.06)}.tmc-package-editor .field small{display:block;margin-top:4px;color:#8993a2;font-size:9.5px}.tmc-package-cover-editor{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:center}.tmc-package-cover-preview{height:200px;border:1px dashed #cfd8e5;border-radius:14px;overflow:hidden;background:#f5f8fc}.tmc-package-cover-preview img{width:100%;height:100%;object-fit:cover}.tmc-package-cover-preview>div{height:100%;display:grid;place-items:center;align-content:center;gap:5px;color:#7c899c;text-align:center}.tmc-package-cover-preview>div i{font-size:28px;color:#9dacbf}.tmc-package-cover-preview>div b{font-size:11px}.tmc-package-cover-preview>div span{font-size:9.5px}.tmc-package-current-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.tmc-package-current-gallery label{position:relative;border:1px solid #e3e8ef;border-radius:12px;overflow:hidden;background:#fff}.tmc-package-current-gallery img{width:100%;height:110px;object-fit:cover}.tmc-package-current-gallery span{display:flex;align-items:center;gap:6px;padding:7px 8px;color:#6c788a;font-size:9.5px}.tmc-package-pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tmc-package-days-editor{display:grid;gap:9px;margin-bottom:11px}.tmc-package-day-row{position:relative;display:grid;grid-template-columns:86px minmax(0,1fr);gap:9px 12px;border:1px solid #e4e9f0;border-radius:13px;background:#fbfcfe;padding:13px 42px 13px 13px}.tmc-package-day-number{grid-row:1/3;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:10px;background:#edf4ff;color:#5c6c82;font-size:10px;font-weight:650}.tmc-package-day-number b{color:var(--blue);font-size:15px}.tmc-package-day-row .field.full{grid-column:2}.tmc-package-day-row textarea{min-height:86px!important}.tmc-package-day-remove{position:absolute;right:10px;top:10px;width:28px;height:28px;border:0;border-radius:9px;background:#fff1f2;color:#c43b49}.tmc-package-editor-actions{display:flex;justify-content:flex-end;gap:9px;position:sticky;bottom:10px;z-index:5;padding:10px;border:1px solid #e2e8f0;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(20,40,75,.09);backdrop-filter:blur(10px)}.tmc-package-delete-form{text-align:right;margin-top:10px}.tmc-package-delete-form button{border:0;background:none;color:#c13e49;font-size:10.5px;font-weight:700}.tmc-package-status-banner{display:flex;align-items:center;gap:11px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;padding:12px 14px;margin-bottom:14px}.tmc-package-status-banner>div b,.tmc-package-status-banner>div p{display:block}.tmc-package-status-banner>div b{font-size:11.5px}.tmc-package-status-banner>div p{margin:2px 0 0;color:#788496;font-size:10px}.tmc-package-status-banner.pending{background:#fffaf1}.tmc-package-status-banner.rejected{background:#fff6f6}.tmc-status-pill.draft{background:#eef2f6;color:#596779}.tmc-status-pill.pending{background:#fff0d7;color:#946014}.tmc-status-pill.approved{background:#e9f8ef;color:#147647}.tmc-status-pill.rejected{background:#ffebed;color:#b83844}
.tmc-company-packages-tab{margin-top:14px}.tmc-company-packages-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.tmc-company-packages-head h2{font-size:19px;margin:0}.tmc-company-packages-head p{margin:3px 0 0;color:#788598;font-size:10.5px}.tmc-company-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tmc-live-package-card{transition:transform .18s,box-shadow .18s}.tmc-live-package-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(22,43,80,.09)}.tmc-live-package-card .media{display:block}.tmc-package-card-status{position:absolute;right:9px;top:9px;padding:4px 8px;border-radius:999px;background:#fff;color:#57657a;font-size:9px;font-weight:800;text-transform:capitalize}.tmc-package-card-status.pending{background:#fff5df;color:#9a691c}.tmc-package-card-status.rejected{background:#fff0f1;color:#b53d49}.tmc-package-card-status.draft{background:#eef2f6;color:#5d6979}.tmc-package-card-destination{display:flex;align-items:center;gap:5px;color:#7b8798;font-size:9.5px;margin-bottom:4px}.tmc-package-card-destination i{color:var(--blue)}.tmc-live-package-card h3{font-size:14px;line-height:1.35}.tmc-package-manage-link{color:var(--blue)!important;font-weight:750}
.tmc-packages-eyebrow{display:inline-flex;color:var(--blue);font-size:10px;font-weight:850;letter-spacing:.08em}.tmc-live-package-search{grid-template-columns:1.4fr 1fr 1fr auto}.tmc-packages-result-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:24px 0 13px}.tmc-packages-result-head h2{font-size:21px;margin:0}.tmc-packages-result-head p{margin:3px 0 0;color:#7b8798;font-size:10.5px}.tmc-public-package-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tmc-package-public-empty{margin-top:10px}
.tmc-package-preview-banner{display:flex;align-items:center;gap:11px;border:1px solid #dde5ef;border-radius:13px;background:#fffaf1;padding:10px 12px;margin-bottom:11px}.tmc-package-preview-banner>i{width:35px;height:35px;border-radius:10px;background:#fff0d5;color:#9d6919;display:grid;place-items:center}.tmc-package-preview-banner>div{flex:1}.tmc-package-preview-banner b,.tmc-package-preview-banner span{display:block}.tmc-package-preview-banner b{font-size:11px}.tmc-package-preview-banner span{font-size:9.5px;color:#887a66}.tmc-package-breadcrumb{display:flex;align-items:center;gap:7px;color:#7a8799;font-size:9.5px;margin:4px 0 12px}.tmc-package-breadcrumb i{font-size:7px}.tmc-package-breadcrumb a:hover{color:var(--blue)}.tmc-package-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.tmc-package-detail-main{display:grid;gap:14px}.tmc-package-gallery-card{padding:10px;box-shadow:none}.tmc-package-content-card{padding:20px;box-shadow:none}.tmc-package-content-card h2{font-size:17px;margin:22px 0 10px}.tmc-package-content-card h2:first-of-type{margin-top:12px}.tmc-package-detail-tags{display:flex;gap:7px;flex-wrap:wrap}.tmc-package-detail-tags span{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#f1f5fb;color:#5d6b80;padding:6px 9px;font-size:9.5px}.tmc-package-detail-tags i{color:var(--blue)}.tmc-package-overview{color:#526176;font-size:11.5px;line-height:1.75}.tmc-package-highlight-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tmc-package-highlight-grid>div{display:flex;align-items:flex-start;gap:8px;border:1px solid #e7ebf1;border-radius:10px;padding:9px 10px;color:#516075;font-size:10.5px}.tmc-package-highlight-grid i{color:#15915b;margin-top:2px}.tmc-package-itinerary-list{display:grid;gap:9px}.tmc-package-itinerary-list article{display:grid;grid-template-columns:72px 1fr;gap:12px;border:1px solid #e5eaf1;border-radius:12px;padding:12px;background:#fbfcfe}.tmc-package-itinerary-list article>span{height:35px;display:grid;place-items:center;border-radius:9px;background:#edf4ff;color:var(--blue);font-size:10px;font-weight:800}.tmc-package-itinerary-list h3{font-size:12px;margin:1px 0 4px}.tmc-package-itinerary-list p{margin:0;color:#67758a;font-size:10.5px;line-height:1.65}.tmc-package-inc-exc{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tmc-package-inc-exc>div{border:1px solid #e5eaf1;border-radius:12px;padding:0 13px 10px}.tmc-package-inc-exc p{display:flex;align-items:flex-start;gap:7px;color:#5d6a7e;font-size:10.5px}.tmc-package-inc-exc p i{margin-top:3px}.tmc-package-inc-exc>div:first-child p i{color:#16945c}.tmc-package-inc-exc>div:last-child p i{color:#d24a55}.tmc-package-policies p{color:#647186;font-size:10.5px;line-height:1.7}.tmc-package-detail-rail{position:sticky;top:88px}.tmc-package-booking-card{box-shadow:none}.tmc-package-verified{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#e9f7ef;color:#147648;padding:5px 9px;font-size:9.5px;font-weight:800}.tmc-package-booking-card h1{font-size:23px;line-height:1.25;margin:12px 0 7px}.tmc-package-subline{display:flex;align-items:center;gap:6px;color:#708096;font-size:10.5px}.tmc-package-subline i{color:var(--blue)}.tmc-package-duration{display:flex;gap:7px;margin:12px 0}.tmc-package-duration span{min-width:86px;border:1px solid #e3e8ef;border-radius:10px;padding:8px 10px;color:#718096;font-size:9.5px}.tmc-package-duration b{display:block;color:#26354b;font-size:14px}.tmc-package-price-label{border-top:1px solid #edf0f4;padding-top:13px;margin-top:12px;color:#8490a1;font-size:9.5px}.tmc-package-detail-price{font-size:29px;font-weight:850;letter-spacing:-.5px}.tmc-package-detail-price small{font-size:9px;font-weight:500;color:#8791a0;margin-left:4px}.tmc-package-company-box{display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;border:1px solid #e3e9f1;border-radius:12px;padding:9px;margin:13px 0}.tmc-package-company-box img{width:42px;height:42px;border-radius:10px;object-fit:cover}.tmc-package-company-box b,.tmc-package-company-box small{display:block}.tmc-package-company-box b{font-size:10.5px}.tmc-package-company-box small{color:#788599;font-size:8.8px}.tmc-package-company-box small i{color:var(--blue)}.tmc-package-company-box>i{color:#9aa4b2;font-size:9px}.tmc-package-save-btn,.tmc-package-share-btn,.tmc-package-whatsapp-btn{width:100%;margin-top:8px}.tmc-package-save-btn.active{background:#eef3ff;color:var(--blue);border-color:#cedaf0}.tmc-package-whatsapp-btn{color:#128451}.tmc-package-whatsapp-btn i{color:#16a765}
@media(max-width:1100px){.tmc-public-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tmc-company-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-package-detail-grid{grid-template-columns:minmax(0,1fr) 320px}.tmc-package-cover-editor{grid-template-columns:300px 1fr}}
@media(max-width:820px){.tmc-package-editor-head,.tmc-company-packages-head,.tmc-packages-result-head{align-items:flex-start;flex-direction:column}.tmc-package-cover-editor{grid-template-columns:1fr}.tmc-package-pricing-grid{grid-template-columns:1fr 1fr}.tmc-package-current-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-package-day-row{grid-template-columns:1fr;padding-top:48px}.tmc-package-day-number{grid-row:auto;position:absolute;left:13px;top:11px;width:82px;height:28px}.tmc-package-day-row .field.full{grid-column:1}.tmc-package-detail-grid{grid-template-columns:1fr}.tmc-package-detail-rail{position:static}.tmc-public-package-grid,.tmc-company-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-live-package-search{grid-template-columns:1fr 1fr}.tmc-package-inc-exc{grid-template-columns:1fr}}
@media(max-width:560px){.tmc-public-package-grid,.tmc-company-package-grid{grid-template-columns:1fr}.tmc-package-pricing-grid,.tmc-live-package-search,.tmc-package-highlight-grid{grid-template-columns:1fr}.tmc-package-editor-card{padding:15px}.tmc-package-editor-actions{position:static;display:grid;grid-template-columns:1fr}.tmc-package-current-gallery{grid-template-columns:1fr 1fr}.tmc-package-itinerary-list article{grid-template-columns:1fr}.package-gallery{grid-template-columns:1fr}.package-gallery-side{grid-template-columns:1fr 1fr}}

/* ===== Travel Packages Phase 1.1: editor media, auto-duration & lighter placeholders ===== */
.tmc-package-editor .field input::placeholder,
.tmc-package-editor .field textarea::placeholder{color:#b9c2cf!important;font-weight:400!important;opacity:1!important}
.tmc-package-editor .field select.is-placeholder{color:#aeb8c6!important;font-weight:400}
.tmc-package-editor .field select option{color:#26364d}

.tmc-package-media-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.tmc-package-media-panel{min-width:0;border:1px solid #e3e9f1;border-radius:15px;background:#fbfcfe;padding:14px}
.tmc-package-media-label{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.tmc-package-media-label>div b,.tmc-package-media-label>div span{display:block}
.tmc-package-media-label>div b{font-size:11px;color:#344257}
.tmc-package-media-label>div span{margin-top:2px;color:#8b96a6;font-size:9.5px}
.tmc-package-media-badge{flex:0 0 auto;border:1px solid #dde6f2;border-radius:999px;background:#f2f6fc;color:#65758b;padding:5px 8px;font-size:8.8px;font-weight:750}
.tmc-package-cover-drop,.tmc-package-gallery-drop{appearance:none;width:100%;border:1px dashed #cbd6e4;border-radius:14px;background:#f4f7fb;color:#66758a;padding:0;overflow:hidden;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.tmc-package-cover-drop:hover,.tmc-package-gallery-drop:hover{border-color:#9eb5d5;background:#f1f5fb;box-shadow:0 0 0 3px rgba(19,61,130,.035)}
.tmc-package-cover-visual{display:block;position:relative;width:100%;aspect-ratio:16/9;background:#eef3f8;overflow:hidden}
.tmc-package-cover-visual>img{display:block;width:100%;height:100%;object-fit:cover}
.tmc-package-upload-empty{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:5px;text-align:center;color:#8491a3}
.tmc-package-upload-empty>i{font-size:30px;color:#aab7c8}
.tmc-package-upload-empty>b{font-size:11px;color:#667489}
.tmc-package-upload-empty>small{font-size:9.5px;color:#98a4b4}
.tmc-package-upload-action{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border-top:1px solid #e4eaf2;background:#fff;color:var(--blue);font-size:10px;font-weight:800}
.tmc-package-gallery-drop{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;padding:18px}
.tmc-package-gallery-drop>span{display:grid;place-items:center;gap:5px}
.tmc-package-gallery-drop>span>i{font-size:29px;color:#aab7c8}
.tmc-package-gallery-drop>span>b{font-size:11px;color:#667489}
.tmc-package-gallery-drop>span>small{font-size:9.5px;color:#98a4b4}
.tmc-package-gallery-drop>strong{display:inline-flex;align-items:center;gap:6px;border:1px solid #d7e2f0;border-radius:9px;background:#fff;color:var(--blue);padding:8px 11px;font-size:9.8px}
.tmc-package-media-help{display:block;margin-top:8px;color:#8995a5;font-size:9px;line-height:1.45}
.tmc-package-current-gallery,.tmc-package-gallery-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 0}
.tmc-package-current-gallery label,.tmc-package-gallery-preview-grid>div{position:relative;min-width:0;border:1px solid #e1e7ef;border-radius:10px;overflow:hidden;background:#fff}
.tmc-package-current-gallery img,.tmc-package-gallery-preview-grid img{display:block;width:100%;height:72px;object-fit:cover}
.tmc-package-current-gallery span{display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 4px;color:#6f7d90;font-size:8.8px}
.tmc-package-current-gallery input{width:auto!important;height:auto!important;padding:0!important}
.tmc-package-gallery-selection{margin-top:10px;border-top:1px solid #e7ecf3;padding-top:9px}
.tmc-package-gallery-selection-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tmc-package-gallery-selection-head b{font-size:9.8px;color:#4d5d73}
.tmc-package-gallery-selection-head span{font-size:8.8px;color:#8692a3}

.tmc-package-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tmc-package-pricing-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e2e9f2;border-radius:11px;background:#f7f9fc;padding:9px 11px;margin-bottom:12px}
.tmc-package-pricing-topline>span{display:inline-flex;align-items:center;gap:6px;color:#7c899b;font-size:9.7px}
.tmc-package-pricing-topline>span i{color:var(--blue)}
.tmc-package-pricing-topline>b{font-size:10.5px;color:#34445a}
.tmc-package-editor button.is-loading{opacity:.6;pointer-events:none}

html.tmc-package-crop-open,body.tmc-package-crop-open{overflow:hidden!important;height:100%!important}
.tmc-package-crop-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:24px}
.tmc-package-crop-modal[hidden]{display:none!important}
.tmc-package-crop-backdrop{position:absolute;inset:0;background:rgba(12,22,38,.78);backdrop-filter:blur(3px)}
.tmc-package-crop-dialog{position:relative;z-index:1;width:min(920px,96vw);max-height:calc(100vh - 40px);overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.28)}
.tmc-package-crop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:16px 17px;border-bottom:1px solid #e8edf3}
.tmc-package-crop-head h3{margin:0;font-size:16px;color:#1f2e43}
.tmc-package-crop-head p{margin:3px 0 0;color:#7c899b;font-size:9.8px}
.tmc-package-crop-head>button{width:32px;height:32px;border:0;border-radius:10px;background:#f1f4f8;color:#526174;cursor:pointer}
.tmc-package-crop-stage{padding:16px;background:#111827}
.tmc-package-crop-stage canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0b1220;cursor:grab;touch-action:none;user-select:none}
.tmc-package-crop-stage canvas:active{cursor:grabbing}
.tmc-package-crop-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 17px;border-bottom:1px solid #e8edf3}
.tmc-package-crop-controls label{display:flex;align-items:center;gap:8px;flex:1;color:#7b8798}
.tmc-package-crop-controls input[type="range"]{width:min(360px,65vw)}
.tmc-package-crop-controls>span{color:#8490a0;font-size:9.5px}
.tmc-package-crop-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 17px}

@media(max-width:820px){
  .tmc-package-media-grid{grid-template-columns:1fr}
  .tmc-package-gallery-drop{aspect-ratio:auto;min-height:190px}
  .tmc-package-crop-modal{padding:12px}
}
@media(max-width:560px){
  .tmc-package-pricing-grid{grid-template-columns:1fr}
  .tmc-package-current-gallery,.tmc-package-gallery-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tmc-package-current-gallery img,.tmc-package-gallery-preview-grid img{height:66px}
  .tmc-package-crop-controls{align-items:flex-start;flex-direction:column}
  .tmc-package-crop-controls label,.tmc-package-crop-controls input[type="range"]{width:100%}
  .tmc-package-crop-actions .btn{flex:1}
}

/* ===== Travel Packages Phase 1.2: editor typography matched to Add/Edit Company ===== */
.tmc-package-manage-page .tmc-package-editor-head h1{font-size:27px;line-height:1.2}
.tmc-package-manage-page .tmc-package-editor-head p{font-size:13px;line-height:1.5}
.tmc-package-manage-page .tmc-package-back{font-size:12.5px;font-weight:700}
.tmc-package-manage-page .tmc-package-editor-section-head h2{font-size:16px;font-weight:600;line-height:1.3}
.tmc-package-manage-page .tmc-package-editor-section-head p{font-size:12.5px;line-height:1.45}
.tmc-package-manage-page .tmc-package-editor-section-head>div>span{font-size:12px}
.tmc-package-manage-page .tmc-package-editor .field label{font-size:13px;font-weight:600;margin-bottom:7px;color:#263149}
.tmc-package-manage-page .tmc-package-editor .field input,
.tmc-package-manage-page .tmc-package-editor .field select,
.tmc-package-manage-page .tmc-package-editor .field textarea{font-family:inherit;font-size:13px;font-weight:400;color:#10182b}
.tmc-package-manage-page .tmc-package-editor .field small{font-size:11.5px;line-height:1.45;color:#8b94a6;margin-top:6px}
.tmc-package-manage-page .tmc-package-media-label>div b{font-size:13px;font-weight:600;color:#263149}
.tmc-package-manage-page .tmc-package-media-label>div span{font-size:11.5px;line-height:1.45}
.tmc-package-manage-page .tmc-package-media-badge{font-size:10.5px}
.tmc-package-manage-page .tmc-package-upload-empty>b,
.tmc-package-manage-page .tmc-package-gallery-drop>span>b{font-size:13px;font-weight:600}
.tmc-package-manage-page .tmc-package-upload-empty>small,
.tmc-package-manage-page .tmc-package-gallery-drop>span>small{font-size:11.5px;line-height:1.4}
.tmc-package-manage-page .tmc-package-upload-action{font-size:12.5px;font-weight:700}
.tmc-package-manage-page .tmc-package-gallery-drop>strong{font-size:12px;font-weight:600}
.tmc-package-manage-page .tmc-package-media-help{font-size:11.5px;line-height:1.45}
.tmc-package-manage-page .tmc-package-gallery-selection-head b{font-size:12px}
.tmc-package-manage-page .tmc-package-gallery-selection-head span{font-size:11px}
.tmc-package-manage-page .tmc-package-current-gallery span{font-size:10.5px}
.tmc-package-manage-page .tmc-package-pricing-topline>span{font-size:11.5px}
.tmc-package-manage-page .tmc-package-pricing-topline>b{font-size:13px}
.tmc-package-manage-page .tmc-package-day-number{font-size:12px}
.tmc-package-manage-page .tmc-package-day-number b{font-size:16px}
.tmc-package-manage-page .tmc-package-editor-actions .btn,
.tmc-package-manage-page [data-add-package-day]{font-size:12.5px}
.tmc-package-manage-page .tmc-package-delete-form button{font-size:12px}
.tmc-package-manage-page .tmc-package-status-banner>div b{font-size:13px}
.tmc-package-manage-page .tmc-package-status-banner>div p{font-size:11.5px;line-height:1.45}

/* ===== Travel Packages Phase 2: detail readability, gallery viewer & enquiry ===== */
.tmc-package-detail-page .tmc-package-breadcrumb{font-size:11.5px;gap:8px;margin-bottom:14px}
.tmc-package-detail-page .tmc-package-breadcrumb i{font-size:8px}
.tmc-package-detail-page .tmc-package-content-card{padding:22px}
.tmc-package-detail-page .tmc-package-content-card h2{font-size:20px;line-height:1.3;font-weight:650;margin:25px 0 12px;color:#10182b}
.tmc-package-detail-page .tmc-package-content-card h2:first-of-type{margin-top:15px}
.tmc-package-detail-page .tmc-package-detail-tags{gap:8px}
.tmc-package-detail-page .tmc-package-detail-tags span{padding:7px 10px;font-size:11.5px}
.tmc-package-detail-page .tmc-package-overview{font-size:13.5px;line-height:1.75;color:#4e5d73}
.tmc-package-detail-page .tmc-package-highlight-grid{gap:10px}
.tmc-package-detail-page .tmc-package-highlight-grid>div{gap:9px;padding:11px 12px;font-size:12.5px;line-height:1.45}
.tmc-package-detail-page .tmc-package-itinerary-list{gap:11px}
.tmc-package-detail-page .tmc-package-itinerary-list article{grid-template-columns:82px 1fr;gap:13px;padding:14px;border-radius:13px}
.tmc-package-detail-page .tmc-package-itinerary-list article>span{height:38px;font-size:11.5px}
.tmc-package-detail-page .tmc-package-itinerary-list h3{font-size:13.5px;line-height:1.35;margin:1px 0 5px}
.tmc-package-detail-page .tmc-package-itinerary-list p{font-size:12.5px;line-height:1.68;color:#5d6c81}
.tmc-package-detail-page .tmc-package-inc-exc{gap:16px;margin-top:20px;align-items:start}
.tmc-package-detail-page .tmc-package-inc-exc>div{padding:16px 15px 13px;border-radius:13px}
.tmc-package-detail-page .tmc-package-inc-exc>div h2{font-size:18px;margin:0 0 12px}
.tmc-package-detail-page .tmc-package-inc-exc p{font-size:12.5px;line-height:1.5;margin:9px 0;gap:8px}
.tmc-package-detail-page .tmc-package-policies p{font-size:12.5px;line-height:1.72}
.tmc-package-detail-page .tmc-package-booking-card{padding:22px}
.tmc-package-detail-page .tmc-package-verified{font-size:10.5px;padding:6px 10px}
.tmc-package-detail-page .tmc-package-booking-card h1{font-size:25px;line-height:1.25;margin:13px 0 8px}
.tmc-package-detail-page .tmc-package-subline{font-size:11.5px;line-height:1.45}
.tmc-package-detail-page .tmc-package-duration{gap:8px;margin:14px 0}
.tmc-package-detail-page .tmc-package-duration span{min-width:92px;padding:9px 11px;font-size:10.5px}
.tmc-package-detail-page .tmc-package-duration b{font-size:16px}
.tmc-package-detail-page .tmc-package-price-label{font-size:10.5px;padding-top:14px}
.tmc-package-detail-page .tmc-package-detail-price{font-size:31px}
.tmc-package-detail-page .tmc-package-detail-price small{font-size:10.5px}
.tmc-package-detail-page .tmc-package-booking-card>.tiny{font-size:11.5px;line-height:1.55}
.tmc-package-detail-page .tmc-package-company-box{grid-template-columns:44px 1fr auto;gap:10px;padding:10px;margin:14px 0}
.tmc-package-detail-page .tmc-package-company-box img{width:44px;height:44px}
.tmc-package-detail-page .tmc-package-company-box b{font-size:12px}
.tmc-package-detail-page .tmc-package-company-box small{font-size:10px;margin-top:2px}
.tmc-package-detail-page .tmc-package-booking-card .btn{min-height:40px;font-size:12.5px}
.tmc-package-enquire-btn{width:100%}

.tmc-package-gallery-card .package-gallery>button.tmc-package-gallery-main,
.tmc-package-gallery-card .package-gallery-side>button,
.tmc-package-gallery-card .package-gallery-side>span{position:relative;display:block;width:100%;height:100%;border:0;padding:0;margin:0;border-radius:18px;overflow:hidden;background:#edf2f7}
.tmc-package-gallery-card .package-gallery>button.tmc-package-gallery-main,
.tmc-package-gallery-card .package-gallery-side>button{cursor:pointer}
.tmc-package-gallery-card .package-gallery>button.tmc-package-gallery-main img,
.tmc-package-gallery-card .package-gallery-side>button img,
.tmc-package-gallery-card .package-gallery-side>span img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .2s ease}
.tmc-package-gallery-card .package-gallery>button.tmc-package-gallery-main:hover img,
.tmc-package-gallery-card .package-gallery-side>button:hover img{transform:scale(1.012)}
.tmc-package-view-all{position:absolute;right:14px;bottom:14px;z-index:3;display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid rgba(255,255,255,.72);border-radius:10px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);box-shadow:0 5px 18px rgba(10,22,43,.14);color:#18253b;font-size:12px;font-weight:700}

html.tmc-package-gallery-open,body.tmc-package-gallery-open,
html.tmc-package-enquiry-open,body.tmc-package-enquiry-open{overflow:hidden!important;height:100%!important}
.tmc-package-gallery-modal{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;background:#070b12}
.tmc-package-gallery-modal[hidden]{display:none!important}
.tmc-package-gallery-backdrop{position:absolute;inset:0;border:0;background:radial-gradient(circle at center,rgba(33,43,60,.38),rgba(4,7,12,.98));padding:0}
.tmc-package-gallery-stage{position:relative;z-index:2;width:100vw;height:100vh;display:grid;place-items:center;padding:30px 82px}
.tmc-package-gallery-stage img{display:block;max-width:100%;max-height:calc(100vh - 54px);width:auto;height:auto;object-fit:contain;user-select:none}
.tmc-package-gallery-close,.tmc-package-gallery-nav{position:absolute;z-index:5;border:0;color:#fff;background:rgba(255,255,255,.15);backdrop-filter:blur(8px);cursor:pointer;display:grid;place-items:center}
.tmc-package-gallery-close{left:18px;top:18px;width:44px;height:44px;border-radius:50%;font-size:20px}
.tmc-package-gallery-nav{top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;font-size:18px}
.tmc-package-gallery-nav.prev{left:18px}.tmc-package-gallery-nav.next{right:18px}
.tmc-package-gallery-nav[hidden]{display:none!important}
.tmc-package-gallery-count{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:5;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;padding:6px 12px;font-size:12px;font-weight:650}

.tmc-package-enquiry-modal{position:fixed;inset:0;z-index:2147483600;display:grid;place-items:center;padding:18px}
.tmc-package-enquiry-modal[hidden]{display:none!important}
.tmc-package-enquiry-backdrop{position:absolute;inset:0;border:0;background:rgba(9,17,31,.62);backdrop-filter:blur(3px);padding:0}
.tmc-package-enquiry-dialog{position:relative;z-index:2;width:min(560px,calc(100vw - 28px));max-height:calc(100vh - 36px);overflow:auto;border-radius:17px;background:#fff;box-shadow:0 28px 80px rgba(8,20,44,.28)}
.tmc-package-enquiry-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 19px 15px;border-bottom:1px solid #e9edf3}
.tmc-package-enquiry-head h2{font-size:20px;line-height:1.25;margin:0;color:#111b2d}
.tmc-package-enquiry-head p{font-size:12px;line-height:1.4;margin:4px 0 0;color:#728095}
.tmc-package-enquiry-head>button{flex:0 0 auto;width:34px;height:34px;border:0;border-radius:10px;background:#f1f4f8;color:#56657a;cursor:pointer}
.tmc-package-enquiry-modal form{padding:17px 19px 18px}
.tmc-package-enquiry-login-note{display:flex;align-items:flex-start;gap:9px;margin-bottom:14px;padding:11px 12px;border:1px solid #dfe7f4;border-radius:10px;background:#f6f9ff;color:#53647c;font-size:11.5px;line-height:1.45}
.tmc-package-enquiry-login-note i{color:var(--blue);margin-top:2px}
.tmc-package-enquiry-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.tmc-package-enquiry-grid label{display:grid;gap:6px;color:#263149;font-size:12.5px;font-weight:600}
.tmc-package-enquiry-grid label.full{grid-column:1/-1}
.tmc-package-enquiry-grid input,.tmc-package-enquiry-grid textarea{font-family:inherit;width:100%;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#10182b;font-size:13px;font-weight:400;padding:10px 11px;outline:none}
.tmc-package-enquiry-grid input{height:43px}.tmc-package-enquiry-grid textarea{min-height:105px;resize:vertical;line-height:1.55}
.tmc-package-enquiry-grid input::placeholder,.tmc-package-enquiry-grid textarea::placeholder{color:#adb7c5;opacity:1;font-weight:400}
.tmc-package-enquiry-grid input:focus,.tmc-package-enquiry-grid textarea:focus{border-color:var(--tmc-brand-blue);box-shadow:0 0 0 3px rgba(11,47,115,.08)}
.tmc-package-enquiry-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}
.tmc-package-enquiry-actions .btn{min-height:39px;font-size:12.5px}

.tmc-company-enquiry-package{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;margin:11px 0 8px;padding:9px 10px;border:1px solid #dfe7f2;border-radius:10px;background:#f7f9fc;color:#24334a;text-decoration:none}
.tmc-company-enquiry-package>i:first-child{width:34px;height:34px;border-radius:9px;background:#eaf1ff;color:var(--blue);display:grid;place-items:center}
.tmc-company-enquiry-package span small,.tmc-company-enquiry-package span b{display:block}
.tmc-company-enquiry-package span small{font-size:10px;color:#7d899a;margin-bottom:1px}.tmc-company-enquiry-package span b{font-size:12px;line-height:1.35}.tmc-company-enquiry-package>i:last-child{font-size:9px;color:#93a0b1}

@media(max-width:820px){
  .tmc-package-detail-page .tmc-package-content-card{padding:18px}
  .tmc-package-gallery-stage{padding:64px 48px 34px}
}
@media(max-width:560px){
  .tmc-package-detail-page .tmc-package-content-card h2{font-size:18px}
  .tmc-package-detail-page .tmc-package-overview{font-size:13px}
  .tmc-package-detail-page .tmc-package-highlight-grid>div,.tmc-package-detail-page .tmc-package-itinerary-list p,.tmc-package-detail-page .tmc-package-inc-exc p{font-size:12px}
  .tmc-package-gallery-card .package-gallery>button.tmc-package-gallery-main{height:280px}
  .tmc-package-gallery-card .package-gallery-side>button,.tmc-package-gallery-card .package-gallery-side>span{height:140px}
  .tmc-package-view-all{right:10px;bottom:10px;padding:8px 10px;font-size:11px}
  .tmc-package-gallery-stage{padding:64px 12px 34px}.tmc-package-gallery-nav{width:40px;height:40px}.tmc-package-gallery-nav.prev{left:7px}.tmc-package-gallery-nav.next{right:7px}.tmc-package-gallery-close{left:10px;top:10px;width:40px;height:40px}
  .tmc-package-enquiry-grid{grid-template-columns:1fr}.tmc-package-enquiry-grid label.full{grid-column:1}.tmc-package-enquiry-actions{display:grid;grid-template-columns:1fr 1fr}.tmc-package-enquiry-actions .btn{width:100%}
}

/* ===== Packages Phase 3: Marketplace & Discovery ===== */
.tmc-package-marketplace{padding-top:18px}.tmc-marketplace-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;padding:26px 4px 22px}.tmc-marketplace-hero-copy{max-width:720px}.tmc-marketplace-hero .tmc-packages-eyebrow{align-items:center;gap:7px;font-size:11.5px;letter-spacing:.075em}.tmc-marketplace-hero h1{margin:9px 0 10px;font-size:38px;line-height:1.08;letter-spacing:-.035em;color:#081c46}.tmc-marketplace-hero p{max-width:690px;margin:0;color:#65748b;font-size:14px;line-height:1.65}.tmc-marketplace-hero-stats{display:flex;align-items:stretch;gap:10px}.tmc-marketplace-hero-stats>div{min-width:145px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:15px 17px;border:1px solid #e1e7f0;border-radius:15px;background:#fff}.tmc-marketplace-hero-stats b{font-size:24px;line-height:1;color:#0b2f73}.tmc-marketplace-hero-stats i{font-size:20px;color:#0ca46c}.tmc-marketplace-hero-stats span{font-size:11px;line-height:1.35;color:#758297}
.tmc-marketplace-search{display:flex;align-items:center;gap:14px;padding:12px 13px 12px 18px;border-radius:17px;box-shadow:0 8px 26px rgba(20,44,83,.055)}.tmc-marketplace-search-field{display:flex;align-items:center;gap:13px;min-width:0;flex:1}.tmc-marketplace-search-field>i{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#edf3ff;color:#0b2f73;font-size:14px}.tmc-marketplace-search-field>div{min-width:0;flex:1}.tmc-marketplace-search label{display:block;margin:0 0 2px;color:#25334d;font-size:11px;font-weight:750}.tmc-marketplace-search input{width:100%;height:27px;padding:0;border:0;outline:0;background:transparent;color:#10192b;font:inherit;font-size:13.5px}.tmc-marketplace-search input::placeholder{color:#a7b1c0;opacity:1}.tmc-marketplace-search>.btn{height:44px;padding-inline:22px;white-space:nowrap}
.tmc-marketplace-layout{position:relative;display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;margin-top:20px;align-items:start}.tmc-marketplace-filters{position:sticky;top:82px;padding:18px;border-radius:16px}.tmc-marketplace-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:14px;border-bottom:1px solid #e8edf4}.tmc-marketplace-filter-head h2{margin:0;font-size:17px;color:#0b1c3d}.tmc-marketplace-filter-head p{margin:3px 0 0;color:#8390a2;font-size:10.5px;line-height:1.45}.tmc-marketplace-filter-head>button{display:none;border:0;background:#eef2f8;width:34px;height:34px;border-radius:50%;color:#3b4a62}.tmc-marketplace-filters form{display:grid;gap:14px;padding-top:15px}.tmc-marketplace-filter-field{display:grid;gap:6px}.tmc-marketplace-filter-field label{font-size:11.5px;font-weight:700;color:#26334b}.tmc-marketplace-filter-field label small{font-size:9px;font-weight:500;color:#929cac}.tmc-marketplace-filter-field select{width:100%;height:42px;padding:0 34px 0 11px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#17223a;font:inherit;font-size:12px;outline:0}.tmc-marketplace-filter-field select:focus{border-color:#7897d6;box-shadow:0 0 0 3px rgba(11,47,115,.07)}.tmc-marketplace-filter-actions{display:grid;grid-template-columns:1fr;gap:8px;padding-top:2px}.tmc-marketplace-filter-actions .btn{width:100%;height:40px}.tmc-marketplace-filter-trust{display:flex;gap:10px;margin-top:16px;padding:13px;border-radius:12px;background:#f4f8ff}.tmc-marketplace-filter-trust>i{margin-top:2px;color:#0b2f73}.tmc-marketplace-filter-trust div{display:grid;gap:2px}.tmc-marketplace-filter-trust b{font-size:10.5px;color:#24334d}.tmc-marketplace-filter-trust span{font-size:9.5px;line-height:1.45;color:#7d899b}.tmc-marketplace-filter-backdrop,.tmc-marketplace-mobile-tools{display:none}
.tmc-marketplace-results{min-width:0}.tmc-marketplace-result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:53px;margin-bottom:10px}.tmc-marketplace-result-toolbar h2{margin:0;font-size:20px;color:#0b1c3d}.tmc-marketplace-result-toolbar p{margin:3px 0 0;font-size:10.5px;color:#8490a1}.tmc-marketplace-sort-form label{display:flex;align-items:center;gap:8px;color:#7a8799;font-size:10.5px;white-space:nowrap}.tmc-marketplace-sort-form select{height:38px;min-width:168px;padding:0 32px 0 11px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#26334b;font:inherit;font-size:11.5px;font-weight:650;outline:0}.tmc-marketplace-active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 13px}.tmc-marketplace-active-filters a{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 9px 5px 11px;border:1px solid #dce5f3;border-radius:999px;background:#f7faff;color:#40516b;font-size:10px;font-weight:650}.tmc-marketplace-active-filters a i{font-size:9px;color:#7a8798}.tmc-marketplace-active-filters a.clear{border:0;background:transparent;color:#0b2f73;padding-left:4px}.tmc-marketplace-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.tmc-marketplace-package-card{border:1px solid #e2e7ef;border-radius:15px;box-shadow:none;background:#fff;overflow:hidden}.tmc-marketplace-package-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(20,42,77,.09)}.tmc-marketplace-package-card .tmc-package-card-media-wrap{position:relative}.tmc-marketplace-package-card .media{height:190px}.tmc-marketplace-package-card .media img{transition:transform .28s ease}.tmc-marketplace-package-card:hover .media img{transform:scale(1.025)}.tmc-marketplace-package-card .package-tag{top:11px;left:11px;padding:5px 10px;background:rgba(4,33,78,.86);backdrop-filter:blur(5px);font-size:9.5px}.tmc-package-card-save{position:absolute;z-index:4;top:10px;right:10px;display:grid;place-items:center;width:34px;height:34px;margin:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 5px 16px rgba(10,25,52,.15);color:#24334d;text-decoration:none}.tmc-package-card-save button{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit;cursor:pointer}.tmc-package-card-save button.active,.tmc-package-card-save:hover{color:#0b2f73}.tmc-marketplace-package-card .body{padding:14px 14px 13px}.tmc-package-card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}.tmc-marketplace-package-card .tmc-package-card-destination{min-width:0;margin:0;color:#6e7d91;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-marketplace-package-card .tmc-package-card-destination span{color:#9aa4b2}.tmc-package-scope{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#f1f5fb;color:#52637d;font-size:8.5px;font-weight:750}.tmc-package-card-title{display:block;margin-top:7px;color:inherit}.tmc-marketplace-package-card h3{display:-webkit-box;min-height:40px;margin:0;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14.5px;line-height:1.38;color:#0b1833}.tmc-marketplace-package-card .package-pricing{align-items:flex-end;gap:10px;margin-top:12px;padding:11px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}.tmc-package-card-duration{display:flex;align-items:center;gap:5px;color:#68778d;font-size:10px;font-weight:600}.tmc-package-card-duration i{color:#0b2f73}.tmc-marketplace-package-card .package-pricing>div{text-align:right}.tmc-marketplace-package-card .package-pricing b{font-size:17px;color:#091e49}.tmc-marketplace-package-card .package-pricing .tiny{font-size:8.5px}.tmc-marketplace-package-card .company-line{margin-top:10px;padding-top:0;border:0}.tmc-marketplace-package-card .company-line>a{display:flex;align-items:center;min-width:0;gap:7px;color:#25344d;font-size:10px;font-weight:650}.tmc-marketplace-package-card .company-line .avatar{width:25px;height:25px;margin:0!important}.tmc-marketplace-package-card .company-line>a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tmc-package-company-verified{display:flex;align-items:center;gap:4px;color:#77869a!important;font-size:8.5px}.tmc-package-company-verified i{color:#0b65d8}.tmc-marketplace-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.tmc-marketplace-card-actions .btn{height:38px;padding:0 9px;font-size:10.5px}.tmc-package-view-btn{border-color:#d9e1ed;background:#fff;color:#27364f}.tmc-package-no-results{display:grid;place-items:center;text-align:center;min-height:330px;padding:40px 25px;border-radius:16px}.tmc-package-no-results>span{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#eff4fc;color:#0b2f73;font-size:22px}.tmc-package-no-results h3{margin:14px 0 4px;font-size:19px}.tmc-package-no-results p{max-width:430px;margin:0 0 15px;color:#7c899b;font-size:11.5px;line-height:1.55}
.tmc-package-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:25px 0 4px}.tmc-package-pagination>div{display:flex;align-items:center;gap:5px}.tmc-package-pagination a,.tmc-package-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:9px;color:#56657b;font-size:10.5px;font-weight:650}.tmc-package-pagination>div a{border:1px solid #e1e6ee;background:#fff}.tmc-package-pagination>div a.active{border-color:#0b2f73;background:#0b2f73;color:#fff}.tmc-package-pagination .prev{justify-self:start;gap:6px;padding:0 10px;border:1px solid #e1e6ee;background:#fff}.tmc-package-pagination .next{justify-self:end;gap:6px;padding:0 10px;border:1px solid #e1e6ee;background:#fff}.tmc-package-pagination .disabled{opacity:.42;cursor:default}.tmc-marketplace-why{margin-top:28px}
html.tmc-marketplace-filters-open,body.tmc-marketplace-filters-open{overflow:hidden!important}

@media(max-width:1180px){.tmc-marketplace-layout{grid-template-columns:245px minmax(0,1fr)}.tmc-marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-marketplace-hero h1{font-size:34px}}
@media(max-width:900px){.tmc-marketplace-hero{align-items:flex-start}.tmc-marketplace-hero-stats{display:none}.tmc-marketplace-search{margin-bottom:12px}.tmc-marketplace-layout{display:block;margin-top:10px}.tmc-marketplace-mobile-tools{display:flex;justify-content:flex-end;margin:8px 0}.tmc-marketplace-mobile-tools .btn{height:38px;gap:7px}.tmc-marketplace-mobile-tools .btn span{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#0b2f73;color:#fff;font-size:9px}.tmc-marketplace-filters{position:fixed;z-index:2147483501;top:0;right:0;width:min(360px,calc(100vw - 38px));height:100dvh;max-height:none;overflow:auto;border-radius:18px 0 0 18px;transform:translateX(105%);transition:transform .22s ease;box-shadow:-18px 0 50px rgba(11,28,59,.18)}.tmc-marketplace-filter-head>button{display:grid;place-items:center}.tmc-marketplace-filter-backdrop{position:fixed;z-index:2147483500;inset:0;display:block;border:0;background:rgba(8,18,36,.42);opacity:0;visibility:hidden;transition:.2s}.tmc-marketplace-filters-open .tmc-marketplace-filters{transform:translateX(0)}.tmc-marketplace-filters-open .tmc-marketplace-filter-backdrop{opacity:1;visibility:visible}.tmc-marketplace-result-toolbar{margin-top:5px}.tmc-marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.tmc-package-marketplace{padding-top:8px}.tmc-marketplace-hero{padding:16px 1px 14px}.tmc-marketplace-hero h1{font-size:28px}.tmc-marketplace-hero p{font-size:12px}.tmc-marketplace-search{padding:10px;gap:9px}.tmc-marketplace-search-field>i{display:none}.tmc-marketplace-search label{font-size:10px}.tmc-marketplace-search input{font-size:12px}.tmc-marketplace-search>.btn{height:40px;padding-inline:13px;font-size:10px}.tmc-marketplace-result-toolbar{align-items:flex-start;flex-direction:column}.tmc-marketplace-sort-form,.tmc-marketplace-sort-form label,.tmc-marketplace-sort-form select{width:100%}.tmc-marketplace-sort-form label{justify-content:space-between}.tmc-marketplace-grid{grid-template-columns:1fr}.tmc-marketplace-package-card .media{height:210px}.tmc-package-pagination{grid-template-columns:1fr 1fr}.tmc-package-pagination>div{grid-column:1/-1;grid-row:1;justify-content:center}.tmc-package-pagination .prev{grid-column:1;grid-row:2}.tmc-package-pagination .next{grid-column:2;grid-row:2}.tmc-marketplace-card-actions .btn{font-size:11px}.tmc-marketplace-why{grid-template-columns:1fr 1fr}.tmc-marketplace-enquiry-modal .tmc-package-enquiry-dialog{width:calc(100vw - 20px)}}

/* ===== Company Locations Phase 2A ===== */
.tmc-company-location-manager{margin-top:28px;padding-top:24px;border-top:1px solid #e7ebf2;scroll-margin-top:96px}
.tmc-company-locations-head{align-items:center;margin-bottom:14px}
.tmc-company-locations-head .btn{white-space:nowrap}
.tmc-company-location-manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tmc-company-location-manage-card{padding:16px;border:1px solid #e3e9f2;box-shadow:none}
.tmc-company-location-card-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center}
.tmc-location-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#eef5ff;color:var(--blue);font-size:17px}
.tmc-company-location-card-head h4{margin:0;font-size:15px;color:#233149}
.tmc-company-location-card-head>div>span{display:block;margin-top:2px;color:#7c8798;font-size:11px}
.tmc-location-primary-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;background:#eaf8f0;color:#1d7d4f;font-size:10px;font-weight:800;white-space:nowrap}
.tmc-location-address{margin:13px 0 10px;color:#5d6a7f;font-size:12.5px;line-height:1.55}
.tmc-location-mini-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#708095;font-size:11.5px}
.tmc-location-mini-meta span{display:inline-flex;align-items:center;gap:6px;min-width:0}
.tmc-location-mini-meta i{color:var(--blue)}
.tmc-company-location-manage-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid #edf0f5}
.tmc-company-location-manage-actions form{display:inline-flex;margin:0}
.tmc-company-location-empty{margin:0}
.tmc-company-location-modal{z-index:10060!important}
.tmc-company-location-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 34px);overflow:auto;padding:0}
.tmc-company-location-dialog .modal-head{position:sticky;top:0;z-index:2;background:#fff;padding:18px 20px 14px;margin:0;border-radius:18px 18px 0 0}
.tmc-company-location-dialog .modal-head>div{min-width:0}
.tmc-company-location-dialog .modal-head h3{font-size:20px}
.tmc-company-location-dialog .modal-head p{margin:3px 0 0;color:#788598;font-size:12px}
.tmc-company-location-form{padding:17px 20px 20px}
.tmc-company-location-form .field label{font-size:13px;font-weight:700}
.tmc-company-location-form input,.tmc-company-location-form select{font-size:13px}
.tmc-location-primary-check{display:flex;align-items:flex-start;gap:10px;border:1px solid #dfe6f0;background:#f8fbff;border-radius:12px;padding:12px 13px;cursor:pointer}
.tmc-location-primary-check input{width:17px;height:17px;margin-top:2px;accent-color:var(--blue)}
.tmc-location-primary-check span{display:flex;flex-direction:column;gap:2px}
.tmc-location-primary-check b{font-size:12.5px;color:#2b3850}
.tmc-location-primary-check small{font-size:10.5px;color:#768398}
.tmc-company-locations-tab{margin-top:14px}
.tmc-company-locations-public-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
.tmc-company-locations-public-head h2{font-size:20px;margin:0}
.tmc-company-locations-public-head p{margin:4px 0 0;color:#758296;font-size:12px}
.tmc-company-location-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.tmc-company-location-public-card{padding:18px;border:1px solid #e2e8f1;box-shadow:0 7px 22px rgba(24,45,82,.045)}
.tmc-company-location-public-top{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center}
.tmc-location-public-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eef5ff;color:var(--blue);font-size:19px}
.tmc-company-location-public-top h3{margin:0;font-size:16px;color:#243249}
.tmc-company-location-public-top>div>span{display:block;margin-top:2px;color:#7b8798;font-size:11px}
.tmc-company-location-public-address{display:flex;align-items:flex-start;gap:8px;margin:15px 0 13px;color:#59677c;font-size:12.5px;line-height:1.55}
.tmc-company-location-public-address i{margin-top:3px;color:var(--blue)}
.tmc-company-location-public-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tmc-company-location-public-contact a{display:flex;align-items:center;gap:9px;border:1px solid #e7ebf2;border-radius:11px;padding:10px 11px;color:#344158;background:#fff;min-width:0}
.tmc-company-location-public-contact a:hover{border-color:#cbd9ee;background:#f8fbff;color:var(--blue)}
.tmc-company-location-public-contact i{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#f0f5fc;color:var(--blue);flex:0 0 28px}
.tmc-company-location-public-contact span{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:650}
.tmc-company-location-public-contact small{display:block;color:#8a95a6;font-size:9.5px;font-weight:600;margin-bottom:1px}
.tmc-location-map-btn{width:100%;justify-content:center;margin-top:12px}
@media(max-width:820px){
  .tmc-company-location-manage-grid,.tmc-company-location-public-grid{grid-template-columns:1fr}
  .tmc-company-locations-head,.tmc-company-locations-public-head{align-items:flex-start;flex-direction:column}
  .tmc-company-locations-head .btn,.tmc-company-locations-public-head .btn{width:100%;justify-content:center}
}
@media(max-width:560px){
  .tmc-company-location-card-head,.tmc-company-location-public-top{grid-template-columns:44px minmax(0,1fr)}
  .tmc-location-primary-badge{grid-column:1/-1;width:max-content}
  .tmc-company-location-public-contact{grid-template-columns:1fr}
  .tmc-company-location-dialog{width:calc(100vw - 18px)}
  .tmc-company-location-dialog .modal-head{padding:15px 15px 12px}.tmc-company-location-form{padding:14px 15px 17px}
  .tmc-company-location-manage-actions>.btn,.tmc-company-location-manage-actions form{flex:1}.tmc-company-location-manage-actions form .btn{width:100%}
}

/* ===== Company Reviews & Ratings Phase 2B ===== */
.tmc-company-header-rating{display:inline-flex;align-items:center;gap:6px;color:#34445c!important;font-weight:700}.tmc-company-header-rating i{color:#f2a31a}.tmc-company-header-rating:hover{color:var(--blue)!important}
.tmc-company-reviews-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start}.tmc-company-reviews-main{min-width:0}.tmc-company-reviews-aside{display:grid;gap:13px;position:sticky;top:88px}
.tmc-company-rating-summary-v2{display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px;align-items:center;padding:24px 26px}.tmc-company-rating-score{display:flex;flex-direction:column;align-items:flex-start}.tmc-company-rating-score strong{font-size:46px;line-height:1;font-weight:850;letter-spacing:-1.7px;color:#16233a}.tmc-company-rating-score>span{margin-top:7px;color:#6e7b8e;font-size:13px}.tmc-rating-main-stars{display:flex;gap:4px;margin-top:10px}.tmc-rating-main-stars i,.tmc-review-stars i{color:#f2a31a}.tmc-rating-main-stars i{font-size:17px}
.tmc-company-rating-breakdown{display:grid;gap:8px}.tmc-rating-breakdown-row{display:grid;grid-template-columns:34px minmax(0,1fr) 32px;align-items:center;gap:9px;color:#637086;font-size:12px}.tmc-rating-breakdown-row>span{font-weight:700;white-space:nowrap}.tmc-rating-breakdown-row>span i{font-size:9px;color:#f2a31a}.tmc-rating-breakdown-row>div{height:8px;background:#edf1f6;border-radius:999px;overflow:hidden}.tmc-rating-breakdown-row>div>b{display:block;height:100%;min-width:0;border-radius:inherit;background:#f2a31a}.tmc-rating-breakdown-row>em{font-style:normal;text-align:right;color:#8490a1}
.tmc-company-reviews-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:20px 1px 12px}.tmc-company-reviews-toolbar h2{margin:0;color:#19273d;font-size:20px}.tmc-company-reviews-toolbar p{margin:4px 0 0;color:#748196;font-size:12.5px}.tmc-review-sort-form{display:flex;align-items:center;gap:8px}.tmc-review-sort-form label{font-size:12px;font-weight:700;color:#6a778b}.tmc-review-sort-form select{height:38px;border:1px solid #dfe5ed;border-radius:10px;background:#fff;padding:0 32px 0 11px;color:#26354b;font-family:inherit;font-size:12.5px;font-weight:600;outline:0}.tmc-review-sort-form select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(36,80,183,.08)}
.tmc-company-review-list{display:grid;gap:11px}.tmc-company-review-v2{grid-template-columns:48px minmax(0,1fr);gap:13px;padding:18px 19px;scroll-margin-top:100px}.tmc-review-avatar img{width:48px!important;height:48px!important;border-radius:50%;object-fit:cover}.tmc-review-content{min-width:0}.tmc-review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.tmc-review-head>div>a{display:inline-flex;align-items:center;gap:5px;color:#1e2b42}.tmc-review-head>div>a b{font-size:14px}.tmc-review-head .tmc-verified{font-size:12px}.tmc-review-head small{display:block;margin-top:2px;color:#8a95a5;font-size:11px}.tmc-your-review-badge{display:inline-flex;align-items:center;border-radius:999px;background:#eef3ff;color:var(--blue);padding:5px 8px;font-size:10px;font-weight:800;white-space:nowrap}.tmc-company-review-v2 .small-stars{display:flex;gap:2px;margin-top:7px}.tmc-company-review-v2 .small-stars i{font-size:11px}.tmc-company-review-v2 h3{margin:8px 0 4px;font-size:15px;line-height:1.35;color:#1d2a40}.tmc-company-review-v2 p{margin:0!important;color:#536176!important;font-size:13px!important;line-height:1.68!important;white-space:normal}.tmc-review-card-actions{display:flex;align-items:center;gap:12px;margin-top:11px}.tmc-review-card-actions>a,.tmc-review-report-menu>summary{display:inline-flex;align-items:center;gap:6px;color:#758197;font-size:11.5px;font-weight:700;cursor:pointer;list-style:none}.tmc-review-card-actions>a:hover,.tmc-review-report-menu>summary:hover{color:var(--blue)}.tmc-review-report-menu>summary::-webkit-details-marker{display:none}.tmc-review-report-menu{position:relative}.tmc-review-report-menu[open]>form{display:grid;gap:8px;position:absolute;z-index:20;left:0;top:27px;width:260px;padding:12px;background:#fff;border:1px solid #e0e6ef;border-radius:12px;box-shadow:0 12px 30px rgba(26,39,62,.12)}.tmc-review-report-menu select,.tmc-review-report-menu textarea{width:100%;border:1px solid #dfe5ed;border-radius:9px;background:#fff;padding:9px 10px;font-family:inherit;font-size:12px;color:#26354b;outline:0}.tmc-review-report-menu textarea{min-height:76px;resize:vertical}.tmc-review-report-menu .btn{margin:0;min-height:34px}
.tmc-review-empty{padding:36px 22px}.tmc-review-empty p{max-width:560px;margin:6px auto 14px;color:#718096;font-size:13px;line-height:1.6}
.tmc-company-review-form-v2{scroll-margin-top:100px;padding:20px}.tmc-review-form-eyebrow{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.tmc-company-review-form-v2 h3{font-size:18px;margin:6px 0}.tmc-company-review-form-v2>p{margin:0 0 4px}.tmc-company-review-form-v2 .field{margin-top:13px}.tmc-company-review-form-v2 label{margin-top:0;font-size:13px}.tmc-company-review-form-v2 input[type="text"],.tmc-company-review-form-v2 textarea{width:100%;border:1px solid #dfe5ef;border-radius:10px;background:#fff;padding:11px 12px;outline:0;font-family:inherit;font-size:13px;font-weight:400;line-height:1.45;color:#172033;box-shadow:none}.tmc-company-review-form-v2 input[type="text"]:focus,.tmc-company-review-form-v2 textarea:focus{border-color:var(--tmc-brand-blue);box-shadow:0 0 0 3px rgba(11,47,115,.08)}.tmc-company-review-form-v2 input::placeholder,.tmc-company-review-form-v2 textarea::placeholder{color:#a6afbc;font-weight:400}.tmc-company-review-form-v2 .field>small{display:block;margin-top:6px;color:#8b96a6;font-size:10.5px;line-height:1.4}.tmc-company-review-form-v2>.btn{width:100%;min-height:43px;font-size:13px}
.tmc-star-rating-input{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:5px;padding-top:3px}.tmc-star-rating-input input{position:absolute;opacity:0;pointer-events:none}.tmc-star-rating-input label{display:grid!important;place-items:center;width:32px;height:32px;margin:0!important;border-radius:8px;background:#f5f7fa;color:#c8d0dc;cursor:pointer;font-size:17px;transition:.14s ease}.tmc-star-rating-input label:hover,.tmc-star-rating-input label:hover~label,.tmc-star-rating-input input:checked~label{background:#fff4dc;color:#f2a31a}.tmc-star-rating-input input:focus-visible+label{outline:2px solid var(--blue);outline-offset:2px}
.tmc-review-delete-form{margin-top:-3px;text-align:center}.tmc-review-delete-form button{appearance:none;border:0;background:transparent;color:#b34a55;font-family:inherit;font-size:11.5px;font-weight:700;cursor:pointer;padding:7px}.tmc-review-delete-form button:hover{text-decoration:underline}.tmc-company-review-login-card,.tmc-company-review-owner-note{padding:20px;text-align:left}.tmc-company-review-login-card>i,.tmc-company-review-owner-note>i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eef3ff;color:var(--blue);font-size:16px}.tmc-company-review-login-card h3,.tmc-company-review-owner-note h3{font-size:16px;margin:11px 0 5px}.tmc-company-review-login-card p,.tmc-company-review-owner-note p{color:#6d7a8f;font-size:12.5px;line-height:1.55;margin:0 0 12px}.tmc-company-review-login-card .btn{width:100%}
@media(max-width:900px){.tmc-company-reviews-layout{grid-template-columns:1fr}.tmc-company-reviews-aside{position:static;grid-row:1}.tmc-company-rating-summary-v2{grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:620px){.tmc-company-rating-summary-v2{grid-template-columns:1fr;gap:18px;padding:19px}.tmc-company-rating-score{align-items:center;text-align:center}.tmc-company-reviews-toolbar{align-items:flex-start;flex-direction:column}.tmc-review-sort-form{width:100%;justify-content:space-between}.tmc-review-sort-form select{flex:1}.tmc-company-review-v2{grid-template-columns:40px minmax(0,1fr);padding:15px;gap:10px}.tmc-review-avatar img{width:40px!important;height:40px!important}.tmc-review-head{gap:7px}.tmc-review-report-menu[open]>form{left:auto;right:-8px;width:min(270px,calc(100vw - 48px))}.tmc-company-header-rating{flex-basis:100%}}

/* =========================================================
   GLOBAL SEARCH v93
   ========================================================= */
.tmc-header-search-wrap{position:relative;width:310px;flex:0 1 310px;z-index:6100}
.tmc-header-search-wrap .header-search{width:100%;height:42px;border-radius:22px;background:#f5f7fb;border:1px solid #e5e9f1;display:flex;align-items:center;gap:9px;padding:0 8px 0 14px;color:#7a8295;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.tmc-header-search-wrap .header-search:focus-within{background:#fff;border-color:#b9cdfa;box-shadow:0 0 0 3px rgba(43,99,218,.10)}
.tmc-header-search-wrap .header-search>i{font-size:14px;color:#73809a;flex:0 0 auto}
.tmc-header-search-wrap .header-search input{min-width:0;flex:1;height:38px;border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:#1d2a43;padding:0}
.tmc-header-search-wrap .header-search input::placeholder{color:#929bad;opacity:1}
.tmc-header-search-submit{width:30px;height:30px;border:0;border-radius:50%;background:#e9eef9;color:var(--blue);display:grid;place-items:center;cursor:pointer;opacity:0;transform:scale(.9);transition:.16s ease}
.tmc-header-search-wrap .header-search:focus-within .tmc-header-search-submit,.tmc-header-search-wrap .header-search input:not(:placeholder-shown)+.tmc-header-search-submit{opacity:1;transform:none}
.tmc-global-search-dropdown{position:absolute;top:49px;left:0;width:min(430px,calc(100vw - 24px));max-height:min(610px,calc(100vh - 90px));overflow:auto;background:#fff;border:1px solid #e2e6ef;border-radius:16px;box-shadow:0 22px 55px rgba(22,38,74,.18);padding:8px;z-index:6200}
.tmc-global-search-dropdown[hidden]{display:none!important}
.tmc-global-search-drop-state{display:flex;align-items:center;gap:10px;min-height:62px;padding:12px;color:#7d8799;font-size:13px}
.tmc-global-search-drop-state i{width:30px;height:30px;border-radius:50%;background:#f1f4f9;display:grid;place-items:center;color:#6b7890}
.tmc-search-drop-group+.tmc-search-drop-group{border-top:1px solid #edf0f5;margin-top:5px;padding-top:5px}
.tmc-search-drop-group-head{display:flex;align-items:center;justify-content:space-between;padding:7px 8px 5px;font-size:11px;font-weight:800;color:#657087;text-transform:uppercase;letter-spacing:.45px}
.tmc-search-drop-group-head small{font-size:10px;color:#98a1b1}
.tmc-search-drop-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 8px;border-radius:11px;transition:.15s ease}
.tmc-search-drop-item:hover,.tmc-search-drop-item.keyboard-active{background:#f5f8fe}
.tmc-search-drop-item img{width:42px;height:42px;border-radius:10px;object-fit:cover;background:#eef1f6}
.tmc-search-drop-item span{min-width:0}.tmc-search-drop-item b{display:block;font-size:13px;color:#1f2a40;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-search-drop-item small{display:block;margin-top:2px;font-size:11px;color:#7c879a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-search-drop-item em{font-style:normal;font-size:9px;font-weight:800;color:#657694;background:#edf2fb;padding:4px 7px;border-radius:999px}
.tmc-global-search-drop-all{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #edf0f5;margin-top:6px;padding:11px 8px 8px;font-size:12px;font-weight:800;color:var(--blue)}

.tmc-global-search-page{background:#f8faff;min-height:calc(100vh - 112px)}
.tmc-global-search-shell{padding-top:24px;padding-bottom:38px}
.tmc-global-search-hero{text-align:center;max-width:900px;margin:0 auto 24px}.tmc-global-search-hero .tmc-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}.tmc-global-search-hero h1{font-size:34px;line-height:1.14;letter-spacing:-.7px;margin:8px 0 8px;color:#17233a}.tmc-global-search-hero>p{font-size:15px;color:#6f7a8f;margin:0 auto 18px;max-width:700px}
.tmc-global-search-form{max-width:760px;margin:0 auto;height:58px;border-radius:17px;padding:0 8px 0 18px;display:flex;align-items:center;gap:12px;box-shadow:0 12px 35px rgba(26,43,76,.08)}.tmc-global-search-form>i{font-size:17px;color:#7a879d}.tmc-global-search-form input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px;color:#1d2a43}.tmc-global-search-form input::placeholder{color:#a2a9b5}.tmc-global-search-form .btn{height:42px;padding-inline:20px;border-radius:12px}
.tmc-global-search-start{max-width:780px;margin:34px auto;padding:34px;text-align:center}.tmc-global-search-start-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;margin:0 auto 14px;background:#edf3ff;color:var(--blue);font-size:25px}.tmc-global-search-start h2{font-size:23px;margin:0 0 5px}.tmc-global-search-start>p{color:#7a8496;font-size:14px;margin:0 0 22px}.tmc-global-search-start>div:last-child{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}.tmc-global-search-start a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #e0e5ee;border-radius:10px;font-size:12px;font-weight:700;background:#fff}.tmc-global-search-start a:hover{border-color:#bdcdf0;color:var(--blue);background:#f7f9fe}
.tmc-global-search-summary{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:24px 0 12px}.tmc-global-search-summary h2{font-size:23px;margin:0}.tmc-global-search-summary p{margin:4px 0 0;color:#778297;font-size:13px}
.tmc-global-search-tabs{display:flex;align-items:center;gap:3px;padding:6px;overflow:auto;position:sticky;top:80px;z-index:60}.tmc-global-search-tabs a{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 13px;border-radius:9px;font-size:12px;font-weight:700;color:#687389}.tmc-global-search-tabs a b{min-width:22px;padding:2px 6px;border-radius:999px;text-align:center;font-size:9px;background:#edf0f5;color:#7a8495}.tmc-global-search-tabs a.active{background:#edf3ff;color:var(--blue)}.tmc-global-search-tabs a.active b{background:#dce8ff;color:#1e5bd4}
.tmc-global-all-results{display:grid;gap:24px;margin-top:22px}.tmc-global-result-section{margin-top:22px}.tmc-global-result-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.tmc-global-result-section-head>div{display:flex;align-items:center;gap:10px}.tmc-global-result-section-head>div>span{width:37px;height:37px;border-radius:10px;background:#eaf1ff;color:var(--blue);display:grid;place-items:center}.tmc-global-result-section-head h2{font-size:19px;margin:0}.tmc-global-result-section-head p{font-size:11px;color:#8490a2;margin:2px 0 0}.tmc-global-result-section-head>a{font-size:12px;font-weight:800;color:var(--blue)}
.tmc-global-result-list{display:grid;gap:10px}.tmc-global-result-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:15px;padding:13px 14px;min-height:116px;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.tmc-global-result-card:hover{transform:translateY(-1px);border-color:#d9e1ef;box-shadow:0 9px 25px rgba(28,43,72,.06)}
.tmc-global-result-media{width:82px;height:82px;border-radius:13px;overflow:hidden;background:#eef1f5;display:block}.tmc-global-result-media.round{border-radius:50%}.tmc-global-result-media.package,.tmc-global-result-media.blog{width:92px;height:82px;border-radius:12px}.tmc-global-result-media img{width:100%;height:100%;object-fit:cover;display:block}
.tmc-global-result-main{min-width:0}.tmc-global-result-kicker{font-size:9px;font-weight:800;color:#77859b;text-transform:uppercase;letter-spacing:.45px;margin-bottom:3px}.tmc-global-result-kicker i{margin-right:4px}.tmc-global-result-main h3{font-size:16px;line-height:1.3;margin:0 0 3px;color:#17243c}.tmc-global-result-main h3 a:hover{color:var(--blue)}.tmc-global-result-main h3 .tmc-verified{font-size:13px;margin-left:3px}.tmc-global-result-main p{font-size:12px;line-height:1.45;color:#69758a;margin:3px 0;max-width:740px}.tmc-global-result-meta{font-size:11px!important;color:#8490a1!important}.tmc-global-result-main small{font-size:10px;color:#8993a4}.tmc-global-result-main mark{background:#fff0a6;color:inherit;padding:0 1px;border-radius:2px}.tmc-global-company-stats{display:flex;align-items:center;gap:12px;margin-top:6px;color:#7a8699;font-size:10px}.tmc-global-company-stats span:first-child i{color:#f6ad28}.tmc-global-price{display:block;margin-top:7px;font-size:14px;color:#1b2a44}
.tmc-global-result-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.tmc-global-result-actions form{margin:0}.tmc-global-result-actions .btn{height:36px;padding:0 12px;font-size:11px}.tmc-global-result-actions .is-static{cursor:default;opacity:.8}
.tmc-global-no-results{max-width:700px;margin:34px auto;padding:40px;text-align:center}.tmc-global-no-results>i{font-size:34px;color:#9da7b7;margin-bottom:11px}.tmc-global-no-results h2{font-size:22px;margin:0 0 5px}.tmc-global-no-results p{font-size:13px;color:#7e899a;margin:0 0 16px}
.tmc-global-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0}.tmc-global-pagination span{font-size:12px;color:#778297;font-weight:700}

@media(max-width:1200px){
  .tmc-header-search-wrap{display:block!important;width:210px;flex-basis:210px}.tmc-header-search-wrap .header-search{display:flex!important}.tmc-header-search-wrap .header-search input{font-size:12px}.tmc-header-search-wrap .header-search input::placeholder{font-size:11px}
}
@media(max-width:980px){
  .tmc-header-search-wrap{width:180px;flex-basis:180px}.tmc-header-search-submit{display:none}.tmc-global-result-card{grid-template-columns:82px minmax(0,1fr)}.tmc-global-result-media.package,.tmc-global-result-media.blog{width:82px}.tmc-global-result-actions{grid-column:2;justify-content:flex-start}
}
@media(max-width:720px){
  .tmc-header-search-wrap{order:2;width:100%;flex:0 0 100%;margin-top:4px}.tmc-header-search-wrap .header-search{height:40px}.tmc-header-search-wrap .header-search input{font-size:13px}.tmc-header-search-wrap .header-search input::placeholder{font-size:12px}.tmc-global-search-dropdown{top:45px;left:0;width:100%;max-height:65vh}.main-nav{order:3}
  .tmc-global-search-shell{padding-top:15px}.tmc-global-search-hero h1{font-size:27px}.tmc-global-search-hero>p{font-size:13px}.tmc-global-search-form{height:auto;min-height:54px;padding:6px 7px 6px 14px;gap:8px}.tmc-global-search-form input{font-size:13px}.tmc-global-search-form .btn{padding-inline:13px;font-size:11px}.tmc-global-search-summary{align-items:flex-start}.tmc-global-search-summary h2{font-size:20px}.tmc-global-search-tabs{top:126px;margin-left:-4px;margin-right:-4px}.tmc-global-result-card{grid-template-columns:64px minmax(0,1fr);gap:11px;padding:11px}.tmc-global-result-media,.tmc-global-result-media.package,.tmc-global-result-media.blog{width:62px;height:62px;border-radius:10px}.tmc-global-result-media.round{border-radius:50%}.tmc-global-result-main h3{font-size:14px}.tmc-global-result-main p{font-size:11px}.tmc-global-result-actions{grid-column:1/-1;padding-top:1px}.tmc-global-result-actions .btn{flex:1;justify-content:center}.tmc-global-company-stats{flex-wrap:wrap;gap:7px}.tmc-global-result-section-head h2{font-size:17px}.tmc-global-search-start{padding:25px 16px}.tmc-global-no-results{padding:30px 18px}
}

/* TripMates v94: Notifications final polish */
.tmc-notification-dropdown{width:420px;max-height:590px;border-radius:16px;border-color:#e2e7ef;box-shadow:0 22px 58px rgba(22,37,68,.18)}
.tmc-notification-drop-head{padding:15px 16px 12px;align-items:center;background:#fff}.tmc-notification-drop-head b{font-size:16px;font-weight:700;color:#17233a}.tmc-notification-drop-head small{font-size:11.5px;color:#8490a2;margin-top:2px}.tmc-notification-drop-actions{display:flex;align-items:center;gap:8px}.tmc-notification-drop-actions>a{font-size:11.5px;font-weight:700;color:var(--tmc-brand-blue,#2450b7)}.tmc-notification-drop-actions>button{width:30px;height:30px;border:0;border-radius:8px;background:#f2f5fb;color:#53637c;display:grid;place-items:center;cursor:pointer;font-size:11px}.tmc-notification-drop-actions>button:hover{background:#eaf1ff;color:var(--tmc-brand-blue,#2450b7)}.tmc-notification-drop-actions>button[hidden]{display:none!important}
.tmc-notification-drop-list{max-height:438px;overflow:auto;overscroll-behavior:contain}.tmc-notification-mini{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 7px;gap:11px;align-items:start;padding:12px 14px;border-bottom:1px solid #f0f2f6;background:#fff}.tmc-notification-mini:hover{background:#f8faff}.tmc-notification-mini.unread{background:#f4f7ff}.tmc-notification-mini-avatar{width:42px;height:42px;position:relative;display:block}.tmc-notification-mini-avatar img{width:42px!important;height:42px!important;border-radius:50%;object-fit:cover;background:#eef1f6}.tmc-notification-mini-avatar i{position:absolute;right:-3px;bottom:-2px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;color:#fff;border:2px solid #fff;font-size:7px;background:#3567c9}.tmc-notification-mini-copy{min-width:0}.tmc-notification-mini-copy>b{display:block!important;font-size:12.8px!important;line-height:1.38!important;font-weight:650!important;color:#1d2a42}.tmc-notification-mini-copy>span:not(.tmc-notification-mini-meta){display:block;color:#69758a;font-size:11.5px;line-height:1.42;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tmc-notification-mini-meta{display:flex!important;align-items:center;gap:7px;margin-top:5px!important;min-width:0}.tmc-notification-mini-meta small{font-size:10.5px!important;color:#99a2b1;margin:0!important;flex:0 0 auto}.tmc-notification-mini-meta em{font-style:normal;font-size:9.5px;font-weight:700;color:#677692;background:#eef2f8;padding:2px 6px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.tmc-notification-mini-dot{width:7px;height:7px;border-radius:50%;background:#2450b7;align-self:center}.tmc-notification-drop-footer{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 14px;font-size:11.5px;font-weight:700;background:#fafbfe;color:var(--tmc-brand-blue,#2450b7)}
.tmc-notification-empty{padding:40px 16px!important;text-align:center;color:#7f899a;display:flex;flex-direction:column;align-items:center}.tmc-notification-empty>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef4ff;color:#2f61c4;margin-bottom:9px}.tmc-notification-empty>span i{display:block!important;font-size:17px!important;margin:0!important;color:inherit!important}.tmc-notification-empty>b{font-size:12.5px;color:#31405a}.tmc-notification-empty>small{font-size:10.5px;margin-top:3px;color:#929aaa}
.tmc-notification-mini.tone-rose .tmc-notification-mini-avatar i,.tmc-notification-row.tone-rose .tmc-notification-avatar i{background:#db5473}.tmc-notification-mini.tone-green .tmc-notification-mini-avatar i,.tmc-notification-row.tone-green .tmc-notification-avatar i{background:#2f9a68}.tmc-notification-mini.tone-red .tmc-notification-mini-avatar i,.tmc-notification-row.tone-red .tmc-notification-avatar i{background:#cf4d53}.tmc-notification-mini.tone-amber .tmc-notification-mini-avatar i,.tmc-notification-row.tone-amber .tmc-notification-avatar i{background:#d38b25}.tmc-notification-mini.tone-violet .tmc-notification-mini-avatar i,.tmc-notification-row.tone-violet .tmc-notification-avatar i{background:#7a5bc7}.tmc-notification-mini.tone-indigo .tmc-notification-mini-avatar i,.tmc-notification-row.tone-indigo .tmc-notification-avatar i{background:#4f61be}

.tmc-notifications-page{background:#f8faff;min-height:calc(100vh - 70px)}.tmc-notifications-shell{max-width:1000px;padding-top:22px;padding-bottom:40px}.tmc-notifications-card{border-radius:17px;box-shadow:0 9px 30px rgba(28,43,72,.05);border:1px solid #e4e8ef}.tmc-notifications-top{padding:24px 26px 17px;align-items:center}.tmc-notification-eyebrow{display:inline-flex;align-items:center;gap:6px;color:#2450b7;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px}.tmc-notifications-top h1{font-size:28px;line-height:1.15;letter-spacing:-.4px;margin:0 0 5px;color:#17233a}.tmc-notifications-top p{font-size:13px;line-height:1.45;color:#748095;max-width:670px}.tmc-notification-top-actions{align-items:center}.tmc-notification-top-actions .btn{height:36px;padding:0 12px;font-size:11.5px;border-radius:9px}.tmc-notification-top-actions [data-mark-all-notifications][hidden]{display:none!important}
.tmc-notification-tabs{padding:6px 24px!important;gap:5px!important;border-top:1px solid #f0f2f5}.tmc-notification-tabs a{font-size:12px!important;padding:9px 13px!important}.tmc-notification-date-divider{padding:13px 24px 7px;background:#fff}.tmc-notification-date-divider span{font-size:10px;font-weight:800;color:#8b95a5;text-transform:uppercase;letter-spacing:.5px}
.tmc-notification-row{position:relative;grid-template-columns:52px minmax(0,1fr) 8px;gap:14px;padding:15px 25px;align-items:center;background:#fff;transition:background .14s ease}.tmc-notification-row:hover{background:#f9fbfe}.tmc-notification-row.unread{background:#f4f7ff}.tmc-notification-row.unread:hover{background:#eef3ff}.tmc-notification-avatar{width:50px;height:50px}.tmc-notification-avatar img{width:50px;height:50px;border-radius:50%;object-fit:cover;background:#eef1f5}.tmc-notification-avatar i{width:22px;height:22px;font-size:8px;background:#3567c9}.tmc-notification-copy{min-width:0}.tmc-notification-copy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.tmc-notification-copy-head>b{font-size:14px!important;line-height:1.4;font-weight:650;color:#1b2941}.tmc-notification-copy-head>small{font-size:10.5px!important;color:#9aa3b2!important;white-space:nowrap;margin-top:2px!important}.tmc-notification-body{display:block!important;font-size:12.5px!important;line-height:1.45!important;color:#69758a!important;margin-top:3px!important}.tmc-notification-context{display:flex!important;align-items:center;gap:7px;margin-top:7px!important;min-width:0}.tmc-notification-context em{font-style:normal;display:inline-block;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#edf2fa;color:#5d6f8c;border-radius:999px;padding:3px 8px;font-size:9.8px;font-weight:750}.tmc-notification-context small{font-size:10px!important;color:#8a95a7!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tmc-unread-dot{width:8px;height:8px}.tmc-notification-page-empty{padding:78px 20px 84px}.tmc-notification-empty-icon{width:62px;height:62px;border-radius:18px;background:#edf3ff;color:#3567c9;display:grid;place-items:center;margin:0 auto 13px}.tmc-notification-empty-icon i{font-size:25px!important;color:inherit!important}.tmc-notification-page-empty h3{font-size:20px;margin:0 0 6px;color:#26344c}.tmc-notification-page-empty p{font-size:12.5px;line-height:1.5;color:#7d8798;max-width:510px;margin:0 auto}.tmc-notification-page-empty .btn{margin-top:15px}

@media(max-width:760px){.tmc-notification-dropdown{left:10px;right:10px;top:66px;width:auto;max-height:calc(100vh - 82px)}.tmc-notification-drop-list{max-height:calc(100vh - 205px)}.tmc-notifications-shell{padding-top:12px}.tmc-notifications-card{border-radius:14px}.tmc-notifications-top{padding:19px 16px 14px;gap:14px}.tmc-notifications-top h1{font-size:24px}.tmc-notifications-top p{font-size:12px}.tmc-notification-top-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.tmc-notification-top-actions .btn{justify-content:center;width:100%}.tmc-notification-tabs{padding:5px 12px!important}.tmc-notification-date-divider{padding:11px 14px 6px}.tmc-notification-row{grid-template-columns:46px minmax(0,1fr) 7px;gap:11px;padding:13px 14px}.tmc-notification-avatar,.tmc-notification-avatar img{width:44px;height:44px}.tmc-notification-copy-head{display:block}.tmc-notification-copy-head>b{font-size:13px!important}.tmc-notification-copy-head>small{display:block;margin-top:3px!important}.tmc-notification-body{font-size:11.5px!important}.tmc-notification-context em{max-width:210px}.tmc-notification-mini{grid-template-columns:42px minmax(0,1fr) 7px;padding:11px 12px}.tmc-notification-mini-meta em{max-width:145px}}

/* ===== Saved library final polish v95 ===== */
.tmc-saved-page{padding-bottom:44px}.tmc-saved-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:8px 0 22px}.tmc-saved-kicker{display:inline-flex;align-items:center;gap:7px;color:#66758d;font-size:12px;font-weight:700;margin-bottom:8px}.tmc-saved-kicker i{color:var(--blue)}.tmc-saved-hero h1{margin:0;color:#172033;font-size:30px;line-height:1.15;letter-spacing:-.45px}.tmc-saved-hero p{margin:8px 0 0;color:#68758a;font-size:14px;line-height:1.55}.tmc-saved-total{min-width:126px;padding:13px 16px;border:1px solid #e1e7f0;border-radius:14px;background:#fff;text-align:center;box-shadow:0 5px 18px rgba(35,57,91,.05)}.tmc-saved-total b{display:block;color:#172033;font-size:23px;line-height:1}.tmc-saved-total span{display:block;margin-top:5px;color:#7b8799;font-size:11px;font-weight:600}
.tmc-saved-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:2px 2px 14px;scrollbar-width:none}.tmc-saved-tabs::-webkit-scrollbar{display:none}.tmc-saved-tabs a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;color:#55647a;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap;transition:.18s ease}.tmc-saved-tabs a i{font-size:13px}.tmc-saved-tabs a em{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#f1f4f8;color:#718097;font-size:10px;font-style:normal}.tmc-saved-tabs a:hover{border-color:#c9d7ea;color:var(--blue);transform:translateY(-1px)}.tmc-saved-tabs a.active{border-color:#bcd0ef;background:#edf4ff;color:var(--blue);box-shadow:0 5px 16px rgba(48,104,190,.08)}.tmc-saved-tabs a.active em{background:#fff;color:var(--blue)}
.tmc-saved-collections-wrap{margin:0 0 18px;padding:14px 16px 2px;border:1px solid #e2e8f1;border-radius:14px;background:#fbfcfe}.tmc-saved-collections-wrap>span{display:block;margin-bottom:8px;color:#6d7b90;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.35px}.tmc-saved-collections-wrap .tmc-saved-collections-bar{padding-bottom:10px}.tmc-saved-list-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:8px 0 14px}.tmc-saved-list-head h2{margin:0;color:#202b3f;font-size:20px}.tmc-saved-list-head p{margin:4px 0 0;color:#7a879a;font-size:12px}
.tmc-saved-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tmc-saved-library-card{overflow:hidden;padding:0;border-radius:16px;min-width:0;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.tmc-saved-library-card:hover{transform:translateY(-2px);box-shadow:0 11px 30px rgba(31,50,82,.09)}.tmc-saved-library-card.is-removing{opacity:0;transform:scale(.97)}.tmc-saved-library-media{position:relative;display:block;height:176px;background:#eef2f7;overflow:hidden;text-decoration:none}.tmc-saved-library-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.tmc-saved-library-card:hover .tmc-saved-library-media img{transform:scale(1.025)}.tmc-saved-library-media.no-image>span{display:grid;place-items:center;width:100%;height:100%;font-size:35px;color:#9aa7b8;background:linear-gradient(145deg,#f4f6f9,#e9eef5)}.tmc-saved-library-media>em{position:absolute;left:12px;bottom:11px;padding:5px 9px;border-radius:999px;background:rgba(23,32,51,.84);backdrop-filter:blur(5px);color:#fff;font-size:10px;font-weight:700;font-style:normal}.tmc-saved-library-body{display:flex;flex-direction:column;min-height:218px;padding:14px 15px 13px}.tmc-saved-library-title-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:start;gap:8px}.tmc-saved-library-title-row>a{text-decoration:none;color:inherit}.tmc-saved-library-title-row h3{margin:0;color:#1e293b;font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tmc-saved-remove{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #dce4ef;border-radius:10px;background:#fff;color:var(--blue);cursor:pointer;transition:.18s ease}.tmc-saved-remove:hover{background:#fff2f2;border-color:#f0c9c9;color:#c94848}.tmc-saved-remove:disabled{opacity:.65;cursor:wait}.tmc-saved-library-body>p{margin:9px 0 11px;color:#6f7c90;font-size:12px;line-height:1.52;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tmc-saved-library-meta{display:flex;align-items:center;gap:9px;margin-top:auto;min-width:0}.tmc-saved-library-meta>img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid #e1e6ee;flex:0 0 auto}.tmc-saved-library-meta>div{display:flex;flex-wrap:wrap;align-items:center;min-width:0}.tmc-saved-library-meta span{color:#758196;font-size:10px;white-space:nowrap}.tmc-saved-library-meta span:not(:last-child)::after{content:'·';margin:0 6px;color:#b0bac8}.tmc-saved-library-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #edf0f4}.tmc-saved-library-foot small{color:#8a95a6;font-size:10px}.tmc-saved-library-foot a{color:var(--blue);text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}.tmc-saved-library-foot a i{margin-left:4px;font-size:9px}.tmc-saved-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;padding:42px 24px;text-align:center}.tmc-saved-empty>span{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#eef4ff;color:var(--blue);font-size:23px}.tmc-saved-empty h3{margin:15px 0 5px;color:#202b3e;font-size:19px}.tmc-saved-empty p{max-width:470px;margin:0 0 17px;color:#768397;font-size:13px;line-height:1.55}.tmc-saved-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-top:22px}.tmc-saved-pagination>a{justify-self:start}.tmc-saved-pagination>a:last-child{justify-self:end}.tmc-saved-pagination a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:34px;height:34px;padding:0 10px;border:1px solid #dfe5ee;border-radius:9px;background:#fff;color:#536279;text-decoration:none;font-size:11px;font-weight:700}.tmc-saved-pagination div{display:flex;gap:6px}.tmc-saved-pagination div a{padding:0;min-width:34px}.tmc-saved-pagination a.active,.tmc-saved-pagination a:hover{border-color:#c2d3ed;background:#edf4ff;color:var(--blue)}
@media(max-width:1080px){.tmc-saved-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-saved-library-media{height:190px}}
@media(max-width:700px){.tmc-saved-page{padding-top:18px}.tmc-saved-hero{align-items:flex-start;padding-bottom:16px}.tmc-saved-hero h1{font-size:26px}.tmc-saved-hero p{font-size:13px}.tmc-saved-total{min-width:84px;padding:10px 11px}.tmc-saved-total b{font-size:20px}.tmc-saved-total span{font-size:9px}.tmc-saved-tabs{margin-left:-2px;margin-right:-2px}.tmc-saved-tabs a{min-height:39px;padding:0 11px;font-size:12px}.tmc-saved-library-grid{grid-template-columns:1fr;gap:13px}.tmc-saved-library-media{height:205px}.tmc-saved-library-body{min-height:0}.tmc-saved-list-head h2{font-size:18px}.tmc-saved-pagination{grid-template-columns:1fr auto 1fr;gap:5px}.tmc-saved-pagination>a{font-size:0;padding:0;min-width:34px}.tmc-saved-pagination>a i{font-size:10px;margin:0}.tmc-saved-pagination div a{display:none}.tmc-saved-pagination div a.active{display:inline-flex}}
@media(max-width:420px){.tmc-saved-hero{gap:12px}.tmc-saved-total{display:none}.tmc-saved-library-media{height:188px}.tmc-saved-library-meta span:nth-child(n+3){display:none}}
.tmc-profile-saved-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.tmc-profile-saved-head h3{margin:0;color:#202b3e;font-size:18px}.tmc-profile-saved-head p{margin:4px 0 0;color:#788498;font-size:12px}.tmc-profile-saved-head .btn{white-space:nowrap}.tmc-profile-saved-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px;padding-bottom:2px;scrollbar-width:none}.tmc-profile-saved-tabs::-webkit-scrollbar{display:none}.tmc-profile-saved-tabs a{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #e0e6ef;border-radius:11px;background:#fff;color:#58667b;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}.tmc-profile-saved-tabs a b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f1f4f8;color:#77849a;font-size:9px}.tmc-profile-saved-tabs a:hover{border-color:#c7d7ef;color:var(--blue)}.tmc-profile-saved-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tmc-profile-saved-library-grid .tmc-saved-library-media{height:145px}.tmc-profile-saved-library-grid .tmc-saved-library-body{min-height:195px}.tmc-profile-saved-more{display:flex;justify-content:center;margin-top:16px}.tmc-profile-saved-more .btn{min-width:220px}
@media(max-width:980px){.tmc-profile-saved-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.tmc-profile-saved-head{align-items:flex-start;flex-direction:column}.tmc-profile-saved-head .btn{width:100%;justify-content:center}.tmc-profile-saved-library-grid{grid-template-columns:1fr}.tmc-profile-saved-library-grid .tmc-saved-library-media{height:195px}}

/* ===== Company lead management: Phase 3D ===== */
.tmc-leads-workspace{position:relative}
.tmc-lead-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 14px}
.tmc-lead-kpis>a{display:flex;align-items:center;gap:10px;min-width:0;padding:13px 14px;border:1px solid #e1e7f0;border-radius:13px;background:#fff;color:#26354c;text-decoration:none;transition:.18s ease}
.tmc-lead-kpis>a:hover,.tmc-lead-kpis>a.active{border-color:#c6d5f3;background:#f6f9ff;box-shadow:0 8px 20px rgba(23,54,107,.06)}
.tmc-lead-kpis>a>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#edf3ff;color:var(--blue)}
.tmc-lead-kpis span,.tmc-lead-kpis b,.tmc-lead-kpis small{display:block;min-width:0}.tmc-lead-kpis b{font-size:18px;line-height:1.05;color:#10254d}.tmc-lead-kpis small{margin-top:3px;font-size:11px;color:#748197;font-weight:600}
.tmc-lead-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 160px 180px auto auto;gap:9px;align-items:center;padding:12px;border:1px solid #e2e7ef;border-radius:13px;background:#fafbfd;margin-bottom:10px}
.tmc-lead-search{position:relative}.tmc-lead-search>i{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:11px;color:#8a96a8;pointer-events:none}.tmc-lead-search input,.tmc-lead-toolbar select,.tmc-lead-company-switch select{width:100%;height:40px;border:1px solid #dce3ed;border-radius:10px;background:#fff;padding:0 11px;font:inherit;font-size:12.5px;color:#213049;outline:0}.tmc-lead-search input{padding-left:34px}.tmc-lead-search input::placeholder{color:#a4adba}.tmc-lead-search input:focus,.tmc-lead-toolbar select:focus,.tmc-lead-company-switch select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,47,115,.07)}
.tmc-lead-company-switch{display:flex;align-items:center;gap:10px;margin:10px 0 4px;padding:10px 12px;border:1px solid #e3e8f0;border-radius:11px;background:#fff}.tmc-lead-company-switch>span{white-space:nowrap;font-size:11.5px;font-weight:700;color:#536179}.tmc-lead-company-switch>span i{margin-right:5px;color:var(--blue)}.tmc-lead-company-switch select{max-width:320px}
.tmc-lead-result-meta{display:flex;justify-content:space-between;align-items:center;margin:11px 1px 8px;color:#7b8798;font-size:11.5px}.tmc-lead-result-meta b{color:#26364e}
.tmc-lead-list{display:grid;gap:10px}.tmc-lead-card{border-left:3px solid transparent!important;overflow:hidden}.tmc-lead-card.status-new{border-left-color:#2466d1!important;background:linear-gradient(90deg,#f8fbff 0,#fff 14%)}.tmc-lead-card.status-won{border-left-color:#139663!important}.tmc-lead-card.status-closed{opacity:.88}
.tmc-lead-head-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.tmc-lead-type,.tmc-lead-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:750;line-height:1}.tmc-lead-type.company{background:#f1f4f8;color:#536177}.tmc-lead-type.package{background:#eef3ff;color:#284f9d}.tmc-lead-status{background:#f1f3f6;color:#687488}.tmc-lead-status.status-new{background:#eaf2ff;color:#1d58b4}.tmc-lead-status.status-contacted{background:#fff5dc;color:#976000}.tmc-lead-status.status-in_progress{background:#f2ecff;color:#6644a7}.tmc-lead-status.status-won{background:#e8f8ef;color:#087848}.tmc-lead-status.status-closed{background:#eef0f3;color:#626c7a}
.tmc-lead-message{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:10px 0!important}.tmc-lead-note-preview{display:flex;align-items:flex-start;gap:7px;margin:8px 0 2px;padding:8px 10px;border-radius:9px;background:#fff8e7;color:#735b25;font-size:11.5px;line-height:1.45}.tmc-lead-note-preview i{margin-top:2px;color:#b78519}
.tmc-lead-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;padding-top:11px;border-top:1px solid #edf0f5}.tmc-lead-card-footer>span{font-size:10.5px;color:#8893a3;white-space:nowrap}.tmc-lead-card-footer>span i{margin-right:4px}.tmc-lead-card-footer .tmc-company-enquiry-actions{margin:0;justify-content:flex-end}.tmc-lead-empty .btn{margin-top:10px}
html.tmc-lead-modal-open,html.tmc-lead-modal-open body,body.tmc-lead-modal-open{overflow:hidden!important}
.tmc-lead-modal[hidden]{display:none!important}.tmc-lead-modal{position:fixed;inset:0;z-index:2200;display:grid;place-items:center;padding:18px}.tmc-lead-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(17,25,39,.58);backdrop-filter:blur(2px);cursor:default}.tmc-lead-modal-dialog{position:relative;z-index:1;width:min(620px,calc(100vw - 28px));max-height:min(820px,calc(100vh - 36px));overflow:auto;border-radius:18px;background:#fff;box-shadow:0 30px 70px rgba(5,18,42,.24)}
.tmc-lead-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 15px;border-bottom:1px solid #e8edf4}.tmc-lead-modal-head>div>span{display:block;margin-bottom:4px;font-size:10.5px;font-weight:750;text-transform:uppercase;letter-spacing:.04em;color:#667791}.tmc-lead-modal-head h3{margin:0;font-size:20px;line-height:1.25;color:#10254d}.tmc-lead-modal-head p{margin:5px 0 0;font-size:11px;color:#8792a3}.tmc-lead-modal-head>button{width:34px;height:34px;border:0;border-radius:50%;background:#f2f5f9;color:#526074;display:grid;place-items:center;cursor:pointer}.tmc-lead-modal-body{padding:18px 20px 20px}
.tmc-lead-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tmc-lead-contact-grid>a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid #e3e8f0;border-radius:11px;color:#23334d;text-decoration:none}.tmc-lead-contact-grid>a>i{width:34px;height:34px;border-radius:9px;background:#eef3ff;color:var(--blue);display:grid;place-items:center}.tmc-lead-contact-grid small,.tmc-lead-contact-grid b{display:block}.tmc-lead-contact-grid small{font-size:9.5px;color:#8591a3}.tmc-lead-contact-grid b{margin-top:1px;font-size:11.5px;word-break:break-word}.tmc-lead-contact-grid>a.disabled{pointer-events:none;opacity:.55}
.tmc-lead-detail-block{margin-top:12px;padding:12px 13px;border:1px solid #e6eaf0;border-radius:11px;background:#fafbfd}.tmc-lead-detail-block>small{display:block;margin-bottom:6px;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.03em;color:#7f8b9d}.tmc-lead-detail-block>p{margin:0;white-space:pre-wrap;font-size:12.5px;line-height:1.65;color:#3d4b61}.tmc-lead-modal-package{margin:11px 0 0}.tmc-lead-quick-links{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 2px}
.tmc-lead-update-form{margin-top:13px;padding-top:14px;border-top:1px solid #e8edf4}.tmc-lead-update-form .field{margin-top:10px}.tmc-lead-update-form .field:first-of-type{margin-top:0}.tmc-lead-update-form label{display:block;margin-bottom:6px;font-size:12px;font-weight:700;color:#34435b}.tmc-lead-update-form label span{font-size:10px;font-weight:400;color:#8b96a5}.tmc-lead-update-form select,.tmc-lead-update-form textarea{width:100%;border:1px solid #dce3ed;border-radius:10px;background:#fff;padding:10px 11px;font:inherit;font-size:12.5px;color:#23324a;outline:0}.tmc-lead-update-form select{height:42px;padding-top:0;padding-bottom:0}.tmc-lead-update-form textarea{min-height:116px;resize:vertical;line-height:1.5}.tmc-lead-update-form textarea::placeholder{color:#a5aebb}.tmc-lead-update-form select:focus,.tmc-lead-update-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,47,115,.07)}.tmc-lead-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
@media(max-width:1100px){.tmc-lead-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.tmc-lead-toolbar{grid-template-columns:minmax(220px,1fr) 150px 170px}.tmc-lead-toolbar .btn{width:100%}}
@media(max-width:760px){.tmc-lead-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-lead-kpis>a:last-child{grid-column:1/-1}.tmc-lead-toolbar{grid-template-columns:1fr}.tmc-lead-company-switch{align-items:stretch;flex-direction:column}.tmc-lead-company-switch select{max-width:none}.tmc-lead-card-footer{align-items:flex-start;flex-direction:column}.tmc-lead-card-footer .tmc-company-enquiry-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-lead-card-footer .tmc-company-enquiry-actions .btn{width:100%}.tmc-lead-head-meta{justify-content:flex-start}.tmc-lead-contact-grid{grid-template-columns:1fr}.tmc-lead-modal{padding:10px}.tmc-lead-modal-dialog{width:100%;max-height:calc(100vh - 20px);border-radius:15px}.tmc-lead-modal-head,.tmc-lead-modal-body{padding-left:15px;padding-right:15px}.tmc-lead-modal-actions .btn{flex:1}}
.tmc-lead-card-footer{display:grid;grid-template-columns:auto minmax(155px,auto) 1fr;align-items:center}
.tmc-lead-quick-status{display:flex;align-items:center;gap:5px}.tmc-lead-quick-status select{height:34px;border:1px solid #dce3ed;border-radius:9px;background:#fff;padding:0 8px;font:inherit;font-size:11px;color:#34435a;outline:0}.tmc-lead-quick-status .btn{width:34px!important;height:34px;min-height:34px;padding:0;display:grid;place-items:center}.tmc-lead-quick-status select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,47,115,.06)}
@media(max-width:760px){.tmc-lead-card-footer{display:flex}.tmc-lead-quick-status{width:100%}.tmc-lead-quick-status select{flex:1}.tmc-lead-quick-status .btn{flex:0 0 36px!important}}

/* =========================================================
   Phase 4A — Mobile app-like shell
   Mobile-only navigation, safe areas, sheets and native feel
   ========================================================= */
.tmc-mobile-app-menu-trigger,.tmc-mobile-search-trigger,.tmc-mobile-search-head,.tmc-mobile-bottom-nav,.tmc-mobile-app-drawer,.tmc-mobile-app-backdrop{display:none}

@media(max-width:760px){
  :root{--tmc-app-top:calc(58px + env(safe-area-inset-top));--tmc-app-bottom:calc(64px + env(safe-area-inset-bottom))}
  html{background:#f3f6fb;overscroll-behavior-y:none}
  body{background:#f3f6fb;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility}
  body.tmc-authenticated{padding-top:var(--tmc-app-top);padding-bottom:var(--tmc-app-bottom);min-height:100dvh}
  body.tmc-authenticated .site-footer{display:none!important}
  body.tmc-authenticated .page{min-height:calc(100dvh - var(--tmc-app-top) - var(--tmc-app-bottom));padding-top:10px;padding-bottom:14px}
  body.tmc-authenticated .container{width:100%;padding-left:12px;padding-right:12px}

  /* App top bar */
  body.tmc-authenticated .site-header{position:fixed!important;inset:0 0 auto 0!important;height:var(--tmc-app-top)!important;padding-top:env(safe-area-inset-top);background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px);border-bottom:1px solid #e8edf4;z-index:6200!important;box-shadow:0 1px 10px rgba(18,36,70,.035)}
  body.tmc-authenticated .header-inner{position:relative;width:100%;height:58px!important;min-height:58px;padding:0 12px!important;display:flex;align-items:center;gap:7px;flex-wrap:nowrap!important}
  body.tmc-authenticated .brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:126px!important;height:42px;display:flex;align-items:center;justify-content:center;z-index:1}
  body.tmc-authenticated .brand img{width:100%;height:38px!important;object-fit:contain}
  body.tmc-authenticated .main-nav{display:none!important}
  body.tmc-authenticated .tmc-header-search-wrap{display:none!important}
  body.tmc-authenticated .tmc-mobile-app-menu-trigger,
  body.tmc-authenticated .tmc-mobile-search-trigger{display:grid;width:40px;height:40px;place-items:center;border:0;border-radius:50%;background:transparent;color:#10254d;font-size:18px;flex:0 0 40px;padding:0}
  body.tmc-authenticated .tmc-mobile-app-menu-trigger:active,
  body.tmc-authenticated .tmc-mobile-search-trigger:active,
  body.tmc-authenticated .tmc-bell:active{background:#edf2f8;transform:scale(.96)}
  body.tmc-authenticated .header-actions{margin:0 0 0 auto!important;display:flex!important;align-items:center;gap:1px;z-index:2}
  body.tmc-authenticated .tmc-notice-wrap{display:block}
  body.tmc-authenticated .tmc-bell{width:40px!important;height:40px!important;border:0!important;background:transparent!important;font-size:18px}
  body.tmc-authenticated .tmc-bell .count{right:0;top:2px;min-width:16px;width:auto;height:16px;padding:0 4px;border:2px solid #fff}
  body.tmc-authenticated .header-user{display:none!important}

  /* Full-screen app search sheet */
  body.tmc-mobile-search-open{overflow:hidden!important}
  body.tmc-mobile-search-open .tmc-header-search-wrap{display:block!important;position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;z-index:7300!important;background:#f6f8fc;padding:calc(10px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom));overflow:auto}
  .tmc-mobile-search-head{height:42px;display:flex;align-items:center;gap:12px;margin-bottom:8px}
  .tmc-mobile-search-head button{width:38px;height:38px;border:0;background:#fff;border-radius:50%;display:grid;place-items:center;color:#152846;font-size:16px;box-shadow:0 1px 4px rgba(13,37,75,.08)}
  .tmc-mobile-search-head b{font-size:17px;letter-spacing:-.15px}
  body.tmc-mobile-search-open .tmc-header-search-wrap .header-search{display:flex!important;width:100%!important;height:48px!important;border-radius:14px!important;background:#fff!important;border:1px solid #dde4ef!important;padding:0 10px 0 14px!important;box-shadow:0 3px 12px rgba(22,42,78,.04)}
  body.tmc-mobile-search-open .tmc-header-search-wrap .header-search input{font-size:16px!important;height:46px!important}
  body.tmc-mobile-search-open .tmc-header-search-submit{display:grid!important;opacity:1!important;transform:none!important;width:34px;height:34px}
  body.tmc-mobile-search-open .tmc-global-search-dropdown{display:block;position:static!important;width:100%!important;max-height:none!important;margin-top:10px;border:0!important;border-radius:14px!important;box-shadow:none!important;background:#fff;overflow:hidden}
  body.tmc-mobile-search-open .tmc-global-search-dropdown[hidden]{display:none!important}

  /* Slide-in More menu */
  .tmc-mobile-app-backdrop{display:block;position:fixed;inset:0;z-index:7000;background:rgba(8,18,36,.42);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
  .tmc-mobile-app-drawer{display:flex;position:fixed;z-index:7100;left:0;top:0;bottom:0;width:min(86vw,360px);height:100dvh;background:#fff;flex-direction:column;transform:translateX(-102%);transition:transform .23s ease;box-shadow:18px 0 54px rgba(6,21,47,.18);padding:calc(12px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom));overflow:auto}
  body.tmc-mobile-app-menu-open{overflow:hidden!important}
  body.tmc-mobile-app-menu-open .tmc-mobile-app-backdrop{opacity:1;visibility:visible}
  body.tmc-mobile-app-menu-open .tmc-mobile-app-drawer{transform:translateX(0)}
  .tmc-mobile-app-drawer-head{display:flex;align-items:center;gap:10px;padding:2px 2px 13px;border-bottom:1px solid #edf0f5}
  .tmc-mobile-drawer-user{display:flex;align-items:center;gap:11px;min-width:0;flex:1}
  .tmc-mobile-drawer-user img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#edf2f8}
  .tmc-mobile-drawer-user.guest img{border-radius:13px;padding:6px;background:#fff;border:1px solid #e5eaf2}
  .tmc-mobile-drawer-user span{min-width:0}.tmc-mobile-drawer-user b{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tmc-mobile-drawer-user small{display:block;color:#7d899c;font-size:11px;margin-top:2px}
  .tmc-mobile-app-drawer-head>button{width:38px;height:38px;border:0;border-radius:50%;background:#f1f4f8;color:#526078;display:grid;place-items:center;font-size:17px}
  .tmc-mobile-app-drawer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px 0;align-content:start}
  .tmc-mobile-app-drawer-nav a{min-height:74px;border:1px solid #e8edf4;border-radius:15px;background:#fbfcfe;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:8px;font-weight:700;font-size:12px;color:#263650}
  .tmc-mobile-app-drawer-nav a i{font-size:19px;color:#0b2f73}
  .tmc-mobile-app-drawer-nav a:active{background:#edf3ff;transform:scale(.985)}
  .tmc-mobile-app-drawer-foot{margin-top:auto;border-top:1px solid #edf0f5;padding-top:11px;display:grid;gap:7px}
  .tmc-mobile-app-drawer-foot>a:not(.btn),.tmc-mobile-app-drawer-foot form button{width:100%;height:44px;border:0;background:transparent;border-radius:11px;display:flex;align-items:center;gap:12px;padding:0 12px;font-weight:700;color:#39485f;text-align:left}
  .tmc-mobile-app-drawer-foot form button i,.tmc-mobile-app-drawer-foot>a:not(.btn) i{width:20px;text-align:center;color:#6a778c}
  .tmc-mobile-app-drawer-foot form button:active,.tmc-mobile-app-drawer-foot>a:not(.btn):active{background:#f2f5f9}

  /* Native-style bottom navigation */
  body.tmc-authenticated .tmc-mobile-bottom-nav{display:grid;position:fixed;z-index:6100;left:0;right:0;bottom:0;height:var(--tmc-app-bottom);grid-template-columns:repeat(5,1fr);align-items:start;padding:5px 5px env(safe-area-inset-bottom);background:rgba(255,255,255,.97);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px);border-top:1px solid #e3e8f0;box-shadow:0 -5px 20px rgba(15,34,67,.035)}
  .tmc-mobile-bottom-nav>a,.tmc-mobile-bottom-nav>button{height:58px;min-width:0;border:0;background:transparent;color:#7a879b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0;font-style:normal;font-weight:650}
  .tmc-mobile-bottom-nav>a>i{font-size:20px;height:24px;display:grid;place-items:center}
  .tmc-mobile-bottom-nav>a>span:last-child,.tmc-mobile-create>em{font-size:9.5px;line-height:1;font-style:normal;white-space:nowrap}
  .tmc-mobile-bottom-nav>a.active{color:#0b2f73}
  .tmc-mobile-bottom-nav>a.active>i{transform:translateY(-1px)}
  .tmc-mobile-create{position:relative;color:#0b2f73!important;overflow:visible}
  .tmc-mobile-create>span{width:43px;height:43px;margin-top:-16px;border-radius:15px;display:grid;place-items:center;background:#0b2f73;color:#fff;font-size:20px;border:4px solid #fff;box-shadow:0 7px 18px rgba(11,47,115,.26);transform:rotate(0deg)}
  .tmc-mobile-create:active>span{transform:scale(.94)}
  .tmc-mobile-create>em{margin-top:1px}
  .tmc-mobile-nav-avatar{width:24px!important;height:24px!important;border-radius:50%;overflow:hidden;border:2px solid #b9c4d3;display:block!important}
  .tmc-mobile-nav-avatar img{width:100%;height:100%;object-fit:cover}
  .tmc-mobile-bottom-nav>a.active .tmc-mobile-nav-avatar{border-color:#0b2f73}

  /* App page rhythm */
  body.tmc-authenticated .card{border-radius:16px;box-shadow:none;border-color:#e5eaf2}
  body.tmc-authenticated .btn{min-height:42px;border-radius:12px}
  body.tmc-authenticated input,body.tmc-authenticated select,body.tmc-authenticated textarea{font-size:16px}
  body.tmc-authenticated .profile-tabs,body.tmc-authenticated .tmc-profile-tabs,body.tmc-authenticated .tmc-company-tabs,body.tmc-authenticated .tmc-community-tabs,body.tmc-authenticated .tmc-saved-tabs,body.tmc-authenticated .tmc-notification-tabs{scrollbar-width:none;-webkit-overflow-scrolling:touch}
  body.tmc-authenticated .profile-tabs::-webkit-scrollbar,body.tmc-authenticated .tmc-profile-tabs::-webkit-scrollbar,body.tmc-authenticated .tmc-company-tabs::-webkit-scrollbar,body.tmc-authenticated .tmc-community-tabs::-webkit-scrollbar,body.tmc-authenticated .tmc-saved-tabs::-webkit-scrollbar,body.tmc-authenticated .tmc-notification-tabs::-webkit-scrollbar{display:none}

  /* Feed becomes a real app timeline: edge-to-edge cards and only center scroll */
  body.tmc-feed-page{height:100dvh!important;overflow:hidden!important;padding-bottom:0!important}
  body.tmc-feed-page .tmc-feed-shell{height:calc(100dvh - var(--tmc-app-top) - var(--tmc-app-bottom))!important;margin-top:var(--tmc-app-top)!important;padding:0!important}
  body.tmc-feed-page .tmc-feed-shell>.container{height:100%;width:100%;padding:0!important}
  body.tmc-feed-page .tmc-feed-grid{height:100%;gap:0!important;display:block!important}
  body.tmc-feed-page .tmc-feed-left,body.tmc-feed-page .tmc-contacts-rail{display:none!important}
  body.tmc-feed-page .tmc-feed-center{height:100%!important;width:100%;overflow-y:auto!important;padding:0!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
  body.tmc-feed-page .tmc-feed-center::-webkit-scrollbar{display:none}
  body.tmc-feed-page .tmc-stories{margin:0;border-radius:0!important;border-left:0;border-right:0;box-shadow:none;padding:12px 12px 10px;background:#fff}
  body.tmc-feed-page .tmc-composer{margin:8px 0!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;padding:12px!important}
  body.tmc-feed-page .tmc-post-card{margin:0 0 8px!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;padding:14px 12px!important}
  body.tmc-feed-page .tmc-post-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.tmc-feed-page .tmc-post-actions button{min-width:0;padding:9px 2px!important;font-size:11px!important;white-space:nowrap}
  body.tmc-feed-page .tmc-post-media-gallery,body.tmc-feed-page .tmc-post-image{margin-left:-12px!important;margin-right:-12px!important;border-radius:0!important}

  /* Fixed social layouts account for bottom navigation */
  body.social-app{height:100dvh!important;overflow:hidden!important;padding-bottom:0!important}
  body.social-app .social-shell{height:calc(100dvh - var(--tmc-app-top) - var(--tmc-app-bottom))!important;margin-top:var(--tmc-app-top)!important;padding:6px 0!important}
  body.social-app .social-center{height:100%!important;overflow-y:auto!important;scrollbar-width:none;padding-right:0!important;-webkit-overflow-scrolling:touch}
  body.social-app .social-center::-webkit-scrollbar{display:none}

  /* Header overlays become app sheets */
  body.tmc-authenticated .tmc-notification-dropdown{position:fixed!important;left:8px!important;right:8px!important;top:calc(var(--tmc-app-top) + 5px)!important;width:auto!important;max-height:calc(100dvh - var(--tmc-app-top) - var(--tmc-app-bottom) - 12px)!important;border-radius:18px!important;box-shadow:0 18px 45px rgba(9,25,52,.18)!important}
  body.tmc-authenticated .tmc-notification-drop-list{max-height:calc(100dvh - var(--tmc-app-top) - var(--tmc-app-bottom) - 150px)!important}

  /* Generic modals feel like bottom sheets on phones */
  .modal-backdrop{align-items:flex-end!important;padding:0!important;background:rgba(7,17,35,.48)!important}
  .modal-backdrop .modal-card{width:100%!important;max-width:none!important;max-height:calc(94dvh - env(safe-area-inset-top));overflow:auto;border-radius:22px 22px 0 0!important;padding:18px 16px calc(18px + env(safe-area-inset-bottom))!important;box-shadow:0 -18px 50px rgba(4,18,42,.22)!important}
  #postModal.modal-backdrop{align-items:flex-end!important;padding:0!important}
  #postModal .tmc-final-composer{width:100%!important;max-height:calc(96dvh - env(safe-area-inset-top))!important;border-radius:22px 22px 0 0!important;padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}
  .tmc-package-enquiry-modal{place-items:end center!important;padding:0!important}
  .tmc-package-enquiry-modal .tmc-package-enquiry-dialog{width:100%!important;max-width:none!important;border-radius:22px 22px 0 0!important;padding-bottom:env(safe-area-inset-bottom)}
  .tmc-lead-modal{place-items:end center!important;padding:0!important}
  .tmc-lead-modal-dialog{width:100%!important;max-height:92dvh!important;border-radius:22px 22px 0 0!important;padding-bottom:env(safe-area-inset-bottom)}

  /* Chat opens as a near-full-screen mobile conversation rather than a desktop floating window */
  .tmc-chat-dock{z-index:6800!important;right:0!important;bottom:var(--tmc-app-bottom)!important}
  .tmc-chat-window{position:fixed!important;left:0!important;right:0!important;top:var(--tmc-app-top)!important;bottom:var(--tmc-app-bottom)!important;width:100%!important;height:auto!important;max-height:none!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important}
  .tmc-chat-window:not(:last-child){display:none!important}

  /* Touch and readability polish */
  .tmc-icon-button,.modal-close,[data-mobile-app-menu-close]{min-width:40px;min-height:40px}
  .tmc-directory-heading h1,.tmc-marketplace-hero h1,.tmc-notifications-top h1,.tmc-saved-hero h1{letter-spacing:-.45px}
}

@media(max-width:390px){
  .tmc-mobile-bottom-nav>a>span:last-child,.tmc-mobile-create>em{font-size:9px}
  .tmc-mobile-app-drawer{width:90vw}
  body.tmc-authenticated .brand{width:116px!important}
}
@media(max-width:760px){
  body.tmc-feed-page.tmc-authenticated,body.social-app.tmc-authenticated{padding-top:0!important}
}

/* =========================================================
   Phase 4A.1 — iOS feed scroll + fullscreen Create Post hotfix
   ========================================================= */
@media(max-width:760px){
  /* Feed: let the document own vertical scrolling. This is markedly more
     reliable in iOS Safari than a 100dvh nested scroll container. */
  body.tmc-feed-page.tmc-authenticated{
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding-top:var(--tmc-app-top)!important;
    padding-bottom:var(--tmc-app-bottom)!important;
    overscroll-behavior-y:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  body.tmc-feed-page .tmc-feed-shell{
    height:auto!important;
    min-height:calc(100dvh - var(--tmc-app-top) - var(--tmc-app-bottom))!important;
    margin-top:0!important;
    overflow:visible!important;
  }
  body.tmc-feed-page .tmc-feed-shell>.container,
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-center{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.tmc-feed-page .tmc-feed-center{
    width:100%!important;
    padding:0!important;
    overscroll-behavior-y:auto!important;
    -webkit-overflow-scrolling:auto;
  }

  /* Create Post: a real app screen, not a draggable/bouncy bottom sheet. */
  html.tmc-post-modal-open,
  body.tmc-post-modal-open{
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  #postModal.modal-backdrop{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:var(--tmc-visual-height,100dvh)!important;
    min-height:var(--tmc-visual-height,100dvh)!important;
    max-height:var(--tmc-visual-height,100dvh)!important;
    display:none;
    align-items:stretch!important;
    justify-content:stretch!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    overscroll-behavior:none!important;
    touch-action:pan-y;
  }
  #postModal.modal-backdrop.show{display:flex!important}
  #postModal .tmc-final-composer{
    position:relative!important;
    inset:auto!important;
    width:100vw!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0 16px!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    background:#fff!important;
    transform:none!important;
    touch-action:pan-y;
  }
  #postModal .tmc-final-composer .modal-head{
    position:relative!important;
    flex:0 0 auto!important;
    min-height:58px!important;
    margin:0 -16px!important;
    padding:calc(8px + env(safe-area-inset-top)) 16px 8px!important;
    display:flex!important;
    align-items:center!important;
    background:#fff!important;
    border-bottom:1px solid #e8edf4!important;
    z-index:20!important;
  }
  #postModal .tmc-final-composer .modal-head h3{font-size:21px!important}
  #postModal .tmc-final-composer .modal-close{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }
  #postModal .tmc-final-composer form{
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:8px 0 calc(12px + env(safe-area-inset-bottom))!important;
    touch-action:pan-y;
  }
  #postModal .tmc-final-composer .tmc-post-modal-actions{
    position:sticky!important;
    left:0!important;
    right:0!important;
    bottom:calc(-12px - env(safe-area-inset-bottom))!important;
    z-index:18!important;
    margin:10px 0 0!important;
    padding:10px 0 calc(12px + env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:1px solid #edf0f5;
  }
  #postModal .tmc-post-backgrounds,
  #postModal .tmc-post-main-tools,
  #postModal .tmc-post-more-tools,
  #postModal .tmc-post-tool-panel,
  #postModal .tmc-post-context-chips{
    max-width:100%!important;
  }
  #postModal .tmc-post-backgrounds{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
  }
}


/* =========================================================
   Phase 4A.2 — Mobile media viewer continuous scroll + touch reactions
   ========================================================= */
@media(max-width:760px){
  /* Universal media viewer: on phones the image and the complete post
     interaction panel are one continuous app-style vertical scroller. */
  .tmc-media-lightbox.open{
    width:100vw!important;
    height:var(--tmc-visual-height,100dvh)!important;
    min-height:var(--tmc-visual-height,100dvh)!important;
    max-height:var(--tmc-visual-height,100dvh)!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-shell{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    background:#05080e!important;
    scrollbar-width:none!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-shell::-webkit-scrollbar{display:none!important}
  .tmc-media-lightbox.open .tmc-lightbox-media-pane{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
    background:#05080e!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-stage{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
    line-height:0!important;
    background:#05080e!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-stage img,
  .tmc-media-lightbox.open .tmc-lightbox-stage video{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:none!important;
    margin:0 auto!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#05080e!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-side{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    border-left:0!important;
    border-top:1px solid #e5eaf1!important;
    background:#fff!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-post-panel{
    min-height:0!important;
    padding:14px 14px calc(34px + env(safe-area-inset-bottom))!important;
    background:#fff!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-post-panel .comment-box.tmc-comment-composer{
    position:static!important;
    bottom:auto!important;
    z-index:auto!important;
    padding:10px 0 6px!important;
    margin:8px 0 0!important;
    background:#fff!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-post-panel .tmc-post-actions{
    position:relative!important;
    z-index:4!important;
    overflow:visible!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-close{
    position:absolute!important;
    top:10px!important;
    left:10px!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-nav{
    position:absolute!important;
    top:50%!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-count{
    position:absolute!important;
    bottom:12px!important;
  }

  /* Touch devices do not have hover. The picker is opened by JS on a
     press-and-hold and must remain above cards, viewers and action rows. */
  .tmc-reaction-action-wrap,
  .tmc-comment-reaction-wrap{
    overflow:visible!important;
    isolation:isolate;
  }
  .tmc-post-actions,
  .tmc-comment-tools,
  .tmc-lightbox-post-panel,
  .tmc-lightbox-side{
    overflow:visible;
  }
  .tmc-reaction-picker{
    left:0!important;
    bottom:calc(100% + 8px)!important;
    z-index:2147482000!important;
    pointer-events:none!important;
    max-width:calc(100vw - 24px)!important;
    padding:5px 6px!important;
    gap:2px!important;
  }
  .tmc-comment-reaction-picker{
    left:-4px!important;
    bottom:calc(100% + 5px)!important;
    z-index:2147482000!important;
    pointer-events:none!important;
  }
  .tmc-reaction-action-wrap.reactions-open .tmc-reaction-picker,
  .tmc-comment-reaction-wrap.reactions-open .tmc-comment-reaction-picker{
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    pointer-events:auto!important;
  }
  .tmc-reaction-picker button{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    font-size:22px!important;
    padding:0!important;
    touch-action:manipulation;
  }
  .tmc-comment-reaction-picker button{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    display:grid!important;
    place-items:center!important;
    font-size:19px!important;
    touch-action:manipulation;
  }
  [data-post-reaction],[data-comment-react-main]{touch-action:manipulation;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
}

@media(max-width:760px) and (hover:none), (max-width:760px) and (pointer:coarse){
  /* Neutralise synthetic mobile :hover; only the explicit open class owns it. */
  .tmc-reaction-action-wrap:hover:not(.reactions-open) .tmc-reaction-picker,
  .tmc-comment-reaction-wrap:hover:not(.reactions-open) .tmc-comment-reaction-picker{
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(6px)!important;
    pointer-events:none!important;
  }
}

/* ===== Mobile Phase 4A.3: composer icon row + reaction visibility ===== */
@media(max-width:760px){
  /* Quick composer actions: one compact app-style icon row everywhere the
     shared composer/tool bars are used. Keep the text in the DOM for screen
     readers, but show only the icons visually on phones. */
  .tmc-composer-tools{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:2px!important;
    padding-top:8px!important;
    align-items:stretch!important;
  }
  .tmc-composer-tools>a,
  .tmc-composer-tools>button{
    min-width:0!important;
    min-height:46px!important;
    display:grid!important;
    place-items:center!important;
    padding:8px 4px!important;
    font-size:0!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  .tmc-composer-tools>a>i,
  .tmc-composer-tools>button>i{
    margin:0!important;
    font-size:20px!important;
    line-height:1!important;
  }

  /* Company composer has three actions; keep those in one equal-width row too. */
  .tmc-company-composer-tools,
  .composer-tools.tmc-company-composer-tools{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;
    padding-top:8px!important;
  }
  .tmc-company-composer-tools .composer-tool{
    min-width:0!important;
    min-height:46px!important;
    display:grid!important;
    place-items:center!important;
    padding:8px 4px!important;
    font-size:0!important;
    line-height:1!important;
  }
  .tmc-company-composer-tools .composer-tool>i{
    margin:0!important;
    font-size:20px!important;
    line-height:1!important;
  }

  /* Older mobile rule hides every span inside post action buttons. The Like
     control and the reaction picker intentionally use spans for their icon /
     emoji, so explicitly restore those visual pieces. */
  .tmc-post-actions [data-post-reaction] [data-reaction-icon]{
    display:inline-grid!important;
    place-items:center!important;
    min-width:18px!important;
    font-size:17px!important;
    line-height:1!important;
  }
  .tmc-post-actions [data-post-reaction] [data-reaction-icon] i{
    display:inline-block!important;
    font-size:16px!important;
    line-height:1!important;
    margin:0!important;
  }
  .tmc-post-actions [data-post-reaction] [data-reaction-label]{
    display:inline!important;
    margin-left:4px!important;
    font-size:11px!important;
    line-height:1!important;
  }

  /* The same generic span-hiding rule was also blanking every emoji inside
     the touch reaction tray. These spans must always remain visible. */
  .tmc-post-actions .tmc-reaction-picker button>span,
  .tmc-reaction-picker button>span{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    font-size:22px!important;
    line-height:1!important;
  }
  .tmc-post-actions .tmc-reaction-picker{
    min-width:max-content!important;
  }

  /* Keep all four shared post actions on one line and make the Like control
     behave exactly like Comment / Share / Save instead of collapsing blank. */
  .tmc-post-actions{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    overflow:visible!important;
  }
  .tmc-post-actions>.tmc-reaction-action-wrap,
  .tmc-post-actions>button{
    min-width:0!important;
  }
  .tmc-post-actions [data-post-reaction]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    min-width:0!important;
    overflow:visible!important;
  }
}

/* =========================================================
   Phase 4B.1 — Desktop media viewer auto-fit regression fix
   Desktop viewer media must always fit the available viewport and must
   never create its own vertical scrollbar. Mobile continuous-scroll rules
   (Phase 4A.2) remain intentionally unchanged.
   ========================================================= */
@media (min-width:761px){
  .tmc-media-lightbox.open .tmc-lightbox-media-pane{
    height:100vh!important;
    min-height:0!important;
    overflow:hidden!important;
    scrollbar-gutter:auto!important;
    overscroll-behavior:none!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-stage{
    width:100%!important;
    height:100vh!important;
    min-height:0!important;
    max-height:100vh!important;
    padding:28px 68px!important;
    overflow:hidden!important;
    display:grid!important;
    place-items:center!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-stage img,
  .tmc-media-lightbox.open .tmc-lightbox-stage video{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:calc(100vh - 56px)!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:auto!important;
  }
  .tmc-media-lightbox.open .tmc-lightbox-side{
    height:100vh!important;
    max-height:100vh!important;
  }
}

/* =========================================================
   Feed Engagement Phase 5A — TripMates discovery home
   Replaces the duplicated media-story strip with mixed Pulse
   discovery and uses the desktop edges for useful modules.
   ========================================================= */
@media(min-width:1181px){
  body.tmc-feed-page .tmc-feed-shell>.container{
    width:min(1700px,calc(100% - 28px))!important;
    max-width:none!important;
  }
  body.tmc-feed-page .tmc-feed-grid{
    display:grid!important;
    grid-template-columns:220px minmax(640px,860px) 292px 90px!important;
    gap:14px!important;justify-content:center!important;
    align-items:start!important;
  }
  body.tmc-feed-page .tmc-feed-grid.no-online{
    grid-template-columns:220px minmax(680px,920px) 304px!important;justify-content:center!important;
  }
  body.tmc-feed-page .tmc-feed-left{
    position:sticky!important;top:86px!important;height:auto!important;max-height:calc(100vh - 100px)!important;
    display:grid!important;gap:12px!important;align-content:start!important;overflow-y:auto!important;scrollbar-width:none!important;
  }
  body.tmc-feed-page .tmc-feed-left::-webkit-scrollbar,
  body.tmc-feed-page .tmc-feed-right::-webkit-scrollbar,
  body.tmc-feed-page .tmc-online-rail-list::-webkit-scrollbar{display:none!important}
  body.tmc-feed-page .tmc-feed-center{min-width:0!important}
  body.tmc-feed-page .tmc-feed-right{
    position:sticky;top:86px;max-height:calc(100vh - 100px);overflow-y:auto;scrollbar-width:none;
    display:grid;gap:12px;align-content:start;min-width:0
  }
  body.tmc-feed-page .tmc-online-rail{
    position:sticky;top:86px;height:calc(100vh - 100px);min-height:0;overflow:hidden;
  }
}

/* Left navigation and compact discovery modules */
.tmc-feed-nav-card.tmc-side-card{height:auto!important;padding:12px!important;overflow:visible!important}
.tmc-feed-nav-card .tmc-side-link{padding:10px 11px;font-size:12.5px}
.tmc-feed-nav-card .tmc-create-post{min-height:38px;margin-top:10px;font-size:12px}
.tmc-feed-side-module{padding:13px 12px;border-radius:16px}
.tmc-feed-module-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.tmc-feed-module-head>b{font-size:12.5px;color:#15213a}.tmc-feed-module-head>a{font-size:10.5px;color:var(--blue);font-weight:700;white-space:nowrap}
.tmc-feed-mini-list{display:grid;gap:7px}.tmc-feed-mini-list>a,.tmc-community-pick-row>a:first-child{display:flex;align-items:center;gap:9px;min-width:0;padding:5px 3px;border-radius:9px}
.tmc-feed-mini-list>a:hover,.tmc-community-pick-row>a:first-child:hover{background:#f7f9fd}
.tmc-feed-mini-list img,.tmc-community-pick-row img{width:34px;height:34px;border-radius:9px;object-fit:cover;flex:0 0 34px;background:#eef2f7}
.tmc-feed-mini-list span,.tmc-community-pick-row span{min-width:0;display:block}.tmc-feed-mini-list b,.tmc-community-pick-row b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-feed-mini-list small,.tmc-community-pick-row small{display:block;font-size:9.5px;color:#7b8599;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-feed-shortcuts{display:grid;gap:2px}.tmc-feed-shortcuts .tmc-feed-module-head{margin-bottom:5px}
.tmc-feed-shortcuts>a{display:flex;align-items:center;gap:9px;padding:8px 7px;border-radius:9px;color:#526079;font-size:11.5px;font-weight:600}
.tmc-feed-shortcuts>a:hover{background:#f5f7fb;color:var(--blue)}.tmc-feed-shortcuts>a i{width:16px;text-align:center;color:#61708d}

/* TripMates Pulse: mixed discovery, never a duplicate story/photo strip */
.tmc-pulse{padding:13px 13px 12px;margin-bottom:12px;border-radius:17px;overflow:hidden}
.tmc-pulse-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 2px 10px}
.tmc-pulse-head>div{display:flex;align-items:center;gap:9px;min-width:0}.tmc-pulse-head b{font-size:14px;white-space:nowrap}.tmc-pulse-head b i{color:#1557f5;margin-right:5px}.tmc-pulse-head span{font-size:10.5px;color:#7c8799;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-pulse-head>a{font-size:10.5px;font-weight:700;color:var(--blue);white-space:nowrap}
.tmc-pulse-track{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:1px 1px 3px}
.tmc-pulse-track::-webkit-scrollbar{display:none}
.tmc-pulse-card{position:relative;flex:0 0 138px;min-width:0;height:218px;border:1px solid #e7ebf3;border-radius:14px;background:#fff;padding:11px 9px 10px;display:flex;flex-direction:column;scroll-snap-align:start;transition:.18s ease;overflow:hidden}
.tmc-pulse-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(23,39,75,.09);border-color:#dce3ef}
.tmc-pulse-card>em{align-self:flex-start;max-width:100%;font-style:normal;font-size:8.5px;line-height:1.1;font-weight:800;color:#fff;border-radius:999px;padding:5px 7px;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-pulse-card.traveller>em,.tmc-pulse-card.company>em{background:#7b46f6}.tmc-pulse-card.blog>em{background:#f58a1f}.tmc-pulse-card.community>em{background:#14a866}.tmc-pulse-card.package>em{background:#1557f5}
.tmc-pulse-media{height:102px;border-radius:10px;overflow:hidden;background:#edf2f8;margin-bottom:8px;display:grid;place-items:center}
.tmc-pulse-media img{width:100%;height:100%;object-fit:cover}.tmc-pulse-media.round{width:92px;height:92px;border-radius:50%;align-self:center}.tmc-pulse-media.company-logo{background:linear-gradient(145deg,#f8f7ff,#eff4ff);padding:19px}.tmc-pulse-media.company-logo img{object-fit:contain;border-radius:10px}
.tmc-pulse-card>b{font-size:11.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#16223b}
.tmc-pulse-card>small{margin-top:4px;font-size:9.5px;line-height:1.3;color:#778398;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-pulse-discover{flex-basis:112px;align-items:center;justify-content:center;text-align:center;background:linear-gradient(145deg,#fbfdff,#f7f9ff)}
.tmc-pulse-discover .tmc-pulse-plus{width:58px;height:58px;border:1.5px dashed #7aa6ff;border-radius:50%;display:grid;place-items:center;color:#1557f5;font-size:20px;margin-bottom:15px;background:#fff}
.tmc-pulse-discover>b{font-size:12px}.tmc-pulse-discover>small{font-size:9px;white-space:normal;margin-top:4px}

/* Main composer sits directly under Pulse */
body.tmc-feed-page .tmc-composer{margin:0 0 12px!important;border-radius:17px}
body.tmc-feed-page .tmc-composer-tools{grid-template-columns:repeat(4,1fr)}

/* Right discovery */
.tmc-feed-right-card{padding:14px;border-radius:16px}
.tmc-people-suggestions{display:grid;gap:5px}.tmc-person-suggestion{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:7px;align-items:center;padding:3px 0}
.tmc-person-suggestion>a{display:flex;align-items:center;gap:9px;min-width:0}.tmc-person-suggestion img{width:35px;height:35px;border-radius:50%;object-fit:cover;flex:0 0 35px}.tmc-person-suggestion span{min-width:0}
.tmc-person-suggestion b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-person-suggestion small{display:block;font-size:9.5px;color:#7c8799;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-person-suggestion>button{height:29px;border:1px solid #d9e2f2;background:#fff;color:#1557f5;border-radius:8px;font-size:10.5px;font-weight:700}.tmc-person-suggestion>button:hover{background:#eef4ff}
.tmc-feed-recommended-list{display:grid;gap:8px}.tmc-feed-recommended-list>a{display:flex;gap:9px;align-items:center;padding:5px;border-radius:10px;min-width:0}.tmc-feed-recommended-list>a:hover{background:#f7f9fd}
.tmc-feed-recommended-list img{width:68px;height:50px;border-radius:8px;object-fit:cover;flex:0 0 68px;background:#eef2f7}.tmc-feed-recommended-list img.logo{object-fit:contain;padding:8px;border:1px solid #eef0f5;background:#fff}
.tmc-feed-recommended-list span{min-width:0}.tmc-feed-recommended-list em{display:block;font-style:normal;font-size:8.5px;text-transform:uppercase;letter-spacing:.04em;color:#1557f5;font-weight:800}.tmc-feed-recommended-list b{display:block;font-size:11.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.tmc-feed-recommended-list small{display:block;font-size:9.5px;color:#7c8799;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-community-pick-row{display:grid;grid-template-columns:minmax(0,1fr) 45px;gap:7px;align-items:center}.tmc-mini-action{height:29px;border:1px solid #dfe5ef;border-radius:8px;display:grid;place-items:center;color:#1557f5;font-size:10px;font-weight:700}.tmc-mini-action:hover{background:#eef4ff}

/* Right-most online rail: picture first, one-line name below. */
.tmc-online-rail{padding:10px 7px 8px;border-radius:16px;box-shadow:var(--shadow-sm)}
.tmc-online-rail-head{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:2px 3px 9px;border-bottom:1px solid #edf0f5}.tmc-online-rail-head>b{font-size:10.5px}.tmc-online-rail-head>span{display:flex;align-items:center;gap:4px;font-size:9px;color:#17a568;font-weight:700}.tmc-online-rail-head>span i{width:7px;height:7px;border-radius:50%;background:#17b26a}
.tmc-online-rail-list{height:calc(100% - 68px);overflow-y:auto;scrollbar-width:none;padding:8px 0 4px;display:grid;align-content:start;gap:9px}
.tmc-online-person{width:100%;border:0;background:transparent;padding:2px 0;display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:10px;min-width:0}.tmc-online-person:hover{background:#f6f8fc}
.tmc-online-person>span{position:relative;width:42px;height:42px;flex:0 0 42px}.tmc-online-person img{width:42px;height:42px;border-radius:50%;object-fit:cover}.tmc-online-person>span i{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;background:#17b26a;border:2px solid #fff}
.tmc-online-person>b{display:block;width:66px;max-width:100%;font-size:9px;line-height:1.2;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#34405a}
.tmc-online-view-all{height:28px;display:grid;place-items:center;border-top:1px solid #edf0f5;color:#1557f5;font-size:9.5px;font-weight:700}

.tmc-feed-empty-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:10px}

/* Keep the full four-column experience on roomy desktops. */
@media(min-width:1400px) and (max-width:1540px){
  body.tmc-feed-page .tmc-feed-grid{grid-template-columns:210px minmax(610px,830px) 278px 82px!important;gap:12px!important;justify-content:center!important}
  .tmc-pulse-card{flex-basis:132px}
}

/* Medium desktop/laptop: preserve engaging side content, hide only the slim online rail. */
@media(min-width:1181px) and (max-width:1399px){
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online,
  body.tmc-feed-page .tmc-feed-grid.no-online{grid-template-columns:205px minmax(590px,820px) 268px!important;gap:12px!important;justify-content:center!important}
  .tmc-online-rail{display:none!important}
  .tmc-pulse-card{flex-basis:130px}
}

@media(max-width:1180px){
  body.tmc-feed-page .tmc-feed-right,body.tmc-feed-page .tmc-online-rail{display:none!important}
}

/* The new Pulse survives on mobile as a compact horizontal discovery strip;
   the established app shell/feed scrolling rules remain unchanged. */
@media(max-width:760px){
  body.tmc-feed-page .tmc-pulse{margin:0 0 8px!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;padding:11px 10px 10px!important}
  .tmc-pulse-head{margin-bottom:8px}.tmc-pulse-head span{display:none}.tmc-pulse-head b{font-size:13px}
  .tmc-pulse-card{flex-basis:122px;height:188px;padding:9px 8px}.tmc-pulse-discover{flex-basis:98px}.tmc-pulse-media{height:82px}.tmc-pulse-media.round{width:76px;height:76px}.tmc-pulse-card>b{font-size:10.5px}.tmc-pulse-card>small{font-size:8.8px}
}

/* =========================================================
   Feed Engagement Phase 5A.1 — rail / Pulse polish hotfix
   ========================================================= */

/* Pulse stays flat and readable: no lifted hover, no clipped top border. */
.tmc-pulse{overflow:visible!important}
.tmc-pulse-track{padding:3px 1px 4px!important;overflow-y:visible!important}
.tmc-pulse-card{
  height:210px!important;
  padding:10px 9px 9px!important;
  border-color:#e3e8f1!important;
  border-radius:13px!important;
  box-shadow:none!important;
  transform:none!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
.tmc-pulse-card:hover{
  transform:none!important;
  box-shadow:none!important;
  border-color:#cfd9ea!important;
  background:#fbfcff!important;
}
.tmc-pulse-card>em{
  font-size:8px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:0!important;
  padding:4px 7px!important;
  margin-bottom:7px!important;
}
.tmc-pulse-media{height:96px!important;margin-bottom:7px!important;border-radius:9px!important}
.tmc-pulse-media.round{width:84px!important;height:84px!important;margin-left:auto!important;margin-right:auto!important}
.tmc-pulse-media.company-logo{padding:17px!important}
.tmc-pulse-card>b{
  font-size:11px!important;
  line-height:1.28!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  min-height:28px;
  -webkit-line-clamp:2!important;
}
.tmc-pulse-card>small{
  margin-top:3px!important;
  font-size:9px!important;
  line-height:1.3!important;
  font-weight:400!important;
  color:#7c8799!important;
}
.tmc-pulse-discover{background:#fafcff!important}
.tmc-pulse-discover .tmc-pulse-plus{width:54px!important;height:54px!important;margin-bottom:12px!important;box-shadow:none!important}
.tmc-pulse-discover>b{font-size:11.5px!important;min-height:auto!important}
.tmc-pulse-discover>small{font-size:8.8px!important}
.tmc-pulse-media.placeholder{
  background:linear-gradient(145deg,#f6f9ff,#eef3fb)!important;
  color:#516888;
  font-size:28px;
}
.tmc-pulse-card.blog .tmc-pulse-media.placeholder{color:#e87918;background:linear-gradient(145deg,#fff9f2,#fff2e5)!important}
.tmc-pulse-card.community .tmc-pulse-media.placeholder{color:#159866;background:linear-gradient(145deg,#f1fbf6,#e8f8f0)!important}
.tmc-pulse-card.package .tmc-pulse-media.placeholder{color:#1557f5;background:linear-gradient(145deg,#f3f7ff,#eaf1ff)!important}
.tmc-pulse-card.company .tmc-pulse-media.placeholder{color:#7048d7;background:linear-gradient(145deg,#f8f5ff,#f0ebff)!important}
.tmc-pulse-card.trend>em{background:#ef6b2f!important}
.tmc-pulse-card.trend .trend-icon{color:#ef6b2f;background:linear-gradient(145deg,#fff8f3,#fff0e8)!important}

/* Compact People You May Know action states stay usable after AJAX. */
.tmc-person-suggestion>button{
  min-width:48px!important;
  max-width:58px;
  padding:0 7px!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tmc-person-suggestion>button.requested,
.tmc-person-suggestion>button.accepted,
.tmc-person-suggestion>button.is-static{background:#f3f6fb!important;color:#68758b!important;border-color:#e2e7ef!important;cursor:default}

/* On wide desktop the online rail belongs to the browser edge, not inside the
   content grid. The content keeps a safe gutter so the fixed rail never covers
   recommendations. */
@media(min-width:1400px){
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online{
    grid-template-columns:220px minmax(640px,860px) 292px!important;
    gap:14px!important;
  }
  body.tmc-feed-page .tmc-feed-grid.has-online{
    width:min(1540px,calc(100% - 112px))!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:100px!important;
    justify-content:center!important;
  }
  body.tmc-feed-page .tmc-feed-grid.no-online{
    width:min(1500px,calc(100% - 28px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.tmc-feed-page .tmc-online-rail{
    display:block!important;
    position:fixed!important;
    top:78px!important;
    right:9px!important;
    bottom:10px!important;
    width:82px!important;
    height:auto!important;
    max-height:none!important;
    z-index:120!important;
    overflow:hidden!important;
  }
}
@media(min-width:1400px) and (max-width:1540px){
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online{
    grid-template-columns:210px minmax(610px,1fr) 278px!important;
    gap:12px!important;
  }
  body.tmc-feed-page .tmc-feed-grid.has-online{width:calc(100% - 104px)!important;margin-right:94px!important}
  body.tmc-feed-page .tmc-online-rail{width:76px!important;right:7px!important}
  .tmc-online-person>span,.tmc-online-person img{width:39px!important;height:39px!important}
  .tmc-online-person>b{width:60px!important}
}

@media(max-width:760px){
  .tmc-pulse{overflow:hidden!important}
  .tmc-pulse-card{height:184px!important;padding:8px 8px!important}
  .tmc-pulse-media{height:78px!important}.tmc-pulse-media.round{width:70px!important;height:70px!important}
  .tmc-pulse-card>b{font-size:10.2px!important;min-height:26px}.tmc-pulse-card>small{font-size:8.5px!important}
}
/* Preserve the exact underlying feed position while JS locks the body with a
   negative top offset. The body must retain its full document height; forcing
   height:100% would clip a deeply scrolled feed while the viewer is open. */
body.tmc-lightbox-open{height:auto!important;min-height:100%!important}


/* =========================================================
   Feed Engagement Phase 5A.2 — centered desktop composition
   ========================================================= */
@media(min-width:1181px){
  /* The online rail is an independent browser-edge utility. It must never
     participate in the main grid width or push the center feed sideways. */
  body.tmc-feed-page .tmc-feed-shell>.container,
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online,
  body.tmc-feed-page .tmc-feed-grid.no-online{
    width:min(1390px,calc(100% - 36px))!important;
    max-width:1390px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online,
  body.tmc-feed-page .tmc-feed-grid.no-online{
    grid-template-columns:220px minmax(0,850px) 292px!important;
    gap:14px!important;
    justify-content:center!important;
    align-items:start!important;
  }
  body.tmc-feed-page .tmc-feed-center{width:100%!important;max-width:850px!important;justify-self:center!important}
  body.tmc-feed-page .tmc-feed-left{width:220px!important}
  body.tmc-feed-page .tmc-feed-right{width:292px!important;top:78px!important;align-self:start!important}
  body.tmc-feed-page .tmc-feed-right-card:first-child{margin-top:0!important}

  /* Pulse has exactly one Discover tile + five complete content tiles. No
     horizontal partial card is allowed on desktop. */
  body.tmc-feed-page .tmc-pulse{overflow:hidden!important}
  body.tmc-feed-page .tmc-pulse-track{
    display:grid!important;
    grid-template-columns:112px repeat(5,minmax(0,1fr))!important;
    gap:8px!important;
    overflow:visible!important;
    padding:2px 0 3px!important;
    scroll-snap-type:none!important;
  }
  body.tmc-feed-page .tmc-pulse-card{
    width:100%!important;
    min-width:0!important;
    flex:none!important;
    height:208px!important;
  }
  body.tmc-feed-page .tmc-pulse-discover{width:100%!important;min-width:0!important;flex:none!important}
}

/* Keep the centered composition on common laptops while still leaving enough
   room at the browser edge for the optional Online rail. */
@media(min-width:1400px) and (max-width:1650px){
  body.tmc-feed-page .tmc-feed-shell>.container,
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online,
  body.tmc-feed-page .tmc-feed-grid.no-online{
    width:min(1288px,calc(100% - 120px))!important;
    max-width:1288px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online,
  body.tmc-feed-page .tmc-feed-grid.no-online{
    grid-template-columns:205px minmax(0,790px) 265px!important;
    gap:14px!important;
  }
  body.tmc-feed-page .tmc-feed-center{max-width:790px!important}
  body.tmc-feed-page .tmc-feed-left{width:205px!important}
  body.tmc-feed-page .tmc-feed-right{width:265px!important}
  body.tmc-feed-page .tmc-pulse-track{grid-template-columns:102px repeat(5,minmax(0,1fr))!important;gap:7px!important}
  body.tmc-feed-page .tmc-pulse-card{height:202px!important;padding:9px 8px!important}
  body.tmc-feed-page .tmc-pulse-media{height:88px!important}
  body.tmc-feed-page .tmc-pulse-media.round{width:78px!important;height:78px!important}
}

/* Right rail should read as a real discovery column, not one lonely card. */
.tmc-feed-right-primary{margin-top:0!important}
.tmc-feed-right-card{overflow:hidden}
.tmc-feed-compact-rank{display:grid;gap:4px}
.tmc-feed-compact-rank>a{display:grid;grid-template-columns:20px 48px minmax(0,1fr);gap:7px;align-items:center;padding:5px;border-radius:9px;min-width:0}
.tmc-feed-compact-rank>a:hover{background:#f7f9fd}
.tmc-feed-compact-rank .rank{font-size:10px;font-weight:800;color:#8793a7;text-align:center}
.tmc-feed-compact-rank img{width:48px;height:38px;border-radius:7px;object-fit:cover;background:#eef2f7}
.tmc-feed-compact-rank>a>span:last-child{min-width:0}
.tmc-feed-compact-rank b{display:block;font-size:10.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1d2941}
.tmc-feed-compact-rank small{display:block;font-size:8.8px;color:#7c8799;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-feed-company-mini-grid{display:grid;gap:5px}
.tmc-feed-company-mini-grid>a{display:flex;align-items:center;gap:8px;padding:5px;border-radius:9px;min-width:0}
.tmc-feed-company-mini-grid>a:hover{background:#f7f9fd}
.tmc-feed-company-mini-grid img{width:38px;height:38px;border-radius:9px;object-fit:contain;background:#fff;border:1px solid #edf0f5;padding:4px;flex:0 0 38px}
.tmc-feed-company-mini-grid span{min-width:0}
.tmc-feed-company-mini-grid b{display:block;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1d2941}
.tmc-feed-company-mini-grid small{display:block;font-size:8.8px;color:#7c8799;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-feed-empty-link,.tmc-right-fallback{display:flex!important;align-items:center;gap:9px;padding:9px!important;border-radius:10px;background:#f8faff;color:#34405a}
.tmc-feed-empty-link i{width:32px;height:32px;border-radius:9px;background:#eef4ff;color:#1557f5;display:grid;place-items:center;flex:0 0 32px}
.tmc-feed-empty-link span,.tmc-right-fallback span{min-width:0}
.tmc-feed-empty-link b,.tmc-right-fallback b{display:block;font-size:10.5px!important;color:#1d2941}
.tmc-feed-empty-link small,.tmc-right-fallback small{display:block;font-size:8.8px!important;color:#7c8799;margin-top:2px}

/* Far-right rail stays independent of the centered content block. */
@media(min-width:1400px){
  body.tmc-feed-page .tmc-online-rail{
    position:fixed!important;
    top:78px!important;
    right:8px!important;
    bottom:10px!important;
    width:76px!important;
    height:auto!important;
    z-index:120!important;
  }
}

/* Tablet/mobile keep the existing horizontal Pulse behavior. */
@media(max-width:1180px){
  body.tmc-feed-page .tmc-pulse-track{display:flex!important;overflow-x:auto!important;grid-template-columns:none!important}
  body.tmc-feed-page .tmc-pulse-card{width:auto!important}
}

.tmc-feed-discover-today{display:grid;gap:3px}
.tmc-feed-discover-today>a{display:flex;align-items:center;gap:9px;padding:7px 5px;border-radius:9px;min-width:0;color:#34405a}
.tmc-feed-discover-today>a:hover{background:#f7f9fd}
.tmc-feed-discover-today>a>i{width:28px;height:28px;border-radius:8px;background:#f1f5ff;color:#3159c8;display:grid;place-items:center;flex:0 0 28px;font-size:11px}
.tmc-feed-discover-today>a>span{min-width:0}.tmc-feed-discover-today b{display:block;font-size:10.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-feed-discover-today small{display:block;font-size:8.7px;color:#7c8799;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* =========================================================
   Feed Engagement Phase 5A.3 — clean white side rails
   ========================================================= */
@media(min-width:1181px){
  /* Remove the light grey column wash from the left/right discovery areas.
     The center canvas keeps the page background; side rails read as clean
     white utility surfaces. */
  body.tmc-feed-page .tmc-feed-left,
  body.tmc-feed-page .tmc-feed-right{
    background:#fff!important;
    border-radius:18px!important;
  }

  /* Keep the individual cards visually clean against the white rail rather
     than showing grey fallback blocks inside them. */
  body.tmc-feed-page .tmc-feed-left .tmc-feed-side-module,
  body.tmc-feed-page .tmc-feed-left .tmc-feed-nav-card,
  body.tmc-feed-page .tmc-feed-right .tmc-feed-right-card{
    background:#fff!important;
  }
  body.tmc-feed-page .tmc-feed-empty-link,
  body.tmc-feed-page .tmc-right-fallback{
    background:#fff!important;
  }
}

/* =========================================================
   Feed Engagement Phase 5A.4 — transparent side rail canvas
   ========================================================= */
@media(min-width:1181px){
  body.tmc-feed-page .tmc-feed-left,
  body.tmc-feed-page .tmc-feed-right{
    background:transparent!important;
    border-radius:0!important;
  }
}

/* =========================================================
   Feed Discovery Phase 5A.5 — real-data discovery + shared online rail
   ========================================================= */

/* Shared Online Now rail. One compact component is rendered from the global
   header for every authenticated desktop page, so Feed/Profile cannot drift. */
.tmc-global-online-rail{display:none}
@media(min-width:1660px){
  .tmc-global-online-rail{
    display:flex;position:fixed;right:8px;top:82px;width:92px;height:auto;
    max-height:calc(100vh - 96px);padding:9px 7px 8px;z-index:4200;
    flex-direction:column;background:#fff;border:1px solid #e8ecf4;border-radius:16px;
    box-shadow:0 6px 22px rgba(24,39,75,.07);overflow:hidden
  }
  .tmc-global-online-head{display:flex;align-items:center;justify-content:center;padding:2px 2px 8px;border-bottom:1px solid #edf0f5;flex:0 0 auto}
  .tmc-global-online-head b{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;line-height:1.2;font-weight:600;color:#44506a;white-space:nowrap}
  .tmc-global-online-head b i{width:7px;height:7px;border-radius:50%;background:#19b968;display:block;flex:0 0 7px}
  .tmc-global-online-list{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 1px 5px;max-height:430px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none}
  .tmc-global-online-list::-webkit-scrollbar{display:none}
  .tmc-global-online-person{width:72px;border:0;background:transparent;padding:3px 2px;display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:11px;min-width:0}
  .tmc-global-online-person:hover{background:#f7f8fc}
  .tmc-global-online-person>span{position:relative;width:38px;height:38px;flex:0 0 38px}
  .tmc-global-online-person img{width:38px;height:38px;border-radius:50%;object-fit:cover}
  .tmc-global-online-person>span i{position:absolute;right:-1px;bottom:0;width:10px;height:10px;border-radius:50%;background:#19b968;border:2px solid #fff}
  .tmc-global-online-person>b{display:block;width:70px;max-width:70px;font-size:9.2px;line-height:1.2;font-weight:600;color:#283247;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tmc-global-online-view-all{display:block;padding:7px 2px 1px;border-top:1px solid #edf0f5;color:#1557f5;font-size:9.5px;font-weight:600;text-align:center;flex:0 0 auto}
  .tmc-global-online-view-all:hover{text-decoration:underline}
}

/* Feed desktop uses the same 1460px alignment line as the header. Equal outer
   grid tracks keep the center timeline mathematically centered. The shared
   #f8faff page canvas shows through transparent feed lanes and side rails. */
@media(min-width:1400px){
  body.tmc-feed-page{background:#f8faff!important}
  body.tmc-feed-page .tmc-feed-shell{background:transparent!important}
  body.tmc-feed-page .tmc-feed-shell>.container,
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online,
  body.tmc-feed-page .tmc-feed-grid.no-online{
    width:min(var(--container),calc(100% - 44px))!important;max-width:var(--container)!important;
    margin-left:auto!important;margin-right:auto!important
  }
  body.tmc-feed-page .tmc-feed-grid,
  body.tmc-feed-page .tmc-feed-grid.has-online,
  body.tmc-feed-page .tmc-feed-grid.no-online{
    grid-template-columns:220px minmax(0,1fr) 292px!important;
    gap:14px!important;
    justify-content:stretch!important;
    align-items:start!important;
  }
  body.tmc-feed-page .tmc-feed-left{width:220px!important;justify-self:start!important;top:86px!important;background:transparent!important}
  body.tmc-feed-page .tmc-feed-right{width:292px!important;justify-self:end!important;top:86px!important;background:transparent!important}
  body.tmc-feed-page .tmc-feed-center{
    width:100%!important;
    max-width:850px!important;
    justify-self:center!important;
    background:transparent!important;
    min-width:0!important;
    padding-bottom:28px;
  }
}

/* Rebuilt Pulse cards: visual-first, compact text, no hover lift/shadow. */
.tmc-pulse{overflow:hidden!important}
.tmc-pulse-track{display:grid!important;grid-template-columns:112px repeat(var(--pulse-items),minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;padding:2px 0 3px!important}
.tmc-pulse-card{position:relative!important;width:100%!important;min-width:0!important;height:194px!important;padding:0!important;border:1px solid #e2e8f2!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;display:block!important;box-shadow:none!important;transform:none!important;transition:border-color .16s ease,filter .16s ease!important}
.tmc-pulse-card:hover{transform:none!important;box-shadow:none!important;border-color:#cbd6e7!important;filter:saturate(1.02)}
.tmc-pulse-card.visual .tmc-pulse-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.tmc-pulse-card.visual .tmc-pulse-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(9,21,48,.02) 30%,rgba(8,17,38,.83) 100%)}
.tmc-pulse-card>em{position:absolute;left:9px;top:9px;z-index:3;margin:0!important;max-width:calc(100% - 18px);font-style:normal;font-size:8.2px!important;line-height:1!important;font-weight:800;color:#fff!important;border-radius:999px;padding:5px 7px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.tmc-pulse-card.traveller>em{background:#7b46f6!important}.tmc-pulse-card.blog>em{background:#f2851f!important}.tmc-pulse-card.community>em{background:#12a366!important}.tmc-pulse-card.package>em{background:#1557f5!important}.tmc-pulse-card.company>em{background:#7d3ff2!important}.tmc-pulse-card.post>em{background:#ef6b2f!important}
.tmc-pulse-card .tmc-pulse-copy{position:absolute;left:10px;right:10px;bottom:10px;z-index:3;min-width:0}
.tmc-pulse-card .tmc-pulse-copy>b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.3px;line-height:1.22;font-weight:750;letter-spacing:-.01em;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}
.tmc-pulse-card .tmc-pulse-copy>small{display:block;margin-top:4px;font-size:8.8px;line-height:1.2;color:rgba(255,255,255,.88);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-pulse-card.company.brand-card{background:linear-gradient(145deg,#f4f0ff 0%,#edf5ff 52%,#fff5ec 100%)!important}
.tmc-pulse-card.company.brand-card:before{content:"";position:absolute;width:90px;height:90px;border-radius:50%;background:rgba(123,70,246,.08);right:-22px;top:-22px}
.tmc-pulse-brand-surface{position:absolute;left:14px;right:14px;top:40px;height:86px;border-radius:12px;background:rgba(255,255,255,.86);display:grid;place-items:center;padding:14px;border:1px solid rgba(255,255,255,.9)}
.tmc-pulse-brand-surface img{max-width:100%;max-height:100%;object-fit:contain}
.tmc-pulse-card.company .tmc-pulse-copy>b{color:#17233c;text-shadow:none}.tmc-pulse-card.company .tmc-pulse-copy>small{color:#6e7890}
.tmc-pulse-discover{display:flex!important;align-items:center;justify-content:center;text-align:center;padding:14px 8px!important;background:linear-gradient(150deg,#f8fbff,#f5f0ff)!important}
.tmc-pulse-discover:before{content:"";position:absolute;inset:auto -24px -35px auto;width:95px;height:95px;border-radius:50%;background:rgba(21,87,245,.07)}
.tmc-pulse-discover .tmc-pulse-plus{width:56px;height:56px;border:1.5px dashed #6d9bff;border-radius:50%;display:grid;place-items:center;color:#1557f5;font-size:19px;background:#fff;margin:0 0 13px;position:relative;z-index:2}
.tmc-pulse-discover .tmc-pulse-copy{position:static!important;z-index:2}
.tmc-pulse-discover .tmc-pulse-copy>b{display:block!important;color:#17233c!important;text-shadow:none!important;font-size:11.5px!important;line-height:1.2!important}
.tmc-pulse-discover .tmc-pulse-copy>small{color:#7c8799!important;font-size:8.7px!important;white-space:normal!important}

.tmc-feed-traveller-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tmc-feed-traveller-mini>a{display:flex;align-items:center;gap:7px;min-width:0;padding:5px;border-radius:9px}
.tmc-feed-traveller-mini>a:hover{background:#f7f9fd}
.tmc-feed-traveller-mini img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 34px}
.tmc-feed-traveller-mini span{min-width:0}.tmc-feed-traveller-mini b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-feed-traveller-mini small{display:block;font-size:8.5px;color:#7c8799;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Tablet/mobile keep Pulse horizontally scrollable. */
@media(max-width:1399px){
  body.tmc-feed-page .tmc-pulse-track{display:flex!important;overflow-x:auto!important;grid-template-columns:none!important}
  body.tmc-feed-page .tmc-pulse-card{flex:0 0 132px!important;width:132px!important}
  body.tmc-feed-page .tmc-pulse-discover{flex-basis:104px!important;width:104px!important}
}

/* Mixed Explore destination used by TripMates Pulse → See all. */
.tmc-explore-page{background:#f8faff;padding-top:26px}
.tmc-explore-hero{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:28px 30px;border:1px solid #e7ecf4;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f7f9ff 55%,#fff8f1 100%);margin-bottom:18px}
.tmc-explore-hero>div>span{display:inline-flex;align-items:center;gap:7px;color:#1557f5;font-size:11px;font-weight:750}.tmc-explore-hero h1{font-size:30px;letter-spacing:-.03em;margin:7px 0 6px}.tmc-explore-hero p{margin:0;color:#6f7a90;max-width:650px}
.tmc-explore-hero form{width:380px;height:46px;border:1px solid #dfe6f1;border-radius:13px;background:#fff;display:flex;align-items:center;padding-left:14px;overflow:hidden}.tmc-explore-hero form i{color:#8a96aa}.tmc-explore-hero input{border:0;outline:0;min-width:0;flex:1;padding:0 10px}.tmc-explore-hero button{height:100%;border:0;background:#123f94;color:#fff;font-weight:700;padding:0 18px}
.tmc-explore-section{background:#fff;border:1px solid #e7ecf4;border-radius:20px;padding:18px;margin:0 0 16px}.tmc-explore-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.tmc-explore-head>div{display:flex;align-items:center;gap:10px}.tmc-explore-head>div>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.tmc-explore-head span.purple{background:#f1ebff;color:#7545e8}.tmc-explore-head span.orange{background:#fff1e4;color:#eb7b18}.tmc-explore-head span.green{background:#eaf9f1;color:#119961}.tmc-explore-head span.blue{background:#ebf2ff;color:#1557f5}.tmc-explore-head span.violet{background:#f4efff;color:#7d3ff2}.tmc-explore-head h2{font-size:16px;margin:0}.tmc-explore-head p{font-size:10px;color:#7a8599;margin:1px 0 0}.tmc-explore-head>a{font-size:10.5px;color:#1557f5;font-weight:700}
.tmc-explore-grid.travellers{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.tmc-explore-person{text-align:center;border:1px solid #edf0f5;border-radius:14px;padding:12px 7px}.tmc-explore-person img{width:62px;height:62px;object-fit:cover;border-radius:50%;margin:0 auto 8px}.tmc-explore-person b{display:block;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-explore-person small{display:block;font-size:8.5px;color:#7c8799;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-explore-grid.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.tmc-explore-card{height:150px;border-radius:14px;overflow:hidden;position:relative;background:#eef2f7}.tmc-explore-card>img{width:100%;height:100%;object-fit:cover}.tmc-explore-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 28%,rgba(7,17,37,.82) 100%)}.tmc-explore-card>div{position:absolute;z-index:2;left:12px;right:12px;bottom:10px;color:#fff}.tmc-explore-card em{font-style:normal;font-size:8px;font-weight:800;text-transform:uppercase;opacity:.88}.tmc-explore-card b{display:block;font-size:12px;line-height:1.25;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-explore-card small{display:block;font-size:8.8px;opacity:.85;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-explore-company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tmc-explore-company-grid>a{display:grid;grid-template-columns:50px minmax(0,1fr) 18px;gap:10px;align-items:center;padding:10px;border:1px solid #edf0f5;border-radius:13px}.tmc-explore-company-grid img{width:50px;height:50px;object-fit:contain;border-radius:10px;padding:5px;background:#fff}.tmc-explore-company-grid span{min-width:0}.tmc-explore-company-grid b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-explore-company-grid small{display:block;font-size:9px;color:#7c8799;margin-top:2px}.tmc-explore-company-grid>a>i{color:#94a0b3;font-size:10px}
@media(max-width:900px){.tmc-explore-hero{display:block;padding:20px}.tmc-explore-hero form{width:100%;margin-top:15px}.tmc-explore-grid.travellers{grid-template-columns:repeat(4,minmax(0,1fr))}.tmc-explore-grid.cards,.tmc-explore-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tmc-explore-grid.travellers{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-explore-grid.cards,.tmc-explore-company-grid{grid-template-columns:1fr}.tmc-explore-hero h1{font-size:24px}}
/* =========================================================
   GLOBAL PAGE CANVAS — unified across TripMates Club
   ========================================================= */
html,
body,
body.social-app,
body.auth-screen,
body.tmc-feed-page,
.auth-page,
.tmc-profile-page,
.tmc-friends-page,
.tmc-messages-page,
.tmc-saved-page,
.tmc-notification-page,
.tmc-notifications-page,
.tmc-global-search-page,
.tmc-community-page,
.tmc-community-detail-page,
.tmc-my-communities-page,
.tmc-community-manage-page,
.tmc-companies-page,
.tmc-company-page,
.tmc-company-pages-page,
.tmc-company-manage-page,
.tmc-company-detail-page,
.tmc-packages-page,
.tmc-package-manage-page,
.tmc-package-detail-page,
.tmc-explore-page {
  background-color:#f8faff!important;
}

/* Wide desktop feed center: full available width up to 850px, truly centered,
   and transparent so the same global #f8faff canvas shows through. */
@media (min-width:1400px) {
  body.tmc-feed-page .tmc-feed-shell {
    background:transparent!important;
  }

  body.tmc-feed-page .tmc-feed-center {
    width:100%!important;
    max-width:850px!important;
    justify-self:center!important;
    background:transparent!important;
    min-width:0!important;
    padding-bottom:28px;
  }
}


/* =========================================================
   Feed Engagement Phase 5A.9 — flat left/right rail cards
   ========================================================= */
@media (min-width: 1181px) {
  body.tmc-feed-page .tmc-feed-left .card,
  body.tmc-feed-page .tmc-feed-left .tmc-side-card,
  body.tmc-feed-page .tmc-feed-left .tmc-feed-side-module,
  body.tmc-feed-page .tmc-feed-left .tmc-feed-nav-card,
  body.tmc-feed-page .tmc-feed-right .card,
  body.tmc-feed-page .tmc-feed-right .tmc-feed-right-card,
  body.tmc-feed-page .tmc-global-online-rail {
    box-shadow: none !important;
  }
}


/* =========================================================
   Feed Engagement Phase 5A.10 — engaging compact right rail
   ========================================================= */
body.tmc-feed-page .tmc-feed-module-note{
  margin:-2px 0 8px;
  color:#7b8799;
  font-size:9.5px;
  line-height:1.35;
}
body.tmc-feed-page .tmc-feed-option-list{display:grid;gap:5px}
body.tmc-feed-page .tmc-feed-option-list>a{
  display:grid;
  grid-template-columns:50px minmax(0,1fr) 12px;
  gap:8px;
  align-items:center;
  min-width:0;
  padding:5px 3px;
  border-radius:9px;
}
body.tmc-feed-page .tmc-feed-option-list>a:hover{background:#f7f9fd}
body.tmc-feed-page .tmc-feed-option-list img{
  width:50px;
  height:42px;
  border-radius:8px;
  object-fit:cover;
  background:#eef2f7;
}
body.tmc-feed-page .tmc-feed-option-list img.logo{
  object-fit:contain;
  padding:5px;
  background:#fff;
  border:1px solid #edf0f5;
}
body.tmc-feed-page .tmc-feed-option-list span{min-width:0}
body.tmc-feed-page .tmc-feed-option-list em{
  display:block;
  margin-bottom:1px;
  font-style:normal;
  font-size:8px;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#1557f5;
  font-weight:800;
}
body.tmc-feed-page .tmc-feed-option-list b{
  display:block;
  color:#1d2941;
  font-size:10.5px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.tmc-feed-page .tmc-feed-option-list small{
  display:block;
  margin-top:2px;
  color:#7c8799;
  font-size:8.8px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.tmc-feed-page .tmc-feed-option-list>a>i{font-size:9px;color:#9aa5b6;text-align:right}
body.tmc-feed-page .tmc-feed-option-list.compact img{width:42px;height:42px;border-radius:9px}
body.tmc-feed-page .tmc-feed-option-list.compact>a{grid-template-columns:42px minmax(0,1fr) 12px}

/* =========================================================
   Feed Final Visual Polish Phase 5A.12
   ========================================================= */

/* Give the center stream a touch more breathing room before the first post. */
body.tmc-feed-page .tmc-composer{margin-bottom:16px!important}

/* Discover is a branded discovery surface rather than a blank plus tile. */
.tmc-pulse-discover{
  position:relative!important;
  isolation:isolate;
  background:linear-gradient(155deg,#f8fbff 0%,#f0f5ff 44%,#f6efff 100%)!important;
}
.tmc-pulse-discover:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 18% 16%,rgba(21,87,245,.12),transparent 27%),
    radial-gradient(circle at 88% 88%,rgba(123,70,246,.12),transparent 34%);
}
.tmc-pulse-discover-orbit{
  position:absolute;
  left:50%;top:28px;
  width:82px;height:82px;
  transform:translateX(-50%);
  border:1px dashed rgba(21,87,245,.22);
  border-radius:50%;
  opacity:.9;
}
.tmc-pulse-discover-orbit i{position:absolute;font-size:10px;color:#6288df;background:#fff;border:1px solid #e4ebf7;width:23px;height:23px;border-radius:50%;display:grid;place-items:center}
.tmc-pulse-discover-orbit i:nth-child(1){left:29px;top:-10px;color:#1557f5}
.tmc-pulse-discover-orbit i:nth-child(2){right:-8px;top:35px;color:#ff7a1a}
.tmc-pulse-discover-orbit i:nth-child(3){left:-7px;top:45px;color:#7b46f6}
.tmc-pulse-discover .tmc-pulse-plus{width:48px;height:48px;margin:7px 0 14px;border:0;background:#1557f5;color:#fff;box-shadow:0 7px 18px rgba(21,87,245,.16);font-size:17px}
.tmc-pulse-discover .tmc-pulse-copy>b{font-size:12px!important}
.tmc-pulse-discover .tmc-pulse-copy>small{font-size:8.4px!important;letter-spacing:.01em;color:#66748c!important}

/* Company cards use the company cover whenever one exists, with the company
   logo retained as a small brand stamp. The logo-only brand card remains the
   fallback for companies that have no uploaded cover. */
.tmc-pulse-card.company.company-cover .tmc-pulse-shade{background:linear-gradient(180deg,rgba(7,17,38,.05) 22%,rgba(7,17,38,.86) 100%)}
.tmc-pulse-company-logo{position:absolute;z-index:3;left:10px;top:36px;width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.9);padding:5px;display:grid;place-items:center;box-shadow:0 2px 9px rgba(12,25,52,.12)}
.tmc-pulse-company-logo img{width:100%;height:100%;object-fit:contain}
.tmc-pulse-card.company.company-cover .tmc-pulse-copy>b,
.tmc-pulse-card.company.company-cover .tmc-pulse-copy>small{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.22)}

/* Compact shared online rail: content decides its height. For one-to-four
   friends the unnecessary View all footer is omitted by the shared header. */
@media(min-width:1660px){
  .tmc-global-online-rail{height:auto!important;min-height:0!important;max-height:min(520px,calc(100vh - 96px))!important}
  .tmc-global-online-list{flex:0 1 auto!important;max-height:390px!important}
}

/* A third real-data module can appear when People/Travel/Discover inventory
   does not already fill the right rail. Keep all three visually consistent. */
body.tmc-feed-page .tmc-feed-fresh-moments .tmc-feed-option-list img{object-fit:cover}

/* Small consistency polish for the Feed discovery rails. */
body.tmc-feed-page .tmc-feed-right-card{padding-top:13px;padding-bottom:13px}
body.tmc-feed-page .tmc-feed-module-head b{letter-spacing:-.01em}
body.tmc-feed-page .tmc-feed-module-note{max-width:250px}

/* =========================================================
   Guest Home + Explore Finalization (Phase 5B)
   ========================================================= */
body.tmc-guest-home-page{background:#f8faff}
.tmc-guest-home{padding:16px 0 38px}
.tmc-guest-home-grid{display:grid;grid-template-columns:220px minmax(0,850px) 292px;gap:14px;align-items:start;justify-content:center}
.tmc-guest-left,.tmc-guest-right{display:grid;gap:14px;align-content:start}
.tmc-guest-left{position:sticky;top:88px}.tmc-guest-right{position:sticky;top:88px}
.tmc-guest-side-card{background:#fff;border:1px solid #e5eaf3;border-radius:18px;padding:14px;box-shadow:none}
.tmc-guest-side-card h3{font-size:13px;margin:0 0 10px}.tmc-guest-side-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.tmc-guest-side-head h3{margin:0}.tmc-guest-side-head a{font-size:10px;color:#123f94;font-weight:750}
.tmc-guest-nav-card>a{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 9px;border-radius:10px;font-size:12px;font-weight:650;color:#30405f}.tmc-guest-nav-card>a:hover{background:#f3f6ff;color:#123f94}.tmc-guest-nav-card>a i{width:17px;text-align:center;color:#5f6f8e}
.tmc-guest-join-card{text-align:left;padding:17px}.tmc-guest-join-card>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#eaf2ff,#f2ecff);color:#1557f5;font-size:18px}.tmc-guest-join-card h3{font-size:16px;line-height:1.3;margin:12px 0 6px}.tmc-guest-join-card p{font-size:11px;line-height:1.55;color:#6e7a90;margin:0 0 13px}.tmc-guest-join-card .btn{width:100%;min-height:38px;font-size:11px}.tmc-guest-login-link{display:block;text-align:center;margin-top:10px;font-size:10px;color:#667085}.tmc-guest-login-link:hover{color:#123f94}
.tmc-guest-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.tmc-guest-mini-stats>div{background:#f8faff;border:1px solid #edf1f7;border-radius:12px;padding:10px;text-align:center}.tmc-guest-mini-stats b{display:block;font-size:15px}.tmc-guest-mini-stats span{display:block;font-size:8.5px;color:#7b8799;margin-top:1px}
.tmc-guest-center{min-width:0;display:grid;gap:14px}
.tmc-guest-hero-card{min-height:255px;background:#fff;border:1px solid #e5eaf3;border-radius:22px;padding:22px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:center;overflow:hidden}
.tmc-guest-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#1557f5;font-weight:750;font-size:10px}.tmc-guest-hero-copy h1{font-size:34px;line-height:1.08;letter-spacing:-.035em;margin:9px 0 10px;max-width:520px}.tmc-guest-hero-copy h1 span{background:linear-gradient(90deg,#1557f5,#7e46ea,#f2832b);-webkit-background-clip:text;background-clip:text;color:transparent}.tmc-guest-hero-copy p{font-size:12px;color:#667085;max-width:520px;margin:0 0 18px}.tmc-guest-hero-copy>div{display:flex;gap:9px}.tmc-guest-hero-copy .btn{min-height:39px;font-size:11px}
.tmc-guest-hero-art{height:210px;position:relative;border-radius:17px;overflow:hidden}.tmc-guest-hero-art>img{width:100%;height:100%;object-fit:cover}.tmc-guest-hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,20,48,.02),rgba(7,20,48,.68))}.tmc-guest-hero-art>div{position:absolute;z-index:2;left:15px;right:15px;bottom:13px;color:#fff}.tmc-guest-hero-art b{display:block;font-size:15px}.tmc-guest-hero-art span{font-size:9.5px;opacity:.88}
.tmc-guest-discovery-strip{background:#fff;border:1px solid #e5eaf3;border-radius:19px;padding:13px}.tmc-guest-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.tmc-guest-section-head>div{display:flex;align-items:center;gap:8px}.tmc-guest-section-head>div>i{color:#6a42ed}.tmc-guest-section-head b{display:block;font-size:12.5px}.tmc-guest-section-head small{display:block;color:#7c8799;font-size:8.5px;margin-top:1px}.tmc-guest-section-head>a{font-size:10px;font-weight:750;color:#123f94}
.tmc-guest-mix-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.tmc-guest-mix-card{height:128px;border-radius:13px;overflow:hidden;position:relative;background:#edf1f7}.tmc-guest-mix-card>img{width:100%;height:100%;object-fit:cover}.tmc-guest-mix-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,15,35,.02) 23%,rgba(5,15,35,.82) 100%)}.tmc-guest-mix-card>em{position:absolute;z-index:3;left:8px;top:8px;font-style:normal;color:#fff;font-size:7.5px;font-weight:800;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:#7b3ff1}.tmc-guest-mix-card.type-blog>em{background:#f28b2e}.tmc-guest-mix-card.type-community>em{background:#10a36a}.tmc-guest-mix-card.type-package>em{background:#2368ef}.tmc-guest-mix-card.type-company>em{background:#6a42ed}.tmc-guest-mix-card>span{position:absolute;z-index:3;left:9px;right:9px;bottom:8px;color:#fff}.tmc-guest-mix-card b{display:block;font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-guest-mix-card small{display:block;font-size:8px;margin-top:2px;opacity:.88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-guest-feed-title{display:flex;align-items:end;justify-content:space-between;padding:3px 4px}.tmc-guest-feed-title h2{font-size:18px;margin:0}.tmc-guest-feed-title p{font-size:10px;color:#768197;margin:2px 0 0}.tmc-guest-feed-title>a{font-size:10px;font-weight:750;color:#123f94}
.tmc-guest-public-feed{display:grid;gap:14px}.tmc-guest-post-card{background:#fff;border:1px solid #e5eaf3;border-radius:19px;overflow:hidden}.tmc-guest-post-head{display:grid;grid-template-columns:42px minmax(0,1fr) 30px;gap:10px;align-items:center;padding:14px 15px 7px}.tmc-guest-post-head img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#eef2f7}.tmc-guest-post-head b{display:block;font-size:12px}.tmc-guest-post-head small{display:block;color:#7a8598;font-size:9px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-guest-post-open{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#7c8799}.tmc-guest-post-open:hover{background:#f4f6fa;color:#123f94}.tmc-guest-post-copy{display:block;padding:6px 15px 12px;font-size:12.5px;line-height:1.55;color:#26324a}.tmc-guest-post-media{display:block;max-height:520px;overflow:hidden;background:#eef2f7}.tmc-guest-post-media img{width:100%;max-height:520px;object-fit:contain;background:#eef2f7}.tmc-guest-post-meta{height:38px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;color:#7b8699;font-size:9.5px;border-bottom:1px solid #edf0f5}.tmc-guest-post-actions{display:grid;grid-template-columns:repeat(4,1fr);padding:5px 8px}.tmc-guest-post-actions a{height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;color:#47546c;font-weight:650}.tmc-guest-post-actions a:hover{background:#f5f7fb;color:#123f94}.tmc-guest-feed-empty{background:#fff;border:1px solid #e5eaf3;border-radius:19px;text-align:center;padding:36px}.tmc-guest-feed-empty>i{font-size:24px;color:#8da0be}.tmc-guest-feed-empty b,.tmc-guest-feed-empty span{display:block}.tmc-guest-feed-empty b{font-size:14px;margin-top:8px}.tmc-guest-feed-empty span{font-size:10px;color:#7c8799}.tmc-guest-feed-empty a{display:inline-block;margin-top:11px;color:#123f94;font-size:10px;font-weight:750}
.tmc-guest-people-list,.tmc-guest-inspiration-list,.tmc-guest-discover-list{display:grid;gap:5px}.tmc-guest-people-list>a{display:grid;grid-template-columns:36px minmax(0,1fr) 12px;gap:8px;align-items:center;padding:5px 2px}.tmc-guest-people-list img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#edf1f6}.tmc-guest-people-list b,.tmc-guest-discover-list b{display:block;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-guest-people-list small,.tmc-guest-discover-list small{display:block;font-size:8.5px;color:#7b8799;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmc-guest-people-list i{font-size:8px;color:#a1a9b8}
.tmc-guest-inspiration-list>a{display:grid;grid-template-columns:55px minmax(0,1fr);gap:8px;align-items:center;padding:5px 0}.tmc-guest-inspiration-list img{width:55px;height:40px;border-radius:8px;object-fit:cover}.tmc-guest-inspiration-list em{font-style:normal;font-size:7.5px;font-weight:800;color:#1557f5;text-transform:uppercase}.tmc-guest-inspiration-list b{display:block;font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmc-guest-discover-list>a{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;align-items:center;padding:5px 0}.tmc-guest-discover-list>a>img{width:38px;height:38px;border-radius:9px;object-fit:contain;background:#fff;border:1px solid #edf0f5;padding:3px}.tmc-guest-discover-list>a>span{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;background:#eaf8f2;color:#12a36d}.tmc-guest-right-cta{background:linear-gradient(135deg,#123f94,#315eb6);color:#fff;border-color:transparent}.tmc-guest-right-cta b{font-size:13px}.tmc-guest-right-cta p{font-size:9.5px;opacity:.88;line-height:1.5;margin:5px 0 10px}.tmc-guest-right-cta a{display:inline-flex;background:#fff;color:#123f94;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:800}

/* Explore hub polish */
.tmc-explore-page{padding-top:18px;background:#f8faff}.tmc-explore-tabs{display:flex;gap:7px;overflow:auto;padding:0 0 14px;scrollbar-width:none}.tmc-explore-tabs::-webkit-scrollbar{display:none}.tmc-explore-tabs a{flex:0 0 auto;padding:8px 13px;border-radius:999px;border:1px solid #e1e7f0;background:#fff;font-size:10px;font-weight:700;color:#536079}.tmc-explore-tabs a.active{background:#123f94;border-color:#123f94;color:#fff}.tmc-explore-query-row{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e5eaf3;border-radius:13px;padding:10px 13px;margin-bottom:14px;font-size:10px;color:#5f6b81}.tmc-explore-query-row a{color:#123f94;font-weight:750}.tmc-explore-section{box-shadow:none}.tmc-explore-person{position:relative;overflow:hidden;transition:border-color .15s}.tmc-explore-person:hover{border-color:#ccd8ea}.tmc-explore-person em{display:inline-flex;margin-top:7px;padding:4px 8px;border-radius:999px;background:#f2f5fb;color:#315a9e;font-style:normal;font-size:7.5px;font-weight:750}.tmc-explore-card{transition:none}.tmc-explore-card:hover{box-shadow:none;transform:none}.tmc-explore-company-grid>a:hover{border-color:#cfd9e8}.tmc-explore-empty{background:#fff;border:1px solid #e5eaf3;border-radius:20px;text-align:center;padding:48px 20px}.tmc-explore-empty>span{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;background:#eff4ff;color:#1557f5;margin:0 auto}.tmc-explore-empty h2{font-size:18px;margin:10px 0 2px}.tmc-explore-empty p{font-size:10px;color:#7b8799;margin:0}.tmc-explore-empty a{display:inline-block;margin-top:12px;color:#123f94;font-size:10px;font-weight:750}.tmc-explore-join{background:linear-gradient(135deg,#fff,#f3f7ff);border:1px solid #dde6f3;border-radius:20px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px}.tmc-explore-join>div:first-child{display:flex;align-items:center;gap:12px}.tmc-explore-join>div:first-child>span{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#e9f1ff;color:#1557f5}.tmc-explore-join h2{font-size:15px;margin:0}.tmc-explore-join p{font-size:9.5px;color:#6f7a8e;margin:2px 0 0}.tmc-explore-join>div:last-child{display:flex;align-items:center;gap:8px}.tmc-explore-join>div:last-child>a:first-child{font-size:10px;font-weight:750;color:#123f94}.tmc-explore-join .btn{min-height:36px;font-size:10px}

@media(max-width:1180px){.tmc-guest-home-grid{grid-template-columns:200px minmax(0,1fr) 260px}.tmc-guest-hero-card{grid-template-columns:1fr 270px}.tmc-guest-hero-copy h1{font-size:29px}}
@media(max-width:980px){.tmc-guest-home-grid{grid-template-columns:1fr}.tmc-guest-left,.tmc-guest-right{position:static}.tmc-guest-left{display:none}.tmc-guest-right{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-guest-right-cta{grid-column:1/-1}.tmc-guest-center{max-width:850px;margin:0 auto;width:100%}}
@media(max-width:760px){.tmc-guest-home{padding:8px 0 86px}.tmc-guest-home-grid{width:min(100%,calc(100% - 18px));}.tmc-guest-hero-card{grid-template-columns:1fr;padding:17px;min-height:0}.tmc-guest-hero-copy h1{font-size:28px}.tmc-guest-hero-art{height:190px}.tmc-guest-mix-row{display:flex;overflow:auto;scrollbar-width:none}.tmc-guest-mix-row::-webkit-scrollbar{display:none}.tmc-guest-mix-card{flex:0 0 145px}.tmc-guest-right{grid-template-columns:1fr}.tmc-guest-right-cta{grid-column:auto}.tmc-guest-post-actions a{font-size:0}.tmc-guest-post-actions a i{font-size:14px}.tmc-explore-join{display:block}.tmc-explore-join>div:last-child{margin-top:12px}.tmc-explore-hero form{height:44px}}

/* Phase 6A moderation feedback */
.tmc-moderation-reason{display:flex;gap:9px;align-items:flex-start;margin:8px 0 12px;padding:9px 10px;border:1px solid #ffd8d8;background:#fff5f5;color:#9e3f3f;border-radius:10px;font-size:12px;line-height:1.45}.tmc-moderation-reason>i{margin-top:2px}.tmc-moderation-reason span{display:grid;gap:2px}.tmc-moderation-reason b{font-size:11px;color:#813535}


/* ===== TripMates legal pages: privacy / terms / cookies ===== */
body.tmc-legal-page{background:#f8faff;color:#0d1b3f}
.tmc-legal-shell{padding:30px 0 54px}
.tmc-legal-container{max-width:1220px}
.tmc-legal-hero{position:relative;overflow:hidden;padding:34px 38px;border:1px solid #dde5f1;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f6f8ff 62%,#eef3ff 100%);margin-bottom:18px}
.tmc-legal-hero:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-75px;top:-95px;background:radial-gradient(circle,#dfe8ff 0%,rgba(223,232,255,.12) 68%,transparent 70%)}
.tmc-legal-kicker{display:inline-flex;align-items:center;gap:8px;color:#2348b7;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.tmc-legal-hero h1{font-size:38px;line-height:1.1;margin:0 0 12px;color:#091a43;letter-spacing:-.035em}
.tmc-legal-hero>p{max-width:780px;font-size:15px;line-height:1.75;color:#586985;margin:0}
.tmc-legal-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;color:#75819a;font-size:12px;font-weight:600}
.tmc-legal-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;align-items:start}
.tmc-legal-toc{position:sticky;top:86px;border:1px solid #dde5f1;border-radius:18px;background:#fff;padding:18px;display:flex;flex-direction:column;gap:3px}
.tmc-legal-toc>b{font-size:13px;margin:0 0 8px;color:#0d1b3f}
.tmc-legal-toc a{display:block;padding:7px 9px;border-radius:9px;color:#596984;font-size:12px;line-height:1.3;text-decoration:none}
.tmc-legal-toc a:hover{background:#f3f6ff;color:#1f46b4}
.tmc-legal-content{border:1px solid #dde5f1;border-radius:20px;background:#fff;padding:10px 34px 34px;min-width:0}
.tmc-legal-content section{scroll-margin-top:88px;padding:26px 0;border-bottom:1px solid #edf1f7}
.tmc-legal-content section:last-of-type{border-bottom:0}
.tmc-legal-content h2{font-size:21px;line-height:1.3;margin:0 0 13px;color:#0b1a40;letter-spacing:-.015em}
.tmc-legal-content h3{font-size:15px;margin:20px 0 8px;color:#1b2b51}
.tmc-legal-content p,.tmc-legal-content li{font-size:13.5px;line-height:1.78;color:#50607b}
.tmc-legal-content p{margin:0 0 12px}
.tmc-legal-content ul,.tmc-legal-content ol{margin:8px 0 12px;padding-left:22px}
.tmc-legal-content li+li{margin-top:5px}
.tmc-legal-content a{color:#1749c7;text-decoration:none;font-weight:600}
.tmc-legal-content a:hover{text-decoration:underline}
.tmc-legal-content code{font-size:12px;background:#f2f5fb;border:1px solid #e4eaf5;padding:2px 6px;border-radius:6px;color:#28395e}
.tmc-legal-callout{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;border:1px solid #d9e4ff;background:#f5f8ff;border-radius:14px;margin:12px 0 15px}
.tmc-legal-callout>i{font-size:20px;color:#4285f4;margin-top:2px}
.tmc-legal-callout div{display:flex;flex-direction:column;gap:3px}
.tmc-legal-callout b{font-size:13px;color:#17336f}
.tmc-legal-callout span{font-size:12px;color:#687895;line-height:1.55}
.tmc-legal-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 16px}
.tmc-legal-contact-grid>a{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #e2e8f2;border-radius:13px;background:#fbfcff;text-decoration:none!important;min-width:0}
.tmc-legal-contact-grid>a>i{width:32px;height:32px;border-radius:9px;background:#edf3ff;color:#2049ba;display:grid;place-items:center;flex:0 0 auto}
.tmc-legal-contact-grid span{display:flex;flex-direction:column;gap:2px;min-width:0;color:#53637e;font-size:11px;overflow-wrap:anywhere}
.tmc-legal-contact-grid b{font-size:12px;color:#17294f}
.tmc-legal-related{margin-top:12px;padding:18px;border-radius:14px;background:#f7f9fd;display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap}
.tmc-legal-related>b{font-size:12px;color:#2a3b60;margin-right:auto}
.tmc-legal-related>a{font-size:12px;display:inline-flex;align-items:center;gap:7px}
.tmc-legal-table-wrap{overflow:auto;border:1px solid #e2e8f1;border-radius:13px;margin:12px 0 15px}
.tmc-legal-table{width:100%;border-collapse:collapse;min-width:680px;background:#fff}
.tmc-legal-table th,.tmc-legal-table td{text-align:left;vertical-align:top;padding:13px 14px;border-bottom:1px solid #edf1f6;color:#52617a;font-size:12px;line-height:1.55}
.tmc-legal-table th{background:#f7f9fd;color:#1e3158;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.tmc-legal-table tr:last-child td{border-bottom:0}
.tmc-legal-table td>b{display:block;color:#243758;margin-bottom:3px}
.tmc-legal-table td>small{display:block;color:#8390a6;font-size:10.5px;line-height:1.45}
@media(max-width:900px){
  .tmc-legal-shell{padding:16px 0 34px}.tmc-legal-hero{padding:25px 22px;border-radius:17px}.tmc-legal-hero h1{font-size:30px}.tmc-legal-layout{display:block}.tmc-legal-toc{position:relative;top:auto;margin-bottom:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.tmc-legal-toc>b{grid-column:1/-1}.tmc-legal-content{padding:4px 20px 24px;border-radius:17px}.tmc-legal-contact-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .tmc-legal-hero{padding:22px 18px}.tmc-legal-hero h1{font-size:27px}.tmc-legal-hero>p{font-size:13px}.tmc-legal-toc{grid-template-columns:1fr}.tmc-legal-content{padding:2px 16px 22px}.tmc-legal-content section{padding:22px 0}.tmc-legal-content h2{font-size:19px}.tmc-legal-content p,.tmc-legal-content li{font-size:13px}.tmc-legal-related{align-items:flex-start;flex-direction:column;gap:10px}.tmc-legal-related>b{margin-right:0}
}


/* Phase 6D.1 — Google OAuth branding/homepage purpose verification */
.tmc-guest-hero-copy h1 strong{font:inherit;color:#0d2148;font-weight:800}
.tmc-guest-purpose-points{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px!important;margin:0 0 15px!important}
.tmc-guest-purpose-points span{min-width:0;display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #e8edf6;border-radius:10px;background:#f8faff;color:#43516b;font-size:9.5px;font-weight:650;line-height:1.25}
.tmc-guest-purpose-points i{width:14px;text-align:center;color:#1557f5}
.tmc-guest-hero-actions{display:flex!important;gap:9px!important;margin:0!important}
@media(max-width:760px){.tmc-guest-purpose-points{grid-template-columns:1fr}.tmc-guest-hero-actions{flex-direction:column}}

/* Google OAuth brand-verification public application homepage */
body.tmc-about-page{background:#f8faff;color:#0d1b3f}
.tmc-about-shell{padding:24px 0 52px}
.tmc-about-container{max-width:1180px}
.tmc-about-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:center;padding:40px;border:1px solid #dfe6f2;border-radius:24px;background:#fff;overflow:hidden}
.tmc-about-kicker{display:inline-flex;align-items:center;gap:8px;color:#2457d6;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.tmc-about-copy h1{font-size:48px;line-height:1.02;letter-spacing:-.04em;color:#091b46;margin:12px 0 5px}
.tmc-about-copy h2{font-size:25px;line-height:1.2;letter-spacing:-.02em;color:#293b66;margin:0 0 16px}
.tmc-about-copy>p{max-width:720px;font-size:15px;line-height:1.75;color:#566783;margin:0}
.tmc-about-actions{display:flex;gap:10px;margin-top:22px}.tmc-about-actions .btn{min-height:42px;padding:0 18px}
.tmc-about-brand-card{min-height:250px;border-radius:20px;background:linear-gradient(145deg,#eef3ff,#fff 62%,#fff3e8);border:1px solid #e0e7f4;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px}
.tmc-about-brand-card img{width:min(230px,92%);height:auto;object-fit:contain;margin-bottom:18px}.tmc-about-brand-card b{font-size:25px;color:#0d2148}.tmc-about-brand-card span{font-size:12px;color:#6f7d96;margin-top:5px}
.tmc-about-purpose,.tmc-about-trust{margin-top:18px;padding:32px;border:1px solid #dfe6f2;border-radius:22px;background:#fff}
.tmc-about-section-head>span{display:block;color:#2457d6;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}.tmc-about-section-head h2{font-size:27px;line-height:1.2;margin:0;color:#0d2148}.tmc-about-section-head p{font-size:13.5px;line-height:1.65;color:#64748d;margin:9px 0 0;max-width:760px}
.tmc-about-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.tmc-about-feature-grid article{display:flex;gap:14px;align-items:flex-start;border:1px solid #e3e9f3;border-radius:16px;padding:18px;background:#fbfcff}.tmc-about-feature-grid article>i{width:40px;height:40px;border-radius:12px;background:#edf3ff;color:#2457d6;display:grid;place-items:center;flex:0 0 auto}.tmc-about-feature-grid h3{font-size:15px;margin:0 0 5px;color:#10244d}.tmc-about-feature-grid p{font-size:12.5px;line-height:1.6;color:#66768f;margin:0}
.tmc-about-trust-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.tmc-about-trust-links>a{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #e2e8f2;border-radius:14px;background:#fbfcff;color:inherit;text-decoration:none}.tmc-about-trust-links>a>i{width:36px;height:36px;border-radius:10px;background:#eef3ff;color:#2457d6;display:grid;place-items:center;flex:0 0 auto}.tmc-about-trust-links span{display:flex;flex-direction:column;gap:3px}.tmc-about-trust-links b{font-size:13px;color:#14284e}.tmc-about-trust-links small{font-size:11px;line-height:1.45;color:#78869d}
@media(max-width:860px){.tmc-about-hero{grid-template-columns:1fr;padding:28px}.tmc-about-brand-card{min-height:190px}.tmc-about-copy h1{font-size:40px}.tmc-about-feature-grid{grid-template-columns:1fr}}
@media(max-width:600px){.tmc-about-shell{padding:12px 0 92px}.tmc-about-container{width:min(100%,calc(100% - 18px))}.tmc-about-hero,.tmc-about-purpose,.tmc-about-trust{padding:20px;border-radius:17px}.tmc-about-copy h1{font-size:34px}.tmc-about-copy h2{font-size:20px}.tmc-about-copy>p{font-size:13.5px}.tmc-about-actions{flex-direction:column}.tmc-about-trust-links{grid-template-columns:1fr}}

/* =========================================================
   Global Typography Standardization — Phase 6E
   One readable type scale across public, authenticated and auth pages.
   ========================================================= */
:root{
  --tmc-type-body:15px;
  --tmc-type-ui:13.5px;
  --tmc-type-small:12px;
  --tmc-type-meta:11px;
  --tmc-type-label:13px;
  --tmc-type-card-title:14px;
  --tmc-type-section:18px;
  --tmc-type-page:30px;
  --tmc-text-main:#27324a;
  --tmc-text-muted:#667085;
  --tmc-text-heading:#0b1530;
}

html,body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body{font-size:var(--tmc-type-body)!important;line-height:1.6;color:var(--tmc-text-main)!important}
h1,h2,h3,h4,h5,h6{color:var(--tmc-text-heading)}
p,li,dd,dt{line-height:1.6}
.muted{color:var(--tmc-text-muted)!important}
.small{font-size:var(--tmc-type-small)!important;line-height:1.5}
.tiny{font-size:11.5px!important;line-height:1.45}
small{font-size:var(--tmc-type-small)}

/* Core controls */
.btn{font-size:var(--tmc-type-ui);line-height:1.25}
.btn-sm{font-size:12.5px}
.field label{font-size:var(--tmc-type-label)!important;line-height:1.35;color:#34405a}
.field input,.field select,.field textarea,
input,select,textarea{font-size:14px;line-height:1.45;color:#27324a}
input::placeholder,textarea::placeholder{color:#98a2b3;opacity:1}
.badge{font-size:11.5px}
.section-heading h2{font-size:22px}.section-heading p{font-size:13px;color:var(--tmc-text-muted)}

/* Header / footer / navigation */
.header-search{font-size:13px;color:#667085}
.main-nav{font-size:14px}
.site-footer{font-size:12px;color:#667085}
.footer-links{font-size:12px}
.tmc-side-link,.sidebar a{font-size:13.5px}
.tmc-side-link em{font-size:10.5px}

/* Login / Signup / password screens */
.auth-left h1{font-size:40px;line-height:1.14}
.auth-left>p{font-size:15px!important;line-height:1.65;color:var(--tmc-text-muted)}
.auth-point h3{font-size:15px!important;line-height:1.35}
.auth-point p{font-size:13px!important;line-height:1.5}
.auth-testimonial{font-size:12.5px;line-height:1.5}
.auth-card h2{font-size:30px;line-height:1.2}
.auth-card>.muted{font-size:14px;line-height:1.55}
.auth-card .btn{font-size:13.5px}
.auth-or{font-size:13px}
.auth-page .small{font-size:13px!important}
.account-type b{font-size:13.5px!important}
.account-type span{font-size:12px!important;line-height:1.4}

/* Guest/public homepage */
.tmc-guest-side-card h3{font-size:15px!important}
.tmc-guest-side-head a{font-size:11.5px!important}
.tmc-guest-nav-card>a{font-size:13px!important}
.tmc-guest-join-card h3{font-size:17px!important}
.tmc-guest-join-card p{font-size:13px!important;line-height:1.6}
.tmc-guest-join-card .btn{font-size:13px!important}
.tmc-guest-login-link{font-size:12px!important}
.tmc-guest-mini-stats span{font-size:10.5px!important}
.tmc-guest-eyebrow{font-size:12px!important}
.tmc-guest-hero-copy p{font-size:14.5px!important;line-height:1.65}
.tmc-guest-hero-copy .btn{font-size:13px!important}
.tmc-guest-hero-art span{font-size:11.5px!important}
.tmc-guest-section-head b{font-size:14px!important}
.tmc-guest-section-head small{font-size:11px!important}
.tmc-guest-section-head>a{font-size:11.5px!important}
.tmc-guest-mix-card>em{font-size:9px!important}
.tmc-guest-mix-card b{font-size:12px!important}
.tmc-guest-mix-card small{font-size:10.5px!important}
.tmc-guest-feed-title h2{font-size:20px!important}
.tmc-guest-feed-title p{font-size:12px!important}
.tmc-guest-feed-title>a{font-size:11.5px!important}
.tmc-guest-post-head b{font-size:13.5px!important}
.tmc-guest-post-head small{font-size:11px!important}
.tmc-guest-post-copy{font-size:14px!important;line-height:1.62}
.tmc-guest-post-meta{font-size:11.5px!important}
.tmc-guest-purpose-points span{font-size:12px!important;line-height:1.4}

/* Feed rails and discovery content */
.tmc-feed-nav-card .tmc-side-link{font-size:13.5px!important}
.tmc-feed-nav-card .tmc-create-post{font-size:13px!important}
.tmc-feed-module-head>b{font-size:14px!important}
.tmc-feed-module-head>a{font-size:11.5px!important}
body.tmc-feed-page .tmc-feed-module-note{font-size:11.5px!important;line-height:1.45}
body.tmc-feed-page .tmc-feed-option-list em{font-size:9.5px!important}
body.tmc-feed-page .tmc-feed-option-list b{font-size:12px!important;line-height:1.3}
body.tmc-feed-page .tmc-feed-option-list small{font-size:10.5px!important;line-height:1.3}
.tmc-pulse-head b{font-size:15px!important}
.tmc-pulse-head span{font-size:11.5px!important}
.tmc-pulse-head>a{font-size:11.5px!important}
.tmc-pulse-card>em{font-size:9px!important}
.tmc-pulse-card .tmc-pulse-copy>b{font-size:12px!important;line-height:1.25}
.tmc-pulse-card .tmc-pulse-copy>small{font-size:10px!important;line-height:1.25}
.tmc-pulse-discover .tmc-pulse-copy>b{font-size:12.5px!important}
.tmc-pulse-discover .tmc-pulse-copy>small{font-size:10.5px!important;line-height:1.35}
.tmc-global-online-rail,.tmc-global-online-rail *{line-height:1.35}
.tmc-global-online-head{font-size:11.5px!important}
.tmc-global-online-person b{font-size:10.5px!important}
.tmc-global-online-view-all{font-size:10.5px!important}

/* Explore discovery hub */
.tmc-explore-hero>div>span{font-size:12px!important}
.tmc-explore-hero p{font-size:14px;line-height:1.6}
.tmc-explore-head h2{font-size:18px!important}
.tmc-explore-head p{font-size:12px!important}
.tmc-explore-head>a{font-size:11.5px!important}
.tmc-explore-person b{font-size:12.5px!important}
.tmc-explore-person small{font-size:10.5px!important}
.tmc-explore-card em{font-size:9px!important}
.tmc-explore-card b{font-size:13px!important}
.tmc-explore-card small{font-size:10.5px!important}
.tmc-explore-company-grid b{font-size:12.5px!important}
.tmc-explore-company-grid small{font-size:10.5px!important}

/* Common content detail/forms: keep small metadata readable without inflating badges. */
.tmc-sidebar-fact small{font-size:11px!important}
.tmc-sidebar-fact b{font-size:12.5px!important}
.tmc-community-about-card .link-blue,
.tmc-community-report-card summary{font-size:12px!important}
.tmc-community-report-card select,.tmc-community-report-card textarea{font-size:12.5px!important}
.tmc-member-role{font-size:10.5px!important}
.tmc-blog-kicker{font-size:12px!important}
.tmc-blog-section-head p{font-size:13px!important}
.tmc-blog-editor-form .field small,.tmc-blog-help{font-size:12px!important}
.tmc-blog-check small{font-size:12px!important}
.tmc-blog-review-note{font-size:12px!important}
.tmc-blog-comment-bubble small{font-size:10.5px!important}
.tmc-blog-comment-tools button{font-size:11.5px!important}
.tmc-blog-login-note{font-size:13px!important}
.tmc-company-reviews-toolbar p{font-size:13px!important}
.tmc-review-head small{font-size:11.5px!important}
.tmc-review-card-actions>a,.tmc-review-report-menu>summary{font-size:12px!important}
.tmc-company-review-form-v2 .field>small{font-size:11.5px!important}
.tmc-company-review-login-card p,.tmc-company-review-owner-note p{font-size:13px!important}
.tmc-package-enquiry-login-note{font-size:12.5px!important}

/* Legal/About already use larger editorial type; only align colors and microcopy. */
.tmc-legal-content p,.tmc-legal-content li{color:#50607b}
.tmc-legal-contact-grid span{font-size:11.5px!important}
.tmc-about-feature-grid p{font-size:13px!important}
.tmc-about-trust-links small{font-size:11.5px!important}

@media(max-width:760px){
  body{font-size:15px!important}
  input,select,textarea,.field input,.field select,.field textarea{font-size:16px!important}
  .main-nav{font-size:14px}
  .auth-left h1{font-size:32px}
  .auth-card h2{font-size:27px}
  .tmc-guest-hero-copy h1{font-size:30px}
  .tmc-pulse-card .tmc-pulse-copy>b{font-size:11.5px!important}
  .tmc-pulse-card .tmc-pulse-copy>small{font-size:9.5px!important}
}

/* Guest/Explore microcopy completion for the same global scale. */
.tmc-guest-people-list b,.tmc-guest-discover-list b{font-size:12px!important}
.tmc-guest-people-list small,.tmc-guest-discover-list small{font-size:10.5px!important}
.tmc-guest-people-list i{font-size:9.5px!important}
.tmc-guest-inspiration-list em{font-size:9px!important}
.tmc-guest-inspiration-list b{font-size:12px!important;line-height:1.3}
.tmc-guest-right-cta b{font-size:14px!important}
.tmc-guest-right-cta p{font-size:11.5px!important;line-height:1.55}
.tmc-guest-right-cta a{font-size:11.5px!important}
.tmc-explore-tabs a{font-size:12px!important}
.tmc-explore-query-row{font-size:12px!important}
.tmc-explore-person em{font-size:9px!important}
.tmc-explore-empty p{font-size:12px!important}
.tmc-explore-empty a{font-size:11.5px!important}
.tmc-explore-join h2{font-size:17px!important}
.tmc-explore-join p{font-size:12px!important}
.tmc-explore-join>div:last-child>a:first-child{font-size:12px!important}
.tmc-explore-join .btn{font-size:12.5px!important}
.tmc-moderation-reason{font-size:12.5px!important}.tmc-moderation-reason b{font-size:12px!important}

/* =========================================================
   Phase 6G.1 — Guest homepage mobile-first responsive polish
   Keeps desktop untouched; fixes the logged-out home on phones.
   ========================================================= */
@media (max-width: 760px){
  body.tmc-guest-home-page{
    overflow-x:hidden!important;
    padding-bottom:0!important;
    background:#f8faff!important;
  }

  /* Compact guest header: logo + search icon + auth actions only. */
  body.tmc-guest-home-page .site-header{
    height:64px!important;
    min-height:64px!important;
    position:sticky!important;
    top:0!important;
    z-index:7200!important;
    background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #e8ecf4!important;
  }
  body.tmc-guest-home-page .site-header .header-inner{
    width:100%!important;
    height:64px!important;
    padding:7px 12px!important;
    margin:0!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:7px!important;
  }
  body.tmc-guest-home-page .brand{
    width:142px!important;
    max-width:142px!important;
    flex:0 0 142px!important;
  }
  body.tmc-guest-home-page .brand img{
    width:100%!important;
    height:46px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  body.tmc-guest-home-page .main-nav{display:none!important}
  body.tmc-guest-home-page:not(.tmc-mobile-search-open) .tmc-header-search-wrap{display:none!important}
  body.tmc-guest-home-page .header-actions{
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    flex:0 0 auto!important;
  }
  body.tmc-guest-home-page .header-actions .tmc-mobile-search-trigger{
    display:grid!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border:0!important;
    border-radius:50%!important;
    place-items:center!important;
    background:#f3f6fb!important;
    color:#17305c!important;
    font-size:15px!important;
  }
  body.tmc-guest-home-page .header-actions>.btn{
    min-height:38px!important;
    height:38px!important;
    padding:0 12px!important;
    border-radius:10px!important;
    font-size:12.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-shadow:none!important;
    transform:none!important;
  }

  /* Search opens only when requested, as a clean full-screen sheet. */
  body.tmc-guest-home-page.tmc-mobile-search-open{overflow:hidden!important}
  body.tmc-guest-home-page.tmc-mobile-search-open .tmc-header-search-wrap{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100dvh!important;
    max-width:none!important;
    z-index:7600!important;
    background:#f8faff!important;
    padding:calc(10px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom))!important;
    overflow:auto!important;
  }
  body.tmc-guest-home-page.tmc-mobile-search-open .tmc-mobile-search-head{
    display:flex!important;
    height:42px!important;
    align-items:center!important;
    gap:11px!important;
    margin-bottom:9px!important;
  }
  body.tmc-guest-home-page.tmc-mobile-search-open .tmc-header-search-wrap .header-search{
    display:flex!important;
    width:100%!important;
    height:48px!important;
    border-radius:14px!important;
    background:#fff!important;
    border:1px solid #dfe6f0!important;
    padding:0 10px 0 14px!important;
  }
  body.tmc-guest-home-page.tmc-mobile-search-open .tmc-header-search-wrap .header-search input{
    height:46px!important;
    font-size:16px!important;
  }

  /* One clean mobile content lane. Desktop side rails do not squeeze in. */
  body.tmc-guest-home-page .tmc-guest-home{
    padding:10px 0 28px!important;
  }
  body.tmc-guest-home-page .tmc-guest-home-grid{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin:0 auto!important;
    display:block!important;
  }
  body.tmc-guest-home-page .tmc-guest-left,
  body.tmc-guest-home-page .tmc-guest-right{display:none!important}
  body.tmc-guest-home-page .tmc-guest-center{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    display:grid!important;
    gap:12px!important;
  }

  /* Hero is truly mobile-first and cannot create horizontal overflow. */
  body.tmc-guest-home-page .tmc-guest-hero-card{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
    padding:16px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-copy{
    width:100%!important;
    min-width:0!important;
  }
  body.tmc-guest-home-page .tmc-guest-eyebrow{
    font-size:11px!important;
    line-height:1.35!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-copy h1{
    width:100%!important;
    max-width:none!important;
    margin:8px 0 9px!important;
    font-size:28px!important;
    line-height:1.08!important;
    letter-spacing:-.75px!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-copy h1 strong,
  body.tmc-guest-home-page .tmc-guest-hero-copy h1 span{
    white-space:normal!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-copy p{
    width:100%!important;
    max-width:none!important;
    margin:0 0 13px!important;
    font-size:14px!important;
    line-height:1.55!important;
    color:#586985!important;
  }
  body.tmc-guest-home-page .tmc-guest-purpose-points{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:0 0 13px!important;
  }
  body.tmc-guest-home-page .tmc-guest-purpose-points span{
    min-height:52px!important;
    min-width:0!important;
    align-items:center!important;
    padding:8px!important;
    border-radius:11px!important;
    font-size:11.5px!important;
    line-height:1.25!important;
  }
  body.tmc-guest-home-page .tmc-guest-purpose-points i{
    flex:0 0 16px!important;
    width:16px!important;
    font-size:13px!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-actions .btn{
    width:100%!important;
    min-height:44px!important;
    margin:0!important;
    padding:10px 13px!important;
    font-size:13px!important;
    border-radius:11px!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-art{
    width:100%!important;
    height:180px!important;
    border-radius:14px!important;
    margin:0!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-art>div{
    left:12px!important;
    right:12px!important;
    bottom:10px!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-art b{font-size:15px!important}
  body.tmc-guest-home-page .tmc-guest-hero-art span{font-size:11px!important}

  /* Discovery row: intentionally swipeable, no page-wide overflow. */
  body.tmc-guest-home-page .tmc-guest-discovery-strip{
    width:100%!important;
    min-width:0!important;
    padding:12px!important;
    border-radius:17px!important;
    overflow:hidden!important;
  }
  body.tmc-guest-home-page .tmc-guest-section-head{
    align-items:flex-start!important;
    gap:10px!important;
    margin-bottom:10px!important;
  }
  body.tmc-guest-home-page .tmc-guest-section-head>div{min-width:0!important}
  body.tmc-guest-home-page .tmc-guest-section-head small{
    max-width:230px!important;
    line-height:1.35!important;
  }
  body.tmc-guest-home-page .tmc-guest-mix-row{
    width:100%!important;
    display:flex!important;
    gap:9px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:1px 1px 4px!important;
    scroll-snap-type:x proximity!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.tmc-guest-home-page .tmc-guest-mix-card{
    flex:0 0 154px!important;
    width:154px!important;
    height:154px!important;
    border-radius:13px!important;
    scroll-snap-align:start!important;
  }

  /* Public feed stays readable and contained on phones. */
  body.tmc-guest-home-page .tmc-guest-feed-title{
    width:100%!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    padding:5px 2px 1px!important;
  }
  body.tmc-guest-home-page .tmc-guest-feed-title>div{min-width:0!important;flex:1!important}
  body.tmc-guest-home-page .tmc-guest-feed-title h2{
    font-size:19px!important;
    line-height:1.2!important;
  }
  body.tmc-guest-home-page .tmc-guest-feed-title p{
    font-size:11.5px!important;
    line-height:1.4!important;
  }
  body.tmc-guest-home-page .tmc-guest-feed-title>a{
    flex:0 0 auto!important;
    margin-top:2px!important;
    font-size:11px!important;
  }
  body.tmc-guest-home-page .tmc-guest-public-feed{
    width:100%!important;
    min-width:0!important;
    gap:10px!important;
  }
  body.tmc-guest-home-page .tmc-guest-post-card{
    width:100%!important;
    min-width:0!important;
    border-radius:17px!important;
    overflow:hidden!important;
  }
  body.tmc-guest-home-page .tmc-guest-post-head{
    grid-template-columns:38px minmax(0,1fr) 30px!important;
    gap:9px!important;
    padding:12px 12px 6px!important;
  }
  body.tmc-guest-home-page .tmc-guest-post-head img{width:38px!important;height:38px!important}
  body.tmc-guest-home-page .tmc-guest-post-copy{
    padding:6px 12px 11px!important;
    font-size:14px!important;
    line-height:1.55!important;
    overflow-wrap:anywhere!important;
  }
  body.tmc-guest-home-page .tmc-guest-post-media,
  body.tmc-guest-home-page .tmc-guest-post-media img{
    width:100%!important;
    max-width:100%!important;
    max-height:72vh!important;
  }
  body.tmc-guest-home-page .tmc-guest-post-meta{padding:0 12px!important;font-size:11px!important}
  body.tmc-guest-home-page .tmc-guest-post-actions{padding:5px 6px!important}
  body.tmc-guest-home-page .tmc-guest-post-actions a{font-size:0!important;min-width:0!important}
  body.tmc-guest-home-page .tmc-guest-post-actions a i{font-size:15px!important}

  body.tmc-guest-home-page .site-footer{
    height:auto!important;
    min-height:44px!important;
  }
  body.tmc-guest-home-page .footer-inner{
    min-height:44px!important;
    padding:8px 0!important;
    gap:8px!important;
    flex-wrap:wrap!important;
  }
}

@media (max-width: 390px){
  body.tmc-guest-home-page .site-header .header-inner{padding-left:9px!important;padding-right:9px!important}
  body.tmc-guest-home-page .brand{width:126px!important;max-width:126px!important;flex-basis:126px!important}
  body.tmc-guest-home-page .header-actions>.btn{padding:0 9px!important;font-size:11.5px!important}
  body.tmc-guest-home-page .header-actions .tmc-mobile-search-trigger{width:36px!important;height:36px!important;min-width:36px!important}
  body.tmc-guest-home-page .tmc-guest-home-grid{width:calc(100% - 14px)!important}
  body.tmc-guest-home-page .tmc-guest-hero-card{padding:14px!important}
  body.tmc-guest-home-page .tmc-guest-hero-copy h1{font-size:26px!important}
  body.tmc-guest-home-page .tmc-guest-purpose-points{grid-template-columns:1fr!important}
  body.tmc-guest-home-page .tmc-guest-purpose-points span{min-height:42px!important}
}


/* ===== Phase 6G.2: mobile guest home final containment + blog hero title ===== */
.tmc-blogs-hero-overlay h1{color:#fff!important}

@media (max-width:760px){
  html,body.tmc-guest-home-page{max-width:100%;overflow-x:hidden!important}
  body.tmc-guest-home-page .tmc-mobile-app-menu-trigger,
  body.tmc-guest-home-page .tmc-mobile-bottom-nav,
  body.tmc-guest-home-page .tmc-mobile-app-drawer,
  body.tmc-guest-home-page .tmc-mobile-app-backdrop{display:none!important}

  body.tmc-guest-home-page .site-header{width:100%!important;max-width:100%!important}
  body.tmc-guest-home-page .site-header .header-inner{
    width:100%!important;max-width:100%!important;margin:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;overflow:visible!important;
  }
  body.tmc-guest-home-page .brand{min-width:0!important;max-width:138px!important;width:138px!important;flex:0 1 138px!important}
  body.tmc-guest-home-page .brand img{display:block!important;width:100%!important;max-width:138px!important;height:auto!important}
  body.tmc-guest-home-page .header-actions{justify-self:end!important;min-width:0!important;gap:6px!important;white-space:nowrap!important}
  body.tmc-guest-home-page .header-actions>.btn{min-width:0!important;height:38px!important;padding:0 10px!important;font-size:12px!important;border-radius:10px!important}
  body.tmc-guest-home-page .header-actions .tmc-mobile-search-trigger{width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important}

  body.tmc-guest-home-page .tmc-guest-home{width:100%!important;padding:10px 0 30px!important;overflow:visible!important}
  body.tmc-guest-home-page .tmc-guest-home-grid{width:calc(100% - 20px)!important;max-width:600px!important;margin:0 auto!important;padding:0!important}
  body.tmc-guest-home-page .tmc-guest-center{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}

  body.tmc-guest-home-page .tmc-guest-hero-card{
    width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;padding:16px!important;gap:14px!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-copy,
  body.tmc-guest-home-page .tmc-guest-hero-copy>*{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.tmc-guest-home-page .tmc-guest-hero-copy h1{
    font-size:clamp(25px,7vw,29px)!important;line-height:1.12!important;
    letter-spacing:-.55px!important;white-space:normal!important;overflow:visible!important;
    text-wrap:balance!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  body.tmc-guest-home-page .tmc-guest-hero-copy h1 strong,
  body.tmc-guest-home-page .tmc-guest-hero-copy h1 span{display:inline!important;white-space:normal!important}
  body.tmc-guest-home-page .tmc-guest-hero-copy p{font-size:15px!important;line-height:1.55!important;overflow-wrap:break-word!important}
  body.tmc-guest-home-page .tmc-guest-purpose-points{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.tmc-guest-home-page .tmc-guest-purpose-points span{width:100%!important;min-height:50px!important;font-size:12px!important;line-height:1.3!important;overflow-wrap:break-word!important}
  body.tmc-guest-home-page .tmc-guest-hero-actions{width:100%!important;grid-template-columns:1fr!important}
  body.tmc-guest-home-page .tmc-guest-hero-actions .btn{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;font-size:13px!important}
  body.tmc-guest-home-page .tmc-guest-hero-art{width:100%!important;height:auto!important;aspect-ratio:16/9!important;min-height:0!important;overflow:hidden!important}
  body.tmc-guest-home-page .tmc-guest-hero-art>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}

  body.tmc-guest-home-page .tmc-guest-discovery-strip,
  body.tmc-guest-home-page .tmc-guest-post-card{max-width:100%!important;box-sizing:border-box!important}
  body.tmc-guest-home-page .tmc-guest-mix-row{overscroll-behavior-inline:contain!important;scrollbar-width:none!important}
  body.tmc-guest-home-page .tmc-guest-mix-row::-webkit-scrollbar{display:none!important}
  body.tmc-guest-home-page .tmc-guest-post-media{overflow:hidden!important}
  body.tmc-guest-home-page .tmc-guest-post-media img{display:block!important;height:auto!important;object-fit:contain!important}

  .tmc-blogs-hero-overlay h1{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.28)}
}

@media (max-width:390px){
  body.tmc-guest-home-page .brand{width:118px!important;max-width:118px!important;flex-basis:118px!important}
  body.tmc-guest-home-page .brand img{max-width:118px!important}
  body.tmc-guest-home-page .header-actions>.btn{padding:0 8px!important;font-size:11.5px!important}
  body.tmc-guest-home-page .header-actions .tmc-mobile-search-trigger{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important}
  body.tmc-guest-home-page .tmc-guest-home-grid{width:calc(100% - 14px)!important}
  body.tmc-guest-home-page .tmc-guest-purpose-points{grid-template-columns:1fr!important}
  body.tmc-guest-home-page .tmc-guest-purpose-points span{min-height:42px!important}
}

/* ===== Phase 6G.3: blog detail hero title contrast ===== */
.tmc-blog-detail-hero h1,
.tmc-blog-detail-hero-copy h1{
  color:#fff!important;
  text-shadow:0 2px 14px rgba(0,0,0,.28)!important;
}
