/* Trato Local Core 0.2.7 — interfaz pública y área de usuario */
:root{
  --tl-red:#e22f37;
  --tl-red-dark:#bd2028;
  --tl-navy:#10283f;
  --tl-navy-2:#164f7f;
  --tl-blue:#1769e0;
  --tl-gold:#f4c13f;
  --tl-green:#1f9d63;
  --tl-bg:#f5f7fb;
  --tl-surface:#fff;
  --tl-text:#172231;
  --tl-muted:#667085;
  --tl-border:#dfe5ec;
  --tl-shadow:0 18px 48px rgba(15,40,63,.09);
  --tl-shadow-soft:0 8px 24px rgba(15,40,63,.06);
}

/* Base refinements */
.tl-panel,.tl-card{box-shadow:var(--tl-shadow-soft)}
.tl-panel h2,.tl-card h2{letter-spacing:-.025em}
.tl-btn{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.tl-btn:hover{transform:translateY(-1px)}
.tl-btn--primary{box-shadow:0 8px 18px rgba(226,47,55,.2)}
.tl-skeleton{padding:1.25rem;color:var(--tl-muted);text-align:center}
.tl-nav-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:auto;border-radius:999px;background:var(--tl-red);color:#fff;font-size:.72rem;font-weight:900}

/* Authentication */
.tl-auth-intro{max-width:720px;margin:0 0 1.25rem}
.tl-auth-intro h2{font-size:clamp(1.8rem,4vw,2.7rem);margin:.2rem 0 .5rem}
.tl-auth-intro p{color:var(--tl-muted);font-size:1.05rem}
.tl-auth-grid{align-items:start}
.tl-auth-grid .tl-card{padding:clamp(1.15rem,3vw,1.65rem)}
.tl-auth-grid h2{margin-top:0}
.tl-auth-grid--register-first .tl-auth-register{grid-column:1;grid-row:1}
.tl-auth-grid--register-first .tl-auth-login{grid-column:2;grid-row:1}
.tl-auth-resend{margin-top:1rem;box-shadow:none}
.tl-auth-resend summary{cursor:pointer;font-weight:800}
.tl-auth-success{text-align:center;padding:2rem}

/* Área de usuario */
.tl-account-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start;margin:8px 0 56px}
.tl-account-sidebar{position:sticky;top:94px;min-width:0;padding:14px;border:1px solid var(--tl-border);border-radius:20px;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);box-shadow:var(--tl-shadow-soft)}
.tl-account-sidebar__brand{display:grid;gap:2px;padding:8px 10px 16px;border-bottom:1px solid var(--tl-border);margin-bottom:10px}
.tl-account-sidebar__brand strong{font-size:1.2rem;color:var(--tl-navy)}
.tl-account-sidebar__brand small{color:var(--tl-muted);font-weight:800;letter-spacing:.04em}
.tl-account-nav{display:flex;flex-direction:column;gap:4px}
.tl-account-nav a{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 11px;border-radius:12px;color:#2b3a4e;text-decoration:none;font-weight:780;transition:.16s}
.tl-account-nav a:hover{background:#f2f5f9;color:var(--tl-navy)}
.tl-account-nav a.is-active,.tl-account-nav a[aria-current=page]{background:#fff0f1;color:var(--tl-red);box-shadow:inset 3px 0 0 var(--tl-red)}
.tl-nav-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#edf2f7;color:var(--tl-navy);font-weight:900;font-size:.85rem}
.tl-account-nav a.is-active .tl-nav-icon{background:#ffdfe1;color:var(--tl-red)}
.tl-account-content{min-width:0}
.tl-account-content>:first-child{margin-top:0}
.tl-dashboard__hero{padding:1.4rem;border:1px solid var(--tl-border);border-radius:20px;background:linear-gradient(135deg,#fff 0%,#fff7f7 100%);box-shadow:var(--tl-shadow-soft)}
.tl-dashboard__hero h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:.15rem 0 .3rem}
.tl-dashboard__hero p{margin:0;color:var(--tl-muted)}
.tl-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tl-stat{min-height:96px;justify-content:center;transition:.16s}
.tl-stat:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:var(--tl-shadow-soft)}
.tl-stat strong{font-size:1.65rem;color:var(--tl-navy)}
.tl-setting-row--stack{align-items:flex-start}
.tl-profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:1.2rem}
.tl-profile-summary>div{display:grid;gap:4px;padding:1rem;border:1px solid var(--tl-border);border-radius:14px;background:#fafbfd}

/* Home */
.tl-home-hero--020{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.75fr);gap:20px;margin:18px 0 22px}
.tl-home-hero__copy{padding:clamp(1.4rem,4vw,3rem);border:1px solid #f0dfe1;border-radius:28px;background:radial-gradient(circle at 95% 5%,rgba(244,193,63,.25),transparent 32%),linear-gradient(145deg,#fff 0%,#fff7f8 100%);box-shadow:var(--tl-shadow)}
.tl-home-hero__copy h1{max-width:780px;margin:.25rem 0 .75rem;color:var(--tl-navy);font-size:clamp(2.2rem,5vw,4.4rem);line-height:.98;letter-spacing:-.055em}
.tl-home-hero__copy>p{max-width:760px;color:#526173;font-size:1.08rem}
.tl-home-search{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:10px;margin:1.35rem 0 .75rem;padding:8px;border:1px solid #d9e1e9;border-radius:16px;background:#fff;box-shadow:0 12px 28px rgba(15,40,63,.08)}
.tl-home-search input,.tl-home-search select{min-width:0;border:0;background:transparent;padding:.75rem;font:inherit;color:var(--tl-text)}
.tl-home-search input:focus,.tl-home-search select:focus{outline:0}
.tl-search-chips{display:flex;flex-wrap:wrap;gap:7px;margin:.65rem 0 1rem}
.tl-search-chips a{padding:6px 10px;border-radius:999px;background:#f1f4f8;color:#455468;text-decoration:none;font-size:.82rem;font-weight:750}
.tl-search-chips a:hover{background:#e8edf3;color:var(--tl-navy)}
.tl-home-hero__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tl-home-hero__actions>span{font-size:.88rem;color:var(--tl-muted)}
.tl-home-trust--020{display:flex;flex-direction:column;gap:12px;padding:clamp(1.25rem,3vw,2rem);border-radius:28px;background:linear-gradient(160deg,#0e3354,#155789);color:#fff;box-shadow:var(--tl-shadow)}
.tl-home-trust--020 .tl-kicker{color:#ffd866}
.tl-home-trust--020 h2{margin:0;font-size:1.55rem;line-height:1.15}
.tl-home-trust--020 ul{display:grid;gap:8px;margin:0;padding-left:1.15rem;color:#e9f4ff}
.tl-home-trust--020 small{color:#c7d9e9}
.tl-trust-icon{font-size:2.4rem}
.tl-home-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
.tl-home-mini-stats>div{display:grid;padding:10px;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:rgba(255,255,255,.08)}
.tl-home-mini-stats strong{font-size:1.35rem}.tl-home-mini-stats span{font-size:.75rem;color:#d8e7f4}
.tl-home-highlight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 40px}
.tl-home-highlight-grid>a{display:flex;gap:12px;align-items:flex-start;padding:18px;border:1px solid var(--tl-border);border-radius:18px;background:#fff;color:var(--tl-text);text-decoration:none;box-shadow:var(--tl-shadow-soft);transition:.16s}
.tl-home-highlight-grid>a:hover{transform:translateY(-3px);border-color:#cbd6e2}
.tl-home-highlight-grid>a>span{font-size:1.8rem}.tl-home-highlight-grid strong,.tl-home-highlight-grid small{display:block}.tl-home-highlight-grid small{margin-top:3px;color:var(--tl-muted);line-height:1.35}
.tl-home-section{margin:42px 0}
.tl-section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:16px}
.tl-section-head h2{margin:.15rem 0 0;font-size:clamp(1.6rem,3vw,2.35rem);letter-spacing:-.035em;color:var(--tl-navy)}
.tl-category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.tl-category-card{display:grid;gap:7px;min-height:122px;padding:15px;border:1px solid var(--tl-border);border-radius:17px;background:#fff;color:var(--tl-text);text-decoration:none;text-align:center;box-shadow:0 5px 16px rgba(15,40,63,.04);transition:.16s}
.tl-category-card:hover{transform:translateY(-2px);border-color:#cdd7e1}.tl-category-card>span{font-size:1.85rem}.tl-category-card strong{font-size:.86rem;line-height:1.25}.tl-category-card small{color:var(--tl-red);font-weight:800}
.tl-home-empty-launch{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:28px;border:1px dashed #cbd6e2;border-radius:20px;background:#fff}
.tl-home-empty-launch span{font-size:2.2rem}.tl-home-empty-launch h3{margin:.35rem 0}.tl-home-empty-launch p{margin:0;color:var(--tl-muted)}
.tl-home-steps--020{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:44px 0}
.tl-home-steps--020>div{position:relative;padding:22px;border:1px solid var(--tl-border);border-radius:20px;background:#fff}
.tl-home-steps--020>div>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--tl-red);color:#fff;font-weight:900}.tl-home-steps--020 strong{display:block;margin:12px 0 4px;font-size:1.2rem}.tl-home-steps--020 p{margin:0;color:var(--tl-muted)}
.tl-home-confidence{display:grid;grid-template-columns:1.25fr .75fr;gap:30px;align-items:center;margin:44px 0;padding:clamp(1.5rem,4vw,3rem);border-radius:26px;background:linear-gradient(135deg,#10283f,#174f7a);color:#fff}
.tl-home-confidence .tl-kicker{color:#ffd866}.tl-home-confidence h2{font-size:clamp(1.8rem,4vw,3rem);line-height:1.05;margin:.25rem 0 .65rem}.tl-home-confidence p{color:#dbe8f2}.tl-home-confidence ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.tl-home-confidence li:before{content:'✓';margin-right:8px;color:#ffd866;font-weight:900}
.tl-home-plan-preview{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:44px 0;padding:24px;border:1px solid #f1dc96;border-radius:22px;background:#fff9df}.tl-home-plan-preview h2{margin:.25rem 0}.tl-home-plan-preview p{margin:0;color:#665a34}

/* Notification preferences */
.tl-notification-preferences{margin-bottom:18px}
.tl-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:1rem 0}
.tl-preference-card{display:flex!important;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--tl-border);border-radius:14px;background:#fbfcfe;cursor:pointer}
.tl-preference-card strong,.tl-preference-card small{display:block}.tl-preference-card small{margin-top:3px;color:var(--tl-muted);font-weight:500;line-height:1.35}
.tl-switch{position:relative;flex:0 0 auto}.tl-switch input{position:absolute;opacity:0}.tl-switch>span{display:block;width:44px;height:24px;border-radius:999px;background:#cbd3dd;transition:.16s}.tl-switch>span:after{content:'';display:block;width:18px;height:18px;margin:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:.16s}.tl-switch input:checked+span{background:var(--tl-green)}.tl-switch input:checked+span:after{transform:translateX(20px)}

/* FAQ and legal */
.tl-faq-intro,.tl-legal-hub>header{max-width:820px;margin-bottom:20px}.tl-faq-intro h2,.tl-legal-hub h2{font-size:clamp(1.8rem,4vw,3rem);margin:.2rem 0 .5rem}.tl-faq-list{display:grid;gap:9px}.tl-faq-list details{border:1px solid var(--tl-border);border-radius:14px;background:#fff;box-shadow:0 5px 15px rgba(15,40,63,.035)}.tl-faq-list summary{cursor:pointer;padding:16px 18px;font-weight:850;color:var(--tl-navy)}.tl-faq-list details p{margin:0;padding:0 18px 18px;color:var(--tl-muted)}.tl-faq-contact{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;padding:20px;border-radius:18px;background:#eef5fb}.tl-faq-contact p{margin:.25rem 0 0;color:var(--tl-muted)}
.tl-legal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tl-legal-grid a{display:grid;gap:8px;padding:18px;border:1px solid var(--tl-border);border-radius:16px;background:#fff;color:var(--tl-text);text-decoration:none;box-shadow:var(--tl-shadow-soft)}.tl-legal-grid a:hover{border-color:#c7d3df;transform:translateY(-2px)}.tl-legal-grid span{color:var(--tl-red);font-weight:800;font-size:.86rem}
.tl-legal-identity{padding:16px;border-radius:14px;background:#f3f6fa}.tl-legal-identity ul{margin:0;padding-left:1.15rem}

/* Chat marketplace */
.tl-chat-page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.tl-chat-page-head h2{margin:.2rem 0}.tl-chat-page-head p{margin:0;color:var(--tl-muted)}
.tl-chat-app{box-shadow:var(--tl-shadow)}
.tl-chat-empty{display:grid;place-items:center;align-content:center;text-align:center;height:100%;padding:2rem;color:var(--tl-muted)}.tl-chat-empty__icon{font-size:3rem}.tl-chat-empty h3{margin:.7rem 0 .25rem;color:var(--tl-navy)}

/* Support client */
.tl-support-page{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);gap:18px;min-height:640px}
.tl-support-intro{padding:24px;border-radius:22px;background:linear-gradient(160deg,#10283f,#185786);color:#fff;box-shadow:var(--tl-shadow)}
.tl-support-intro .tl-kicker{color:#ffd866}.tl-support-intro h2{margin:.25rem 0 .6rem;font-size:1.8rem}.tl-support-intro p,.tl-support-intro li{color:#dceaf4}.tl-support-intro ul{display:grid;gap:8px;padding-left:1.1rem}.tl-support-code{display:grid;gap:2px;margin:20px 0;padding:14px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.08)}.tl-support-code small{color:#c7dae9}.tl-support-code strong{font-size:1.25rem;letter-spacing:.05em}
.tl-support-chat{display:flex;flex-direction:column;min-width:0;border:1px solid var(--tl-border);border-radius:22px;background:#f2f5f8;overflow:hidden;box-shadow:var(--tl-shadow)}
.tl-support-chat>header{padding:15px 18px;border-bottom:1px solid var(--tl-border);background:#fff}.tl-support-chat>header div{display:grid}.tl-support-chat>header span{font-size:.82rem;color:var(--tl-green)}
.tl-support-messages{display:flex;flex-direction:column;gap:8px;flex:1;min-height:430px;max-height:540px;overflow:auto;padding:18px}
.tl-support-message{max-width:78%;padding:10px 12px;border-radius:15px 15px 15px 4px;background:#fff;border:1px solid #e2e7ed;box-shadow:0 3px 10px rgba(15,40,63,.04)}.tl-support-message.is-mine{align-self:flex-end;border:0;border-radius:15px 15px 4px 15px;background:#dff3e9}.tl-support-message p{margin:0;white-space:pre-wrap}.tl-support-message time{display:block;margin-top:4px;color:#7b8796;font-size:.7rem;text-align:right}.tl-support-message img{display:block;max-width:280px;max-height:280px;margin-bottom:6px;border-radius:10px;object-fit:cover}
.tl-support-compose{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:end;padding:12px;border-top:1px solid var(--tl-border);background:#fff}.tl-support-compose textarea{resize:none;border:1px solid #ccd5df;border-radius:13px;padding:.75rem;font:inherit}.tl-attach{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eef2f6;cursor:pointer}.tl-attach input{display:none}

/* Empty states */
.tl-empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:8px;border:1px dashed #cbd5df;border-radius:16px;background:#fbfcfe}.tl-empty h3{margin:0;color:var(--tl-navy)}

@media (max-width:1100px){
  .tl-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .tl-home-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .tl-account-shell{display:block}.tl-account-sidebar{position:relative;top:auto;margin-bottom:16px;padding:8px}.tl-account-sidebar__brand{display:none}.tl-account-nav{flex-direction:row;overflow-x:auto;gap:6px;padding:2px;scrollbar-width:none}.tl-account-nav::-webkit-scrollbar{display:none}.tl-account-nav a{flex:0 0 auto;white-space:nowrap;box-shadow:none!important}.tl-account-nav a.is-active{box-shadow:inset 0 -3px 0 var(--tl-red)!important}.tl-nav-icon{display:none}
  .tl-home-hero--020{grid-template-columns:1fr}.tl-home-trust--020{min-height:auto}.tl-home-search{grid-template-columns:1fr 180px auto}.tl-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tl-home-confidence{grid-template-columns:1fr}.tl-support-page{grid-template-columns:1fr}.tl-support-intro{display:none}.tl-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:680px){
  .tl-auth-grid{grid-template-columns:1fr}.tl-auth-grid--register-first .tl-auth-register,.tl-auth-grid--register-first .tl-auth-login{grid-column:auto;grid-row:auto}.tl-auth-grid--register-first .tl-auth-register{order:-1}
  .tl-home-hero__copy{padding:1.3rem;border-radius:22px}.tl-home-hero__copy h1{font-size:2.45rem}.tl-home-search{grid-template-columns:1fr}.tl-home-search button{width:100%}.tl-home-highlight-grid{grid-template-columns:1fr}.tl-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-category-card{min-height:108px}.tl-home-steps--020{grid-template-columns:1fr}.tl-home-empty-launch,.tl-home-plan-preview,.tl-faq-contact{align-items:flex-start;flex-direction:column}.tl-profile-summary{grid-template-columns:1fr}.tl-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tl-preference-grid{grid-template-columns:1fr}.tl-legal-grid{grid-template-columns:1fr}.tl-chat-page-head{align-items:flex-start;flex-direction:column}.tl-support-chat{min-height:600px}.tl-support-message{max-width:90%}
}
@media (max-width:420px){.tl-stat-grid{grid-template-columns:1fr}.tl-home-hero__actions .tl-btn{width:100%}}

/* Verification and operational notices */
.tl-verification-banner{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}
.tl-verification-banner p{margin:.25rem 0 0}
@media(max-width:680px){.tl-verification-banner{align-items:flex-start;flex-direction:column}}

/* 0.5.0 · panel reforzado, incidencias, evidencia y estado */
.tl-dashboard-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.tl-dashboard-quick>a{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px;border:1px solid var(--tl-border);border-radius:17px;background:linear-gradient(145deg,#fff,#fbfcfe);color:var(--tl-text);text-decoration:none;box-shadow:var(--tl-shadow-soft);transition:.16s}
.tl-dashboard-quick>a:hover{transform:translateY(-2px);border-color:#c8d4e0}.tl-dashboard-quick>a>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#f2f5f9;font-size:1.2rem}.tl-dashboard-quick strong,.tl-dashboard-quick small{display:block}.tl-dashboard-quick small{margin-top:3px;color:var(--tl-muted);font-size:.8rem;line-height:1.35}

.tl-feedback-center{display:grid;gap:18px;max-width:980px;margin:0 auto}.tl-feedback-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:clamp(22px,4vw,34px);border-radius:24px;background:radial-gradient(circle at 94% 8%,rgba(246,201,71,.28),transparent 30%),linear-gradient(145deg,#0f2d49,#15598a);color:#fff;box-shadow:var(--tl-shadow)}.tl-feedback-hero .tl-kicker{color:#ffd968}.tl-feedback-hero h2{margin:.25rem 0 .45rem;color:#fff;font-size:clamp(1.9rem,4vw,3.2rem);line-height:1.03}.tl-feedback-hero p{max-width:720px;margin:0;color:#e3eff8}.tl-feedback-user{display:grid;gap:3px;flex:0 0 auto;padding:13px 15px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.1)}.tl-feedback-user span{font-size:.8rem;color:#dbe8f3}
.tl-feedback-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tl-feedback-choices>a{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:12px;align-items:center;padding:18px;border:1px solid var(--tl-border);border-radius:18px;background:#fff;color:var(--tl-text);text-decoration:none;box-shadow:var(--tl-shadow-soft)}.tl-feedback-choices>a>span{grid-row:1/3;display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#f3f6fa;font-size:1.5rem}.tl-feedback-choices strong{font-size:1.05rem}.tl-feedback-choices small{color:var(--tl-muted);line-height:1.35}.tl-feedback-choices>a.is-active{border-color:#e22f37;box-shadow:0 0 0 3px rgba(226,47,55,.08)}.tl-feedback-choices>a.is-active>span{background:#fff0f1}
.tl-feedback-form{padding:clamp(18px,3vw,28px)}.tl-feedback-form small{color:var(--tl-muted);font-weight:500;line-height:1.4}.tl-feedback-guest-note{display:flex;justify-content:space-between;align-items:center;gap:18px}.tl-feedback-guest-note p{margin:.3rem 0;color:var(--tl-muted)}
.tl-feedback-history{padding:0;overflow:hidden}.tl-feedback-history>.tl-panel-head{padding:18px 20px;margin:0;border-bottom:1px solid var(--tl-border)}.tl-feedback-list{display:grid}.tl-feedback-list>article{border-bottom:1px solid var(--tl-border)}.tl-feedback-list>article:last-child{border-bottom:0}.tl-feedback-list>article>a{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:15px 20px;color:var(--tl-text);text-decoration:none}.tl-feedback-list>article>a>div{display:grid;gap:3px;min-width:0}.tl-feedback-list strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-feedback-list small{color:var(--tl-muted)}.tl-feedback-kind{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:var(--tl-red)}.tl-feedback-list article.is-open{background:#fbfcff}.tl-feedback-status{display:inline-flex;flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#edf1f5;color:#4b596b;font-size:.78rem;font-weight:850}.tl-feedback-status.is-new{background:#fff1d6;color:#7c5200}.tl-feedback-status.is-reviewing,.tl-feedback-status.is-in_progress{background:#e9f3ff;color:#155ba1}.tl-feedback-status.is-resolved,.tl-feedback-status.is-implemented{background:#e7f7ee;color:#197147}.tl-feedback-status.is-dismissed{background:#f1f2f4;color:#667085}
.tl-feedback-detail{padding:18px 20px;border-top:1px solid var(--tl-border);background:#fff}.tl-feedback-thread{display:grid;gap:9px;margin:16px 0}.tl-feedback-thread>div{max-width:86%;padding:12px 14px;border:1px solid var(--tl-border);border-radius:15px 15px 15px 4px;background:#f8fafc}.tl-feedback-thread>div.is-admin{justify-self:end;border:0;border-radius:15px 15px 4px 15px;background:#e3f4eb}.tl-feedback-thread p{margin:4px 0;white-space:pre-wrap}.tl-feedback-thread small{color:var(--tl-muted)}.tl-feedback-reply{display:grid;gap:10px;padding-top:14px;border-top:1px solid var(--tl-border)}.tl-feedback-reply label{display:grid;gap:6px;font-weight:800}.tl-feedback-reply textarea{width:100%;border:1px solid #cfd6df;border-radius:12px;padding:.8rem;font:inherit}

.tl-featured-user{display:grid;gap:16px}.tl-featured-user__hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:clamp(20px,4vw,30px);background:radial-gradient(circle at 92% 10%,rgba(244,193,63,.32),transparent 30%),linear-gradient(145deg,#fff,#fff9df)}.tl-featured-user__hero h2{margin:.2rem 0 .45rem;font-size:clamp(1.8rem,4vw,2.7rem)}.tl-featured-user__hero p{margin:0;color:var(--tl-muted)}.tl-responsive-table{max-width:100%;overflow:auto;border:1px solid var(--tl-border);border-radius:14px}.tl-responsive-table table{width:100%;min-width:840px;border-collapse:collapse;background:#fff}.tl-responsive-table th,.tl-responsive-table td{padding:12px;border-bottom:1px solid var(--tl-border);text-align:left;vertical-align:top}.tl-responsive-table th{background:#f5f7fa;color:#435166;font-size:.82rem}.tl-responsive-table tr:last-child td{border-bottom:0}

.tl-status-page{display:grid;gap:18px;max-width:900px;margin:0 auto}.tl-status-hero{display:flex;align-items:flex-start;gap:18px;padding:clamp(24px,5vw,40px);border:1px solid #cfe7da;border-radius:24px;background:linear-gradient(145deg,#fff,#effaf4);box-shadow:var(--tl-shadow-soft)}.tl-status-hero.is-maintenance{border-color:#f1d47d;background:linear-gradient(145deg,#fff,#fff7dc)}.tl-status-hero.is-incident{border-color:#efc1c4;background:linear-gradient(145deg,#fff,#fff0f1)}.tl-status-hero h2{margin:.2rem 0 .45rem;font-size:clamp(1.9rem,4vw,3rem)}.tl-status-hero p{margin:0;color:var(--tl-muted)}.tl-status-pulse{position:relative;flex:0 0 18px;width:18px;height:18px;margin-top:7px;border-radius:50%;background:#21a366;box-shadow:0 0 0 7px rgba(33,163,102,.14)}.is-maintenance .tl-status-pulse{background:#d99b00;box-shadow:0 0 0 7px rgba(217,155,0,.14)}.is-incident .tl-status-pulse{background:#d92f36;box-shadow:0 0 0 7px rgba(217,47,54,.14)}.tl-status-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tl-status-services>div{display:flex;justify-content:space-between;gap:18px;padding:16px;border:1px solid var(--tl-border);border-radius:14px;background:#fff}.tl-status-services span{color:var(--tl-green);font-weight:850}

.tl-chat-evidence-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 14px;border-bottom:1px solid #ecd584;background:#fff9df}.tl-chat-evidence-bar>div:first-child{display:grid;gap:2px;min-width:0}.tl-chat-evidence-bar small{color:#6f6237;line-height:1.3}.tl-chat-evidence-bar .tl-btn{background:#fff;border:1px solid #e0c36a;color:#5a4900}.tl-link--danger{color:#b4232b!important}

@media(max-width:1050px){.tl-dashboard-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.tl-dashboard-quick{grid-template-columns:1fr}.tl-feedback-hero,.tl-feedback-guest-note,.tl-featured-user__hero,.tl-chat-evidence-bar{align-items:flex-start;flex-direction:column}.tl-feedback-user{width:100%}.tl-feedback-choices{grid-template-columns:1fr}.tl-feedback-list>article>a{align-items:flex-start;flex-direction:column}.tl-feedback-status{align-self:flex-start}.tl-feedback-thread>div{max-width:96%}.tl-status-services{grid-template-columns:1fr}.tl-status-services>div{align-items:flex-start;flex-direction:column;gap:3px}.tl-chat-evidence-bar .tl-actions,.tl-chat-evidence-bar .tl-btn{width:100%}.tl-chat-room__head{gap:8px;align-items:flex-start;flex-direction:column}.tl-chat-room__head .tl-actions{width:100%;justify-content:space-between}}

/* 0.5.2 · corrección de interfaz móvil en Mi cuenta / Mis anuncios */
.tl-account-shell,.tl-account-content,.tl-my-listings,.tl-my-listing,.tl-my-listing__content,.tl-actions{min-width:0}
.tl-panel{overflow:hidden}
@media(max-width:680px){
  .tl-account-shell{display:block;margin:0 0 40px}
  .tl-account-sidebar{position:relative;top:auto;margin-bottom:14px;padding:8px}
  .tl-account-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:2px 2px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .tl-account-nav::-webkit-scrollbar{display:none}
  .tl-account-nav a{flex:0 0 auto;max-width:none}
  .tl-account-content,.tl-account-content>*{max-width:100%}
  .tl-my-listing{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"media content" "actions actions";gap:12px;align-items:start;padding:14px 0}
  .tl-my-listing__media{grid-area:media;flex:0 0 auto;width:72px;height:64px}
  .tl-my-listing__content{grid-area:content;flex:initial}
  .tl-my-listing__content>strong{white-space:normal;overflow:visible;text-overflow:unset;line-height:1.25}
  .tl-my-listing>.tl-actions{grid-area:actions;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;padding-left:0}
  .tl-my-listing>.tl-actions .tl-btn{width:100%;min-width:0;padding:.7rem .55rem;text-align:center;justify-content:center;white-space:normal;line-height:1.2}
  .tl-my-listing>.tl-actions .tl-btn--feature,
  .tl-my-listing>.tl-actions .tl-btn--danger{grid-column:1/-1}
}
@media(max-width:420px){
  .tl-my-listing>.tl-actions{grid-template-columns:1fr}
}

/* 0.5.3 · home: 3 tarjetas por pantalla en destacados y últimos anuncios */
.tl-home-featured-grid,
.tl-home-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.tl-home-featured-grid>.tl-listing-card,
.tl-home-recent-grid>.tl-listing-card{height:100%}
.tl-home-featured-grid .tl-listing-card__body,
.tl-home-recent-grid .tl-listing-card__body{display:grid;gap:8px;align-content:start}
.tl-home-featured-grid .tl-card-top,
.tl-home-recent-grid .tl-card-top{gap:8px;align-items:flex-start}
.tl-home-featured-grid .tl-listing-card h3,
.tl-home-recent-grid .tl-listing-card h3{margin:.15rem 0 0;line-height:1.25}
.tl-home-featured-grid .tl-listing-card h3 a,
.tl-home-recent-grid .tl-listing-card h3 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.tl-home-featured-grid .tl-muted,
.tl-home-recent-grid .tl-muted{line-height:1.35;overflow:hidden;text-overflow:ellipsis}
@media (max-width:980px){
  .tl-home-featured-grid,
  .tl-home-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:680px){
  .tl-home-featured-grid,
  .tl-home-recent-grid{display:flex!important;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 14px;overscroll-behavior-inline:contain;scrollbar-width:none}
  .tl-home-featured-grid::-webkit-scrollbar,
  .tl-home-recent-grid::-webkit-scrollbar{display:none}
  .tl-home-featured-grid>.tl-listing-card,
  .tl-home-recent-grid>.tl-listing-card{flex:0 0 calc((100vw - 48px)/3);min-width:102px;max-width:160px;scroll-snap-align:start}
  .tl-home-featured-grid .tl-listing-card__media,
  .tl-home-recent-grid .tl-listing-card__media{aspect-ratio:1/1}
  .tl-home-featured-grid .tl-listing-card__body,
  .tl-home-recent-grid .tl-listing-card__body{padding:10px;gap:6px}
  .tl-home-featured-grid .tl-card-top,
  .tl-home-recent-grid .tl-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:start}
  .tl-home-featured-grid .tl-price,
  .tl-home-recent-grid .tl-price{font-size:.98rem;line-height:1.12}
  .tl-home-featured-grid .tl-listing-card h3,
  .tl-home-recent-grid .tl-listing-card h3{font-size:.92rem;line-height:1.18;min-height:2.2em}
  .tl-home-featured-grid .tl-muted,
  .tl-home-recent-grid .tl-muted{font-size:.74rem;line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .tl-home-featured-grid .tl-favorite,
  .tl-home-recent-grid .tl-favorite{width:32px;height:32px;font-size:1.15rem}
}

/* 0.5.4 · venta/alquiler y tarifas profesionales */
.tl-deal-type{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:#eef4fb;color:#20496c;font-size:.7rem;font-weight:950;letter-spacing:.055em;line-height:1;text-transform:uppercase}
.tl-deal-type--large{padding:6px 10px;font-size:.76rem;background:#eef5ff;color:#164f7f}
.tl-listing-card .tl-price{line-height:1.16;overflow-wrap:anywhere}
.tl-pricing-grid{align-items:end}
[data-tl-commerce-pricing]{margin-bottom:.9rem}
[data-tl-commerce-pricing]>label{display:grid;gap:.45rem}
.tl-other-item{margin:1rem 0;padding:.8rem 1rem;border:1px solid var(--tl-border);border-radius:12px;background:#f8fafc}
@media(max-width:680px){
  .tl-deal-type{font-size:.62rem;padding:4px 6px;letter-spacing:.035em}
  .tl-deal-type--large{font-size:.72rem;padding:6px 9px}
  .tl-pricing-grid{grid-template-columns:1fr}
  .tl-home-featured-grid .tl-deal-type,.tl-home-recent-grid .tl-deal-type{font-size:.56rem;padding:3px 5px}
  .tl-home-featured-grid .tl-price,.tl-home-recent-grid .tl-price{font-size:.88rem}
}

/* 0.5.6 · accesibilidad: texto principal negro por defecto */
:root{--tl-text:#000;--tl-muted:#2b2b2b}
.tl-account-content,.tl-panel,.tl-card,.tl-form,.tl-listing-card,.tl-public-profile,.tl-feedback-center,.tl-status-page{color:#000}
.tl-muted,.tl-panel p,.tl-card p{color:#2b2b2b}
/* Los bloques oscuros mantienen sus colores claros explícitos para conservar contraste. */

/* 0.5.7 · suscripciones y pagos más claros */
.tl-active-plan-summary{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px;border-color:#b9e1ca;background:linear-gradient(135deg,#f2fbf6,#fff)}
.tl-active-plan-summary.is-warning{border-color:#efd48a;background:linear-gradient(135deg,#fff9e8,#fff)}
.tl-active-plan-summary h2{margin:.2rem 0 .35rem}.tl-active-plan-summary p{margin:0;color:var(--tl-muted)}
.tl-plan-title-row{display:flex;justify-content:space-between;gap:8px;align-items:center}.tl-plan-current-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#e6f7ed;color:#12633d;font-size:.7rem;font-weight:950;letter-spacing:.05em}
.tl-btn--active-plan{background:#e6f7ed;color:#12633d;border:1px solid #b9e1ca;cursor:default;pointer-events:none}
.tl-payment-history{margin-top:18px}.tl-payment-status{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:.76rem;font-weight:900}.tl-payment-status.is-ok{background:#e6f7ed;color:#12633d}.tl-payment-status.is-warning{background:#fff5d8;color:#755400}.tl-payment-status.is-error{background:#fff0f0;color:#9d252c}
.tl-dashboard-subscription{display:flex;align-items:center;gap:12px;margin:14px 0 4px;padding:13px 15px;border:1px solid #b9e1ca;border-radius:15px;background:#f2fbf6;color:var(--tl-text);text-decoration:none}.tl-dashboard-subscription>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#1f9d63;color:#fff;font-weight:950}.tl-dashboard-subscription>div{display:grid;gap:2px;min-width:0;flex:1}.tl-dashboard-subscription small{color:var(--tl-muted)}.tl-dashboard-subscription>b{white-space:nowrap;color:#12633d}
@media(max-width:680px){.tl-active-plan-summary,.tl-dashboard-subscription{align-items:flex-start;flex-direction:column}.tl-dashboard-subscription>b{white-space:normal}.tl-payment-history .tl-list-row{gap:8px}}
