:root{--t2i-navy:#07133f;--t2i-navy-2:#0b1d58;--t2i-blue:#2d4fa3;--t2i-red:#d7242a;--t2i-ink:#0f172f;--t2i-text:#334155;--t2i-muted:#6b7280;--t2i-line:#e5e7eb;--t2i-soft:#f6f8fc;--t2i-card:#fff;--t2i-shadow:0 18px 50px rgba(7,19,63,.12);--t2i-radius:22px}.t2i-event-widget,.t2i-event-widget *{box-sizing:border-box}.t2i-event-widget{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--t2i-ink);width:min(1220px,100%);margin:0 auto;padding:28px 18px}.t2i-event-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1fr);gap:28px;align-items:start}.t2i-event-left,.t2i-event-right{display:grid;gap:22px}.t2i-event-hero{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);gap:22px;min-height:250px;padding:28px;border-radius:var(--t2i-radius);background:radial-gradient(circle at 100% 0,rgba(45,79,163,.28),transparent 32%),linear-gradient(135deg,#030916 0%,var(--t2i-navy) 54%,#09154b 100%);box-shadow:var(--t2i-shadow);overflow:hidden}.t2i-event-hero:before{content:"";position:absolute;inset:auto -18% -55% 35%;height:82%;background:repeating-radial-gradient(circle at center,rgba(92,124,255,.18) 0 1px,transparent 2px 8px);transform:rotate(-8deg);opacity:.55}.t2i-event-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 55%,rgba(255,255,255,.08));pointer-events:none}.t2i-hero-icon{width:72px;height:72px;border:1px solid rgba(112,146,255,.55);border-radius:999px;display:grid;place-items:center;background:rgba(23,43,117,.55);box-shadow:inset 0 0 24px rgba(255,255,255,.06);z-index:1}.t2i-hero-icon svg{width:42px;height:42px;fill:none;stroke:#dbe7ff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.t2i-hero-content{z-index:1}.t2i-hero-content h2{margin:0 0 28px;color:#fff;font-size:clamp(30px,3.2vw,48px);line-height:1.08;font-weight:850;letter-spacing:-.04em}.t2i-hero-row{display:flex;align-items:center;gap:13px;margin:12px 0;color:#fff;font-size:18px;line-height:1.45}.t2i-round-icon,.t2i-form-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:999px;background:linear-gradient(145deg,#334db2,var(--t2i-navy-2));box-shadow:0 10px 22px rgba(13,33,106,.25)}.t2i-hero-label{margin:22px 0 0 57px;color:#7aa5ff;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.t2i-registration-card,.t2i-calendar-card,.t2i-map-card,.t2i-empty-state{background:var(--t2i-card);border:1px solid rgba(13,33,106,.08);border-radius:var(--t2i-radius);box-shadow:var(--t2i-shadow)}.t2i-registration-card{padding:30px}.t2i-form-title-row{display:flex;align-items:center;gap:18px;margin-bottom:18px}.t2i-form-title-row h3{margin:0;font-size:32px;line-height:1.1;letter-spacing:-.03em;color:var(--t2i-ink)}.t2i-form-icon{color:#fff;font-size:22px}.t2i-field{display:block;margin:0 0 17px}.t2i-field label,.t2i-registration-card>label{display:block;margin:0 0 8px;font-weight:800;color:var(--t2i-ink)}.t2i-field input:not([type=checkbox]),.t2i-stepper{width:100%;min-height:52px;border:1px solid #d7dce6;border-radius:12px;background:#fff;color:var(--t2i-ink);font-size:16px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.t2i-field input:not([type=checkbox]){padding:0 16px}.t2i-field input:focus{border-color:#385bc4;box-shadow:0 0 0 4px rgba(56,91,196,.12)}.t2i-stepper{display:grid;grid-template-columns:70px 1fr 70px;overflow:hidden}.t2i-stepper button,.t2i-stepper input{border:0;background:transparent;min-height:52px;font-size:20px;text-align:center;color:var(--t2i-navy)}.t2i-stepper button{cursor:pointer;font-size:26px}.t2i-stepper button:hover{background:#f2f5ff}.t2i-stepper input{font-weight:800;-moz-appearance:textfield}.t2i-stepper input::-webkit-outer-spin-button,.t2i-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.t2i-checkbox{display:flex!important;align-items:flex-start;gap:12px;margin:16px 0 24px!important;font-weight:500!important;color:var(--t2i-text)!important}.t2i-checkbox input{width:20px;height:20px;accent-color:var(--t2i-navy)}.t2i-honey{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.t2i-submit{width:100%;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px;border:0;border-radius:13px;background:linear-gradient(110deg,var(--t2i-navy) 0%,#17266f 58%,var(--t2i-red) 125%);box-shadow:0 15px 30px rgba(13,33,106,.28),0 0 0 1px rgba(255,255,255,.1) inset;color:#fff;font-size:24px;font-weight:850;letter-spacing:-.02em;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.t2i-submit:hover{transform:translateY(-2px);box-shadow:0 20px 38px rgba(13,33,106,.34)}.t2i-submit:disabled{opacity:.7;cursor:wait;transform:none}.t2i-form-message{margin:12px 0 0;color:#125e18;font-weight:700}.t2i-form-message.is-error{color:#b42318}.t2i-calendar-card{padding:26px 24px}.t2i-calendar-head{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;margin-bottom:20px}.t2i-calendar-head h3{margin:0;text-align:center;font-size:32px;letter-spacing:-.03em;color:var(--t2i-ink)}.t2i-calendar-head button{width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--t2i-navy);font-size:34px;line-height:1;cursor:pointer}.t2i-calendar-head button:hover{background:#f2f5ff}.t2i-calendar-weekdays,.t2i-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.t2i-calendar-weekdays{margin-bottom:10px}.t2i-calendar-weekdays span{text-align:center;color:#667085;font-size:13px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.t2i-calendar-cell{aspect-ratio:1/ .72;min-height:52px}.t2i-calendar-cell.is-empty{border-radius:12px;background:#fbfcff}.t2i-calendar-cell button{width:100%;height:100%;border:1px solid #e4e8f0;border-radius:12px;background:linear-gradient(180deg,#fff,#f6f7fb);color:#111827;font-size:21px;cursor:default;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.t2i-calendar-cell button.has-event{cursor:pointer;border-color:#d9e0f5;box-shadow:0 6px 16px rgba(13,33,106,.08)}.t2i-calendar-cell button.has-event:hover{transform:translateY(-1px);border-color:#4966c7}.t2i-calendar-cell button.is-selected{background:linear-gradient(145deg,#314fbb,var(--t2i-navy));border-color:#fff;color:#fff;box-shadow:0 0 0 4px rgba(49,79,187,.12),0 12px 22px rgba(13,33,106,.32);font-weight:900}.t2i-calendar-cell button:disabled{color:#9aa3b2}.t2i-calendar-event-line{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:18px;line-height:1.45;color:var(--t2i-ink)}.t2i-calendar-event-line strong{color:var(--t2i-blue)}.t2i-dot{width:20px;height:20px;border-radius:999px;background:linear-gradient(135deg,#2b51bd,#0a1b5a);box-shadow:0 8px 18px rgba(43,81,189,.28)}.t2i-map-card{padding:18px}.t2i-map-title{display:flex;align-items:center;gap:12px;margin:0 0 13px;font-size:20px;color:var(--t2i-ink)}.t2i-map{height:330px;border-radius:16px;border:1px solid #dfe4ef;overflow:hidden;background:#eaf0ff}.t2i-map-fallback{height:100%;display:grid;place-items:center;text-align:center;padding:28px;background:radial-gradient(circle at 50% 40%,rgba(45,79,163,.18),transparent 38%),linear-gradient(135deg,#eef3ff,#fbfcff);color:var(--t2i-ink)}.t2i-map-fallback strong{font-size:22px}.t2i-map-fallback span{display:block;color:var(--t2i-text);line-height:1.5}.t2i-map-pin{font-size:42px}.t2i-map-link{display:inline-flex;margin-top:12px;color:var(--t2i-blue);font-weight:800;text-decoration:none}.t2i-map-link:hover{text-decoration:underline}.t2i-map-tooltip{min-width:180px;line-height:1.45;color:#172033}.t2i-success-modal[hidden]{display:none}.t2i-success-modal{position:fixed;z-index:99999;inset:0;background:rgba(3,9,22,.62);display:grid;place-items:center;padding:20px}.t2i-success-box{position:relative;width:min(480px,100%);padding:36px;border-radius:24px;background:#fff;text-align:center;box-shadow:0 30px 90px rgba(0,0,0,.32)}.t2i-modal-close{position:absolute;right:15px;top:12px;width:38px;height:38px;border:0;border-radius:999px;background:#f2f4f8;color:#111827;font-size:28px;cursor:pointer}.t2i-success-icon{width:76px;height:76px;margin:0 auto 18px;border-radius:999px;display:grid;place-items:center;background:#ecfdf3;color:#147a32;font-size:44px;font-weight:900}.t2i-success-box h3{font-size:28px;margin:0 0 10px;color:var(--t2i-ink)}.t2i-success-box p{font-size:17px;color:var(--t2i-text);margin:0}.t2i-modal-open{overflow:hidden}.t2i-empty-state{text-align:center;padding:50px 28px}.t2i-empty-state h2{margin:0 0 8px;font-size:32px;color:var(--t2i-ink)}.t2i-empty-state p{margin:0;color:var(--t2i-text)}@media (max-width:980px){.t2i-event-layout{grid-template-columns:1fr}.t2i-event-widget{padding-inline:14px}.t2i-event-hero{grid-template-columns:1fr;min-height:auto}.t2i-hero-icon{width:64px;height:64px}.t2i-hero-content h2{font-size:34px}.t2i-map{height:300px}}@media (max-width:560px){.t2i-event-widget{padding:18px 10px}.t2i-event-layout,.t2i-event-left,.t2i-event-right{gap:16px}.t2i-event-hero,.t2i-registration-card,.t2i-calendar-card,.t2i-map-card{border-radius:18px}.t2i-event-hero{padding:22px}.t2i-hero-content h2{font-size:28px}.t2i-hero-row{font-size:15px}.t2i-registration-card{padding:22px}.t2i-form-title-row h3,.t2i-calendar-head h3{font-size:26px}.t2i-calendar-weekdays,.t2i-calendar-grid{gap:6px}.t2i-calendar-cell{min-height:42px}.t2i-calendar-cell button{font-size:17px;border-radius:10px}.t2i-submit{min-height:62px;font-size:18px;padding:0 20px}.t2i-calendar-event-line{font-size:15px}.t2i-map{height:260px}}

/* v1.0.3 refinements */
.t2i-next-event-button{position:absolute;right:0;top:50%;z-index:3;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 16px 0 18px;border:1px solid rgba(255,255,255,.22);border-right:0;border-radius:999px 0 0 999px;background:rgba(255,255,255,.09);backdrop-filter:blur(10px);color:#fff;font-size:14px;font-weight:850;letter-spacing:.02em;cursor:pointer;transform:translateY(-50%);box-shadow:0 12px 26px rgba(0,0,0,.18);transition:background .18s ease,transform .18s ease}.t2i-next-event-button:hover,.t2i-next-event-button:focus-visible{background:rgba(255,255,255,.18);transform:translateY(-50%) translateX(-2px);outline:none}.t2i-next-event-button span:last-child{font-size:28px;line-height:1}.t2i-calendar-cell{position:relative}.t2i-calendar-cell button.has-event:not(.is-selected){background:rgba(45,79,163,.12);border-color:rgba(45,79,163,.45);color:var(--t2i-navy);box-shadow:inset 0 0 0 1px rgba(255,255,255,.65),0 8px 20px rgba(45,79,163,.08)}.t2i-calendar-cell button.has-event:not(.is-selected):hover,.t2i-calendar-cell button.has-event:not(.is-selected):focus-visible{background:rgba(45,79,163,.18);border-color:rgba(7,19,63,.72);box-shadow:0 10px 24px rgba(45,79,163,.16);outline:none}.t2i-calendar-cell.has-tooltip:before{content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 12px);z-index:8;width:max-content;max-width:230px;padding:10px 12px;border-radius:12px;background:#07133f;color:#fff;font-size:12px;line-height:1.35;font-weight:700;text-align:left;box-shadow:0 16px 34px rgba(7,19,63,.22);opacity:0;pointer-events:none;transform:translate(-50%,6px);transition:opacity .16s ease,transform .16s ease}.t2i-calendar-cell.has-tooltip:after{content:"";position:absolute;left:50%;bottom:calc(100% + 5px);z-index:8;border:7px solid transparent;border-top-color:#07133f;opacity:0;pointer-events:none;transform:translateX(-50%);transition:opacity .16s ease}.t2i-calendar-cell.has-tooltip:hover:before,.t2i-calendar-cell.has-tooltip:hover:after,.t2i-calendar-cell.has-tooltip:focus-within:before,.t2i-calendar-cell.has-tooltip:focus-within:after{opacity:1;transform:translate(-50%,0)}.t2i-calendar-cell.has-tooltip:hover:after,.t2i-calendar-cell.has-tooltip:focus-within:after{transform:translateX(-50%)}.t2i-modal-ok{display:inline-flex;align-items:center;justify-content:center;min-width:132px;min-height:46px;margin-top:24px;border:0;border-radius:999px;background:linear-gradient(110deg,var(--t2i-navy),#263fb0);box-shadow:0 12px 24px rgba(7,19,63,.22);color:#fff;font-size:16px;font-weight:850;cursor:pointer}.t2i-modal-ok:hover,.t2i-modal-ok:focus-visible{filter:brightness(1.08);outline:none}.t2i-success-box p{line-height:1.45}@media (max-width:560px){.t2i-next-event-button{right:16px;top:auto;bottom:16px;border:1px solid rgba(255,255,255,.22);border-radius:999px;transform:none}.t2i-next-event-button:hover,.t2i-next-event-button:focus-visible{transform:translateY(-1px)}.t2i-calendar-cell.has-tooltip:before{max-width:190px}}


/* v1.0.4 focused hero refinements */
.t2i-hero-label{display:none!important}
@media (min-width:981px){.t2i-hero-content .t2i-hero-row{margin-left:-86px}.t2i-event-hero{padding-right:96px}}
.t2i-form-icon{color:#fff!important}
.t2i-form-icon svg{width:24px;height:24px}.t2i-form-icon svg,.t2i-form-icon path{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.t2i-hero-badge{position:absolute;top:19px;right:-58px;z-index:6;display:block;min-width:176px;max-width:230px;padding:8px 48px;background:linear-gradient(135deg,#ef233c,#b51630);box-shadow:0 14px 28px rgba(0,0,0,.22);color:#fff;font-size:13px;line-height:1.1;font-weight:900;letter-spacing:.08em;text-transform:uppercase;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:rotate(42deg);pointer-events:none}
.t2i-hero-badge[hidden]{display:none!important}
@media (max-width:980px){.t2i-hero-content .t2i-hero-row{margin-left:0}.t2i-event-hero{padding-right:28px}.t2i-hero-badge{top:17px;right:-62px;font-size:12px}}
@media (max-width:560px){.t2i-event-hero{padding-right:22px}.t2i-hero-badge{right:-68px;top:15px;min-width:170px;padding:7px 44px;font-size:11px}.t2i-hero-content h2{padding-right:32px}}


/* v1.0.5 requested refinements: wider hero text, smaller title, no native tooltip duplication. */
@media (min-width:981px){.t2i-event-hero{grid-template-columns:72px minmax(0,1fr);gap:18px}.t2i-hero-content{min-width:0}.t2i-hero-content h2{font-size:clamp(30px,3vw,46px);max-width:100%}.t2i-next-event-button{top:52%}}
.t2i-form-icon svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.t2i-hero-badge{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}


/* v1.0.6 phone responsiveness safeguards. Only CSS overrides; no working JS/PHP logic changed. */
@media (max-width:782px){
  .t2i-event-widget{width:100%;max-width:100%;padding:18px 12px;overflow-x:hidden}
  .t2i-event-layout{grid-template-columns:1fr;gap:18px}
  .t2i-event-left,.t2i-event-right{gap:18px}
  .t2i-event-hero{min-height:0;padding:22px 18px 84px;border-radius:22px;grid-template-columns:1fr;gap:14px}
  .t2i-hero-icon{width:64px;height:64px}
  .t2i-hero-icon svg{width:36px;height:36px}
  .t2i-hero-content{min-width:0}
  .t2i-hero-content h2{font-size:clamp(28px,8vw,38px);line-height:1.1;margin-bottom:20px;padding-right:0;overflow-wrap:break-word;hyphens:auto}
  .t2i-hero-row{align-items:flex-start;font-size:16px;line-height:1.45;gap:12px;overflow-wrap:anywhere}
  .t2i-round-icon{width:42px;height:42px;min-width:42px}
  .t2i-next-event-button{right:16px;left:auto;top:auto;bottom:16px;min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.22);border-radius:999px;transform:none;font-size:13px}
  .t2i-next-event-button:hover,.t2i-next-event-button:focus-visible{transform:translateY(-1px)}
  .t2i-next-event-button span:last-child{font-size:24px}
  .t2i-hero-badge{top:14px;right:-70px;min-width:170px;max-width:190px;padding:7px 42px;font-size:10px}
  .t2i-registration-card,.t2i-calendar-card,.t2i-map-card{padding:22px 16px}
  .t2i-form-title-row{gap:12px;margin-bottom:16px}
  .t2i-form-title-row h3{font-size:28px}
  .t2i-form-icon{width:46px;height:46px}
  .t2i-field input:not([type=checkbox]),.t2i-stepper{min-height:50px}
  .t2i-checkbox{gap:10px;line-height:1.4}
  .t2i-checkbox input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}
  .t2i-submit{min-height:62px;font-size:18px;padding:0 18px}
  .t2i-calendar-head{grid-template-columns:42px 1fr 42px;margin-bottom:16px}
  .t2i-calendar-head h3{font-size:30px}
  .t2i-calendar-head button{width:40px;height:40px;font-size:32px}
  .t2i-calendar-weekdays,.t2i-calendar-grid{gap:7px}
  .t2i-calendar-cell{min-height:42px}
  .t2i-calendar-cell button{font-size:18px;border-radius:11px;padding:0}
  .t2i-calendar-event-line{font-size:16px}
  .t2i-map{height:280px}
  .t2i-success-box{width:min(92vw,480px);padding:34px 24px}
}
@media (max-width:430px){
  .t2i-event-widget{padding:16px 10px}
  .t2i-event-layout,.t2i-event-left,.t2i-event-right{gap:16px}
  .t2i-event-hero{padding:18px 14px 78px;border-radius:20px}
  .t2i-hero-icon{width:58px;height:58px}
  .t2i-hero-icon svg{width:32px;height:32px}
  .t2i-hero-content h2{font-size:clamp(25px,8.4vw,30px);margin-bottom:18px}
  .t2i-hero-row{font-size:15px;gap:10px}
  .t2i-round-icon{width:38px;height:38px;min-width:38px;font-size:18px}
  .t2i-next-event-button{right:12px;bottom:14px;min-height:40px;padding:0 13px;font-size:12px}
  .t2i-hero-badge{right:-72px;top:12px;min-width:164px;padding:6px 40px;font-size:9px}
  .t2i-registration-card,.t2i-calendar-card,.t2i-map-card{padding:20px 12px;border-radius:18px}
  .t2i-form-title-row h3{font-size:26px}
  .t2i-stepper{grid-template-columns:54px 1fr 54px}
  .t2i-submit{min-height:58px;font-size:17px;padding:0 15px}
  .t2i-calendar-head{grid-template-columns:36px 1fr 36px;margin-bottom:14px}
  .t2i-calendar-head h3{font-size:28px}
  .t2i-calendar-head button{width:34px;height:34px;font-size:30px}
  .t2i-calendar-weekdays,.t2i-calendar-grid{gap:5px}
  .t2i-calendar-weekdays span{font-size:11px}
  .t2i-calendar-cell{min-height:36px;aspect-ratio:1/.82}
  .t2i-calendar-cell button{font-size:15px;border-radius:10px}
  .t2i-calendar-cell.has-tooltip:before,.t2i-calendar-cell.has-tooltip:after{display:none}
  .t2i-calendar-event-line{font-size:14px;align-items:flex-start}
  .t2i-dot{width:14px;height:14px;min-width:14px;margin-top:3px}
  .t2i-map-title{font-size:17px}
  .t2i-map{height:240px;border-radius:14px}
  .t2i-success-box{padding:30px 20px;border-radius:22px}
  .t2i-success-box h3{font-size:24px}
  .t2i-success-box p{font-size:16px}
}
@media (max-width:360px){
  .t2i-event-widget{padding-left:8px;padding-right:8px}
  .t2i-hero-content h2{font-size:24px}
  .t2i-hero-row{font-size:14px}
  .t2i-calendar-cell{min-height:34px}
  .t2i-calendar-cell button{font-size:14px}
  .t2i-submit{font-size:16px}
}

/* v1.0.7 mobile overflow fixes + map tooltip max width. CSS-only safety patch. */
.t2i-event-widget{max-width:100%!important;overflow-x:clip}
.t2i-event-layout,.t2i-event-left,.t2i-event-right,.t2i-event-hero,.t2i-registration-card,.t2i-calendar-card,.t2i-map-card,.t2i-hero-content,.t2i-calendar-event-line{min-width:0;max-width:100%}
.t2i-calendar-card,.t2i-registration-card,.t2i-map-card{overflow:hidden}
.t2i-calendar-event-line{flex-wrap:wrap;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.t2i-calendar-event-line strong{min-width:0;overflow-wrap:anywhere}
.t2i-checkbox span{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.t2i-submit span:first-child{min-width:0;overflow-wrap:anywhere;text-align:left}
.t2i-map-tooltip{box-sizing:border-box;min-width:0!important;width:auto;max-width:min(320px,calc(100vw - 96px));white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.45}
.t2i-map .gm-style-iw{max-width:min(340px,calc(100vw - 80px))!important}
.t2i-map .gm-style-iw-d{max-width:min(320px,calc(100vw - 96px))!important;overflow:auto!important}
@media (max-width:782px){
  .t2i-event-widget{max-width:100vw!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;overflow-x:hidden}
  .t2i-event-widget.alignwide,.t2i-event-widget.alignfull{width:100%!important;max-width:100vw!important;margin-left:auto!important;margin-right:auto!important}
  .t2i-calendar-card{width:100%;max-width:100%;padding-left:14px;padding-right:14px}
  .t2i-calendar-weekdays,.t2i-calendar-grid{width:100%;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
  .t2i-calendar-cell{min-width:0;width:100%;min-height:0;aspect-ratio:1/.86}
  .t2i-calendar-cell button{min-width:0;width:100%;height:100%;font-size:clamp(14px,4.5vw,18px)}
  .t2i-calendar-weekdays span{min-width:0;font-size:clamp(10px,3vw,12px);letter-spacing:.03em}
  .t2i-calendar-event-line{display:flex;width:100%;gap:8px;align-items:flex-start;line-height:1.35}
  .t2i-calendar-event-line .t2i-dot{flex:0 0 auto}
  .t2i-event-hero{width:100%;max-width:100%;overflow:hidden}
  .t2i-hero-content h2{max-width:100%;overflow-wrap:anywhere;word-break:normal}
  .t2i-hero-row span:last-child{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
  .t2i-next-event-button{max-width:calc(100% - 28px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .t2i-map-tooltip{max-width:min(280px,calc(100vw - 76px))}
  .t2i-map .gm-style-iw{max-width:min(300px,calc(100vw - 60px))!important}
  .t2i-map .gm-style-iw-d{max-width:min(280px,calc(100vw - 76px))!important}
}
@media (max-width:430px){
  .t2i-calendar-card{padding-left:10px;padding-right:10px}
  .t2i-calendar-weekdays,.t2i-calendar-grid{gap:4px}
  .t2i-calendar-cell{aspect-ratio:1/.92}
  .t2i-calendar-cell button{font-size:clamp(13px,4.2vw,16px);border-radius:9px}
  .t2i-calendar-event-line{font-size:14px;display:grid;grid-template-columns:18px minmax(0,auto) minmax(0,1fr);column-gap:8px;row-gap:2px}
  .t2i-calendar-event-line .t2i-dot{margin-top:3px}
  .t2i-map-tooltip{max-width:min(245px,calc(100vw - 70px))}
  .t2i-map .gm-style-iw{max-width:min(270px,calc(100vw - 52px))!important}
  .t2i-map .gm-style-iw-d{max-width:min(245px,calc(100vw - 70px))!important}
}

/* v1.0.8 badge visibility patch. CSS-only: keeps existing PHP/JS working code untouched. */
.t2i-event-hero{overflow:hidden}
.t2i-hero-badge{
  top:24px!important;
  right:-52px!important;
  width:230px!important;
  min-width:230px!important;
  max-width:230px!important;
  padding:9px 0!important;
  display:block;
  background:linear-gradient(135deg,#f02f45 0%,#d71935 55%,#a70f29 100%)!important;
  box-shadow:0 12px 24px rgba(0,0,0,.24)!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:rotate(45deg)!important;
  transform-origin:center center!important;
  z-index:12!important;
}
@media (max-width:782px){
  .t2i-hero-badge{
    top:22px!important;
    right:-54px!important;
    width:218px!important;
    min-width:218px!important;
    max-width:218px!important;
    padding:8px 0!important;
    font-size:11px!important;
    letter-spacing:.075em!important;
  }
  .t2i-hero-content h2{padding-right:0!important}
}
@media (max-width:430px){
  .t2i-hero-badge{
    top:20px!important;
    right:-58px!important;
    width:210px!important;
    min-width:210px!important;
    max-width:210px!important;
    padding:7px 0!important;
    font-size:10px!important;
    letter-spacing:.065em!important;
  }
}
@media (max-width:360px){
  .t2i-hero-badge{
    top:18px!important;
    right:-60px!important;
    width:204px!important;
    min-width:204px!important;
    max-width:204px!important;
    font-size:9.5px!important;
  }
}

/* v1.0.9 event detail lines + online event visual. Required-only CSS patch. */
.t2i-hero-row{
  position:relative;
  width:min(100%,620px);
  align-items:center;
}
.t2i-hero-row > span:last-child{
  display:block;
  min-width:0;
}
.t2i-hero-meta-line{
  display:block;
  color:#fff;
  line-height:1.38;
  overflow-wrap:anywhere;
}
.t2i-hero-meta-line strong{
  margin-right:6px;
  color:#fff;
  font-weight:950;
  letter-spacing:.01em;
  text-transform:none;
}
.t2i-event-hero .t2i-hero-row{
  padding:10px 12px;
  border:2px solid rgba(255,255,255,.82);
  border-radius:0;
  background:rgba(255,255,255,.025);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.t2i-event-hero .t2i-hero-row .t2i-round-icon{
  margin-left:-3px;
}
.t2i-online-event-visual{
  position:relative;
  height:100%;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:32px 22px;
  text-align:center;
  overflow:hidden;
  background:radial-gradient(circle at 78% 15%,rgba(215,36,42,.20),transparent 28%),radial-gradient(circle at 18% 80%,rgba(45,79,163,.26),transparent 34%),linear-gradient(135deg,#f7f9ff 0%,#ffffff 52%,#eef3ff 100%);
  color:var(--t2i-navy);
}
.t2i-online-event-visual:before{
  content:"";
  position:absolute;
  inset:auto -18% -38% 28%;
  height:70%;
  background:repeating-radial-gradient(circle at center,rgba(45,79,163,.16) 0 1px,transparent 2px 9px);
  transform:rotate(-8deg);
}
.t2i-online-browser{
  position:absolute;
  top:18px;
  left:18px;
  right:18px;
  height:42px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 12px;
  border:1px solid rgba(7,19,63,.12);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
  box-shadow:0 14px 26px rgba(7,19,63,.08);
}
.t2i-online-browser span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--t2i-blue);
}
.t2i-online-browser span:nth-child(2){background:var(--t2i-red)}
.t2i-online-browser span:nth-child(3){background:#07133f}
.t2i-online-url{
  flex:1;
  min-width:0;
  height:22px;
  display:flex;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:#eef3ff;
  color:#667085;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.t2i-online-glow{
  position:absolute;
  width:156px;
  height:156px;
  border-radius:50%;
  background:linear-gradient(135deg,rgba(45,79,163,.18),rgba(215,36,42,.18));
  animation:t2iOnlinePulse 2.2s ease-in-out infinite;
}
.t2i-online-word{
  position:relative;
  z-index:1;
  display:grid;
  gap:0;
  transform:rotate(-8deg);
  line-height:.86;
  text-transform:uppercase;
  letter-spacing:-.05em;
}
.t2i-online-word span,
.t2i-online-word strong{
  display:block;
  font-weight:950;
  font-size:clamp(54px,8vw,94px);
}
.t2i-online-word span{color:#07133f}
.t2i-online-word strong{color:var(--t2i-red);text-shadow:0 10px 24px rgba(215,36,42,.16)}
.t2i-online-event-visual p{
  position:relative;
  z-index:1;
  margin:20px 0 0;
  max-width:min(520px,100%);
  color:#334155;
  font-size:16px;
  line-height:1.45;
  font-weight:800;
  overflow-wrap:anywhere;
}
@keyframes t2iOnlinePulse{
  0%,100%{transform:scale(.94);opacity:.72}
  50%{transform:scale(1.08);opacity:1}
}
@media (max-width:782px){
  .t2i-event-hero .t2i-hero-row{width:100%;padding:9px 10px;border-width:1.5px}
  .t2i-hero-meta-line{font-size:15px;line-height:1.36}
  .t2i-online-event-visual{min-height:240px;padding:76px 16px 28px}
  .t2i-online-word span,.t2i-online-word strong{font-size:clamp(46px,15vw,72px)}
  .t2i-online-browser{left:12px;right:12px;top:12px}
}
@media (max-width:430px){
  .t2i-event-hero .t2i-hero-row{gap:9px;padding:8px}
  .t2i-hero-meta-line{font-size:14px}
  .t2i-hero-meta-line strong{display:inline;margin-right:4px}
  .t2i-online-event-visual{min-height:220px;padding:70px 14px 24px}
  .t2i-online-word span,.t2i-online-word strong{font-size:clamp(40px,14vw,58px)}
  .t2i-online-event-visual p{font-size:14px}
}


/* v1.1.1 requested visual-only patch: clearer other event borders, no hero-row borders, and strict Google tooltip width. */
.t2i-event-hero .t2i-hero-row{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:6px 0!important;
}
.t2i-calendar-cell button.has-event:not(.is-selected){
  border:2.5px solid rgba(45,79,163,.48)!important;
  background:rgba(45,79,163,.08)!important;
  box-shadow:0 7px 18px rgba(13,33,106,.08)!important;
  color:var(--t2i-navy)!important;
}
.t2i-calendar-cell button.has-event:not(.is-selected):hover,
.t2i-calendar-cell.has-tooltip:hover button.has-event:not(.is-selected){
  border-color:rgba(7,19,63,.84)!important;
  background:rgba(45,79,163,.14)!important;
}
.t2i-map .gm-style .gm-style-iw,
.t2i-map .gm-style .gm-style-iw-c,
.t2i-map .gm-style .gm-style-iw-d,
.t2i-map .gm-style .gm-style-iw-ch,
.t2i-map-tooltip{
  max-width:200px!important;
  width:auto!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.t2i-map .gm-style .gm-style-iw-d{
  overflow:auto!important;
}
.t2i-map .gm-style .gm-style-iw-ch{
  font-weight:800!important;
  color:#07133f!important;
  padding-right:34px!important;
  line-height:1.35!important;
}
.t2i-map-tooltip{
  min-width:0!important;
  line-height:1.45!important;
  color:#172033!important;
}
.t2i-map-tooltip-heading{
  display:block!important;
  max-width:200px!important;
  font-weight:850!important;
  line-height:1.35!important;
  color:#07133f!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.t2i-map-tooltip span{
  display:block!important;
  max-width:200px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
@media (max-width:782px){
  .t2i-event-hero .t2i-hero-row{padding:5px 0!important}
  .t2i-calendar-cell button.has-event:not(.is-selected){border-width:2px!important}
}


/* v1.1.2 requested safety patch: Google tooltip text-only header, 200px width, and clearer booked-date border. */
.t2i-calendar-cell button.has-event:not(.is-selected){
  border-width:3px!important;
}
.t2i-map .gm-style .gm-style-iw,
.t2i-map .gm-style .gm-style-iw-c,
.t2i-map .gm-style .gm-style-iw-d{
  max-width:200px!important;
  width:auto!important;
  box-sizing:border-box!important;
}
.t2i-map .gm-style .gm-style-iw-ch{
  max-width:200px!important;
  padding:0 10px 4px 0!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:500!important;
  color:#475467!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.t2i-map-tooltip{
  max-width:200px!important;
  width:200px!important;
  box-sizing:border-box!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.t2i-map-tooltip span{
  display:block;
  margin-top:4px;
}
.t2i-map-tooltip-heading{
  display:block;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:500!important;
  color:#475467!important;
}

/* v1.1.2 badge alignment patch: keep diagonal badge text centered inside the ribbon. */
.t2i-hero-badge{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:36px!important;
  padding:0 34px!important;
  line-height:1.1!important;
  text-align:center!important;
}
@media (max-width:782px){
  .t2i-hero-badge{height:32px!important;padding:0 30px!important}
}
@media (max-width:430px){
  .t2i-hero-badge{height:30px!important;padding:0 28px!important}
}

/* v1.1.3 requested polish: h4 Google tooltip heading, no inner scrollbar, badge position, and online visual text. */
.t2i-hero-badge{
  top:35px!important;
  right:-65px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.t2i-online-word,
.t2i-online-word span,
.t2i-online-word strong{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.t2i-online-url{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.t2i-map .gm-style .gm-style-iw,
.t2i-map .gm-style .gm-style-iw-c,
.t2i-map .gm-style .gm-style-iw-d,
.t2i-map .gm-style .gm-style-iw-ch,
.t2i-map-tooltip{
  max-width:200px!important;
  box-sizing:border-box!important;
}
.t2i-map .gm-style .gm-style-iw-d{
  overflow:visible!important;
  max-height:none!important;
}
.t2i-map .gm-style .gm-style-iw-c{
  max-height:none!important;
}
.t2i-map-tooltip{
  width:auto!important;
  max-width:200px!important;
  padding:0!important;
  overflow:visible!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
h4.t2i-map-tooltip-heading,
.t2i-map .gm-style .gm-style-iw-ch h4.t2i-map-tooltip-heading{
  display:block!important;
  margin:0!important;
  padding:0!important;
  max-width:200px!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:700!important;
  color:#475467!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.t2i-map-tooltip span{
  display:block!important;
  width:auto!important;
  max-width:200px!important;
  margin-top:4px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
@media (max-width:782px){
  .t2i-hero-badge{top:28px!important;right:-67px!important}
}
@media (max-width:430px){
  .t2i-hero-badge{top:22px!important;right:-68px!important}
}


/* v1.1.4 requested polish: tooltip heading spacing, blue location line, and safe calendar fitting. */
.t2i-event-widget{
  max-width:min(1220px,100%)!important;
  overflow-x:hidden!important;
}
.t2i-event-layout,
.t2i-event-left,
.t2i-event-right,
.t2i-calendar-card,
.t2i-calendar-grid,
.t2i-calendar-weekdays,
.t2i-calendar-cell{
  min-width:0!important;
}
.t2i-calendar-card{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.t2i-calendar-weekdays,
.t2i-calendar-grid{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  width:100%!important;
}
.t2i-calendar-cell{
  width:100%!important;
  max-width:100%!important;
}
.t2i-calendar-cell button{
  min-width:0!important;
  max-width:100%!important;
}
[data-t2i-event-location] .t2i-hero-meta-line,
[data-t2i-event-location] .t2i-hero-meta-line strong{
  color:#7aa5ff!important;
}
h4.t2i-map-tooltip-heading,
.t2i-map .gm-style .gm-style-iw-ch h4.t2i-map-tooltip-heading{
  margin:0 0 8px!important;
  padding:3px 30px 3px 0!important;
  max-width:200px!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
  color:#475467!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.t2i-map .gm-style .gm-style-iw-ch{
  padding-top:8px!important;
  padding-bottom:4px!important;
}
.t2i-map .gm-style .gm-style-iw-d{
  overflow:visible!important;
  max-height:none!important;
}
@media (max-width:980px){
  .t2i-event-widget.alignwide,
  .t2i-event-widget.alignfull{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
@media (max-width:782px){
  .t2i-event-widget{
    width:100%!important;
    max-width:100%!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .t2i-calendar-card{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .t2i-calendar-weekdays,
  .t2i-calendar-grid{
    gap:7px!important;
  }
  .t2i-calendar-cell{
    aspect-ratio:auto!important;
    min-height:48px!important;
    height:48px!important;
  }
  .t2i-calendar-cell button{
    font-size:clamp(15px,4.6vw,20px)!important;
    border-radius:11px!important;
  }
}
@media (max-width:430px){
  .t2i-event-widget{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .t2i-calendar-card{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .t2i-calendar-weekdays,
  .t2i-calendar-grid{
    gap:5px!important;
  }
  .t2i-calendar-head{
    grid-template-columns:34px 1fr 34px!important;
  }
  .t2i-calendar-head button{
    width:32px!important;
    height:36px!important;
    font-size:30px!important;
  }
  .t2i-calendar-head h3{
    font-size:clamp(28px,8vw,36px)!important;
  }
  .t2i-calendar-weekdays span{
    font-size:11px!important;
    letter-spacing:.04em!important;
  }
  .t2i-calendar-cell{
    min-height:43px!important;
    height:43px!important;
  }
  .t2i-calendar-cell button{
    font-size:clamp(14px,4.7vw,18px)!important;
    border-radius:10px!important;
  }
}
@media (max-width:360px){
  .t2i-calendar-weekdays,
  .t2i-calendar-grid{gap:4px!important}
  .t2i-calendar-cell{height:39px!important;min-height:39px!important}
  .t2i-calendar-cell button{font-size:14px!important;border-radius:8px!important}
}


/* v1.1.5 Google Maps InfoWindow final polish: exact 200px wrapper, 10px padding, h4 heading spacing, no scrollbars. */
.t2i-map .gm-style .gm-style-iw.main-wrapper-div,
.t2i-map .gm-style .gm-style-iw.gm-style-iw-c{
  box-sizing:border-box!important;
  width:auto!important;
  max-width:200px!important;
  min-width:0!important;
  max-height:none!important;
  padding:10px!important;
  overflow:visible!important;
}
.t2i-map .gm-style .gm-style-iw-chr{
  position:relative!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:0!important;
  width:100%!important;
  max-width:180px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
}
.t2i-map .gm-style .gm-style-iw-ch{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:150px!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
}
h4.t2i-map-tooltip-heading,
.t2i-map .gm-style .gm-style-iw-ch h4.t2i-map-tooltip-heading{
  display:block!important;
  margin:8px 0!important;
  padding:3px 30px 3px 0!important;
  max-width:150px!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
  color:#475467!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.t2i-map .gm-style button.gm-ui-hover-effect{
  position:absolute!important;
  top:0!important;
  right:0!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  margin:0!important;
  opacity:.78!important;
}
.t2i-map .gm-style button.gm-ui-hover-effect span{
  width:22px!important;
  height:22px!important;
  margin:6px!important;
}
.t2i-map .gm-style .gm-style-iw-d{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:180px!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
}
.t2i-map-tooltip{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:180px!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  color:#172033!important;
  line-height:1.45!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
}
.t2i-map-tooltip span{
  display:block!important;
  width:100%!important;
  max-width:180px!important;
  margin:0 0 4px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.t2i-map-tooltip span:last-child{
  margin-bottom:0!important;
}
