.tt-public-shell{
  --tt-bg:#0f1720;
  --tt-panel:#ffffff;
  --tt-ink:#111827;
  --tt-muted:#667085;
  --tt-gold:#d4a017;
  --tt-blue:#1f6fae;
  --tt-line:#e5e7eb;
}
.tt-public-shell{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--tt-ink);max-width:1500px;margin:0 auto;padding:16px;}
.tt-hero-theatre{background:linear-gradient(135deg,#111827,#1f2937 55%,#2b1b10);color:#fff;border-radius:22px;padding:28px;display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:0 18px 45px rgba(15,23,32,.22);border:1px solid rgba(212,160,23,.25);}
.tt-kicker{display:inline-flex;gap:8px;align-items:center;background:rgba(212,160,23,.16);border:1px solid rgba(212,160,23,.35);color:#f8e7a4;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;letter-spacing:.02em;}
.tt-hero-theatre h1{font-size:34px;line-height:1.05;margin:12px 0 6px;color:#fff;}
.tt-hero-theatre p{margin:0;color:#d6dee9;max-width:720px;}
.tt-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.tt-hero-actions strong{padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);}
.tt-pill{display:inline-flex;align-items:center;border-radius:999px;background:#fff;color:#111827!important;text-decoration:none!important;padding:10px 14px;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.18);}
.tt-card-section,.tt-admin-console,.tt-stage-card{background:#fff;border:1px solid var(--tt-line);border-radius:20px;box-shadow:0 8px 28px rgba(15,23,42,.08);margin:18px 0;padding:20px;}
.tt-admin-console{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:4px solid var(--tt-gold);}
.tt-admin-console h2,.tt-section-title h2{margin:0 0 4px;}
.tt-admin-console p,.tt-section-title p{margin:0;color:var(--tt-muted);}
.tt-admin-buttons{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.tt-admin-buttons a{display:inline-flex;text-decoration:none!important;color:#fff!important;background:#1f2937;border-radius:12px;padding:10px 12px;font-weight:750;}
.tt-admin-buttons a:hover{background:#0f1720;}
.tt-section-title{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.tt-section-title>span{width:44px;height:44px;border-radius:14px;background:#f3f4f6;display:grid;place-items:center;font-size:23px;}
.tt-alert{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:13px 15px;margin:14px 0;font-weight:650;}
.tt-login-shell{display:grid;place-items:center;min-height:70vh;}
.tt-login-card{max-width:440px;width:100%;border-top:4px solid var(--tt-gold);}
.tt-brand-mark{width:64px;height:64px;border-radius:20px;background:#111827;color:#fff;display:grid;place-items:center;font-size:30px;margin-bottom:10px;}
.tt-login-card h2{margin:0 0 8px;}
.tt-login-card p{color:var(--tt-muted);margin:0 0 18px;}
.tt-login-card input[type=text],.tt-login-card input[type=password]{width:100%;border-radius:12px;border:1px solid var(--tt-line);padding:10px;}
.tt-login-card .button,.tt-login-card input[type=submit]{background:#111827;color:#fff;border:0;border-radius:12px;padding:10px 16px;font-weight:800;cursor:pointer;}
.tt-public-legend{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 15px;align-items:center;}
.tt-public-legend span{display:inline-flex;align-items:center;gap:7px;background:#f9fafb;border:1px solid var(--tt-line);border-radius:999px;padding:7px 11px;font-weight:700;}
.tt-public-legend b{width:12px;height:12px;border-radius:999px;background:var(--ttc);display:inline-block;}
.tt-public-legend em{font-size:12px;color:var(--tt-muted);font-style:normal;}
.tt-public-week{margin:16px 0;border:1px solid var(--tt-line);border-radius:18px;overflow:hidden;background:#fff;}
.tt-week-title{background:#1f6fae;color:#fff;font-weight:850;padding:12px 15px;letter-spacing:.01em;}
.tt-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));}
.tt-day-card{min-height:170px;border-right:1px solid var(--tt-line);border-bottom:1px solid var(--tt-line);padding:10px;background:#fff;}
.tt-day-card:nth-child(7n){border-right:0;}
.tt-day-card.weekend{background:#fff1f1;}
.tt-day-card.muted{opacity:.42;background:#f8fafc;}
.tt-day-card.today{box-shadow:inset 0 0 0 3px #1f6fae;}
.tt-day-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;}
.tt-day-card header strong{font-size:22px;}
.tt-day-card header span{font-size:12px;font-weight:800;text-transform:uppercase;color:var(--tt-muted);}
.tt-day-acts{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px;}
.tt-day-acts span{background:#fff3c4;color:#7c4a00;border-radius:8px;padding:4px 6px;font-size:11px;font-weight:800;}
.tt-day-techs{display:grid;gap:5px;}
.tt-tech-line{display:flex;align-items:center;gap:4px;min-width:0;background:#f8fafc;border:1px solid #edf0f3;border-left:4px solid var(--ttc);border-radius:9px;padding:5px;}
.tt-tech-line b{font-size:12px;margin-right:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tt-tech-line span{font-size:10px;font-weight:900;border-radius:6px;padding:2px 5px;}
.tt-tech-line .on{background:var(--ttc);color:#fff;}
.tt-tech-line .code{background:#eef2f7;color:#344054;}
.tt-public-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;}
.tt-summary-card{background:#fff;border:1px solid var(--tt-line);border-top:4px solid var(--ttc);border-radius:16px;padding:14px;}
.tt-summary-card h3{margin:0 0 6px;color:var(--ttc);}
.tt-summary-card strong{font-size:28px;}
.tt-summary-card span{color:var(--tt-muted);margin-left:4px;}
.tt-summary-card em{display:inline-block;margin-top:8px;background:#eefcf4;color:#047857;border-radius:999px;padding:4px 8px;font-style:normal;font-weight:800;font-size:12px;}
.tt-my-card{display:grid;gap:18px;}
.tt-my-header{display:flex;align-items:center;gap:12px;}
.tt-avatar{width:54px;height:54px;border-radius:18px;background:#111827;color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900;}
.tt-my-header h3{margin:0;}.tt-my-header p{margin:2px 0 0;color:var(--tt-muted);}
.tt-my-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
.tt-my-stats div{background:#f8fafc;border:1px solid var(--tt-line);border-radius:14px;padding:12px;}
.tt-my-stats strong{display:block;font-size:24px;}.tt-my-stats span{display:block;color:var(--tt-muted);font-size:12px;}
.tt-request-box,.tt-history-box{background:#fbfbfc;border:1px solid var(--tt-line);border-radius:16px;padding:16px;}
.tt-request-box h4,.tt-history-box h4{margin:0 0 4px;}.tt-request-box p{margin:0 0 12px;color:var(--tt-muted);}
.tt-request-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;}
.tt-request-grid .wide{grid-column:1/-1;}
.tt-request-grid label{font-weight:750;font-size:13px;color:#344054;}
.tt-request-grid input,.tt-request-grid select,.tt-request-grid textarea{width:100%;margin-top:5px;border:1px solid var(--tt-line);border-radius:12px;padding:10px;background:#fff;box-sizing:border-box;}
.tt-main-button{background:#111827;color:#fff;border:0;border-radius:12px;padding:11px 16px;font-weight:900;cursor:pointer;}
.tt-main-button:disabled{opacity:.55;cursor:not-allowed;}
.tt-public-msg{margin-left:10px;font-weight:800;}
.tt-history-list{display:grid;gap:8px;}
.tt-history-item{display:grid;grid-template-columns:auto auto 1fr auto;gap:8px;align-items:center;background:#fff;border:1px solid var(--tt-line);border-radius:12px;padding:9px;}
.tt-code-badge{background:#111827;color:#fff;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900;}
.tt-history-item small{color:var(--tt-muted);}.tt-history-item em{font-style:normal;font-weight:850;border-radius:999px;padding:3px 7px;font-size:11px;}.tt-history-item .ok{background:#dcfce7;color:#166534;}.tt-history-item .pending{background:#fff7ed;color:#9a3412;}
.tt-muted{color:var(--tt-muted);}
@media (max-width:1000px){.tt-hero-theatre,.tt-admin-console{display:block}.tt-hero-actions,.tt-admin-buttons{justify-content:flex-start;margin-top:14px}.tt-week-grid{grid-template-columns:1fr}.tt-day-card{border-right:0}.tt-public-summary,.tt-my-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:600px){.tt-public-shell{padding:8px}.tt-hero-theatre{padding:18px;border-radius:16px}.tt-hero-theatre h1{font-size:26px}.tt-request-grid,.tt-my-stats,.tt-public-summary{grid-template-columns:1fr}.tt-history-item{grid-template-columns:1fr}.tt-admin-buttons a,.tt-pill{width:100%;justify-content:center;}}

/* ─────────────────────────────────────────────────────────────
   V30 - Portal principal público + calendario tipo cuadrante
   ───────────────────────────────────────────────────────────── */
.tt-main-portal{
  max-width: 1680px;
  margin: 0 auto;
  padding: 18px 12px 34px;
  color:#122033;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
}
.tt-theatre-topbar{
  position: sticky;
  top: 0;
  z-index: 30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  border:1px solid rgba(15,23,42,.1);
  border-radius:18px;
  background:linear-gradient(135deg,#111827 0%,#1e3a5f 58%,#0f172a 100%);
  box-shadow:0 16px 40px rgba(15,23,42,.16);
  color:#fff;
}
.tt-top-brand{display:flex;align-items:center;gap:10px;min-width:210px}
.tt-brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.12);font-size:22px}
.tt-top-brand strong{display:block;font-size:18px;line-height:1.1}
.tt-top-brand small{display:block;opacity:.75;margin-top:2px;letter-spacing:.06em;text-transform:uppercase;font-size:11px}
.tt-top-month-nav{display:flex;align-items:center;gap:10px;justify-content:center;flex-wrap:wrap}
.tt-top-month-nav a,
.tt-top-login,
.tt-primary-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  text-decoration:none!important;
  font-weight:700;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.1);
  color:#fff!important;
}
.tt-top-month-nav a:first-child,
.tt-top-month-nav a:nth-child(3){width:38px;padding:0;font-size:24px;line-height:1}
.tt-top-month-nav strong{min-width:170px;text-align:center;font-size:18px}
.tt-top-month-nav .tt-top-today{font-size:13px;min-height:32px;background:rgba(255,255,255,.16)}
.tt-top-user{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:220px;flex-wrap:wrap}
.tt-public-note{font-size:13px;opacity:.82}
.tt-portal-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:20px 0 14px;
  padding:22px 24px;
  border-radius:22px;
  background:linear-gradient(135deg,#f8fafc,#eef6ff);
  border:1px solid #dbe7f5;
}
.tt-portal-intro h1{margin:4px 0 6px;font-size:34px;color:#0f172a}
.tt-portal-intro p{margin:0;color:#475569;font-size:15px}
.tt-kicker{display:inline-flex;color:#b45309;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.tt-primary-link{background:#1f77b4!important;border-color:#1f77b4!important;box-shadow:0 8px 20px rgba(31,119,180,.25)}
.tt-admin-console-slim{border-radius:20px;margin:12px 0 18px}
.tt-public-calendar-section{overflow:visible!important}

.tt-month-board{width:100%;}
.tt-board-legend{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 14px;
}
.tt-board-legend span{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 10px;
  border:1px solid #dbe4ee;
  border-radius:999px;
  background:#fff;
  color:#182333;
  font-size:13px;
  font-weight:700;
}
.tt-board-legend span b{display:block;width:12px;height:12px;border-radius:999px;background:var(--ttc)}
.tt-board-legend em{font-style:normal;color:#64748b;font-size:13px;margin-left:4px}

.tt-public-week-table-wrap{
  margin:14px 0 26px;
  border:1px solid #cfd8e3;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}
.tt-public-week-head{
  padding:12px 16px;
  background:#1f77b4;
  color:#fff;
  font-weight:800;
  letter-spacing:.01em;
}
.tt-public-table-scroll{overflow-x:auto;background:#fff}
.tt-public-week-table{
  width:100%;
  min-width:1180px;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:13px;
}
.tt-public-week-table th,
.tt-public-week-table td{
  border:1px solid #d9dee5;
  text-align:center;
  vertical-align:middle;
}
.tt-pub-tech-head{
  width:132px;
  background:#162026!important;
  color:#fff!important;
  text-align:left!important;
  padding-left:12px!important;
}
.tt-pub-day-head{
  height:82px;
  background:#eef5fc;
  color:#0f172a;
  padding:6px 4px;
}
.tt-pub-day-head.is-weekend{background:#fdeaea}
.tt-pub-day-head.is-muted{background:#f4f6f8;color:#94a3b8}
.tt-pub-day-head.is-today .tt-pub-day-num{
  display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#1f77b4;color:#fff;margin:auto;
}
.tt-pub-day-num{font-size:20px;font-weight:900;line-height:1.05}
.tt-pub-day-name{font-size:12px;margin-top:3px;color:#334155;font-weight:700}
.tt-pub-act{
  margin:7px auto 0;
  max-width:92%;
  padding:4px 6px;
  border-radius:7px;
  background:#fff1b8;
  color:#8a5600;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tt-pub-holiday{background:#ffe4e6;color:#9f1239}
.tt-pub-shifts-row th{
  height:28px;
  background:#f8fafc;
  color:#475569;
  font-size:12px;
  font-weight:800;
}
.tt-pub-tech-name{
  height:52px;
  text-align:left!important;
  padding:0 10px!important;
  background:#f8fafc;
  color:#0f172a;
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
}
.tt-pub-tech-name span{display:inline-block;width:5px;height:30px;background:var(--ttc);border-radius:4px;margin-right:9px;vertical-align:middle}
.tt-pub-cell{
  height:52px;
  background:#f4f4f5;
  color:#fff;
  position:relative;
  padding:0!important;
}
.tt-pub-cell.is-weekend{background:#fff1f1}
.tt-pub-cell.is-muted{background:#f7f7f8}
.tt-pub-cell.is-on{
  background:var(--ttc)!important;
  color:#fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.tt-work-dot{display:inline-grid;place-items:center;width:100%;height:100%;font-weight:900;color:#fff;font-size:15px;letter-spacing:.04em}
.tt-pub-cell small{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  padding:3px 5px;
  margin:2px;
  border-radius:6px;
  background:#fff;
  color:#334155;
  font-weight:900;
  border:1px solid #cbd5e1;
}
.tt-pub-acts-row th{
  text-align:left!important;
  padding-left:10px!important;
  background:#fffaf0;
  color:#475569;
  font-weight:700;
}
.tt-pub-acts-row td{height:34px;background:#fffaf0;color:#92400e;font-weight:800;font-size:12px}
.tt-pub-acts-row span{display:inline-block;background:#ffc400;color:#111827;border-radius:6px;padding:4px 7px;white-space:nowrap}
.tt-month-board-ficha .tt-public-week-table{min-width:980px}
.tt-month-board-ficha .tt-public-week-table-wrap{margin-bottom:18px;box-shadow:none}
.tt-own-calendar-box .tt-board-legend{display:none}

@media (max-width: 860px){
  .tt-theatre-topbar{position:relative;flex-direction:column;align-items:stretch;border-radius:16px}
  .tt-top-brand,.tt-top-user{min-width:0;justify-content:center}
  .tt-top-month-nav strong{min-width:140px;font-size:16px}
  .tt-portal-intro{flex-direction:column;align-items:flex-start;padding:18px}
  .tt-portal-intro h1{font-size:28px}
  .tt-public-week-table{min-width:1080px}
}

/* ─────────────────────────────────────────────────────────────
   V31 - Página principal Teatro Antonio Gala + turnos protegidos
   ───────────────────────────────────────────────────────────── */
.tt-theatre-home{max-width:1680px;}
.tt-theatre-menu{gap:18px;}
.tt-top-brand-link{color:#fff!important;text-decoration:none!important;}
.tt-top-brand-link:hover{opacity:.92;}
.tt-top-links{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;}
.tt-top-links a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:999px;text-decoration:none!important;color:#fff!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);font-weight:800;font-size:13px;}
.tt-top-links a:hover,.tt-top-links a.is-active{background:#d4a017;border-color:#d4a017;color:#111827!important;}
.tt-theatre-hero-main{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:24px;margin:20px 0;padding:34px;border-radius:28px;background:radial-gradient(circle at 10% 10%,rgba(212,160,23,.22),transparent 30%),linear-gradient(135deg,#0f172a 0%,#1e293b 52%,#1b1208 100%);color:#fff;box-shadow:0 22px 50px rgba(15,23,42,.22);border:1px solid rgba(212,160,23,.28);}
.tt-theatre-hero-main:after{content:"";position:absolute;right:-80px;bottom:-80px;width:260px;height:260px;border-radius:50%;background:rgba(212,160,23,.13);filter:blur(2px);}
.tt-hero-copy,.tt-hero-panel{position:relative;z-index:1;}
.tt-hero-copy h1{font-size:48px;line-height:1.02;margin:12px 0 12px;color:#fff;letter-spacing:-.03em;}
.tt-hero-copy h1 em{font-style:normal;color:#f7d779;}
.tt-hero-copy p{max-width:720px;color:#dbe6f1;font-size:17px;margin:0;}
.tt-hero-main-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;}
.tt-secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;text-decoration:none!important;color:#fff!important;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);font-weight:850;}
.tt-secondary-link:hover{background:rgba(255,255,255,.18);}
.tt-hero-panel{align-self:center;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:24px;padding:24px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12);}
.tt-hero-panel span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#d4a017;color:#111827;font-size:30px;margin-bottom:14px;}
.tt-hero-panel strong{display:block;font-size:22px;margin-bottom:8px;}
.tt-hero-panel p{color:#dbe6f1;margin:0 0 16px;}
.tt-hero-panel a{display:inline-flex;text-decoration:none!important;color:#111827!important;background:#fff;border-radius:999px;padding:10px 14px;font-weight:900;}
.tt-home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0;}
.tt-home-cards article{background:#fff;border:1px solid #dbe4ee;border-radius:22px;padding:22px;box-shadow:0 10px 26px rgba(15,23,42,.08);}
.tt-home-cards article span{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#f6f0df;font-size:25px;margin-bottom:12px;}
.tt-home-cards h2{margin:0 0 8px;color:#0f172a;}
.tt-home-cards p{margin:0 0 16px;color:#64748b;}
.tt-home-cards a{display:inline-flex;text-decoration:none!important;background:#162026;color:#fff!important;border-radius:999px;padding:10px 14px;font-weight:850;}
.tt-turnos-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 14px;padding:22px 24px;border-radius:22px;background:linear-gradient(135deg,#f8fafc,#edf6ff);border:1px solid #dbe7f5;}
.tt-turnos-header h1{margin:4px 0 6px;font-size:32px;color:#0f172a;}
.tt-turnos-header p{margin:0;color:#64748b;}
.tt-turnos-header .tt-top-month-nav a,.tt-turnos-header .tt-top-month-nav strong{color:#0f172a!important;border-color:#cbd5e1;background:#fff;}
.tt-turnos-gate{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;border-top:4px solid #d4a017;max-width:760px;margin:18px auto;padding:24px;}
.tt-gate-icon{width:62px;height:62px;border-radius:20px;background:#111827;color:#fff;display:grid;place-items:center;font-size:30px;}
.tt-turnos-gate h2{margin:6px 0 6px;color:#0f172a;}
.tt-turnos-gate p{margin:0 0 14px;color:#64748b;}
.tt-gate-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;}
.tt-gate-form label{font-weight:850;color:#334155;flex:1;min-width:240px;}
.tt-gate-form input{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #cbd5e1;border-radius:12px;padding:11px;background:#fff;}
.tt-gate-form button{border:0;background:#1f77b4;color:#fff;border-radius:12px;padding:12px 16px;font-weight:900;cursor:pointer;}
.tt-gate-login{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px;color:#64748b;}
.tt-gate-login a{font-weight:900;color:#1f77b4;text-decoration:none!important;}
@media (max-width:900px){.tt-theatre-hero-main{grid-template-columns:1fr;padding:24px}.tt-hero-copy h1{font-size:36px}.tt-home-cards{grid-template-columns:1fr}.tt-turnos-header{display:block}.tt-turnos-header .tt-top-month-nav{justify-content:flex-start;margin-top:14px}.tt-top-links{order:3;width:100%}.tt-theatre-menu{align-items:stretch}.tt-turnos-gate{grid-template-columns:1fr}.tt-gate-icon{width:52px;height:52px}.tt-gate-form{display:block}.tt-gate-form button{margin-top:10px;width:100%;}}

/* ─────────────────────────────────────────────────────────────
   V33 - Leyenda completa e incidencias visibles en cuadrante
   ───────────────────────────────────────────────────────────── */
.tt-board-legend-top{
  padding:10px 12px;
  border-radius:16px;
  background:#fff;
  border:1px solid #dbe4ee;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}
.tt-legend-title{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:#162026;
  color:#fff;
  font-size:13px;
  letter-spacing:.02em;
}
.tt-code-legend{
  padding:10px 12px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #dbe4ee;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}
.tt-code-badge{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  font-weight:900!important;
  font-size:12px!important;
  line-height:1!important;
  border:1px solid transparent!important;
}
.tt-code-badge small{
  font-weight:700!important;
  font-size:11px!important;
  opacity:.9!important;
}
.tt-pub-cell.has-code{
  background:#fff!important;
  color:#0f172a;
}
.tt-pub-cell.has-code.is-on{
  background:linear-gradient(135deg,var(--ttc) 0 52%,#fff 52% 100%)!important;
}
.tt-pub-cell.has-code.is-on .tt-work-dot{
  position:absolute;
  inset:0 auto 0 0;
  width:50%;
  height:100%;
  display:grid;
  place-items:center;
}
.tt-pub-cell.has-code .tt-inc-code{
  position:relative;
  z-index:2;
}
.tt-pub-cell.has-code.is-on .tt-inc-code{
  margin-left:50%;
}
.tt-inc-code,
.tt-pub-cell small.tt-inc-code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  padding:5px 6px;
  margin:2px;
  border-radius:8px;
  font-weight:950;
  border:1px solid transparent;
  box-shadow:0 1px 2px rgba(15,23,42,.08);
}
.tt-code-ap{background:#fff5f5!important;color:#c1121f!important;border-color:#ffb3b3!important;}
.tt-code-va{background:#eef6ff!important;color:#075985!important;border-color:#93c5fd!important;}
.tt-code-baja{background:#ffe4e6!important;color:#9f1239!important;border-color:#fda4af!important;}
.tt-code-pd{background:#f1f5f9!important;color:#475569!important;border-color:#cbd5e1!important;}
.tt-code-pm{background:#f8fafc!important;color:#64748b!important;border-color:#cbd5e1!important;}
.tt-code-pt{background:#f8fafc!important;color:#64748b!important;border-color:#cbd5e1!important;}
.tt-code-ext{background:#fff7ed!important;color:#c2410c!important;border-color:#fdba74!important;}
.tt-code-com{background:#ecfdf5!important;color:#047857!important;border-color:#86efac!important;}
.tt-code-act{background:#fff1b8!important;color:#8a5600!important;border-color:#facc15!important;}
.tt-code-festivo{background:#ffe4e6!important;color:#9f1239!important;border-color:#fda4af!important;}
.tt-own-calendar-box .tt-board-legend{display:flex!important;}
@media (max-width: 860px){
  .tt-code-legend{gap:6px;}
  .tt-code-badge small{display:none;}
}

/* ─────────────────────────────────────────────────────────────
   V34 - Login integrado, leyenda limpia y EXT con color del técnico
   ───────────────────────────────────────────────────────────── */
.tt-portal-body #page,
.tt-portal-body .wp-site-blocks > header,
.tt-portal-body .wp-site-blocks > footer,
.tt-portal-body header.wp-block-template-part,
.tt-portal-body footer.wp-block-template-part,
.tt-portal-body .site-header,
.tt-portal-body .site-footer{
  display:none!important;
}
.tt-portal-body .tt-fullscreen-portal{display:block!important;width:100%!important;max-width:none!important;margin:0!important;}
.tt-tech-legend{
  background:#fff!important;
  color:var(--ttc)!important;
  border-color:color-mix(in srgb,var(--ttc) 36%,#dbe4ee)!important;
  box-shadow:0 3px 10px rgba(15,23,42,.04);
}
.tt-tech-legend b{background:var(--ttc)!important;}
.tt-code-legend{background:#fff!important;}
.tt-code-badge{background:#fff!important;}
.tt-pub-cell.is-extra,
.tt-pub-cell.has-code.is-extra,
.tt-pub-cell.has-code.is-extra.is-on{
  background:var(--ttc)!important;
  color:#fff!important;
}
.tt-pub-cell.is-extra .tt-work-dot{display:none!important;}
.tt-pub-cell.is-extra .tt-inc-code,
.tt-pub-cell.has-code.is-extra .tt-inc-code,
.tt-pub-cell.has-code.is-extra.is-on .tt-inc-code{
  margin-left:0!important;
  background:transparent!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.65)!important;
  box-shadow:none!important;
}
.tt-portal-login-form{display:grid;gap:12px;margin-top:14px;}
.tt-portal-login-form label{font-weight:850;color:#334155;}
.tt-portal-login-form input[type=text],
.tt-portal-login-form input[type=password]{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:#fff;}
.tt-portal-login-form .tt-login-remember{display:flex;align-items:center;gap:8px;font-weight:700;color:#475569;}
.tt-portal-login-form .tt-login-remember input{width:auto;margin:0;}
.tt-portal-login-form button{border:0;background:#111827;color:#fff;border-radius:12px;padding:12px 16px;font-weight:900;cursor:pointer;}
.tt-portal-login-form button:hover{background:#0f172a;}

/* ─────────────────────────────────────────────────────────────
   V35 - Área de personal unificada y estética tipo ticketing
   ───────────────────────────────────────────────────────────── */
.tt-public-shell{
  --tt-ticket-blue:#1f77b4;
  --tt-ticket-blue-dark:#0f3d63;
  --tt-ticket-gold:#d4a017;
  --tt-ticket-gold-soft:#fff3bf;
  --tt-ticket-ink:#101828;
  --tt-ticket-surface:#ffffff;
}
.tt-theatre-topbar{
  background:linear-gradient(135deg,#101828 0%,#162026 54%,#0f3d63 100%)!important;
  border:1px solid rgba(212,160,23,.25)!important;
  box-shadow:0 16px 40px rgba(15,23,42,.18)!important;
}
.tt-top-links a.is-active,
.tt-top-links a:hover,
.tt-primary-link,
.tt-home-cards a:hover,
.tt-hero-panel span{
  background:linear-gradient(135deg,#f4c542,#d4a017)!important;
  color:#101828!important;
}
.tt-secondary-link,
.tt-top-login{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.24)!important;
}
.tt-secondary-link:hover,.tt-top-login:hover{
  background:rgba(255,255,255,.18)!important;
}
.tt-home-cards-two{grid-template-columns:repeat(2,minmax(0,1fr));}
.tt-area-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:20px 0 16px;
  padding:28px;
  border-radius:26px;
  color:#fff;
  background:radial-gradient(circle at 12% 8%,rgba(244,197,66,.20),transparent 34%),linear-gradient(135deg,#101828 0%,#162026 54%,#0f3d63 100%);
  border:1px solid rgba(212,160,23,.28);
  box-shadow:0 18px 45px rgba(15,23,42,.18);
}
.tt-area-hero h1{margin:8px 0 6px;font-size:42px;letter-spacing:-.035em;color:#fff;}
.tt-area-hero p{margin:0;color:#dbe7f5;font-size:16px;}
.tt-area-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none!important;
  color:#fff!important;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  font-weight:900;
  white-space:nowrap;
}
.tt-area-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:18px 0;
}
.tt-area-card{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid #dbe4ee;
  border-top:5px solid var(--tt-ticket-gold);
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 34px rgba(15,23,42,.09);
}
.tt-area-card:after{
  content:"";
  position:absolute;
  right:-45px;
  top:-45px;
  width:140px;
  height:140px;
  border-radius:50%;
  background:rgba(31,119,180,.08);
}
.tt-area-card h2{position:relative;z-index:1;margin:0 0 8px;color:#101828;font-size:25px;}
.tt-area-card p{position:relative;z-index:1;margin:0 0 16px;color:#64748b;}
.tt-area-icon{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:18px;
  background:#f6f0df;
  color:#101828;
  font-size:28px;
  margin-bottom:12px;
}
.tt-area-login-card{border-top-color:#1f77b4;}
.tt-area-consulta-card{border-top-color:#d4a017;}
.tt-area-session-ok{
  position:relative;
  z-index:1;
  padding:12px 14px;
  border-radius:14px;
  background:#ecfdf5;
  color:#047857;
  font-weight:900;
  margin-bottom:12px;
}
.tt-area-full{width:100%;box-sizing:border-box;text-align:center;justify-content:center;text-decoration:none!important;}
.tt-portal-login-form-inline,
.tt-gate-form-area{position:relative;z-index:1;}
.tt-gate-form-area{display:grid!important;gap:12px!important;align-items:stretch!important;}
.tt-gate-form-area label{min-width:0!important;width:100%!important;}
.tt-gate-form-area button,.tt-portal-login-form-inline button{
  width:100%;
  min-height:44px;
  border-radius:14px!important;
  background:linear-gradient(135deg,#1f77b4,#0f3d63)!important;
}
.tt-area-consulta-card .tt-gate-form-area button{
  background:linear-gradient(135deg,#f4c542,#d4a017)!important;
  color:#101828!important;
}
.tt-area-guard-note .tt-turnos-gate h2{font-size:0!important;}
.tt-area-guard-note .tt-turnos-gate h2:after{content:"Consulta de coordinación";font-size:25px;}
.tt-area-guard-note .tt-turnos-gate p{font-size:0!important;}
.tt-area-guard-note .tt-turnos-gate p:after{content:"Acceso con clave para responsables autorizados.";font-size:15px;}
@media (max-width:900px){
  .tt-home-cards-two,.tt-area-grid{grid-template-columns:1fr;}
  .tt-area-hero{display:block;padding:24px;}
  .tt-area-hero h1{font-size:34px;}
  .tt-area-back{margin-top:16px;width:100%;box-sizing:border-box;}
}

/* ─────────────────────────────────────────────────────────────
   V36 - Estética clara tipo portal de ticketing (inspirada, no copia)
   ───────────────────────────────────────────────────────────── */
.tt-public-shell{
  --tt-ticket-blue:#2878b8;
  --tt-ticket-blue-dark:#155d92;
  --tt-ticket-blue-soft:#eaf5ff;
  --tt-ticket-yellow:#f4c400;
  --tt-ticket-yellow-dark:#d49a00;
  --tt-ticket-ink:#263238;
  --tt-ticket-muted:#607080;
  --tt-ticket-line:#d8e4ee;
  --tt-ticket-page:#f4f8fb;
  --tt-ticket-surface:#ffffff;
}
html body .tt-public-shell,
html body .tt-main-portal,
html body .tt-theatre-home{
  background:var(--tt-ticket-page)!important;
  color:var(--tt-ticket-ink)!important;
}
html body .tt-main-portal{
  max-width:1680px!important;
  padding:18px 14px 38px!important;
}
html body .tt-theatre-topbar{
  position:sticky!important;
  top:0!important;
  background:#ffffff!important;
  color:var(--tt-ticket-ink)!important;
  border:1px solid var(--tt-ticket-line)!important;
  border-top:4px solid var(--tt-ticket-yellow)!important;
  border-radius:0 0 18px 18px!important;
  box-shadow:0 10px 28px rgba(38,50,56,.10)!important;
}
.admin-bar html body .tt-theatre-topbar{top:32px!important;}
html body .tt-top-brand-link,
html body .tt-top-brand,
html body .tt-top-brand strong,
html body .tt-top-brand small,
html body .tt-top-user,
html body .tt-top-user span{
  color:var(--tt-ticket-ink)!important;
}
html body .tt-top-brand small{opacity:1!important;color:var(--tt-ticket-muted)!important;}
html body .tt-brand-icon{
  background:var(--tt-ticket-blue-soft)!important;
  border:1px solid #bfdff5!important;
  color:var(--tt-ticket-blue)!important;
}
html body .tt-top-links a,
html body .tt-top-login,
html body .tt-secondary-link,
html body .tt-area-back{
  background:#ffffff!important;
  color:var(--tt-ticket-blue-dark)!important;
  border:1px solid #b9d6eb!important;
  box-shadow:none!important;
}
html body .tt-top-links a:hover,
html body .tt-top-links a.is-active,
html body .tt-top-login:hover,
html body .tt-secondary-link:hover,
html body .tt-area-back:hover{
  background:var(--tt-ticket-blue-soft)!important;
  color:var(--tt-ticket-blue-dark)!important;
  border-color:var(--tt-ticket-blue)!important;
}
html body .tt-primary-link,
html body .tt-home-cards a,
html body .tt-area-consulta-card .tt-gate-form-area button,
html body .tt-portal-login-form-inline button,
html body .tt-gate-form-area button{
  background:var(--tt-ticket-yellow)!important;
  color:#2a2a2a!important;
  border:1px solid var(--tt-ticket-yellow-dark)!important;
  box-shadow:0 8px 20px rgba(244,196,0,.22)!important;
}
html body .tt-primary-link:hover,
html body .tt-home-cards a:hover,
html body .tt-area-consulta-card .tt-gate-form-area button:hover,
html body .tt-portal-login-form-inline button:hover,
html body .tt-gate-form-area button:hover{
  background:#ffd43b!important;
  color:#1f2937!important;
}
html body .tt-theatre-hero-main,
html body .tt-area-hero,
html body .tt-hero-theatre,
html body .tt-tag-hero{
  color:var(--tt-ticket-ink)!important;
  background:linear-gradient(135deg,#ffffff 0%,#eef8ff 64%,#fff7d1 100%)!important;
  border:1px solid var(--tt-ticket-line)!important;
  border-top:5px solid var(--tt-ticket-yellow)!important;
  box-shadow:0 14px 38px rgba(38,50,56,.10)!important;
}
html body .tt-theatre-hero-main:after,
html body .tt-area-hero:after{
  background:rgba(40,120,184,.09)!important;
}
html body .tt-hero-copy h1,
html body .tt-area-hero h1,
html body .tt-hero-theatre h1,
html body .tt-turnos-header h1{
  color:var(--tt-ticket-ink)!important;
}
html body .tt-hero-copy h1 em,
html body .tt-theatre-hero-main em,
html body .tt-hero-theatre em{
  color:var(--tt-ticket-blue)!important;
}
html body .tt-hero-copy p,
html body .tt-area-hero p,
html body .tt-hero-theatre p,
html body .tt-turnos-header p{
  color:var(--tt-ticket-muted)!important;
}
html body .tt-kicker{
  background:var(--tt-ticket-blue-soft)!important;
  border:1px solid #bfdff5!important;
  color:var(--tt-ticket-blue-dark)!important;
}
html body .tt-hero-panel,
html body .tt-home-cards article,
html body .tt-area-card,
html body .tt-card-section,
html body .tt-stage-card,
html body .tt-admin-console,
html body .tt-turnos-gate{
  background:#ffffff!important;
  border:1px solid var(--tt-ticket-line)!important;
  border-top:5px solid var(--tt-ticket-yellow)!important;
  box-shadow:0 10px 28px rgba(38,50,56,.08)!important;
}
html body .tt-hero-panel span,
html body .tt-home-cards article span,
html body .tt-area-icon{
  background:var(--tt-ticket-blue-soft)!important;
  color:var(--tt-ticket-blue)!important;
  border:1px solid #bfdff5!important;
}
html body .tt-home-cards h2,
html body .tt-area-card h2,
html body .tt-hero-panel strong{
  color:var(--tt-ticket-ink)!important;
}
html body .tt-home-cards p,
html body .tt-area-card p,
html body .tt-hero-panel p{
  color:var(--tt-ticket-muted)!important;
}
html body .tt-turnos-header,
html body .tt-portal-intro{
  background:#ffffff!important;
  border:1px solid var(--tt-ticket-line)!important;
  border-left:5px solid var(--tt-ticket-blue)!important;
  box-shadow:0 8px 24px rgba(38,50,56,.07)!important;
}
html body .tt-turnos-header .tt-top-month-nav a,
html body .tt-turnos-header .tt-top-month-nav strong{
  background:#ffffff!important;
  color:var(--tt-ticket-blue-dark)!important;
  border:1px solid #b9d6eb!important;
}
html body .tt-turnos-header .tt-top-month-nav a:hover{
  background:var(--tt-ticket-blue-soft)!important;
}
html body .tt-public-week-head,
html body .tt-week-title{
  background:#ffffff!important;
  color:var(--tt-ticket-blue-dark)!important;
  border-bottom:3px solid var(--tt-ticket-yellow)!important;
}
html body .tt-pub-tech-head{
  background:var(--tt-ticket-blue)!important;
  color:#ffffff!important;
}
html body .tt-pub-day-head{
  background:#f1f8fd!important;
}
html body .tt-pub-day-head.is-weekend{
  background:#fff6d7!important;
}
html body .tt-pub-day-head.is-today .tt-pub-day-num{
  background:var(--tt-ticket-yellow)!important;
  color:#2a2a2a!important;
}
html body .tt-pub-act,
html body .tt-pub-acts-row span,
html body .tt-day-acts span{
  background:#ffe16a!important;
  color:#3d3100!important;
}
html body .tt-board-legend span,
html body .tt-public-legend span{
  background:#ffffff!important;
  border:1px solid var(--tt-ticket-line)!important;
  color:var(--tt-ticket-ink)!important;
}
html body .tt-alert{
  background:#fff7d6!important;
  border:1px solid #f2c94c!important;
  color:#755100!important;
}
html body .tt-area-card:after{background:rgba(40,120,184,.07)!important;}
html body .tt-area-login-card{border-top-color:var(--tt-ticket-blue)!important;}
html body .tt-area-consulta-card{border-top-color:var(--tt-ticket-yellow)!important;}
html body .tt-area-session-ok{
  background:#e9f8ef!important;
  color:#0f7a3d!important;
}
html body .tt-login-card .button,
html body .tt-login-card input[type=submit],
html body .tt-main-button{
  background:var(--tt-ticket-blue)!important;
  color:#fff!important;
}
html body .tt-login-card .button:hover,
html body .tt-login-card input[type=submit]:hover,
html body .tt-main-button:hover{
  background:var(--tt-ticket-blue-dark)!important;
}
@media(max-width:860px){
  html body .tt-theatre-topbar{border-radius:0 0 16px 16px!important;}
}

/* ─────────────────────────────────────────────────────────────
   V37 - Cabecera tipo ticketing clara: verde fresco y área discreta
   ───────────────────────────────────────────────────────────── */
.tt-public-shell{
  --tt-ticket-blue:#91cf00;
  --tt-ticket-blue-dark:#253400;
  --tt-ticket-blue-soft:#f4f9df;
  --tt-ticket-yellow:#9ddb00;
  --tt-ticket-yellow-dark:#6ea300;
  --tt-ticket-ink:#121212;
  --tt-ticket-muted:#4f5b45;
  --tt-ticket-line:#d8e7b5;
  --tt-ticket-page:#f5f7f2;
}
html body .tt-main-portal{padding-top:0!important;}
html body .tt-theatre-topbar{
  background:var(--tt-ticket-yellow)!important;
  color:#111!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:18px 22px!important;
  align-items:center!important;
}
html body .tt-top-brand-link,
html body .tt-top-brand,
html body .tt-top-brand strong,
html body .tt-top-brand small,
html body .tt-top-user,
html body .tt-top-user span{color:#111!important;}
html body .tt-top-brand strong{font-size:24px!important;letter-spacing:-.03em!important;}
html body .tt-top-brand small{display:none!important;}
html body .tt-brand-icon{background:#ffffff!important;border:0!important;color:#111!important;}
html body .tt-top-links{margin-left:auto!important;}
html body .tt-top-links a{
  background:transparent!important;
  border:0!important;
  color:#111!important;
  border-radius:0!important;
  padding:8px 12px!important;
  font-weight:900!important;
  font-size:14px!important;
  text-transform:lowercase!important;
}
html body .tt-top-links a:hover,
html body .tt-top-links a.is-active{background:rgba(255,255,255,.22)!important;color:#111!important;}
html body .tt-top-user{margin-left:14px!important;}
html body .tt-top-login{
  background:rgba(255,255,255,.28)!important;
  color:#111!important;
  border:1px solid rgba(17,17,17,.18)!important;
  box-shadow:none!important;
  padding:7px 11px!important;
  font-size:12px!important;
  font-weight:800!important;
  border-radius:999px!important;
  opacity:.82!important;
}
html body .tt-top-login:hover{background:#fff!important;color:#111!important;opacity:1!important;}
html body .tt-theatre-hero-main,
html body .tt-area-hero,
html body .tt-hero-theatre,
html body .tt-tag-hero{
  background:#ffffff!important;
  border-color:var(--tt-ticket-line)!important;
  border-top:8px solid var(--tt-ticket-yellow)!important;
  box-shadow:0 12px 30px rgba(28,42,0,.08)!important;
}
html body .tt-hero-copy h1 em,
html body .tt-theatre-hero-main em,
html body .tt-hero-theatre em,
html body .tt-turnos-header h1{color:#111!important;}
html body .tt-kicker{background:var(--tt-ticket-blue-soft)!important;border-color:var(--tt-ticket-line)!important;color:#324600!important;}
html body .tt-primary-link,
html body .tt-home-cards a,
html body .tt-area-consulta-card .tt-gate-form-area button,
html body .tt-portal-login-form-inline button,
html body .tt-gate-form-area button{
  background:var(--tt-ticket-yellow)!important;
  border-color:var(--tt-ticket-yellow-dark)!important;
  color:#111!important;
  box-shadow:none!important;
}
html body .tt-primary-link:hover,
html body .tt-home-cards a:hover,
html body .tt-area-consulta-card .tt-gate-form-area button:hover,
html body .tt-portal-login-form-inline button:hover,
html body .tt-gate-form-area button:hover{background:#b7ec22!important;color:#111!important;}
html body .tt-secondary-link,
html body .tt-area-back{color:#111!important;border-color:var(--tt-ticket-line)!important;}
html body .tt-hero-panel,
html body .tt-home-cards article,
html body .tt-area-card,
html body .tt-card-section,
html body .tt-stage-card,
html body .tt-admin-console,
html body .tt-turnos-gate{border-top-color:var(--tt-ticket-yellow)!important;}
html body .tt-hero-panel span,
html body .tt-home-cards article span,
html body .tt-area-icon{background:var(--tt-ticket-blue-soft)!important;color:#3b5200!important;border-color:var(--tt-ticket-line)!important;}
html body .tt-public-week-head,
html body .tt-week-title{color:#111!important;border-bottom-color:var(--tt-ticket-yellow)!important;}
html body .tt-pub-tech-head{background:#263100!important;color:#fff!important;}
html body .tt-pub-act,
html body .tt-pub-acts-row span,
html body .tt-day-acts span{background:#d7f75d!important;color:#1c2600!important;}
html body .tt-turnos-header,
html body .tt-portal-intro{border-left-color:var(--tt-ticket-yellow)!important;}
@media(max-width:900px){
  html body .tt-theatre-topbar{gap:10px!important;padding:14px!important;}
  html body .tt-top-links{order:2;margin-left:0!important;}
  html body .tt-top-user{order:3;margin-left:0!important;}
}


/* ─────────────────────────────────────────────────────────────
   V38 - Sincronización con tema Teatro Gala Ticket v3 y plugin propio de entradas
   ───────────────────────────────────────────────────────────── */
.tt-public-shell{
  --tt-ticket-blue:#91cf00;
  --tt-ticket-blue-dark:#253400;
  --tt-ticket-blue-soft:#f4f9df;
  --tt-ticket-yellow:#9ddb00;
  --tt-ticket-yellow-dark:#6ea300;
  --tt-ticket-ink:#121212;
  --tt-ticket-muted:#4f5b45;
  --tt-ticket-line:#d8e7b5;
  --tt-ticket-page:#f5f7f2;
  --tt-ticket-surface:#ffffff;
}
html body.tt-portal-body,
html body .tt-fullscreen-portal,
html body .tt-public-shell,
html body .tt-main-portal{
  background:var(--tt-ticket-page)!important;
}
html body .tt-theatre-topbar{
  max-width:1400px!important;
  margin:0 auto 28px!important;
  min-height:86px!important;
}
html body .tt-top-links a{
  text-transform:lowercase!important;
  letter-spacing:-.01em!important;
}
html body .tt-top-user{
  min-width:auto!important;
}
html body .tt-top-login{
  white-space:nowrap!important;
}
html body .tt-theatre-hero-main,
html body .tt-home-cards,
html body .tt-area-hero,
html body .tt-area-grid,
html body .tt-turnos-header,
html body .tt-card-section,
html body .tt-admin-console,
html body .tt-public-week-table-wrap{
  max-width:1400px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body .tt-theatre-hero-main{
  border-top:8px solid var(--tt-ticket-yellow)!important;
}
html body .tt-hero-copy h1{
  letter-spacing:-.045em!important;
}
html body .tt-primary-link,
html body .tt-home-cards a,
html body .tt-area-card button,
html body .tt-gate-form button,
html body .tt-portal-login-form button{
  border-radius:0!important;
  min-height:48px!important;
  text-transform:none!important;
}
html body .tt-hero-panel a{
  color:#111!important;
  font-weight:900!important;
}
html body .tt-home-cards article,
html body .tt-hero-panel,
html body .tt-area-card{
  border-radius:0!important;
}
html body .tt-home-cards article:hover,
html body .tt-hero-panel:hover,
html body .tt-area-card:hover{
  box-shadow:0 14px 32px rgba(28,42,0,.12)!important;
  transform:translateY(-1px);
}
html body .tt-board-legend span,
html body .tt-public-legend span{
  border-radius:0!important;
}
html body .tt-pub-act,
html body .tt-pub-acts-row span,
html body .tt-day-acts span{
  border-radius:0!important;
}
@media(max-width:900px){
  html body .tt-theatre-topbar{margin-bottom:16px!important;}
}

/* V39 - Integración segura en alhauringr.com: estilos aislados del plugin */
.tt-public-shell.tt-main-portal{
  isolation:isolate;
  box-sizing:border-box;
}
.tt-public-shell.tt-main-portal *,
.tt-public-shell.tt-main-portal *:before,
.tt-public-shell.tt-main-portal *:after{box-sizing:border-box;}
.tt-public-shell .tt-brand-logo{display:grid;place-items:center;width:52px;height:52px;background:#fff;border-radius:12px;overflow:hidden;}
.tt-public-shell .tt-brand-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain;}
.tt-public-shell .tt-top-links a{white-space:nowrap;}
.tt-public-shell .tt-visual-integrated{max-width:1400px;}
.tt-public-shell .tt-hero-main-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.tt-public-shell .tt-secondary-link{
  background:#fff!important;
  color:#111!important;
  border:1px solid var(--tt-ticket-line)!important;
  box-shadow:none!important;
}
.tt-public-shell .tt-secondary-link:hover{background:var(--tt-ticket-blue-soft)!important;color:#111!important;}
@media(max-width:900px){
  .tt-public-shell .tt-theatre-topbar{position:relative!important;flex-wrap:wrap;}
  .tt-public-shell .tt-top-brand{width:100%;min-width:0!important;}
  .tt-public-shell .tt-top-links{width:100%;display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;}
  .tt-public-shell .tt-top-user{margin-left:0!important;}
}

/* V40 — Página independiente de Área de personal para integrar con Elementor/alhauringr.com */
.tt-area-only-page{
  min-height:100vh;
  background:#f6f8f0;
  padding:18px 14px 42px;
}
.tt-area-only-topbar{
  max-width:1180px;
  margin:0 auto 18px;
  background:#fff!important;
  color:#111827!important;
  border:1px solid var(--tt-ticket-line,#d8ed99)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.08)!important;
}
.tt-area-only-topbar .tt-top-brand strong{color:#0b3556!important;}
.tt-area-only-topbar .tt-top-brand small{color:#5c6b7b!important;opacity:1!important;}
.tt-area-only-topbar .tt-brand-icon{background:var(--tt-ticket-yellow,#9ddb00);color:#0b3556;}
.tt-area-only-topbar .tt-top-links a{color:#0b3556!important;background:transparent!important;border-color:transparent!important;}
.tt-area-hero-clean,
.tt-area-grid-standalone{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
.tt-area-hero-clean{
  border:1px solid var(--tt-ticket-line,#d8ed99);
  background:linear-gradient(135deg,#ffffff 0%,#f7ffe6 100%);
}
.tt-area-grid-standalone .tt-area-card{
  border-top:5px solid var(--tt-ticket-yellow,#9ddb00);
  box-shadow:0 12px 34px rgba(15,23,42,.08);
}
@media (max-width:760px){
  .tt-area-only-topbar{display:block;text-align:left;}
  .tt-area-only-topbar .tt-top-links{margin-top:10px;justify-content:flex-start;}
}

/* Técnico en prácticas */
.tt-request-box-disabled {
    background:#fff7ed;
    border-color:#fed7aa;
}
.tt-request-box-disabled h4 { color:#9a3412; }

/* v1.0.23 — rangos de incidencias y exportación mensual */
.tt-request-grid-range{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.tt-request-grid-range .wide{grid-column:1/-1}
.tt-va-days-field{display:none}
.tt-form-help{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.35}
.tt-box-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.tt-month-board-wrap{position:relative}
.tt-export-tools{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.tt-export-btn{border:1px solid var(--tt-ticket-line,#d9e8c1);background:#fff;color:#1f3b2f;border-radius:999px;padding:8px 13px;font-weight:800;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.06)}
.tt-export-btn:hover{background:var(--tt-ticket-blue-soft,#eff8df)}
.tt-export-clone{background:#fff;padding:12px;box-sizing:border-box}
@media print{
  @page{size:A4 landscape;margin:7mm}
  body.tt-printing *{visibility:hidden!important}
  body.tt-printing .tt-print-target,
  body.tt-printing .tt-print-target *{visibility:visible!important}
  body.tt-printing .tt-print-target{position:absolute!important;left:0!important;top:0!important;width:100%!important;background:#fff!important;box-shadow:none!important;padding:0!important;margin:0!important}
  body.tt-printing .tt-export-tools,
  body.tt-printing .tt-export-tools *{display:none!important;visibility:hidden!important}
  body.tt-printing .tt-public-week-table{font-size:9px!important}
  body.tt-printing .tt-public-week-table th,
  body.tt-printing .tt-public-week-table td{padding:3px!important}
}
@media (max-width:700px){.tt-request-grid-range{grid-template-columns:1fr}.tt-export-tools{justify-content:flex-start}.tt-export-btn{width:100%;text-align:center}}
@media print{
  body.tt-printing .tt-board-legend{padding:3px 5px!important;margin:0 0 3px!important;font-size:7px!important;gap:3px!important}
  body.tt-printing .tt-code-legend .tt-code-badge{padding:2px 4px!important;font-size:7px!important}
  body.tt-printing .tt-public-week-table-wrap{margin:0 0 4px!important;break-inside:avoid!important;page-break-inside:avoid!important;border-radius:0!important;box-shadow:none!important}
  body.tt-printing .tt-public-week-head{padding:2px 5px!important;font-size:8px!important}
  body.tt-printing .tt-pub-act{font-size:6px!important;line-height:1!important;max-height:12px!important;overflow:hidden!important}
  body.tt-printing .tt-work-dot,body.tt-printing .tt-inc-code{font-size:7px!important;min-width:12px!important;padding:1px 2px!important}
  body.tt-printing .tt-month-board{transform-origin:top left!important;}
}

/* v1.0.24 — vacaciones con cálculo bidireccional y exportación A4 real */
.tt-range-preview{
  min-height:38px;
  display:flex;
  align-items:center;
  padding:8px 10px;
  border:1px dashed #cbd5e1;
  border-radius:12px;
  background:#f8fafc;
  color:#475569;
  font-size:13px;
  font-weight:700;
}
.tt-range-preview.is-ok{
  border-color:#84cc16;
  background:#f7fee7;
  color:#365314;
}
.tt-range-preview-public span{font-weight:800;color:#334155;margin-bottom:4px;display:block}

@media print{
  @page{size:A4 landscape;margin:5mm!important}
  html,body{background:#fff!important;}
  body.tt-printing *{visibility:hidden!important}
  body.tt-printing .tt-print-target,
  body.tt-printing .tt-print-target *{visibility:visible!important}
  body.tt-printing .tt-print-target{
    position:absolute!important;
    left:0!important;
    top:0!important;
    width:100%!important;
    max-width:none!important;
    background:#fff!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  body.tt-printing .tt-export-tools,
  body.tt-printing .tt-export-tools *{display:none!important;visibility:hidden!important}
  body.tt-printing .tt-board-legend{padding:1px 3px!important;margin:0 0 2px!important;font-size:6px!important;gap:2px!important;line-height:1!important}
  body.tt-printing .tt-board-legend span{padding:1px 3px!important;font-size:6px!important;gap:2px!important;border-radius:4px!important}
  body.tt-printing .tt-board-legend span b{width:5px!important;height:5px!important}
  body.tt-printing .tt-board-legend em{font-size:6px!important}
  body.tt-printing .tt-code-legend .tt-code-badge{padding:1px 3px!important;font-size:6px!important}
  body.tt-printing .tt-code-legend .tt-code-badge small{font-size:5px!important}
  body.tt-printing .tt-public-week-table-wrap{
    margin:0 0 2px!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
    border-radius:0!important;
    box-shadow:none!important;
    border-color:#b8c3cf!important;
  }
  body.tt-printing .tt-public-week-head{padding:1px 5px!important;font-size:7px!important;line-height:1.1!important;height:8px!important;min-height:0!important}
  body.tt-printing .tt-public-table-scroll{overflow:visible!important}
  body.tt-printing .tt-public-week-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;font-size:6px!important;line-height:1!important}
  body.tt-printing .tt-pub-tech-head{width:58px!important;padding-left:3px!important;font-size:6px!important}
  body.tt-printing .tt-pub-tech-name{height:13px!important;padding:0 2px!important;font-size:6px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.tt-printing .tt-pub-tech-name span{width:2px!important;height:9px!important;margin-right:2px!important;border-radius:0!important}
  body.tt-printing .tt-pub-day-head{height:17px!important;padding:0!important;line-height:1!important}
  body.tt-printing .tt-pub-day-num{font-size:8px!important;line-height:1!important}
  body.tt-printing .tt-pub-day-name{font-size:5px!important;line-height:1!important;margin:0!important}
  body.tt-printing .tt-pub-day-head.is-today .tt-pub-day-num{width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important;color:#0f172a!important}
  body.tt-printing .tt-pub-act{font-size:4.5px!important;line-height:1!important;max-height:6px!important;overflow:hidden!important;margin:0!important;padding:0 1px!important;border-radius:0!important;white-space:nowrap!important;text-overflow:clip!important}
  body.tt-printing .tt-pub-shifts-row th{height:6px!important;font-size:5px!important;line-height:1!important;padding:0!important}
  body.tt-printing .tt-pub-cell{height:13px!important;min-height:0!important;padding:0!important}
  body.tt-printing .tt-work-dot{font-size:6px!important;line-height:1!important;min-width:0!important;padding:0!important;height:auto!important;width:auto!important;display:inline!important}
  body.tt-printing .tt-inc-code{font-size:5px!important;min-width:0!important;padding:0 1px!important;margin:0!important;border-radius:0!important;line-height:1!important;border:0!important}
  body.tt-printing .tt-pub-acts-row th{height:8px!important;font-size:5px!important;padding:0 2px!important;line-height:1!important}
  body.tt-printing .tt-pub-acts-row td{height:8px!important;font-size:4.5px!important;line-height:1!important;padding:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
  body.tt-printing .tt-pub-acts-row span{padding:0!important;background:transparent!important;color:#92400e!important;border-radius:0!important}
  body.tt-printing .tt-public-week-table th,
  body.tt-printing .tt-public-week-table td{padding:0!important;border-width:.5px!important}
}

/* v1.0.26 — exportación PDF/JPG robusta en una sola página */
.tt-export-download-note{
  flex-basis:100%;
  margin-top:8px;
  padding:8px 10px;
  border:1px solid #bbf7d0;
  border-radius:10px;
  background:#ecfdf5;
  color:#065f46;
  font-size:13px;
  font-weight:700;
}
.tt-export-download-note a{color:#075985!important;text-decoration:underline!important;font-weight:900!important;}
#tt-export-print-layer{display:none;}
@media print{
  body.tt-export-printing-image *{visibility:hidden!important;}
  body.tt-export-printing-image #tt-export-print-layer,
  body.tt-export-printing-image #tt-export-print-layer *{visibility:visible!important;}
  body.tt-export-printing-image #tt-export-print-layer{
    display:flex!important;
    position:fixed!important;
    inset:0!important;
    width:297mm!important;
    height:210mm!important;
    margin:0!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    background:#fff!important;
    z-index:2147483647!important;
    overflow:hidden!important;
  }
  body.tt-export-printing-image #tt-export-print-layer img{
    display:block!important;
    width:297mm!important;
    height:210mm!important;
    object-fit:contain!important;
    margin:0!important;
    padding:0!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }
  @page{size:A4 landscape;margin:0;}
}

/* v1.0.27 — exportación robusta en una sola página mediante iframe aislado */
#tt-print-frame{display:block!important;}
.tt-export-download-note{font-size:13px;line-height:1.35;}

/* v1.0.28 — integración con TAG - Control Horario */
.tt-horas-page {
  min-height: 100vh;
}

.tt-horas-section {
  margin-top: 22px;
}

.tt-horas-section .tag-ch-app {
  max-width: 1180px;
  margin: 0 auto;
  box-shadow: none;
}

.tt-area-card .tt-secondary-link.tt-area-full {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}

/* v1.0.29 — legibilidad y vista rápida móvil del cuadrante */
html body .tt-public-week-table{
  font-size:14px;
}
html body .tt-pub-tech-head{
  font-size:15px!important;
  font-weight:900!important;
}
html body .tt-pub-tech-name{
  font-size:16px!important;
  font-weight:950!important;
  letter-spacing:.01em;
}
html body .tt-pub-day-num{
  font-size:24px!important;
  font-weight:950!important;
}
html body .tt-pub-day-name{
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:.02em;
}
html body .tt-work-dot{
  font-size:17px!important;
  font-weight:950!important;
}
html body .tt-pub-shifts-row th{
  font-size:13px!important;
  font-weight:950!important;
}
html body .tt-public-week-head{
  font-size:16px!important;
}
html body .tt-quick-calendar-link{
  margin-left:auto;
  white-space:nowrap;
}
html body .tt-box-title-row{
  gap:12px;
  flex-wrap:wrap;
}
html body .tt-quick-image-page{
  min-height:100vh;
}
html body .tt-quick-image-header{
  align-items:center;
}
html body .tt-quick-image-app{
  overflow:hidden;
}
html body .tt-quick-image-tools{
  justify-content:flex-start;
  margin-bottom:14px;
}
html body .tt-quick-image-stage{
  background:#fff;
  border:1px solid var(--tt-ticket-line, #d8e4ee);
  border-radius:16px;
  padding:10px;
  overflow:auto;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.03);
  -webkit-overflow-scrolling:touch;
}
html body .tt-quick-board-image{
  display:block;
  width:1600px;
  max-width:none;
  height:auto;
  border-radius:10px;
  background:#fff;
}
html body .tt-quick-image-source{
  position:absolute!important;
  left:-12000px!important;
  top:auto!important;
  width:1680px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body .tt-quick-image-source .tt-export-tools{
  display:none!important;
}
@media (max-width: 860px){
  html body .tt-pub-tech-name{font-size:15px!important;}
  html body .tt-pub-day-num{font-size:22px!important;}
  html body .tt-pub-day-name{font-size:13px!important;}
  html body .tt-quick-board-image{width:1500px;}
  html body .tt-quick-calendar-link{width:100%;margin-left:0;text-align:center;}
}

/* ── V50: resumen mensual visible en ficha y coordinación ───────── */
html body .tt-month-summary-detail,
html body .tt-public-summary-all{
  margin:18px 0 22px;
  background:#fff;
  border:1px solid var(--tt-ticket-line,#d8e4ee);
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
html body .tt-summary-title-row,
html body .tt-public-summary-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
html body .tt-summary-title-row h4,
html body .tt-public-summary-head h3{
  margin:0;
  color:#0f172a;
  font-size:20px;
  font-weight:900;
}
html body .tt-public-summary-head p{margin:2px 0 0;color:#64748b;font-size:13px;}
html body .tt-summary-state,
html body .tt-public-summary-state{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
html body .tt-summary-state-ok,
html body .tt-public-summary-state-ok{background:#dcfce7;color:#166534;}
html body .tt-summary-state-warn,
html body .tt-public-summary-state-warn{background:#fef3c7;color:#92400e;}
html body .tt-summary-state-over,
html body .tt-public-summary-state-over{background:#fee2e2;color:#991b1b;}
html body .tt-summary-state-info,
html body .tt-public-summary-state-info{background:#ffedd5;color:#9a3412;}
html body .tt-summary-detail-grid,
html body .tt-public-summary-mini{
  display:grid;
  grid-template-columns:repeat(4,minmax(120px,1fr));
  gap:10px;
}
html body .tt-summary-detail-grid div,
html body .tt-public-summary-mini span{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:10px;
}
html body .tt-summary-detail-grid b,
html body .tt-public-summary-mini b{
  display:block;
  font-size:20px;
  font-weight:950;
  color:#0f172a;
  line-height:1;
}
html body .tt-summary-detail-grid small,
html body .tt-public-summary-mini small{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:11px;
  font-weight:800;
}
html body .tt-public-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(260px,1fr));
  gap:14px;
}
html body .tt-public-summary-card{
  border-top:5px solid var(--ttc,#475569);
  background:#fff;
  border-radius:16px;
  border-left:1px solid #e2e8f0;
  border-right:1px solid #e2e8f0;
  border-bottom:1px solid #e2e8f0;
  padding:14px;
}
html body .tt-public-summary-name{font-weight:950;color:var(--ttc,#475569);font-size:17px;margin-bottom:8px;}
html body .tt-public-summary-main{display:flex;align-items:baseline;gap:6px;margin-bottom:8px;}
html body .tt-public-summary-main strong{font-size:30px;line-height:1;font-weight:950;color:#0f172a;}
html body .tt-public-summary-main span{font-size:13px;color:#475569;font-weight:700;}
@media(max-width:900px){
  html body .tt-summary-detail-grid,
  html body .tt-public-summary-mini{grid-template-columns:repeat(2,minmax(120px,1fr));}
  html body .tt-public-summary-grid{grid-template-columns:1fr;}
}

/* ── V1.0.31: cabecera de días en una línea para lectura/impresión ── */
html body .tt-pub-day-line{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
html body .tt-pub-day-line .tt-pub-day-name{
  order:1;
  font-size:16px!important;
  font-weight:950!important;
  color:#334155!important;
  margin:0!important;
  letter-spacing:.04em!important;
}
html body .tt-pub-day-line .tt-pub-day-num{
  order:2;
  font-size:30px!important;
  font-weight:950!important;
  line-height:1!important;
  color:#0f172a!important;
}
html body .tt-pub-day-head.is-today .tt-pub-day-line .tt-pub-day-num{
  display:inline-flex!important;
  width:34px!important;
  height:34px!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#1f77b4!important;
  color:#fff!important;
}
html body .tt-pub-day-head{
  height:78px!important;
}
@media(max-width:860px){
  html body .tt-pub-day-line .tt-pub-day-name{font-size:14px!important;}
  html body .tt-pub-day-line .tt-pub-day-num{font-size:26px!important;}
}


/* v1.0.33 — M/T y doble turno más legibles */
html body .tt-work-dot{font-size:22px!important;font-weight:950!important;letter-spacing:.06em!important;line-height:1!important;}
html body .tt-work-dot-double{font-size:18px!important;letter-spacing:.03em!important;}
html body .tt-pub-cell.is-on{font-weight:950!important;}
html body .tt-pub-shifts-row th{font-size:15px!important;font-weight:950!important;}
html body .tt-pub-tech-name{font-size:17px!important;font-weight:950!important;}
html body .tt-password-recovery{margin-top:12px;border-top:1px solid #e2e8f0;padding-top:10px;}
html body .tt-password-recovery summary{cursor:pointer;font-weight:900;color:#0f3b5f;}
html body .tt-password-recovery-form{margin-top:10px;display:grid;gap:10px;}
html body .tt-password-recovery-form input[type=text]{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:#fff;}
html body .tt-password-recovery-form button{border:0;border-radius:12px;padding:12px 14px;background:#0f3b5f;color:#fff;font-weight:900;cursor:pointer;}
html body .tt-alert-ok{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important;}
@media print{body.tt-printing .tt-work-dot{font-size:10px!important;font-weight:950!important;}body.tt-printing .tt-work-dot-double{font-size:8px!important;}}


/* v1.0.34 — letras de turnos en blanco y DOBLE visual unido */
html body .tt-pub-cell.is-on .tt-work-dot{
    color:#fff!important;
    text-shadow:0 1px 2px rgba(0,0,0,.25);
}
html body .tt-work-dot-double.tt-work-dot-do{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:100%!important;
    text-align:right!important;
    padding-right:2px!important;
    box-sizing:border-box!important;
}
html body .tt-work-dot-double.tt-work-dot-ble{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    text-align:left!important;
    padding-left:2px!important;
    box-sizing:border-box!important;
}
@media print{
    body.tt-printing .tt-pub-cell.is-on .tt-work-dot{color:#fff!important;text-shadow:none!important;}
    body.tt-printing .tt-work-dot-double.tt-work-dot-do{justify-content:flex-end!important;text-align:right!important;padding-right:1px!important;}
    body.tt-printing .tt-work-dot-double.tt-work-dot-ble{justify-content:flex-start!important;text-align:left!important;padding-left:1px!important;}
}


/* v1.0.35 - Reset de contraseña integrado y mejoras de personal */
html body .tt-reset-page{min-height:100vh;}
html body .tt-reset-section{margin-top:22px;}
html body .tt-reset-card{max-width:520px;margin:0 auto;}
html body .tt-reset-form{margin-top:14px;}


/* v1.0.38 — exportación más legible, título de mes y navegación inferior */
.tt-board-print-title{display:none!important;}
.tt-bottom-month-nav{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:14px 0 18px;padding:10px;border:1px solid var(--tt-ticket-line,#d9e8c1);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.tt-bottom-month-nav a,.tt-bottom-month-nav strong{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;border-radius:999px;font-weight:900;text-decoration:none;}
.tt-bottom-month-nav a{border:1px solid var(--tt-ticket-line,#d9e8c1);background:#f8fafc;color:#164e38;}
.tt-bottom-month-nav a:hover{background:var(--tt-ticket-blue-soft,#eff8df);}
.tt-bottom-month-nav strong{color:#0f172a;background:#fff;}
.tt-bottom-month-nav .tt-bottom-today{background:#0f766e;color:#fff;border-color:#0f766e;}
.tt-public-week-head{border-top:5px solid #95d600!important;border-bottom:3px solid #95d600!important;font-size:16px!important;font-weight:950!important;}
.tt-public-week-table-wrap{border-top:4px solid #95d600!important;}
.tt-pub-acts-row{display:none!important;}
.tt-pub-tech-name{font-size:14px!important;font-weight:950!important;}
.tt-pub-cell.is-on .tt-work-dot{font-size:15px!important;font-weight:950!important;color:#fff!important;line-height:1!important;}
.tt-work-dot-double.tt-work-dot-do{display:flex!important;justify-content:flex-end!important;text-align:right!important;width:100%!important;padding-right:2px!important;}
.tt-work-dot-double.tt-work-dot-ble{display:flex!important;justify-content:flex-start!important;text-align:left!important;width:100%!important;padding-left:2px!important;}
@media (max-width:700px){.tt-bottom-month-nav{justify-content:stretch}.tt-bottom-month-nav a,.tt-bottom-month-nav strong{flex:1 1 140px}.tt-bottom-month-nav .tt-bottom-today{flex-basis:100%}}


/* v1.0.39 — nombres, turnos y leyenda más legibles en cuadrante, impresión/JPG y vista rápida */
html body .tt-pub-tech-name{
  font-size:22px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  line-height:1.05!important;
}
html body .tt-pub-tech-name span{
  width:7px!important;
  height:34px!important;
  margin-right:10px!important;
}
html body .tt-pub-cell.is-on .tt-work-dot,
html body .tt-work-dot{
  font-size:22px!important;
  font-weight:950!important;
  color:#fff!important;
  line-height:1!important;
}
html body .tt-work-dot-double{
  font-size:22px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
}
html body .tt-inc-code,
html body .tt-pub-cell small.tt-inc-code{
  min-width:42px!important;
  padding:6px 8px!important;
  font-size:20px!important;
  font-weight:950!important;
  line-height:1!important;
  border-radius:9px!important;
}
html body .tt-code-badge{
  font-size:20px!important;
  font-weight:950!important;
  padding:8px 12px!important;
  gap:8px!important;
}
html body .tt-code-badge small{
  font-size:15px!important;
  font-weight:850!important;
}
html body .tt-tech-legend,
html body .tt-public-legend span,
html body .tt-board-legend span{
  font-size:18px!important;
  font-weight:950!important;
}
html body .tt-legend-title{
  font-size:18px!important;
  font-weight:950!important;
}
html body .tt-quick-image-header .tt-kicker{
  font-size:0!important;
}
html body .tt-quick-image-header .tt-kicker:after{
  content:'Vista rápida';
  font-size:13px!important;
}
@media(max-width:900px){
  html body .tt-pub-tech-name{font-size:18px!important;}
  html body .tt-pub-cell.is-on .tt-work-dot,
  html body .tt-work-dot,
  html body .tt-work-dot-double{font-size:20px!important;}
  html body .tt-inc-code,
  html body .tt-pub-cell small.tt-inc-code{font-size:17px!important;min-width:36px!important;}
}

/* v1.0.40 — Vista rápida integrada: sin cabecera/menú antiguo del plugin */
html body .tt-quick-image-integrated{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  color:inherit;
  font-family:inherit;
  background:transparent;
}
html body .tt-quick-image-integrated .tt-turnos-header,
html body .tt-quick-image-integrated .tt-card-section{
  max-width:1500px;
  margin-left:auto;
  margin-right:auto;
}
html body .tt-quick-image-integrated .tt-turnos-header{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:18px 0 10px!important;
}
html body .tt-quick-image-integrated .tt-turnos-header h1{
  color:inherit;
}
html body .tt-quick-image-integrated .tt-card-section{
  background:#fff;
}


/* v1.0.41 — cuadrante integrado en el tema + foto pequeña del técnico */
html body .tt-public-shell.tt-theatre-home.tt-visual-clean,
html body .tt-public-shell.tt-theatre-home.tt-visual-integrated{
  max-width:100%;
}
html body .tt-pub-tech-name{
  gap:6px;
  align-items:center;
}
html body .tt-pub-tech-name .tt-tech-color-dot,
html body .tt-pub-tech-name > span:not(.tt-tech-color-dot){
  width:9px;
  height:9px;
  min-width:9px;
  border-radius:999px;
  background:var(--ttc);
  display:inline-block;
}
html body .tt-pub-tech-name strong{
  font:inherit;
  font-weight:900;
  line-height:1.05;
}
html body .tt-tech-photo{
  width:24px;
  height:24px;
  min-width:24px;
  border-radius:999px;
  object-fit:cover;
  vertical-align:middle;
  border:2px solid #fff;
  box-shadow:0 1px 4px rgba(15,23,42,.18);
  background:#f8fafc;
}
html body .tt-tech-photo-legend{
  width:20px;
  height:20px;
  min-width:20px;
  margin:0 4px 0 0;
}
html body .tt-public-summary-name{
  display:flex;
  align-items:center;
  gap:7px;
}
html body .tt-tech-photo-summary{
  width:22px;
  height:22px;
  min-width:22px;
}
@media (max-width:700px){
  html body .tt-tech-photo{width:22px;height:22px;min-width:22px;}
  html body .tt-pub-tech-name{gap:4px;}
}

html body .tt-avatar.tt-avatar-photo{overflow:hidden;background:#f8fafc;padding:0;}
html body .tt-avatar.tt-avatar-photo img{width:100%;height:100%;object-fit:cover;display:block;}


/* v1.0.42 — Cuadrante integrado: quita verde fuerte y muestra foto junto al nombre */
.tt-month-board,
.tt-month-board-wrap{
  --tt-cuad-head:#eef5fb;
  --tt-cuad-head-border:#cbd9e6;
  --tt-cuad-dark:#111827;
  --tt-cuad-text:#111827;
}
html body .tt-month-board .tt-public-week-table-wrap{
  border:1px solid var(--tt-cuad-head-border)!important;
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
  overflow:hidden!important;
  background:#fff!important;
}
html body .tt-month-board .tt-public-week-head,
html body .tt-month-board .tt-week-title{
  background:var(--tt-cuad-head)!important;
  color:var(--tt-cuad-text)!important;
  border-bottom:1px solid var(--tt-cuad-head-border)!important;
  font-weight:900!important;
}
html body .tt-month-board .tt-pub-tech-head{
  background:var(--tt-cuad-dark)!important;
  color:#fff!important;
}
html body .tt-month-board .tt-pub-day-head{
  background:#f4f7fa!important;
  color:#334155!important;
}
html body .tt-month-board .tt-pub-day-head.is-weekend{
  background:#fff7ed!important;
}
html body .tt-month-board .tt-pub-day-head.is-today .tt-pub-day-num{
  background:#dbeafe!important;
  color:#0f172a!important;
}
html body .tt-month-board .tt-pub-act,
html body .tt-month-board .tt-pub-acts-row span,
html body .tt-month-board .tt-day-acts span{
  background:#fef3c7!important;
  color:#78350f!important;
  border-radius:7px!important;
}
html body .tt-month-board .tt-pub-tech-name{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:160px!important;
  white-space:nowrap!important;
}
html body .tt-month-board .tt-pub-tech-name .tt-tech-color-dot{
  flex:0 0 5px!important;
  display:inline-block!important;
  width:5px!important;
  height:34px!important;
  border-radius:5px!important;
  margin:0!important;
  background:var(--ttc)!important;
}
html body .tt-month-board .tt-tech-photo{
  flex:0 0 auto!important;
  display:inline-block!important;
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  border:2px solid #fff!important;
  box-shadow:0 0 0 1px rgba(15,23,42,.16)!important;
  vertical-align:middle!important;
}
html body .tt-month-board .tt-tech-photo-legend{
  width:20px!important;
  height:20px!important;
  margin:0 2px!important;
}
html body .tt-month-board .tt-tech-photo-summary{
  width:34px!important;
  height:34px!important;
}
html body .tt-month-board .tt-pub-tech-name strong{
  display:inline-block!important;
  line-height:1.1!important;
}

/* v1.0.43 — Mi perfil vinculado con foto/firma del usuario */
html body .tt-menu-profile-link{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;}
html body .tt-menu-profile-link img{width:28px!important;height:28px!important;border-radius:999px!important;object-fit:cover!important;display:block!important;border:2px solid rgba(15,23,42,.12)!important;background:#fff!important;}
html body .tt-profile-page .tt-card-section{overflow:visible;}
html body .tt-profile-form{display:grid;gap:22px;}
html body .tt-profile-cover{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid rgba(15,23,42,.10);border-radius:24px;background:linear-gradient(135deg,#f8fafc,#eef7ef);}
html body .tt-profile-photo-box{width:92px;height:92px;border-radius:28px;overflow:hidden;background:#111827;color:#fff;display:grid;place-items:center;font-size:40px;font-weight:900;box-shadow:0 12px 26px rgba(15,23,42,.16);flex:0 0 auto;}
html body .tt-profile-photo-box img{width:100%;height:100%;object-fit:cover;display:block;}
html body .tt-profile-cover h2{margin:0 0 4px;font-size:clamp(26px,4vw,42px);line-height:1.05;}
html body .tt-profile-cover p{margin:0 0 12px;color:#475569;font-weight:700;}
html body .tt-profile-upload{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(15,23,42,.14);background:#fff;border-radius:999px;padding:10px 16px;font-weight:900;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.08);}
html body .tt-profile-upload input{display:none!important;}
html body .tt-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
html body .tt-profile-grid label{font-weight:900;color:#0f172a;display:grid;gap:8px;}
html body .tt-profile-grid input,html body .tt-profile-grid select{width:100%;border:1px solid rgba(15,23,42,.16);border-radius:14px;padding:13px 14px;background:#fff;color:#0f172a;font-weight:800;box-sizing:border-box;}
html body .tt-signature-panel{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:center;padding:18px;border:1px dashed rgba(15,23,42,.20);border-radius:22px;background:#fff;}
html body .tt-signature-panel h3{margin:0 0 6px;font-size:22px;}
html body .tt-signature-panel p{margin:0 0 12px;color:#64748b;font-weight:700;}
html body .tt-signature-preview{height:120px;border:1px solid rgba(15,23,42,.14);border-radius:18px;background:#f8fafc;display:grid;place-items:center;overflow:hidden;color:#64748b;font-weight:900;}
html body .tt-signature-preview img{max-width:100%;max-height:100%;object-fit:contain;display:block;}
html body .tt-profile-note{border-radius:18px;background:#ecfdf5;border:1px solid #bbf7d0;color:#064e3b;padding:14px 16px;font-weight:800;}
html body .tt-profile-actions{display:flex;justify-content:flex-end;}
html body .tt-profile-save{min-width:180px;}
@media (max-width:700px){html body .tt-profile-cover{align-items:flex-start;}html body .tt-profile-grid{grid-template-columns:1fr;}html body .tt-signature-panel{grid-template-columns:1fr;}html body .tt-profile-photo-box{width:76px;height:76px;border-radius:22px;font-size:32px;}}
html body .tt-area-profile-link{display:flex!important;align-items:center;justify-content:center;gap:8px;}
html body .tt-area-profile-link img{width:24px;height:24px;border-radius:999px;object-fit:cover;border:2px solid rgba(15,23,42,.12);background:#fff;}

/* v1.0.44 — Ajuste real del cuadrante: nombres completos con foto y sin verde fuerte */
html body .tt-month-board,
html body .tt-month-board-wrap{
  --tt-cuad-head:#edf4fb!important;
  --tt-cuad-head-border:#c9d8e8!important;
  --tt-cuad-dark:#101820!important;
  --tt-cuad-text:#111827!important;
}
html body .tt-month-board .tt-public-week-head,
html body .tt-month-board-wrap .tt-public-week-head,
html body .tt-public-calendar-section .tt-public-week-head{
  background:#edf4fb!important;
  color:#111827!important;
  border-top:1px solid #c9d8e8!important;
  border-bottom:1px solid #c9d8e8!important;
  box-shadow:none!important;
  padding:10px 14px!important;
  font-size:16px!important;
  font-weight:950!important;
}
html body .tt-month-board .tt-public-week-table-wrap,
html body .tt-month-board-wrap .tt-public-week-table-wrap,
html body .tt-public-calendar-section .tt-public-week-table-wrap{
  border-top:0!important;
  border-color:#c9d8e8!important;
  border-radius:18px!important;
  overflow:auto!important;
  background:#fff!important;
}
html body .tt-month-board .tt-public-table-scroll,
html body .tt-month-board-wrap .tt-public-table-scroll,
html body .tt-public-calendar-section .tt-public-table-scroll{
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
html body .tt-month-board .tt-public-week-table,
html body .tt-month-board-wrap .tt-public-week-table,
html body .tt-public-calendar-section .tt-public-week-table{
  table-layout:fixed!important;
  min-width:1320px!important;
}
html body .tt-month-board .tt-pub-tech-head,
html body .tt-month-board-wrap .tt-pub-tech-head,
html body .tt-public-calendar-section .tt-pub-tech-head{
  width:230px!important;
  min-width:230px!important;
  max-width:230px!important;
  padding-left:14px!important;
}
html body .tt-month-board .tt-pub-tech-name,
html body .tt-month-board-wrap .tt-pub-tech-name,
html body .tt-public-calendar-section .tt-pub-tech-name{
  width:230px!important;
  min-width:230px!important;
  max-width:230px!important;
  height:52px!important;
  min-height:52px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  padding:6px 10px!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-align:left!important;
}
html body .tt-month-board .tt-pub-tech-name .tt-tech-color-dot,
html body .tt-month-board-wrap .tt-pub-tech-name .tt-tech-color-dot,
html body .tt-public-calendar-section .tt-pub-tech-name .tt-tech-color-dot{
  flex:0 0 5px!important;
  width:5px!important;
  min-width:5px!important;
  height:38px!important;
  border-radius:999px!important;
  background:var(--ttc)!important;
  margin:0!important;
}
html body .tt-month-board .tt-pub-tech-name .tt-tech-photo,
html body .tt-month-board-wrap .tt-pub-tech-name .tt-tech-photo,
html body .tt-public-calendar-section .tt-pub-tech-name .tt-tech-photo{
  flex:0 0 34px!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  object-fit:cover!important;
  display:block!important;
  margin:0!important;
}
html body .tt-month-board .tt-pub-tech-name strong,
html body .tt-month-board-wrap .tt-pub-tech-name strong,
html body .tt-public-calendar-section .tt-pub-tech-name strong{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  display:block!important;
  font-size:21px!important;
  line-height:1.08!important;
}
@media(max-width:700px){
  html body .tt-month-board .tt-public-week-table,
  html body .tt-month-board-wrap .tt-public-week-table,
  html body .tt-public-calendar-section .tt-public-week-table{min-width:1380px!important;}
  html body .tt-month-board .tt-pub-tech-head,
  html body .tt-month-board-wrap .tt-pub-tech-head,
  html body .tt-public-calendar-section .tt-pub-tech-head,
  html body .tt-month-board .tt-pub-tech-name,
  html body .tt-month-board-wrap .tt-pub-tech-name,
  html body .tt-public-calendar-section .tt-pub-tech-name{width:245px!important;min-width:245px!important;max-width:245px!important;}
  html body .tt-month-board .tt-pub-tech-name strong,
  html body .tt-month-board-wrap .tt-pub-tech-name strong,
  html body .tt-public-calendar-section .tt-pub-tech-name strong{font-size:20px!important;}
}

/* v1.0.44 — Inicio: menú arriba y portada limpia preparada para diseño final */
html body .tt-main-portal .tt-theatre-topbar{
  position:relative!important;
  z-index:5!important;
  margin-bottom:18px!important;
}
html body .tt-home-cover-v64{
  width:100%!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)!important;
  gap:22px!important;
  align-items:stretch!important;
  padding:34px!important;
  border:1px solid #dbe7f1!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 15% 12%, rgba(14,165,233,.18), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(132,204,22,.16), transparent 28%),
    linear-gradient(135deg,#ffffff 0%,#f5f9fc 50%,#eef7f1 100%)!important;
  box-shadow:0 18px 55px rgba(15,23,42,.10)!important;
  overflow:hidden!important;
}
html body .tt-home-cover-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:320px!important;}
html body .tt-home-cover-copy h1{margin:10px 0 12px!important;font-size:clamp(38px,6vw,78px)!important;line-height:.95!important;letter-spacing:-.05em!important;color:#0f172a!important;font-weight:950!important;}
html body .tt-home-cover-copy p{max-width:760px!important;margin:0!important;color:#475569!important;font-size:18px!important;line-height:1.6!important;font-weight:650!important;}
html body .tt-home-cover-actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:24px!important;}
html body .tt-home-cover-panel{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-height:320px!important;border-radius:26px!important;padding:26px!important;background:#101820!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;}
html body .tt-home-cover-panel strong{font-size:30px!important;line-height:1.05!important;margin:16px 0 8px!important;color:#fff!important;}
html body .tt-home-cover-panel p{margin:0!important;color:#dbeafe!important;font-size:15px!important;line-height:1.5!important;}
html body .tt-home-cover-badge{width:76px!important;height:76px!important;border-radius:24px!important;display:grid!important;place-items:center!important;background:#fff!important;color:#101820!important;font-size:30px!important;font-weight:950!important;box-shadow:0 18px 35px rgba(0,0,0,.22)!important;}
@media(max-width:860px){
  html body .tt-home-cover-v64{grid-template-columns:1fr!important;padding:24px!important;border-radius:24px!important;}
  html body .tt-home-cover-copy{min-height:260px!important;}
  html body .tt-home-cover-panel{min-height:210px!important;}
}


/* v1.0.45 — Portada premium con foto animada y cabecera elegante */
html body .tt-main-portal.tt-theatre-home{
  --tt-v65-bg:#050712;
  --tt-v65-card:rgba(10,12,24,.72);
  --tt-v65-line:rgba(255,255,255,.15);
  --tt-v65-text:#f8fafc;
  --tt-v65-muted:rgba(248,250,252,.74);
  --tt-v65-amber:#ffb25c;
  --tt-v65-magenta:#dd3ed8;
  --tt-v65-purple:#8b5cf6;
  background:radial-gradient(circle at 70% 10%,rgba(140,74,255,.26),transparent 36%),linear-gradient(180deg,#050712 0%,#0a0c16 100%)!important;
  color:var(--tt-v65-text)!important;
  border-radius:0!important;
  padding:18px!important;
  overflow:hidden!important;
  min-height:100vh!important;
}
html body .tt-main-portal .tt-home-elegant-topbar{
  position:relative!important;
  z-index:20!important;
  display:flex!important;
  align-items:center!important;
  gap:22px!important;
  max-width:1720px!important;
  margin:0 auto -86px!important;
  padding:16px 22px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(13,16,31,.78),rgba(28,22,42,.62))!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 22px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
}
html body .tt-main-portal .tt-home-elegant-topbar:before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,178,92,.18),transparent 25%,rgba(221,62,216,.18) 65%,transparent)!important;
  opacity:.75;
}
html body .tt-main-portal .tt-home-elegant-topbar .tt-top-brand{position:relative;z-index:1;min-width:320px!important;color:#fff!important;text-decoration:none!important;}
html body .tt-main-portal .tt-home-elegant-topbar .tt-top-brand strong{color:#fff!important;font-size:18px!important;letter-spacing:.01em!important;font-weight:850!important;}
html body .tt-main-portal .tt-home-elegant-topbar .tt-top-brand small{color:rgba(248,250,252,.62)!important;font-size:12px!important;letter-spacing:.08em!important;text-transform:uppercase!important;}
html body .tt-main-portal .tt-brand-icon-line{
  width:54px!important;height:54px!important;border-radius:999px!important;display:grid!important;place-items:center!important;
  background:linear-gradient(135deg,rgba(255,178,92,.18),rgba(221,62,216,.18))!important;
  border:1px solid rgba(255,255,255,.20)!important;color:#ffd38b!important;font-size:26px!important;box-shadow:0 0 0 1px rgba(221,62,216,.12),0 16px 40px rgba(221,62,216,.18)!important;
}
html body .tt-main-portal .tt-home-elegant-links{position:relative;z-index:1;margin-left:auto!important;display:flex!important;gap:12px!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;}
html body .tt-main-portal .tt-home-elegant-links a{
  min-height:42px!important;padding:0 14px!important;border-radius:999px!important;background:transparent!important;border:1px solid transparent!important;
  color:rgba(248,250,252,.86)!important;font-size:15px!important;font-weight:700!important;letter-spacing:.01em!important;text-decoration:none!important;box-shadow:none!important;
}
html body .tt-main-portal .tt-home-elegant-links a:hover,
html body .tt-main-portal .tt-home-elegant-links a.is-active{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important;}
html body .tt-main-portal .tt-home-elegant-links a.is-active:after{content:"";display:block;width:28px;height:2px;border-radius:9px;background:linear-gradient(90deg,var(--tt-v65-amber),var(--tt-v65-magenta));position:absolute;bottom:5px;left:50%;transform:translateX(-50%);}
html body .tt-main-portal .tt-home-elegant-links a.is-active{position:relative!important;}
html body .tt-main-portal .tt-home-elegant-links .tt-area-profile-link{gap:8px!important;border-left:1px solid rgba(255,255,255,.16)!important;border-radius:0!important;padding-left:28px!important;}
html body .tt-main-portal .tt-home-elegant-links .tt-area-profile-link img{width:30px!important;height:30px!important;border:1px solid rgba(255,255,255,.35)!important;box-shadow:0 0 0 3px rgba(255,255,255,.07)!important;}
html body .tt-main-portal .tt-profile-dot{width:34px;height:34px;border-radius:999px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);color:#fff;background:rgba(255,255,255,.06);font-size:16px;}
html body .tt-main-portal .tt-logout-mini{opacity:.72!important;font-size:13px!important;}
html body .tt-home-hero-v65{
  position:relative!important;min-height:760px!important;max-width:1860px!important;margin:0 auto!important;border-radius:0 0 34px 34px!important;overflow:hidden!important;
  display:flex!important;align-items:center!important;padding:142px clamp(28px,6vw,118px) 110px!important;background:#050712!important;
  box-shadow:0 40px 110px rgba(0,0,0,.42)!important;isolation:isolate!important;
}
html body .tt-home-hero-v65:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(3,6,16,.84) 0%,rgba(3,6,16,.58) 33%,rgba(3,6,16,.18) 64%,rgba(3,6,16,.55) 100%),linear-gradient(180deg,rgba(3,6,16,.12) 0%,rgba(3,6,16,.26) 62%,rgba(3,6,16,.90) 100%)!important;}
html body .tt-home-hero-bg{position:absolute;inset:-34px;z-index:0;background-image:var(--tt-hero-image)!important;background-size:cover!important;background-position:center center!important;transform:scale(1.045);filter:saturate(1.15) contrast(1.08);animation:ttHeroBreath 24s ease-in-out infinite alternate;}
@keyframes ttHeroBreath{0%{transform:scale(1.045) translate3d(-10px,-4px,0)}50%{transform:scale(1.075) translate3d(10px,4px,0)}100%{transform:scale(1.06) translate3d(0,-8px,0)}}
html body .tt-home-hero-glow{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(105deg,transparent 46%,rgba(255,178,92,.0) 50%,rgba(255,178,92,.34) 54%,rgba(221,62,216,.18) 59%,transparent 68%);mix-blend-mode:screen;opacity:.85;animation:ttHeroLightSweep 11s ease-in-out infinite;}
@keyframes ttHeroLightSweep{0%{transform:translateX(-38%) skewX(-12deg);opacity:.18}45%{opacity:.72}100%{transform:translateX(42%) skewX(-12deg);opacity:.18}}
html body .tt-home-hero-particles{position:absolute;inset:0;z-index:3;pointer-events:none;background-image:radial-gradient(circle,rgba(255,219,157,.95) 0 1px,transparent 1.5px),radial-gradient(circle,rgba(221,62,216,.85) 0 1px,transparent 1.5px);background-size:220px 220px,310px 310px;background-position:12% 18%,70% 30%;opacity:.25;animation:ttHeroParticles 18s linear infinite;}
@keyframes ttHeroParticles{from{background-position:12% 18%,70% 30%}to{background-position:12% 6%,70% 16%}}
html body .tt-home-hero-content{position:relative!important;z-index:5!important;max-width:760px!important;color:#fff!important;text-shadow:0 22px 60px rgba(0,0,0,.70)!important;}
html body .tt-home-kicker-v65{display:inline-flex!important;align-items:center!important;gap:9px!important;padding:8px 12px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.08)!important;color:rgba(255,255,255,.78)!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;font-size:12px!important;}
html body .tt-home-kicker-v65:before{content:"";width:8px;height:8px;border-radius:999px;background:linear-gradient(135deg,var(--tt-v65-amber),var(--tt-v65-magenta));box-shadow:0 0 24px var(--tt-v65-magenta);}
html body .tt-home-hero-content h1{font-family:Georgia,'Times New Roman',serif!important;margin:24px 0 18px!important;color:#fff!important;font-size:clamp(48px,6vw,92px)!important;line-height:.94!important;letter-spacing:-.055em!important;font-weight:500!important;}
html body .tt-home-hero-content p{max-width:660px!important;margin:0!important;color:rgba(248,250,252,.80)!important;font-size:clamp(17px,1.4vw,22px)!important;line-height:1.55!important;font-weight:500!important;}
html body .tt-home-hero-actions{display:flex!important;flex-wrap:wrap!important;gap:16px!important;margin-top:30px!important;}
html body .tt-home-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:56px!important;padding:0 22px!important;border-radius:14px!important;text-decoration:none!important;font-size:16px!important;font-weight:850!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 18px 50px rgba(0,0,0,.28)!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;}
html body .tt-home-cta:hover{transform:translateY(-2px)!important;box-shadow:0 24px 70px rgba(0,0,0,.36)!important;}
html body .tt-home-cta-primary{color:#fff!important;background:linear-gradient(135deg,#ff9d47 0%,#dd3ed8 100%)!important;}
html body .tt-home-cta-secondary{color:#fff!important;background:rgba(255,255,255,.10)!important;backdrop-filter:blur(16px)!important;}
html body .tt-home-cta span{font-size:18px!important;opacity:.95!important;} html body .tt-home-cta b{font-size:20px!important;font-weight:900!important;}
html body .tt-home-feature-grid-v65{position:relative!important;z-index:8!important;max-width:1540px!important;margin:-92px auto 34px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;padding:0 clamp(18px,4vw,54px)!important;}
html body .tt-home-feature-card-v65{position:relative!important;min-height:168px!important;border-radius:22px!important;padding:28px 28px 24px 124px!important;background:linear-gradient(135deg,rgba(13,16,31,.84),rgba(18,19,33,.68))!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 24px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.08)!important;backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;text-decoration:none!important;color:#fff!important;overflow:hidden!important;}
html body .tt-home-feature-card-v65:before{content:"";position:absolute;inset:auto 18px 0 18px;height:1px;background:linear-gradient(90deg,transparent,var(--tt-v65-amber),var(--tt-v65-magenta),transparent);opacity:.7;}
html body .tt-home-feature-card-v65:hover{transform:translateY(-3px)!important;border-color:rgba(255,255,255,.24)!important;}
html body .tt-home-feature-icon-v65{position:absolute;left:30px;top:34px;width:68px;height:68px;border-radius:999px;display:grid;place-items:center;color:#ffb25c;background:radial-gradient(circle at 35% 25%,rgba(255,178,92,.26),rgba(221,62,216,.10));border:1px solid rgba(221,62,216,.42);font-size:30px;box-shadow:0 0 40px rgba(221,62,216,.18);}
html body .tt-home-feature-card-v65 strong{display:block!important;margin:4px 0 10px!important;color:#fff!important;font-size:21px!important;line-height:1.15!important;font-weight:850!important;}
html body .tt-home-feature-card-v65 p{margin:0!important;color:rgba(248,250,252,.70)!important;font-size:16px!important;line-height:1.55!important;font-weight:500!important;}
html body .tt-home-feature-card-v65 em{position:absolute;right:26px;bottom:24px;color:#ffb25c;font-style:normal;font-size:28px;line-height:1;}
@media (max-width:1050px){
  html body .tt-main-portal .tt-home-elegant-topbar{margin:0 0 -72px!important;flex-wrap:wrap!important;padding:14px!important;border-radius:20px!important;}
  html body .tt-main-portal .tt-home-elegant-topbar .tt-top-brand{min-width:0!important;}
  html body .tt-main-portal .tt-home-elegant-links{width:100%!important;margin-left:0!important;justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px!important;}
  html body .tt-home-hero-v65{min-height:720px!important;padding:150px 24px 110px!important;border-radius:0 0 28px 28px!important;}
  html body .tt-home-feature-grid-v65{grid-template-columns:1fr!important;margin:-76px auto 24px!important;padding:0 18px!important;}
}
@media (max-width:640px){
  html body .tt-main-portal.tt-theatre-home{padding:8px!important;}
  html body .tt-main-portal .tt-home-elegant-topbar{margin:0 0 -70px!important;}
  html body .tt-main-portal .tt-home-elegant-links a{font-size:13px!important;min-height:38px!important;padding:0 11px!important;}
  html body .tt-main-portal .tt-home-elegant-links .tt-area-profile-link{padding-left:12px!important;border-left:0!important;}
  html body .tt-home-hero-v65{min-height:680px!important;padding:150px 18px 120px!important;background-position:center!important;}
  html body .tt-home-hero-content h1{font-size:clamp(42px,13vw,64px)!important;}
  html body .tt-home-hero-content p{font-size:16px!important;}
  html body .tt-home-hero-actions{gap:10px!important;}
  html body .tt-home-cta{width:100%!important;min-height:54px!important;}
  html body .tt-home-feature-card-v65{padding:24px 22px 24px 94px!important;min-height:150px!important;}
  html body .tt-home-feature-icon-v65{left:20px;top:26px;width:56px;height:56px;font-size:24px;}
}
@media (prefers-reduced-motion:reduce){
  html body .tt-home-hero-bg,html body .tt-home-hero-glow,html body .tt-home-hero-particles{animation:none!important;}
}


/* v1.0.48 — Reparación inicio/área personal: escudo real y sin cabecera duplicada */
html body .tt-main-portal .tt-brand-logo,
html body .tt-public-shell .tt-brand-logo{
  width:56px!important;height:56px!important;border-radius:18px!important;background:rgba(255,255,255,.94)!important;
  padding:6px!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important;border:1px solid rgba(255,255,255,.45)!important;
}
html body .tt-main-portal .tt-brand-logo img,
html body .tt-public-shell .tt-brand-logo img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;}
html body .tt-area-premium-page{
  max-width:none!important;margin:0!important;padding:24px!important;min-height:100vh!important;
  background:#070a18!important;color:#fff!important;position:relative!important;overflow:hidden!important;
}
html body .tt-area-premium-page:before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(110deg,rgba(5,8,18,.92),rgba(18,12,38,.72),rgba(5,8,18,.90)),url('../img/tt-home-hero-v65.png') center/cover no-repeat!important;
  transform:scale(1.04);filter:saturate(1.05) contrast(1.02);
}
html body .tt-area-premium-page:after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(circle at 22% 24%,rgba(255,178,92,.24),transparent 30%),radial-gradient(circle at 82% 15%,rgba(221,62,216,.22),transparent 32%);
}
html body .tt-area-premium-page > *{position:relative!important;z-index:1!important;}
html body .tt-area-premium-page .tt-area-hero-clean{
  margin:70px auto 32px!important;max-width:1320px!important;border:1px solid rgba(255,255,255,.16)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04))!important;
  color:#fff!important;border-radius:34px!important;box-shadow:0 30px 90px rgba(0,0,0,.38)!important;backdrop-filter:blur(18px)!important;
}
html body .tt-area-premium-page .tt-area-hero-clean h1{color:#fff!important;text-shadow:0 10px 35px rgba(0,0,0,.45)!important;}
html body .tt-area-premium-page .tt-area-hero-clean p{color:rgba(255,255,255,.78)!important;}
html body .tt-area-premium-page .tt-area-card{
  background:linear-gradient(145deg,rgba(11,16,32,.86),rgba(11,16,32,.58))!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 28px 80px rgba(0,0,0,.35)!important;backdrop-filter:blur(16px)!important;
}
html body .tt-area-premium-page .tt-area-card h2,
html body .tt-area-premium-page .tt-area-card label{color:#fff!important;}
html body .tt-area-premium-page .tt-area-card p,
html body .tt-area-premium-page .tt-password-recovery summary{color:rgba(255,255,255,.74)!important;}
html body .tt-area-premium-page input[type="text"],
html body .tt-area-premium-page input[type="password"]{
  background:rgba(255,255,255,.92)!important;color:#0f172a!important;border-color:rgba(255,255,255,.22)!important;
}
@media(max-width:760px){html body .tt-area-premium-page{padding:10px!important;}html body .tt-area-premium-page .tt-area-hero-clean{margin-top:24px!important;border-radius:24px!important;}}


/* v1.0.49 — reparación anti-cabecera duplicada en Inicio.
   Si una página antigua conserva una barra superior antes de la portada nueva,
   la portada se queda en modo fullscreen y esta regla evita márgenes/duplicados. */
html body.tt-portal-body-clean .tt-fullscreen-portal > .tt-public-shell.tt-main-portal{min-height:100vh!important;}
html body.tt-portal-body-clean .tt-fullscreen-portal{margin:0!important;padding:0!important;}
html body.tt-portal-body-clean .tt-fullscreen-portal + *{display:none!important;}
html body .tt-main-portal.tt-theatre-home{margin-top:0!important;}


/* v1.0.50 — Perfil: cabecera igual que inicio, formulario compacto y firma completa */
html body .tt-profile-premium-page{
  min-height:100vh!important;
  margin:0!important;
  padding:24px!important;
  background:#070a18!important;
  color:#fff!important;
  position:relative!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body .tt-profile-premium-page:before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(110deg,rgba(5,8,18,.94),rgba(18,12,38,.74),rgba(5,8,18,.92)),url('../img/tt-home-hero-v65.png') center/cover no-repeat!important;
  transform:scale(1.035);filter:saturate(1.05) contrast(1.02);
}
html body .tt-profile-premium-page:after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(circle at 20% 18%,rgba(255,178,92,.22),transparent 30%),radial-gradient(circle at 84% 15%,rgba(221,62,216,.20),transparent 34%);
}
html body .tt-profile-premium-page > *{position:relative!important;z-index:1!important;}
html body .tt-profile-premium-page .tt-internal-elegant-topbar{
  margin:0 auto 34px!important;
  max-width:1500px!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,rgba(13,16,31,.86),rgba(30,20,48,.74))!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 22px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(18px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;
}
html body .tt-profile-premium-wrap{
  max-width:1120px!important;
  margin:0 auto!important;
  display:grid!important;
  gap:20px!important;
}
html body .tt-profile-premium-page .tt-profile-hero-elegant{
  margin:0!important;
  padding:28px 32px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.05))!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
  box-shadow:0 24px 80px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(18px)!important;
}
html body .tt-profile-premium-page .tt-profile-hero-elegant h1{color:#fff!important;font-size:clamp(34px,4.4vw,58px)!important;margin:12px 0 10px!important;line-height:1!important;letter-spacing:-.04em!important;}
html body .tt-profile-premium-page .tt-profile-hero-elegant p{color:rgba(255,255,255,.76)!important;margin:0!important;font-size:17px!important;}
html body .tt-profile-premium-page .tt-kicker{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important;}
html body .tt-profile-premium-page .tt-profile-section{
  margin:0!important;
  padding:28px!important;
  border-radius:30px!important;
  background:linear-gradient(145deg,rgba(248,250,252,.96),rgba(239,246,242,.92))!important;
  border:1px solid rgba(255,255,255,.20)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.35)!important;
  color:#0f172a!important;
  overflow:visible!important;
}
html body .tt-profile-premium-page .tt-profile-form{max-width:100%!important;margin:0!important;display:grid!important;gap:20px!important;}
html body .tt-profile-premium-page .tt-profile-cover{
  padding:18px!important;border-radius:26px!important;background:linear-gradient(135deg,#ffffff,#eef7f3)!important;
  border:1px solid rgba(15,23,42,.10)!important;box-shadow:0 14px 35px rgba(15,23,42,.08)!important;
}
html body .tt-profile-premium-page .tt-profile-cover h2{font-size:clamp(28px,3.4vw,44px)!important;}
html body .tt-profile-premium-page .tt-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;}
html body .tt-profile-premium-page .tt-profile-grid input,
html body .tt-profile-premium-page .tt-profile-grid select{
  min-height:52px!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(15,23,42,.14)!important;
  box-shadow:0 6px 18px rgba(15,23,42,.04)!important;
}
html body .tt-profile-premium-page .tt-signature-panel{
  grid-template-columns:minmax(0,1fr) minmax(320px,420px)!important;
  align-items:stretch!important;
  padding:20px!important;
  border-radius:26px!important;
  background:#fff!important;
  border:1px dashed rgba(15,23,42,.18)!important;
}
html body .tt-profile-premium-page .tt-signature-preview{
  min-height:220px!important;
  height:auto!important;
  padding:18px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#f8fafc,#ffffff)!important;
  overflow:visible!important;
}
html body .tt-profile-premium-page .tt-signature-preview img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:220px!important;
  object-fit:contain!important;
  display:block!important;
}
html body .tt-profile-premium-page .tt-alert-ok{background:#dcfce7!important;border-color:#86efac!important;color:#14532d!important;}
html body .tt-profile-premium-page .tt-profile-actions{justify-content:flex-end!important;}
html body .tt-profile-premium-page .tt-profile-save{border-radius:16px!important;min-height:52px!important;padding:0 24px!important;background:linear-gradient(135deg,#ff9d47,#dd3ed8)!important;color:#fff!important;border:0!important;box-shadow:0 18px 45px rgba(221,62,216,.22)!important;}
html body .tt-profile-premium-page .tt-profile-note{border-radius:18px!important;}
html body.tt-portal-body-clean .tt-profile-premium-page .tt-internal-elegant-topbar + .tt-profile-premium-wrap{margin-top:0!important;}
@media(max-width:820px){
  html body .tt-profile-premium-page{padding:10px!important;}
  html body .tt-profile-premium-page .tt-internal-elegant-topbar{border-radius:20px!important;flex-wrap:wrap!important;}
  html body .tt-profile-premium-page .tt-internal-elegant-links{width:100%!important;overflow-x:auto!important;justify-content:flex-start!important;flex-wrap:nowrap!important;}
  html body .tt-profile-premium-page .tt-profile-section{padding:18px!important;border-radius:24px!important;}
  html body .tt-profile-premium-page .tt-profile-grid{grid-template-columns:1fr!important;}
  html body .tt-profile-premium-page .tt-signature-panel{grid-template-columns:1fr!important;}
  html body .tt-profile-premium-page .tt-signature-preview{min-height:180px!important;}
}


/* v1.0.52 — Estilo premium seguro para Vista rápida y páginas internas, sin interceptar plantillas */
/* ==========================================================
   v1.0.51 — Unificación visual premium en todas las páginas
   ========================================================== */
html body .tt-main-portal{
    --tt-v71-ink:#f8fafc;
    --tt-v71-muted:rgba(226,232,240,.76);
    --tt-v71-line:rgba(255,255,255,.14);
    --tt-v71-card:rgba(10,15,30,.72);
    --tt-v71-accent:#f59e0b;
    --tt-v71-pink:#d946ef;
    --tt-v71-blue:#38bdf8;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
html body .tt-main-portal .tt-theatre-topbar.tt-home-elegant-topbar,
html body .tt-main-portal .tt-internal-elegant-topbar,
html body .tt-main-portal .tt-area-only-topbar{
    width:min(1640px,calc(100% - 48px))!important;
    margin:18px auto 22px!important;
    padding:14px 22px!important;
    border-radius:26px!important;
    background:linear-gradient(135deg,rgba(8,12,28,.88),rgba(55,29,70,.78))!important;
    border:1px solid rgba(255,255,255,.16)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.32)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    color:#fff!important;
}
html body .tt-main-portal .tt-top-brand strong,
html body .tt-main-portal .tt-top-links a,
html body .tt-main-portal .tt-top-links span{
    color:#fff!important;
}
html body .tt-main-portal .tt-top-brand small{
    color:rgba(226,232,240,.74)!important;
}
html body .tt-main-portal .tt-brand-logo,
html body .tt-main-portal .tt-brand-icon,
html body .tt-main-portal .tt-brand-icon-line{
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
    border-radius:20px!important;
    background:rgba(255,255,255,.96)!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    box-shadow:0 12px 36px rgba(0,0,0,.24)!important;
}
html body .tt-main-portal .tt-brand-logo img{
    width:46px!important;
    height:46px!important;
    object-fit:contain!important;
    display:block!important;
}
html body .tt-main-portal .tt-top-links{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
}
html body .tt-main-portal .tt-top-links a{
    border-radius:999px!important;
    padding:11px 16px!important;
    background:rgba(255,255,255,.07)!important;
    border:1px solid transparent!important;
    text-decoration:none!important;
    font-weight:800!important;
    letter-spacing:.01em!important;
}
html body .tt-main-portal .tt-top-links a:hover,
html body .tt-main-portal .tt-top-links a.is-active{
    background:rgba(255,255,255,.15)!important;
    border-color:rgba(255,255,255,.22)!important;
}
html body .tt-main-portal .tt-area-profile-link img,
html body .tt-main-portal .tt-menu-profile-link img{
    width:42px!important;
    height:42px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    display:block!important;
    border:2px solid rgba(255,255,255,.55)!important;
}
html body .tt-main-portal .tt-logout-mini{
    background:rgba(239,68,68,.16)!important;
}
html body .tt-elegant-page-hero,
html body .tt-main-portal .tt-area-hero,
html body .tt-main-portal .tt-turnos-header{
    position:relative!important;
    width:min(1640px,calc(100% - 48px))!important;
    margin:0 auto 26px!important;
    padding:56px 54px!important;
    min-height:220px!important;
    border-radius:30px!important;
    overflow:hidden!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.16)!important;
    background:
        linear-gradient(90deg,rgba(5,8,20,.86),rgba(18,14,32,.58),rgba(69,30,74,.46)),
        var(--tt-hero-image, linear-gradient(135deg,#0f172a,#3b1a55)) center/cover no-repeat!important;
    box-shadow:0 28px 90px rgba(0,0,0,.35)!important;
}
html body .tt-elegant-page-hero:before,
html body .tt-main-portal .tt-area-hero:before,
html body .tt-main-portal .tt-turnos-header:before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 78% 25%,rgba(217,70,239,.34),transparent 34%),radial-gradient(circle at 25% 85%,rgba(245,158,11,.24),transparent 30%);
    pointer-events:none;
}
html body .tt-elegant-page-hero > *,
html body .tt-main-portal .tt-area-hero > *,
html body .tt-main-portal .tt-turnos-header > *{
    position:relative!important;
    z-index:1!important;
}
html body .tt-main-portal .tt-turnos-header h1,
html body .tt-elegant-page-hero h1,
html body .tt-main-portal .tt-area-hero h1{
    color:#fff!important;
    font-size:clamp(34px,4.2vw,72px)!important;
    line-height:1.03!important;
    margin:8px 0 14px!important;
    max-width:920px!important;
    letter-spacing:-.05em!important;
}
html body .tt-main-portal .tt-turnos-header p,
html body .tt-elegant-page-hero p,
html body .tt-main-portal .tt-area-hero p{
    color:rgba(241,245,249,.82)!important;
    font-size:18px!important;
    max-width:760px!important;
}
html body .tt-main-portal .tt-kicker{
    display:inline-flex!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.22)!important;
    background:rgba(255,255,255,.10)!important;
    border-radius:999px!important;
    padding:9px 16px!important;
    font-size:12px!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
}
html body .tt-elegant-month-nav,
html body .tt-main-portal .tt-top-month-nav{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
}
html body .tt-elegant-month-nav a,
html body .tt-elegant-month-nav strong,
html body .tt-main-portal .tt-top-month-nav a,
html body .tt-main-portal .tt-top-month-nav strong{
    color:#fff!important;
    background:rgba(255,255,255,.10)!important;
    border:1px solid rgba(255,255,255,.20)!important;
    border-radius:999px!important;
    min-height:42px!important;
    padding:10px 18px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-decoration:none!important;
    font-weight:900!important;
}
html body .tt-main-portal .tt-card-section,
html body .tt-elegant-card-v71,
html body .tt-main-portal .tt-area-card{
    width:min(1640px,calc(100% - 48px))!important;
    margin:0 auto 26px!important;
    border-radius:28px!important;
    border:1px solid rgba(255,255,255,.13)!important;
    background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(248,250,252,.88))!important;
    box-shadow:0 20px 70px rgba(15,23,42,.14)!important;
}
html body .tt-area-grid,
html body .tt-area-grid-standalone{
    width:min(1640px,calc(100% - 48px))!important;
    margin:0 auto 28px!important;
}
html body .tt-area-grid .tt-area-card{
    width:auto!important;
    margin:0!important;
}
html body .tt-quick-page-v71 .tt-quick-image-app{
    padding:30px!important;
}
html body .tt-quick-page-v71 .tt-quick-image-stage{
    border-radius:24px!important;
    overflow:auto!important;
    background:#fff!important;
    border:1px solid #e5e7eb!important;
    min-height:220px!important;
}
html body .tt-profile-premium-wrap{
    width:min(1120px,calc(100% - 48px))!important;
    margin:0 auto!important;
}
html body .tt-profile-premium-wrap .tt-turnos-header,
html body .tt-profile-premium-wrap .tt-card-section{
    width:100%!important;
}
html body .tt-signature-preview{
    min-height:190px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
}
html body .tt-signature-preview img{
    width:100%!important;
    height:auto!important;
    max-height:180px!important;
    object-fit:contain!important;
}
@media(max-width:900px){
    html body .tt-main-portal .tt-theatre-topbar.tt-home-elegant-topbar,
    html body .tt-main-portal .tt-internal-elegant-topbar,
    html body .tt-main-portal .tt-area-only-topbar,
    html body .tt-elegant-page-hero,
    html body .tt-main-portal .tt-area-hero,
    html body .tt-main-portal .tt-turnos-header,
    html body .tt-main-portal .tt-card-section,
    html body .tt-area-grid,
    html body .tt-profile-premium-wrap{
        width:calc(100% - 22px)!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
    html body .tt-main-portal .tt-theatre-topbar.tt-home-elegant-topbar{
        padding:12px!important;
    }
    html body .tt-elegant-page-hero,
    html body .tt-main-portal .tt-area-hero,
    html body .tt-main-portal .tt-turnos-header{
        padding:34px 24px!important;
    }
    html body .tt-main-portal .tt-top-links{
        width:100%!important;
    }
    html body .tt-main-portal .tt-top-links a{
        flex:1 1 auto!important;
        justify-content:center!important;
    }
}


/* ============================================================
   v1.0.90 - CUADRANTE LEGIBLE EN MÓVIL (versión definitiva)
   ============================================================
   PROBLEMAS DE LAS VERSIONES ANTERIORES:
   - v1.0.88: las celdas eran iguales y aplastaban el contenido
   - v1.0.89: position:sticky en la columna Técnico provocaba
     superposiciones visuales raras (la columna fija tapaba
     parcialmente las primeras celdas y la cabecera de los días)

   ENFOQUE NUEVO:
   - NO se usa position:sticky (evitamos solapamientos).
   - Anchos mínimos GENEROSOS: Técnico 130px, cada celda M/T
     mínimo 52px, total cada día = 104px.
   - Tabla con ancho mínimo 1100px → en móvil se desplaza con
     el dedo, pero todo lo que se lee es CLARO.
   - Tipografía grande (14-16px) y códigos AP/VA/BAJA/EXT/COM
     con padding generoso, nunca recortados.
   - Anchos forzados con `width` Y `min-width` Y `max-width`
     iguales en colspan para que el navegador no pueda comprimir.
   ============================================================ */

/* --- wrappers padre: dejan ver el scroll interno --- */
html body .tt-public-calendar-section,
html body .tt-month-board,
html body .tt-month-board-wrap,
html body .tt-month-board .tt-public-week-table-wrap,
html body .tt-month-board-wrap .tt-public-week-table-wrap,
html body .tt-public-calendar-section .tt-public-week-table-wrap{
  max-width:100%!important;
  overflow:visible!important;
}

/* --- scroll horizontal en este contenedor --- */
html body .tt-month-board .tt-public-table-scroll,
html body .tt-month-board-wrap .tt-public-table-scroll,
html body .tt-public-calendar-section .tt-public-table-scroll{
  overflow-x:auto!important;
  overflow-y:visible!important;
  width:100%!important;
  max-width:100%!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
  padding-bottom:6px!important;
}

/* --- TABLA: ancho fijo confortable, NO se comprime --- */
html body .tt-month-board .tt-public-week-table,
html body .tt-month-board-wrap .tt-public-week-table,
html body .tt-public-calendar-section .tt-public-week-table{
  width:auto!important;
  min-width:1100px!important;
  max-width:none!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  font-size:14px!important;
}

/* --- reset general celdas: padding cómodo, sin recortes --- */
html body .tt-month-board .tt-public-week-table th,
html body .tt-month-board .tt-public-week-table td,
html body .tt-month-board-wrap .tt-public-week-table th,
html body .tt-month-board-wrap .tt-public-week-table td{
  padding:4px 6px!important;
  vertical-align:middle!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* --- COLUMNA TÉCNICO: 130px, contenido alineado a la izquierda --- */
html body .tt-month-board .tt-public-week-table .tt-pub-tech-head,
html body .tt-month-board .tt-public-week-table .tt-pub-tech-name,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-head,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name{
  width:130px!important;
  min-width:130px!important;
  max-width:130px!important;
  padding-left:10px!important;
  padding-right:10px!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  position:static!important;
  box-shadow:none!important;
}

/* color de fondo de la columna Técnico */
html body .tt-month-board .tt-public-week-table .tt-pub-tech-head,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-head{
  background:#162026!important;
  color:#fff!important;
  font-weight:900!important;
}
html body .tt-month-board .tt-public-week-table .tt-pub-tech-name,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name{
  background:#f8fafc!important;
  color:#0f172a!important;
  font-weight:900!important;
}

/* --- CABECERA DE DÍA (LUN 25, MAR 26, ...): 104px = 2 columnas --- */
html body .tt-month-board .tt-public-week-table .tt-pub-day-head,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-day-head{
  width:104px!important;
  min-width:104px!important;
  max-width:104px!important;
  height:auto!important;
  min-height:66px!important;
  padding:6px 4px!important;
  text-align:center!important;
  white-space:normal!important;
}
html body .tt-month-board .tt-public-week-table .tt-pub-day-num,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-day-num{
  font-size:18px!important;
  font-weight:900!important;
  line-height:1.1!important;
  display:block!important;
  margin-top:2px!important;
}
html body .tt-month-board .tt-public-week-table .tt-pub-day-name,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-day-name{
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
  display:block!important;
}

/* --- CELDAS M / T (52px cada una = 104px por día) --- */
html body .tt-month-board .tt-public-week-table .tt-pub-cell,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-cell{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  height:50px!important;
  padding:2px!important;
  text-align:center!important;
  white-space:nowrap!important;
}

/* sub-cabecera M / T */
html body .tt-month-board .tt-public-week-table .tt-pub-shifts-row th{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  padding:4px 0!important;
  font-size:12px!important;
  font-weight:900!important;
  background:#f8fafc!important;
  color:#475569!important;
  text-align:center!important;
}

/* --- letra M/T/DO/BLE dentro de la celda: grande, blanca, centrada --- */
html body .tt-month-board .tt-public-week-table .tt-work-dot,
html body .tt-month-board-wrap .tt-public-week-table .tt-work-dot{
  display:inline-grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  font-weight:950!important;
  font-size:16px!important;
  letter-spacing:.04em!important;
  color:#fff!important;
}

/* --- códigos AP/VA/BAJA/EXT/COM/PD/PM/PT: bien legibles, no se cortan --- */
html body .tt-month-board .tt-public-week-table .tt-inc-code,
html body .tt-month-board-wrap .tt-public-week-table .tt-inc-code{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:36px!important;
  padding:3px 6px!important;
  margin:1px!important;
  border-radius:6px!important;
  font-weight:950!important;
  font-size:12px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  line-height:1.1!important;
  box-shadow:0 1px 2px rgba(15,23,42,.08)!important;
}

/* --- indicador "desliza" debajo de cada semana, sólo si se necesita scroll --- */
@media(max-width:1200px){
  html body .tt-month-board .tt-public-table-scroll{
    position:relative!important;
  }
  html body .tt-month-board .tt-public-week-table-wrap{
    position:relative!important;
  }
  html body .tt-month-board .tt-public-week-table-wrap::after{
    content:"← desliza para ver los demás días →";
    display:block;
    text-align:center;
    font-size:11px;
    color:#64748b;
    padding:5px 8px 7px;
    font-style:italic;
    background:#fff;
    border-top:1px dashed #e2e8f0;
  }
}

/* --- móvil pequeño: misma estructura, ligeros ajustes de tamaño --- */
@media(max-width:600px){
  html body .tt-month-board .tt-public-week-table{
    font-size:13px!important;
    min-width:1020px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-tech-head,
  html body .tt-month-board .tt-public-week-table .tt-pub-tech-name{
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-tech-name strong{
    font-size:13px!important;
    font-weight:900!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-tech-name .tt-tech-photo{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-day-head{
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
    min-height:58px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-day-num{
    font-size:17px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-cell,
  html body .tt-month-board .tt-public-week-table .tt-pub-shifts-row th{
    width:49px!important;
    min-width:49px!important;
    max-width:49px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-cell{
    height:46px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-work-dot{
    font-size:15px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-inc-code{
    font-size:11px!important;
    min-width:32px!important;
    padding:2px 5px!important;
  }
}


/* Turnos Técnicos 1.0.59 - editor frontal estable */
.tt-frontal-editor .tt-manual-panel{position:sticky!important;top:96px!important;z-index:1005!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px);box-shadow:0 18px 50px rgba(15,23,42,.14)!important;border:1px solid rgba(15,23,42,.10)!important;border-radius:18px!important;margin-bottom:16px!important;}
.tt-frontal-editor .tt-drag-toolbar{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;}
.tt-frontal-editor .tt-clickable-cell{cursor:pointer!important;}
.tt-frontal-editor .tt-has-turno{cursor:grab!important;}
.tt-frontal-editor .tt-origen-sel{outline:3px solid #f59e0b!important;outline-offset:-3px!important;}
.tt-frontal-editor .tt-destino-sel,.tt-frontal-editor .tt-drop-ok{outline:3px solid #0f766e!important;outline-offset:-3px!important;}
.tt-frontal-editor .tt-manual-msg.ok{color:#14532d!important}.tt-frontal-editor .tt-manual-msg.err{color:#991b1b!important;font-weight:800!important}
@media(max-width:900px){.tt-frontal-editor .tt-manual-panel{top:10px!important}.tt-frontal-editor .tt-drag-toolbar .button,.tt-frontal-editor .tt-drag-toolbar button{font-size:12px!important;padding:6px 8px!important}}


/* Turnos Técnicos 1.0.60 — editor frontal: controles siempre visibles */
body.rfx-editor-layout .tt-frontal-editor,
.tt-frontal-editor{overflow:visible!important;}
body.rfx-editor-layout .tt-frontal-editor .tt-manual-panel,
.tt-frontal-editor .tt-manual-panel{
  position:sticky!important;
  top:88px!important;
  z-index:12000!important;
  background:rgba(255,255,255,.98)!important;
  backdrop-filter:blur(14px)!important;
  box-shadow:0 18px 50px rgba(15,23,42,.18)!important;
  border:1px solid rgba(15,23,42,.12)!important;
}
body.rfx-editor-layout .tt-frontal-editor .tt-leyenda,
.tt-frontal-editor .tt-leyenda{
  position:sticky!important;
  top:188px!important;
  z-index:11990!important;
  background:rgba(255,255,255,.98)!important;
  backdrop-filter:blur(12px)!important;
  padding:8px 10px!important;
  border-radius:14px!important;
  box-shadow:0 14px 40px rgba(15,23,42,.13)!important;
  border:1px solid rgba(15,23,42,.10)!important;
}
.tt-frontal-editor .tt-semana-bloque{scroll-margin-top:260px;}
@media(max-width:900px){
  .tt-frontal-editor .tt-manual-panel{top:6px!important;max-height:44vh!important;overflow:auto!important;}
  .tt-frontal-editor .tt-leyenda{top:calc(44vh + 14px)!important;max-height:22vh!important;overflow:auto!important;}
}

/* ─────────────────────────────────────────────────────────────
   FIX v1.0.78: el botón "Confirmar solicitud" estaba invisible
   en la página Mi ficha porque la variable --tt-ticket-blue solo
   se definía dentro de .tt-public-shell y esa página no tiene
   ese wrapper. Resultado: fondo transparente + texto blanco = sin botón.
   Esta regla fuerza un color sólido específicamente para ese botón
   pase lo que pase con las variables CSS del tema.
   ───────────────────────────────────────────────────────────── */
.tt-confirmar-incidencia,
html body .tt-confirmar-incidencia,
.tt-my-card .tt-main-button,
html body .tt-my-card .tt-main-button {
    background: #0f766e !important;       /* verde turquesa oscuro, alto contraste */
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 14px !important;
    padding: 14px 28px !important;
    font-weight: 900 !important;
    font-size: 1.02rem !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25) !important;
    margin-top: 14px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.tt-confirmar-incidencia:hover,
html body .tt-confirmar-incidencia:hover,
.tt-my-card .tt-main-button:hover,
html body .tt-my-card .tt-main-button:hover {
    background: #0d635c !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.35) !important;
}
.tt-confirmar-incidencia:disabled,
html body .tt-confirmar-incidencia:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

/* v1.0.81 — Mi ficha: selector de tramo tipo agencia de viaje */
.tt-request-grid-range{gap:14px}
.tt-request-box .tt-range-field{display:block}
.tt-date-mode-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2px 0 4px}
.tt-date-mode-option{display:flex;gap:10px;align-items:flex-start;border:1px solid rgba(15,23,42,.14);border-radius:14px;padding:12px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);cursor:pointer}
.tt-date-mode-option input{margin-top:3px;min-width:16px}
.tt-date-mode-option strong{display:block;color:#0f172a;font-size:14px}
.tt-date-mode-option span{display:block;color:#475569;font-size:12px;line-height:1.35;margin-top:2px}
.tt-range-preview-public .tt-range-preview{min-height:42px;border:1px dashed rgba(15,23,42,.22);border-radius:12px;background:#f8fafc;padding:10px 12px;color:#334155}
.tt-range-preview-public .tt-range-preview.is-ok{border-color:#059669;background:#ecfdf5;color:#065f46}
.tt-vacation-only-note{display:none;color:#64748b;font-size:12px;margin-top:4px}
@media (max-width:700px){.tt-date-mode-panel{grid-template-columns:1fr}}


/* v1.0.84 — AP/VA/BAJA partidos visualmente como DO/BLE */
html body .tt-inc-code-dayfull{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    box-sizing:border-box!important;
    letter-spacing:.03em!important;
    font-weight:950!important;
}
html body .tt-inc-code-dayfull.tt-inc-code-left{
    justify-content:flex-end!important;
    text-align:right!important;
    padding-right:2px!important;
}
html body .tt-inc-code-dayfull.tt-inc-code-right{
    justify-content:flex-start!important;
    text-align:left!important;
    padding-left:2px!important;
}
@media print{
    body.tt-printing .tt-inc-code-dayfull.tt-inc-code-left{justify-content:flex-end!important;text-align:right!important;padding-right:1px!important;}
    body.tt-printing .tt-inc-code-dayfull.tt-inc-code-right{justify-content:flex-start!important;text-align:left!important;padding-left:1px!important;}
}


/* v1.0.85 — incidencias de día completo pegadas al centro como DO/BLE */
html body .tt-pub-cell .tt-inc-code-dayfull{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    box-sizing:border-box!important;
    line-height:1!important;
}
html body .tt-pub-cell .tt-inc-code-dayfull.tt-inc-code-left{
    justify-content:flex-end!important;
    text-align:right!important;
    padding-right:1px!important;
    padding-left:0!important;
}
html body .tt-pub-cell .tt-inc-code-dayfull.tt-inc-code-right{
    justify-content:flex-start!important;
    text-align:left!important;
    padding-left:1px!important;
    padding-right:0!important;
}


/* v1.0.86 — Calendario laboral móvil legible + AP/VA/BAJA unidos como DO/BLE */
/* En móvil NO se comprime el cuadrante: se permite deslizar horizontalmente con columnas legibles. */
html body .tt-public-calendar-section,
html body .tt-month-board-wrap{
  max-width:100%!important;
  overflow:visible!important;
}
html body .tt-public-week-table-wrap,
html body .tt-public-table-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
}
html body .tt-public-week-table{
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
@media(max-width:900px){
  html body .tt-public-week-table{
    width:980px!important;
    min-width:980px!important;
    max-width:none!important;
    font-size:12px!important;
    line-height:1.15!important;
  }
  html body .tt-pub-tech-head,
  html body .tt-pub-tech-name{
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    position:sticky!important;
    left:0!important;
    z-index:12!important;
    box-shadow:6px 0 12px rgba(15,23,42,.08)!important;
  }
  html body .tt-pub-tech-head{z-index:18!important;}
  html body .tt-pub-day-head{height:50px!important;padding:3px 2px!important;}
  html body .tt-pub-day-num{font-size:18px!important;line-height:1!important;}
  html body .tt-pub-day-name{font-size:11px!important;}
  html body .tt-pub-shift-label,
  html body .tt-pub-subhead{font-size:9px!important;}
  html body .tt-pub-tech-name{height:58px!important;padding:0 8px!important;}
  html body .tt-pub-tech-name .tt-tech-photo{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important;}
  html body .tt-pub-tech-name strong{font-size:17px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  html body .tt-pub-cell{height:58px!important;min-height:58px!important;padding:0!important;}
  html body .tt-work-dot{font-size:18px!important;}
  html body .tt-inc-code,
  html body .tt-pub-cell small.tt-inc-code{font-size:17px!important;line-height:1!important;}
  html body .tt-public-week-head{font-size:17px!important;padding:10px 12px!important;}
}
@media(max-width:480px){
  html body .tt-public-week-table{width:920px!important;min-width:920px!important;}
  html body .tt-pub-tech-head,
  html body .tt-pub-tech-name{width:138px!important;min-width:138px!important;max-width:138px!important;}
  html body .tt-pub-tech-name strong{font-size:16px!important;}
}

/* AP/VA/BAJA en vista rápida y calendario público: mañana pegada derecha, tarde pegada izquierda. */
html body .tt-pub-cell.tt-dayfull-m-cell,
html body .tt-pub-cell:has(.tt-inc-code-left){
  text-align:right!important;
}
html body .tt-pub-cell.tt-dayfull-t-cell,
html body .tt-pub-cell:has(.tt-inc-code-right){
  text-align:left!important;
}
html body .tt-pub-cell.tt-dayfull-m-cell .tt-inc-code-dayfull,
html body .tt-pub-cell:has(.tt-inc-code-left) .tt-inc-code-dayfull{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
  padding:0 2px 0 0!important;
  border-radius:0!important;
  border:0!important;
  background:transparent!important;
  justify-content:flex-end!important;
  align-items:center!important;
  text-align:right!important;
  box-sizing:border-box!important;
}
html body .tt-pub-cell.tt-dayfull-t-cell .tt-inc-code-dayfull,
html body .tt-pub-cell:has(.tt-inc-code-right) .tt-inc-code-dayfull{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
  padding:0 0 0 2px!important;
  border-radius:0!important;
  border:0!important;
  background:transparent!important;
  justify-content:flex-start!important;
  align-items:center!important;
  text-align:left!important;
  box-sizing:border-box!important;
}

/* v1.0.91 — desplegable de actos del REYTONI Calendario Cultura al pulsar cada día */
.tt-pub-day-toggle{
    width:100%;
    border:0;
    background:transparent;
    color:inherit;
    font:inherit;
    cursor:default;
    padding:0;
    margin:0;
    display:block;
    text-align:inherit;
}
.tt-pub-day-has-detail .tt-pub-day-toggle{
    cursor:pointer;
    border-radius:10px;
    padding:2px 3px;
    transition:background .15s ease, transform .15s ease;
}
.tt-pub-day-has-detail .tt-pub-day-toggle:hover,
.tt-pub-day-has-detail .tt-pub-day-toggle.is-open{
    background:rgba(255,255,255,.18);
}
.tt-pub-day-events-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:4px;
    padding:2px 7px;
    border-radius:999px;
    background:#fff;
    color:#115e59;
    font-size:11px;
    font-weight:900;
    box-shadow:0 1px 4px rgba(15,23,42,.12);
}
.tt-pub-act-cultura{
    background:#ecfeff !important;
    color:#155e75 !important;
    border-color:#a5f3fc !important;
}
.tt-cultura-day-popover{
    position:fixed;
    z-index:999999;
    max-height:min(72vh, 430px);
    overflow:auto;
    background:#ffffff;
    border:1px solid rgba(15,118,110,.28);
    border-radius:18px;
    box-shadow:0 22px 60px rgba(15,23,42,.28);
    color:#0f172a;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.tt-cultura-day-popover-head{
    position:sticky;
    top:0;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 14px;
    background:linear-gradient(135deg,#0f766e,#115e59);
    color:#fff;
}
.tt-cultura-day-popover-head strong{font-size:15px;line-height:1.2}
.tt-cultura-day-popover-head button{
    border:0;
    background:rgba(255,255,255,.18);
    color:#fff;
    width:30px;
    height:30px;
    border-radius:999px;
    cursor:pointer;
    font-size:22px;
    line-height:1;
}
.tt-cultura-day-popover-body{padding:12px}
.tt-cultura-day-event{
    border:1px solid #dbe4e8;
    background:#f8fafc;
    border-radius:14px;
    padding:11px 12px;
    margin:0 0 10px;
}
.tt-cultura-day-event:last-child{margin-bottom:0}
.tt-cultura-day-event h4{
    margin:4px 0 6px;
    font-size:15px;
    line-height:1.25;
    color:#0f172a;
}
.tt-cultura-day-event p{
    margin:4px 0 0;
    font-size:13px;
    line-height:1.35;
    color:#475569;
}
.tt-cultura-day-time{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:2px 8px;
    background:#ccfbf1;
    color:#115e59;
    font-size:12px;
    font-weight:900;
}
.tt-cultura-day-empty{margin:0;color:#64748b;font-weight:700}
@media(max-width: 760px){
    .tt-cultura-day-popover{max-height:65vh;border-radius:16px}
    .tt-cultura-day-popover-head{padding:12px}
    .tt-cultura-day-event h4{font-size:14px}
}
@media print{
    .tt-cultura-day-popover{display:none!important}
}


/* v1.0.92 — Corrección columna técnicos en móvil/escritorio
   - La cabecera "Técnico" ocupa las dos filas, eliminando la celda blanca vacía.
   - La columna de técnicos se alarga para que nombre + foto no se corten.
   - Se mantiene el scroll horizontal del cuadrante. */
html body .tt-month-board .tt-public-week-table,
html body .tt-month-board-wrap .tt-public-week-table,
html body .tt-public-calendar-section .tt-public-week-table{
  min-width:1240px!important;
  table-layout:fixed!important;
}

html body .tt-month-board .tt-public-week-table .tt-pub-tech-head,
html body .tt-month-board .tt-public-week-table .tt-pub-tech-name,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-head,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name,
html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-head,
html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-name{
  width:220px!important;
  min-width:220px!important;
  max-width:220px!important;
  box-sizing:border-box!important;
}

html body .tt-month-board .tt-public-week-table .tt-pub-tech-head,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-head,
html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-head{
  vertical-align:middle!important;
  text-align:left!important;
  padding-left:16px!important;
}

html body .tt-month-board .tt-public-week-table .tt-pub-tech-name,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name,
html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-name{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:6px 10px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

html body .tt-month-board .tt-public-week-table .tt-pub-tech-name strong,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name strong,
html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-name strong{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:20px!important;
  line-height:1.05!important;
}

html body .tt-month-board .tt-public-week-table .tt-pub-tech-name .tt-tech-photo,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name .tt-tech-photo,
html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-name .tt-tech-photo{
  flex:0 0 34px!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  object-fit:cover!important;
}

html body .tt-month-board .tt-public-week-table .tt-pub-tech-name .tt-tech-color-dot,
html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name .tt-tech-color-dot,
html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-name .tt-tech-color-dot{
  flex:0 0 5px!important;
  width:5px!important;
  min-width:5px!important;
  height:36px!important;
  margin:0!important;
}

@media(max-width:700px){
  html body .tt-month-board .tt-public-week-table,
  html body .tt-month-board-wrap .tt-public-week-table,
  html body .tt-public-calendar-section .tt-public-week-table{
    min-width:1240px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-tech-head,
  html body .tt-month-board .tt-public-week-table .tt-pub-tech-name,
  html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-head,
  html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name,
  html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-head,
  html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-name{
    width:220px!important;
    min-width:220px!important;
    max-width:220px!important;
  }
  html body .tt-month-board .tt-public-week-table .tt-pub-tech-name strong,
  html body .tt-month-board-wrap .tt-public-week-table .tt-pub-tech-name strong,
  html body .tt-public-calendar-section .tt-public-week-table .tt-pub-tech-name strong{
    font-size:19px!important;
  }
}

@media print{
  body.tt-printing .tt-pub-tech-head,
  body.tt-printing .tt-pub-tech-name{
    width:70px!important;
    min-width:70px!important;
    max-width:70px!important;
  }
}

/* v1.0.93 — detalles de eventos de Google Calendar / Turnos Equipo TAG */
.tt-pub-day-details-link{
  display:inline-block;
  margin-top:3px;
  padding:2px 6px;
  border-radius:999px;
  background:#e0f2fe;
  color:#075985;
  font-size:10px;
  font-weight:800;
  line-height:1.15;
}
.tt-cultura-day-popover .tt-cultura-day-desc{
  margin-top:8px;
  padding:9px 10px;
  border-left:3px solid #0f766e;
  background:#f8fafc;
  border-radius:8px;
  color:#0f172a;
  white-space:pre-wrap;
  line-height:1.35;
}
.tt-cultura-day-popover .tt-cultura-day-event h4{
  margin-bottom:6px;
}
@media print{
  .tt-pub-day-details-link{display:none!important;}
}
