:root{
  --bg:#f5f7fa;
  --panel:#ffffff;
  --line:#e6e9ef;
  --ink: #7c7c7c;
  --muted:#6b7280;
  --brand:#ff4d6d;
  --brand2:#00a2a5;
  --teal:#79c9c3;
  --teal-strong:#0f7e83;
  --warn:#f59e0b;
  --dash:#ff7b86;
  --chip:#eef2f6;
  --header:#f1f3f6;
}
*{box-sizing:border-box}
html,body{min-height:100vh}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:#f9fbfb;
}
.app{display:flex;min-height:100vh}
.rail{
  width:64px;
  background:#f9fbfb;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:8px;
  gap:4px;
  min-height:100vh;
  transition:width 0.3s ease;
  overflow-x:hidden;
}
.rail.expanded{
  width:260px;
  align-items:stretch;
  padding:16px;
}
.rail-header{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:0;
  height:40px;
}
.rail.expanded .rail-header{
  justify-content:space-between;
  padding:0 4px;
}
.brand-side{
  display:none;
}
.rail.expanded .brand-side{
  display:flex;
  flex-direction:column;
}
.brand-side-title{
  font-size:18px;
  font-weight:700;
  color:#3c485a;
}
.brand-side-desc{
  font-size:12px;
  color:#6b7280;
  margin:0;
}
.rail-toggle{
  width:32px;height:32px;border-radius:10px;
  border:1px solid #d1d5db;
  background:#ffffff;
  display:grid;place-items:center;
  color:#9ca3af;
  cursor:pointer;
  flex-shrink:0;
}
.rail-toggle svg{width:16px;height:16px}
.rail.expanded .rail-toggle svg{transform:rotate(180deg)}

.rail-nav{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.rail-item{
  width:44px;height:44px;border-radius:12px;border:none;background:transparent;
  display:flex;align-items:center;justify-content:center;color:#404040;cursor:pointer;
  padding:0;
  transition:all 0.2s ease;
  white-space:nowrap;
  text-decoration:none;
}
.rail.expanded .rail-item{
  width:100%;
  justify-content:flex-start;
  padding:0 12px;
  gap:12px;
}
.rail-item svg{
  width:22px;height:22px;
  flex-shrink:0;
}
.rail-label{
  display:none;
  font-size:14px;
  font-weight:500;
  color:#5c5e78;
}
.rail.expanded .rail-label{
  display:block;
}
.rail-item-chev{
  display:none;
  margin-left:auto;
  color:#5c5e78;
  opacity:0.5;
  transition:transform 0.2s ease;
}
.rail-item-group.expanded-sub .rail-item-chev{
  transform:rotate(180deg);
}
.rail-submenu{
  display:none;
  flex-direction:column;
  gap:2px;
  padding-left:12px;
  margin-top:2px;
}
.rail-item-group.expanded-sub .rail-submenu{
  display:flex;
}
.rail-sub-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 12px;
  border:none;
  background:transparent;
  color:#5c5e78;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  border-radius:8px;
  transition:all 0.2s ease;
  width:100%;
  text-align:left;
}
.rail-sub-item:hover{
  background:rgba(15,126,131,0.05);
}
.rail.expanded .rail-item-chev{
  display:block;
}
.rail-sub-item svg{
  width:16px;height:16px;
  flex-shrink:0;
  color:#404040;
}
.rail-item:hover{background:rgba(15,126,131,0.08)}
.rail-item.active{
  background:#404040;
  color:#ffffff;
}
.rail-item.active .rail-label{
  color:inherit;
}

.rail-footer{
  width:100%;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.rail.expanded .rail-footer{
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  padding:0 8px;
}
.rail-footer-title{
  display:none;
  font-size:11px;
  font-weight:700;
  color:#5c5e78;
  letter-spacing:0.05em;
}
.rail.expanded .rail-footer-title{
  display:block;
}
.theme-toggle{
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.toggle-track{
  width:48px;
  height:28px;
  background:#eef6ff;
  border-radius:999px;
  position:relative;
  transition:all 0.3s ease;
}
.rail.expanded .toggle-track{
  width:56px;
  height:32px;
}
.toggle-thumb{
  width:22px;
  height:22px;
  background:#60a5fa;
  border-radius:50%;
  position:absolute;
  top:3px;
  left:3px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:0 2px 4px rgba(0,0,0,0.1);
}
.rail.expanded .toggle-thumb{
  width:26px;
  height:26px;
}
.sun-icon, .moon-icon{
  width:14px;
  height:14px;
  position:absolute;
  transition:all 0.3s ease;
}
.rail.expanded .sun-icon, .rail.expanded .moon-icon{
  width:16px;
  height:16px;
}
.sun-icon{
  color:#1e40af;
  opacity:1;
  transform:scale(1);
}
.moon-icon{
  color:#92400e; /* text-amber-800 aproximado */
  opacity:0;
  transform:scale(0);
}
#themeSwitch:checked + .toggle-track{
  background:#1e293b;
}
#themeSwitch:checked + .toggle-track .toggle-thumb{
  left:23px;
  background:linear-gradient(to bottom right, #fde68a, #fcd34d); /* bg-linear-to-br from-amber-200 to-amber-300 */
}
.rail.expanded #themeSwitch:checked + .toggle-track .toggle-thumb{
  left:27px;
}
#themeSwitch:checked + .toggle-track .sun-icon{
  opacity:0;
  transform:scale(0);
}
#themeSwitch:checked + .toggle-track .moon-icon{
  opacity:1;
  transform:scale(1);
}

.rail-sep{
  width:calc(100% + 16px);
  height:1px;
  background:#d1d5db;
  margin:12px -8px;
  flex-shrink:0;
}
.rail-header + .rail-sep{
  margin-top:11px;
}
.rail.expanded .rail-sep{
  width:calc(100% + 32px);
  margin:12px -16px;
}
.rail.expanded .rail-header + .rail-sep{
  margin-top:3px;
}
.rail-spacer{flex:1}
.rail-bottom{margin-top:auto}
.main{flex:1;display:flex;flex-direction:column;min-width:0}
.topbar{
  height:64px;
  background:#f9fbfb;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px 0 24px;
  border-bottom:1px solid var(--line);
}
.brand-block{display:flex;flex-direction:column;gap:0;margin-top:5px}
.brand-new{display:flex;align-items:baseline;gap:8px}
.brand-title{color:var(--brand);font-size:20px;font-weight:700;letter-spacing:-0.025em;margin:3px}
.brand-subtitle{font-size:24px;font-weight:500;color:#404040}
.brand-description{font-size:12px;font-weight:500;color:rgba(60,72,90,0.8);margin:0 0 0 3px}
.top-actions{display:flex;align-items:center;gap:16px}
.pill{
  display:flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:600;
}
.pill-pro{
  background:#ff7b86;
  color:#ffffff;
}
.pill-pro svg{
  width:16px;
  height:16px;
  color:#ffd84a;
}
.pill-label{font-size:12px}
.pill-credits{
  background:rgba(15,126,131,0.12);
  color:#0f7e83;
}
.top-divider{
  width:1px;
  height:32px;
  background:#eaeaea;
}
.profile{display:flex;align-items:center;gap:10px}
.profile-top{gap:8px}
.profile-menu-wrap{position:relative}
.profile-trigger{
  border:none;
  background:transparent;
  display:flex;
  align-items:center;
  gap:8px;
  padding:4px 8px;
  border-radius:10px;
  cursor:pointer;
  transition:all .2s ease;
}
.profile-trigger:hover{background:rgba(0,0,0,0.05)}
.profile-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 8px 24px rgba(15,126,131,0.15);
  min-width:280px;
  padding:8px;
  display:none;
  z-index:10;
}
.profile-menu-wrap.open .profile-menu{display:block}
.profile-menu-wrap:hover .profile-menu{display:block}
.profile-menu-section{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:6px;
}
.profile-menu-title{
  font-size:11px;
  font-weight:700;
  color:#5c5e78;
  letter-spacing:0.05em;
  margin:4px 6px;
}
.profile-menu-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  color:#334155;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
}
.profile-menu-item svg{
  width:16px;
  height:16px;
  flex-shrink:0;
  color:var(--teal-strong);
}
.profile-menu-item svg.lucide-trash{color:#f65c61}
.profile-menu-item svg.lucide-circle-question-mark{color:#5c6077}
.profile-menu-item svg.lucide-log-out{color:#f38489}
.profile-menu-item:hover{background:#eef2f6;border-color:#cbd5e1}
.avatar{
  width:32px;height:32px;border-radius:50%;
  background:#d1d9e6;
}
.avatar-photo{
  background-size:cover;
  background-position:center;
}
.profile-text{display:flex;flex-direction:column;line-height:1.2;text-align:left;align-items:flex-start}
.profile-name{font-weight:600;color:#3c485a;font-size:13px}
.profile-email{font-size:11px;color:#6b7280}
.content{display:flex;gap:16px;padding:16px;flex:1}
.sidebar{
  width:260px;background:#f9fbfb;border:1px solid var(--line);border-radius:12px;padding:16px 18px;
  height: 100%;
}
.mini-cal{display:flex;flex-direction:column;gap:8px;background:#f9fbfb;border:1px solid var(--line);border-radius:12px;padding:12px}
.mini-head{display:flex;align-items:center;justify-content:space-between}
.nav-btn{
  width:24px;height:24px;border-radius:999px;border:none;
  background:transparent;color:#434343;font-size:18px;line-height:1;
  transition:background .2s ease,border-color .2s ease
}
.nav-btn:hover{background:#f7fafc;border-color:#cbd5e1}
.nav-btn svg {
  width: 16px;
  height: 16px;
}
.mini-month{font-weight:600;color:#434343;font-size:14px}
.mini-grid{
  display:grid;grid-template-columns:repeat(7,1fr);row-gap:6px;font-size:12px;margin-top:6px
}
.dow{color:#434343;text-transform:lowercase;font-weight:500;text-align:center;font-size:11px}
.day{
  text-align:center;height:26px;display:flex;align-items:center;justify-content:center;
  color:#595959;font-size:13px;border-radius:999px;
  position:relative;
}
.day.has-event::after,
.day.has-event-muted::after{
  content:'';
  position:absolute;
  bottom:2px;
  left:50%;
  transform:translateX(-50%);
  width:4px;
  height:4px;
  border-radius:50%;
}
.day.has-event::after{
  background-color:#288489;
}
.day.has-event-muted::after{
  background-color:#e2e5e8;
}
.day.btn-day{
  cursor:pointer;
}
.day.btn-day:hover{
  background:#fff;
  border:1px solid #e3e7ef;
  box-shadow:0 2px 6px rgba(15,126,131,0.12);
}
.day.outside{color:#9fa3b2}
.day.disabled{color:#cccfd6}
.day.selected{
  background:#404040;
  color:#ffffff;
  font-weight:600;
}
.day.strong{color:#404040;font-weight:600}
.planner{flex:1;display:flex;flex-direction:column;gap:12px;min-width:0}
.planner-controls{
  display:flex;align-items:center;justify-content:flex-end;background:#f9fbfb;
  border:1px solid var(--line);border-radius:12px;padding:10px 12px
}
.sidebar-controls{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.right{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.icon-btn{
  width:32px;height:32px;border-radius:10px;border:1px solid #d1d5db;background:#edf2f2;color:#404040;
  display:grid;place-items:center;cursor:pointer;padding:0;
}
.icon-btn:hover{background:#f7fafc;border-color:#cbd5e1}
.current-month{
  font-weight:600;
  color:#404040;
  font-size:14px;
  white-space:nowrap;
  text-align:center;
}
.btn{
  border-radius:10px;border:1px solid var(--line);padding:6px 10px;background:#fff;color:#334155;font-weight:500;cursor:pointer;
  transition:all 0.2s ease;
}
.btn.light{background:#ffffff;border-color:#d1d5db;color:#a2a4a5}
.btn.light:hover{background:#f9fbfb;border-color:#a2a4a5}
.btn.primary{background:#0a7d7f;color:#fff;border-color:#0a7d7f}
.btn-cta{
  display:flex;align-items:center;justify-content:center;gap:6px;
  height:36px;padding:0 14px;border-radius:2px;
  font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap;
  color:#ffffff;background:#404040;border:none;
  transition:all .2s ease;
}
.btn-cta:hover{background:#333333;transform:translateY(-1px)}
.btn-cta:active{transform:scale(0.98)}
.btn-cta .icon{width:16px;height:16px}
.btn-cta .cta-text{display:inline}
.btn-select{
  display:flex;align-items:center;gap:6px;border:1px solid #d1d5db;
  background:#edf2f2;color:#404040;border-radius:4px;padding:0 12px;
  height:36px;
  min-width:160px;max-width:240px;font-size:13px;transition:all .2s ease;
  cursor:pointer;
}
.btn-select:hover{background:#edf2f2;border-color:#a2a4a5}
.btn-select .label{color:#a2a4a5;flex-shrink:0;font-size:13px;font-weight:500}
.btn-select .value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-size:13px;color:#404040;text-align:center}
.btn-select .chev{width:16px;height:16px;flex-shrink:0;color:#404040}
.switch{
  display:flex;align-items:center;gap:10px;color:#6b7280;font-size:13px
}
.checkbox-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:16px;height:16px;border-radius:4px;border:1px solid rgba(10,125,127,0.30);
  background:#fff;color:#0a7d7f;transition:all .2s ease;cursor:pointer
}
.checkbox-btn .indicator{display:none;pointer-events:none}
.checkbox-btn .icon-check{width:14px;height:14px}
.checkbox-btn[data-state="checked"]{background:rgba(10,125,127,0.12);border-color:#0a7d7f}
.checkbox-btn[data-state="checked"] .indicator{display:flex}
.checkbox-btn:focus-visible{outline:2px solid rgba(10,125,127,0.50);outline-offset:2px}
.tabs{
  display:inline-flex;border-radius:2px;overflow:hidden;border:1px solid #d1d5db
}
.tab{
  padding:6px 16px;background:#edf2f2;color:#404040;font-weight:600;
  transition:all .2s ease;cursor:pointer;
  border:none;
}
.tab:hover:not(.active){background:#f9fbfb;color:#404040}
.tab + .tab{border-left:1px solid #d1d5db}
.tab.active{background:#404040;color:#fff}
.week-header{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  padding:12px 8px 8px;
  text-align:center;
  color:#55627a;
  font-weight:600;
  box-sizing:border-box;
}
.week-header .cell{padding:4px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
.week-header .dow-label{
  font-size:12px;
  font-weight:500;
  color:#606060;
}
.week-header .date-label{
  font-size:18px;
  font-weight:600;
  color:#434343;
}
.week-header .cell.active{
  background-color:#e4eff0;
  border-radius:8px 8px 0 0;
}
.week-header .cell.active .dow-label{
  color:#606060;
}
.week-header .cell.active .date-label{
  color:#404040;
  font-size:22px;
}
.week-shell{
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  border:1px solid var(--line);
  border-bottom:none;
  border-radius:12px;
  overflow:hidden;
  background-color:#f9fbfb;
}
.week-main{
  position:relative;
  display:grid;
  grid-template-rows:88px auto;
  background:
    /* líneas horizontales */
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 88px,
      var(--line) 88px,
      var(--line) 90px
    ),
    /* líneas verticales */
    repeating-linear-gradient(to right,
      transparent 0,
      transparent calc(100%/7 - 2px),
      var(--line) calc(100%/7 - 2px),
      var(--line) calc(100%/7)
    ),
    /* columna del día actual (quinta columna: vie 20) */
    linear-gradient(to right,
      transparent 0,
      transparent calc(100%/7 * 4),
      #e4eff0 calc(100%/7 * 4),
      #e4eff0 calc(100%/7 * 5),
      transparent calc(100%/7 * 5),
      transparent 100%
    );
  background-color:#f9fbfb;
}
.times-col{
  border-right:1px solid var(--line);
  padding:0 6px 0 4px;
  display:grid;
  grid-auto-rows:88px;
  align-items:stretch;
  justify-items:flex-end;
  color:#535353;
  font-size:12px;
  background:
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 88px,
      var(--line) 88px,
      var(--line) 90px
    );
  background-color:#f9fbfb;
}
.time{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-right:2px;
  font-size:13px;
}
.week-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  grid-auto-rows:88px;
  padding:4px 6px;
}
.event{
  position:relative;
  grid-column:var(--c)/span 1;
  grid-row:var(--rstart)/var(--rend);
  margin:0;
  padding:4px 0; /* Padding vertical para separar de las líneas horizontales */
  overflow:hidden;
}
.event-card{
  width:100%;
  text-align:left;
  border:none;
  padding:0;
  background:none;
  cursor:pointer;
}
.event-card-shell{
  max-width:calc(100% - 16px);
  margin:6px auto 0;
  box-sizing:border-box;
  border-radius:14px;
  overflow:hidden;
  transition:box-shadow .2s ease,transform .2s ease;
  background:#f7f9f9;
}
.event-card-body{
  display:flex;align-items:flex-start;gap:8px;
  max-width:100%;
  box-sizing:border-box;
  padding:6px 10px;
}
.event-card-main{min-width:0;flex:1}
.event-card-top{
  display:grid;
  grid-template-columns:1fr auto;
  column-gap:8px;
  margin-bottom:2px;font-size:11px;font-weight:600;opacity:.95;
}
.event-time{
  white-space:normal;
  grid-column:1/2;
}
.event-cap{
  display:flex;
  align-items:center;
  gap:6px;
  grid-column:2/3;
  grid-row:1/-1;
  align-self:center;
  justify-self:end;
}
.event-cap span{white-space:nowrap}
.event-desc{
  margin-top:2px;font-size:10px;opacity:.8;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.event.teal .event-card-shell{
  background:#0f7e83;color:#fff;
}
.event.teal.strong .event-card-shell{
  background:#0f7e83;color:#fff;
}
.event.hollow .event-card-shell{
  background:#f9fbfb;border:2px dashed var(--dash);color:#1f2a37;
}
.event-blocked{
  background:#f1f3f6 !important;
  border:2px dashed #f3b7b7 !important;
  color:#1f2a37 !important;
}
.lock-icon{
  width:14px;height:14px;color:#ef4444;
}
.event-card-shell:hover{box-shadow:0 6px 14px rgba(15,126,131,0.25);transform:translateY(-1px)}
.flag{
  width:22px;
  height:16px;
  border-radius:3px;
  object-fit:contain;
  flex-shrink:0;
}

.mobile-view{display:none}

.event-details-view{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:20px;
  padding:20px;
  background:#f9fbfb;
  min-width:0;
}
.details-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3px;
}
.back-link{
  display:flex;
  align-items:center;
  gap:4px;
  background:transparent;
  border:none;
  color:#737474;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  padding:0;
  transition:all 0.2s ease;
}
.back-link:hover{color:#737474; opacity: 0.8;}
.back-link svg{
  width:16px;
  height:16px;
}
.details-actions{
  display:flex;
  gap:8px;
}
.action-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 16px;
  height:40px;
  border-radius:4px;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  border:none;
  transition:all 0.2s ease;
  background:#404040;
  color:#fff;
}
.action-btn.light{
  background:#404040;
  color:#fff;
}
.action-btn.light:hover{opacity: 0.9;}
.action-btn.danger{
  background:#404040;
  color:#fff;
}
.action-btn.danger:hover{
  opacity: 0.9;
}
.action-btn svg{
  width:16px;
  height:16px;
}

.details-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:24px;
  align-items:start;
}
.details-left{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.info-card{
  background:#f9fbfb;
  border-radius:12px;
  border:1px solid var(--line);
  overflow:hidden;
}
.info-card.blocked-border{
  border: 2px dashed #f87171 !important;
}
.badge-blocked {
  background: #f87171;
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: capitalize;
}
.info-main{
  grid-column: span 2;
}
.info-header-bg{
  background:#288489;
  padding:24px;
  color:#fff;
}
.info-header-bg.pro-step{
  background:#fabfc1 !important;
}
.info-header-bg h3{
  margin:0 0 8px 0;
  font-size:18px;
  line-height:1.4;
  font-weight: 600;
}
.event-id{
  font-size:12px;
  font-weight:400;
  color:#fff;
}
.event-id span{
  color:#fbdf22;
}
.info-content{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.info-row{
  display:flex;
  gap:12px;
  align-items:flex-start;
  color:#6b7280;
}
.info-row svg, .info-row img.flag{
  width:20px;
  height:20px;
  color:#464646;
  flex-shrink:0;
  object-fit: contain;
}
.info-label{
  font-size:11px;
  font-weight:500;
  color:#404040;
  margin-bottom:2px;
}
.info-val{
  font-size:12px;
  font-weight:400;
  color:#404040;
}
.progress-bar{
  width:100%;
  height:6px;
  background:#e5e7eb;
  border-radius:3px;
  margin:8px 0 4px 0;
  overflow:hidden;
}
.progress{
  height:100%;
  background:#464646;
}
.progress-text{
  font-size:11px;
  color:#9ca3af;
}
.guide-selector{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding-bottom: 24px;
}
.guide-selector::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
  margin-bottom: 16px;
}
.guide-selector .info-label {
  align-self: flex-start;
  margin-left: 0;
  font-weight: 400;
  color: #404040;
}
.guide-selector .btn-select.full{
  width:100%;
  max-width:none;
  background:#edf2f2;
  border:1px solid #d1d5db;
  color:#404040;
  gap:8px;
  padding:4px 12px;
  border-radius:4px;
  height:38px;
  display:flex;
  align-items:center;
  margin: 0;
}
.guide-selector .btn-select.full svg:first-child{
  width:18px;
  height:18px;
  color:#404040;
}
.guide-selector .btn-select.full .value{
  color:#404040;
  font-weight:400;
  font-size:14px;
  margin-left:0;
  text-align:left;
  flex:1;
}
.guide-selector .btn-select.full .chev{
  width:18px;
  height:18px;
  color:#404040;
  flex-shrink:0;
}

.info-summary{
  padding:20px;
}
.info-summary h3{
  margin:0 0 16px 0;
  font-size:14px;
  color:#374151;
  font-weight: 600;
}
.summary-item{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-bottom:8px;
}
.summary-item span{color:#6b7280}
.summary-item strong{
  color:#374151;
  font-weight: 600;
}
.summary-sep{
  height:1px;
  background:var(--line);
  margin:12px 0;
}
.download-container {
  background: #f9fbfb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 16px;
}
.btn-download-full {
  width: 100%;
  height: 32px;
  background: #404040;
  color: #fff;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn-download-full:hover {
  opacity: 0.9;
}
.btn-download-full svg {
  width: 18px;
  height: 18px;
}

.details-right{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.search-wrap{
  position:relative;
}
.search-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:#9ca3af;
}
.search-input{
  width:100%;
  padding:12px 12px 12px 40px;
  border-radius:4px;
  border:1px solid var(--line);
  background:#edf2f2;
  font-size:14px;
  outline:none;
}
.search-input:focus{border-color:#0a7d7f}

.legend-box{
  background:#edf2f2;
  padding:16px;
  border-radius:12px;
}
.legend-title{
  font-size:12px;
  font-weight:600;
  color:#50546d;
  margin-bottom:12px;
}
.legend-items{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px 24px;
}
.legend-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#686b81;
}

.confirmed-section{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.section-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:16px;
  color:#374151;
  margin:0;
}
.dot{
  width:8px;
  height:8px;
  background:#2d9299;
  border-radius:50%;
}
.booking-cards{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.booking-card{
  background:#edf2f2;
  border-radius:12px;
  border:1px solid #e5e7eb;
  display:flex;
  overflow:hidden;
  position:relative;
  min-height: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.booking-accent{
  width:4px;
  background:#288489;
  flex-shrink:0;
}
.booking-content-wrap{
  flex:1;
  padding:12px 6px;
  display:flex;
  flex-direction:column;
}
.booking-main-row{
  display:flex;
  align-items: center;
  gap:10px;
  width:100%;
}
.booking-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:14px;
  color:#fff;
  flex-shrink:0;
  margin-top: 0;
}
.booking-avatar.teal{background:#288489}
.booking-info{
  display: flex;
  flex-direction: column;
  flex:1;
  min-width:0;
}
.booking-name{
  font-weight:600;
  font-size:15px;
  color:#404040;
  margin-bottom:2px;
}
.booking-meta{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:12px;
  color:#6b7280;
}
.booking-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
}
.booking-pax{
  font-size:13px;
  color:#404040;
  font-weight: 500;
}
.booking-phone{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:500;
  color:#404040;
}
.booking-stats-row{
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid rgba(0,0,0,0.05);
  display:flex;
  gap:16px;
}
.stat{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:12px;
  font-weight:600;
  color:#6b7280;
}

.action-btn.danger.highlighted{
  box-shadow:0 0 0 4px #fbdf22,0 0 20px rgba(251,223,34,0.6);
  animation:pulse-highlight 2s infinite;
  z-index:2100 !important;
  position:relative;
}

.tutorial-overlay{
  position:fixed;
  top:20px;
  left:20px;
  display:flex;
  align-items:center;
  gap:10px;
  z-index:2000;
  pointer-events:none;
}

@media (max-width: 900px){
  .tutorial-overlay{
    display:none;
  }
}

.tutorial-img-wrap{
  width:100px;
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  animation:floatY 4s ease-in-out infinite;
}

.tutorial-img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.tutorial-bubble{
  background:#fff;
  padding:20px 24px;
  border-radius:16px;
  color:#3e4357;
  position:relative;
  box-shadow:0 8px 32px rgba(0,0,0,0.12);
  display:flex;
  flex-direction:column;
  gap:16px;
  width:340px;
  pointer-events:auto;
}

.tutorial-bubble::after{
  content:'';
  position:absolute;
  left:-10px;
  top:50%;
  transform:translateY(-50%);
  border-width:10px 10px 10px 0;
  border-style:solid;
  border-color:transparent #fff transparent transparent;
}

.tutorial-bubble::before{
  content:'';
  position:absolute;
  left:-11px;
  top:50%;
  transform:translateY(-50%);
  border-width:11px 11px 11px 0;
  border-style:solid;
  border-color:transparent #b1b1b1 transparent transparent;
}

.tutorial-text{
  font-size:16px;
  font-weight:600;
  line-height:1.4;
  color:#3e4357;
}

.tutorial-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

.tutorial-final-actions{
  display:flex;
  gap:12px;
  margin-top:4px;
}

#moreTutorials{
  margin-left:auto;
}

.tutorial-nav-btn{
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid #dce1e8;
  background:#fff;
  color:#3e4357;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  transition:all .2s ease;
  box-shadow:0 2px 4px rgba(0,0,0,0.05);
}

.tutorial-nav-btn:hover{
  background:#f7fafc;
  border-color:#cbd5e1;
}

.tutorial-nav-btn:active{
  transform:scale(0.95);
}

.event.highlighted .event-card-shell{
  box-shadow:0 0 0 4px #fbdf22,0 0 20px rgba(251,223,34,0.6);
  animation:pulse-highlight 2s infinite;
  transform:scale(1.02);
  z-index:2100 !important;
}

.rail-item.highlighted{
  box-shadow:0 0 0 4px #fbdf22,0 0 20px rgba(251,223,34,0.6);
  animation:pulse-highlight 2s infinite;
  z-index:2100 !important;
  position:relative;
}

.booking-card.highlighted{
  box-shadow:0 0 0 4px #fbdf22,0 0 20px rgba(251,223,34,0.6);
  animation:pulse-highlight 2s infinite;
  z-index:2100 !important;
  position:relative;
}

@keyframes floatY{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}

@keyframes pulse-highlight{
  0%{box-shadow:0 0 0 0 #fbdf22,0 0 0 rgba(251,223,34,0)}
  70%{box-shadow:0 0 0 6px #fbdf22,0 0 15px rgba(251,223,34,0.4)}
  100%{box-shadow:0 0 0 0 #fbdf22,0 0 0 rgba(251,223,34,0)}
}

@media (max-width: 768px){
  .app{flex-direction:column}
  .rail,.topbar,.content{display:none}
  .main{min-height:100vh}
  .mobile-view{
    display:flex;
    flex-direction:column;
    gap:12px;
    background:#f9fbfb;
    min-height:100vh;
    padding-bottom: 88px;
  }
  .mobile-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #edf2f2;
    height: 52px;
    padding: 0 12px;
    border-bottom: 1px solid #dbe1ea;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .mobile-topbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #929797;
    background: #fff;
    cursor: pointer;
  }
  
  /* Página de perfil móvil */
  .mobile-profile-page {
    position: fixed;
    inset: 0;
    background: #f9fbfb;
    z-index: 1005;
    display: none;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
  }
  
  .mobile-profile-page.active {
    display: flex;
  }
  
  .profile-page-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 50px; /* Añadido padding inferior para el scroll */
  }
  
  .back-btn {
    background: transparent;
    border: none;
    color: #404040;
    padding: 8px;
    margin-left: -8px;
    cursor: pointer;
  }
  
  .profile-card {
    background: #f9fbfb;
    border: 2px solid #858686;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .profile-card-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  
  .profile-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
  }
  
  .profile-main-info {
    flex: 1;
  }
  
  .profile-full-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .profile-full-email {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
  }
  
  .profile-badges {
    display: flex;
    gap: 8px;
  }
  
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
  }
  
  .badge.pro {
    background: #e4eff0;
    color: #288489;
  }
  
  .badge.credits {
    background: #f3f4f6;
    color: #4b5563;
  }
  
  .theme-selector-card {
    background: #f9fbfb;
    border: 2px solid #858686;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
  }
  
  .theme-label {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
  }
  
  .theme-options {
    display: flex;
    background: #f3f4f6;
    padding: 2px;
    border-radius: 8px;
  }
  
  .theme-opt {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  .theme-opt.active {
    background: #fff;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  }
  
  .profile-menu-section {
    margin-bottom: 32px;
  }
  
  .menu-group-title {
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    margin-bottom: 12px;
    text-transform: capitalize;
    letter-spacing: 0.025em;
  }
  
  .menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .menu-item-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 12px 0;
    width: 100%;
    cursor: pointer;
  }
  
  .menu-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #4b5563;
  }
  
  .menu-item-left span {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
  }
  
  .chev-right {
    color: #b2b4b5;
    width: 20px;
    height: 20px;
  }
  .mobile-header{display:flex;justify-content:flex-start; padding: 8px 12px 0;}
  .mobile-month-selector, .mobile-week-selector{
    margin: 0 12px;
    background:#edf2f2;border-radius:4px;padding:10px 14px;
    box-shadow:0 1px 3px rgba(0,0,0,0.05);
  }
  .mobile-date-row{
    margin: 0 12px;
    display:flex;align-items:center;justify-content:space-between;margin-top:4px;
  }
  .mobile-events{
    padding: 0 12px;
    display:flex;flex-direction:column;gap:12px;
  }
  .mobile-filter{
    display:inline-flex;align-items:center;gap:8px;
    border:none;background:#edf2f2;color:#404040;
    padding:8px 16px;border-radius:20px;font-size:15px;font-weight:400;
  }
  .mobile-filter svg {
    width: 18px;
    height: 18px;
  }
  .mobile-month-row{
    display:flex;align-items:center;justify-content:space-between;
  }
  .mobile-month{
    font-weight:500;color:#374151;font-size:18px;
    display: flex; align-items: center; gap: 6px;
  }
  .mobile-month-actions{display:flex;gap:16px}
  .mobile-month-actions .icon-btn.mini{
    background: transparent;
    border: none;
    color: #404040;
    width: 28px;
    height: 28px;
  }
  .mobile-month-actions .icon-btn.mini svg {
    width: 20px;
    height: 20px;
  }
  .mobile-week{
    display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:center;
  }
  .mobile-week-label{
    font-size:11px;color:#404040;text-align:center;font-weight:400;
    margin-bottom: -2px;
  }
  .mobile-week-day{
    text-align:center;font-size:14px;color:#404040;padding:0;border-radius:999px;
    position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
    height: 34px; width: 34px; margin: 0 auto;
  }
  .mobile-week-day.active{
    background:#404040;color:#fff;font-weight:600;
  }
  .mobile-week-day.has-event::after{
    content:'';
    position:absolute;
    bottom:2px;
    left:50%;
    transform:translateX(-50%);
    width:4px;
    height:4px;
    background-color:#288489;
    border-radius:50%;
  }
  .mobile-week-day.active.has-event::after{
    background-color:#288489;
  }
  .mobile-day-dot {
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    background-color: #40a02a;
    border-radius: 50%;
  }
  .mobile-date-title{font-size:18px;font-weight:600;color:#404040}
  .btn.primary.mobile-create{
    height:36px;padding:0 16px;border-radius:18px;font-size:13px;font-weight:600;
    background:#404040;border-color:#404040;
  }
  .mobile-time{font-size:12px;color:#404040;font-weight:600;margin-top:4px}
  .mobile-event-card{
    display:flex;gap:10px;align-items:flex-start;background:#fff;border-radius:12px;
    padding:10px;border:1px solid #eef1f5;
  }
  .mobile-event-card.highlight {
    background: #257b7f;
    border-color: #257b7f;
    color: #fff;
  }
  .mobile-event-card.highlight .mobile-event-top,
  .mobile-event-card.highlight .mobile-cap,
  .mobile-event-card.highlight .mobile-event-title {
    color: #fff;
  }
  .mobile-event-card.muted {
    background: #edf2f2;
    border-color: #edf2f2;
  }
  .mobile-event-info{flex:1;min-width:0}
  .mobile-event-top{
    display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:#4b5563;
  }
  .mobile-cap{color:#6b7280}
  .mobile-event-title{
    margin-top:4px;font-size:12px;color:#7b8190;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .mobile-bottom-nav{
    position:fixed;left:0;right:0;bottom:0;
    background:#edf2f2;border-top:1px solid #dbe1ea;
    display:flex;justify-content:space-around;align-items:center;gap:6px;padding:8px 6px 28px;
  }
  .mobile-nav-item{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    font-size:11px;color:#929797;background:transparent;border:none;padding:4px 8px;border-radius:12px;
    position:relative;
  }
  .mobile-nav-item svg {
    width: 20px;
    height: 20px;
    color: #929797;
  }
  .mobile-nav-item.active{
    background:transparent;color:#288489;font-weight:600;
  }
  .mobile-nav-item.active::before{
    content:'';
    position:absolute;
    top:-8px;
    left:50%;
    transform:translateX(-50%);
    width:60px;
    height:2px;
    background-color:#288489;
    border-radius:0 0 2px 2px;
  }
  .mobile-nav-item.active svg {
    color: #288489;
  }
  .mobile-nav-item.avatar{
    padding:0;border-radius:999px;
    width: 32px; height: 32px;
    overflow: hidden;
    cursor: pointer;
    border: none;
    background: none;
  }
  .mobile-nav-item.avatar img{
    width:100%;height:100%;border-radius:50%;
    pointer-events: none;
  }
  .mobile-bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(2px);
  }

  .mobile-bottom-sheet-overlay.active {
    display: block;
  }

  .mobile-bottom-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    background: #eff1f5;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 1001;
    transition: bottom 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: 20px;
  }

  .mobile-bottom-sheet.active {
    bottom: 0;
  }

  .sheet-handle {
    width: 40px;
    height: 6px;
    background: #94a3b8;
    border-radius: 3px;
    margin: 12px auto;
  }

  .sheet-content {
    padding: 0 16px;
  }

  .sheet-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 8px 0;
  }

  .sheet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }

  .sheet-name {
    font-weight: 600;
    color: #334155;
    font-size: 15px;
  }

  .sheet-email {
    font-size: 13px;
    color: #64748b;
  }

  .sheet-section {
    margin-bottom: 24px;
  }

  .sheet-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
  }

  .sheet-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    transition: background 0.2s;
  }

  .sheet-item svg {
    color: #257b7f;
  }

  .sheet-item:active {
    background: #f1f5f9;
  }

  .mobile-side-overlay {
    display: none;
  }

  .mobile-side-drawer {
    display: none;
  }

  .mobile-side-header-card {
    background: #fff;
    border: 1px solid #dbe1ea;
    border-radius: 12px;
    padding: 16px;
    margin: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .mobile-side-header-top {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-side-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }
  .mobile-side-name {
    font-weight: 700;
    color: #334155;
    font-size: 15px;
  }
  .mobile-side-email {
    font-size: 12px;
    color: #64748b;
  }
  .mobile-side-pills {
    display: flex;
    gap: 8px;
  }
  .mobile-side-pill {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .mobile-side-pill.danger {
    background: #f77c82;
    color: #fff;
  }
  .mobile-side-pill.info {
    background: #c7dbde;
    color: #2d9299;
  }
  .mobile-side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
  }

  .mobile-side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 12px;
    border-radius: 12px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
  }

  .mobile-side-item svg {
    color: #257b7f;
  }

  .mobile-side-item.active {
    background: #cfe5e6;
    color: #0f7e83;
    font-weight: 500;
    border-radius: 8px;
    position: relative;
  }
  .mobile-side-item-dot {
    width: 8px;
    height: 8px;
    background-color: #257b7f;
    border-radius: 50%;
    margin-left: auto;
  }

  .mobile-side-item.active svg {
    color: #0f7e83;
  }

  .mobile-side-item.collapse {
    justify-content: space-between;
    color: #64748b;
  }

  .mobile-side-chev {
    margin-left: auto;
    color: #94a3b8;
    font-size: 18px;
    transition: transform 0.3s;
  }
  .mobile-side-group.open .mobile-side-chev {
    transform: rotate(90deg);
  }
  .mobile-side-submenu {
    display: none;
    flex-direction: column;
    padding-left: 32px;
  }
  .mobile-side-group.open .mobile-side-submenu {
    display: flex;
  }
  .mobile-side-sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
  }

  .mobile-side-item.collapse {
    color: #797b8f;
  }
  .mobile-side-item.collapse svg:first-child {
    color: #797b8f;
  }
  .mobile-side-divider {
    height: 1px;
    background: #dbe1ea;
    margin: 12px 0;
  }

  .mobile-side-theme {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-side-title {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }

  .mobile-side-theme .mobile-side-item svg {
    color: #93a3fc;
  }
  .mobile-side-theme .mobile-side-item.active {
    background: #cfe5e6;
    color: #0f7e83;
  }
  .mobile-side-theme .mobile-side-item.active svg {
    color: #0f7e83;
  }

  .mobile-filter:active,
  .mobile-create:active,
  .mobile-event-details{
    position:fixed;
    inset:0;
    background:#f5f7fa;
    display:none;
    flex-direction:column;
    z-index:1100;
  }
  .mobile-event-details.active{
    display:flex;
  }
  .mobile-event-details-header{
    display:flex;
    align-items:center;
    gap:12px;
    height:64px;
    padding:0 16px;
    background:#288489;
    color:#fff;
  }
  .mobile-event-close{
    width:36px;
    height:36px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,0.2);
    color:#fff;
    display:grid;
    place-items:center;
    cursor:pointer;
  }
  .mobile-event-details-title{
    font-size:18px;
    font-weight:600;
    flex:1;
    display:flex;
    align-items:center;
    justify-content: center;
    gap:6px;
    margin-left:8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background-color 0.1s ease;
  }
  .mobile-event-details-title:active {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .mobile-event-details-actions{
    display:flex;
    gap:10px;
  }
  .mobile-event-action-btn{
    width:36px;
    height:36px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,0.2);
    color:#fff;
    display:grid;
    place-items:center;
    cursor:pointer;
    transition: transform 0.1s ease, background-color 0.1s ease;
  }
  .mobile-event-action-btn:active {
    transform: scale(0.92);
    background-color: rgba(255, 255, 255, 0.3);
  }
  .mobile-event-details-header.pro-step{
    background:#fabfc1;
  }
  .mobile-event-details-body{
     flex:1;
     overflow-y:auto;
     padding:12px;
     display:flex;
     flex-direction:column;
     gap:12px;
     background: #f9fbfb;
   }
  .mobile-event-details-section{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .mobile-event-details-row{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    margin-bottom: 4px;
  }
  .mobile-event-details-label{
    font-size: 16px;
    font-weight:700;
    color:#404040;
  }
  .mobile-event-details-count{
    color:#404040;
    font-size:12px;
    font-weight: 400;
  }
  .mobile-event-search{
    display:flex;
    align-items:center;
    gap:10px;
    background:#edf2f2;
    border:1px solid #d1d5db;
    border-radius:4px;
    padding:12px 14px;
    color:#6b7280;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }
  .mobile-event-search input{
    border:none;
    outline:none;
    background:transparent;
    font-size:16px;
    color:#374151;
    width:100%;
    font-weight: 400;
  }
  .mobile-event-search svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
  }
  .mobile-event-details-subtitle{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:700;
    color:#404040;
    margin-top: 16px;
    margin-bottom: 8px;
  }
  .mobile-event-dot{
    width:8px;
    height:8px;
    background:#2d9299;
    border-radius:50%;
  }
  .mobile-event-qr-btn{
    margin-left:auto;
    width: 48px;
    height: 36px;
    border-radius: 6px;
    border:none;
    background:#404040;
    color:#fff;
    display:grid;
    place-items:center;
    cursor:pointer;
    transition: transform 0.1s ease, opacity 0.1s ease;
  }
  .mobile-event-qr-btn svg {
    width: 20px;
    height: 20px;
  }
  .mobile-event-qr-btn:active {
    transform: scale(0.92);
    opacity: 0.9;
  }
  .mobile-event-qr-btn svg {
    width: 22px;
    height: 22px;
  }
  .mobile-event-booking-card{
    display:flex;
    flex-direction: column;
    background:#edf2f2;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.1s ease;
  }
  .mobile-event-booking-card:active {
    transform: scale(0.98);
    background-color: #dce1e8;
  }
  .mobile-event-booking-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }
  .mobile-event-booking-content{
    flex:1;
    min-width:0;
  }
  .mobile-event-booking-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom: 2px;
  }
  .mobile-event-booking-name{
    font-size:14px;
    font-weight:400;
    color:#404040;
  }
  .mobile-event-booking-count{
    font-size:11px;
    color:#404040;
    font-weight: 400;
  }
  .mobile-event-booking-meta{
    display:flex;
    align-items:center;
    gap:24px;
    font-size:11px;
    color:#464646;
    font-weight: 400;
  }
  .mobile-event-meta-item{
    display:flex;
    align-items:center;
    gap:6px;
  }
  .mobile-event-booking-stats {
    display: flex;
    flex-direction: row;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 8px 12px;
  }
  .mobile-event-booking-stats .stat svg {
    width: 10px;
    height: 10px;
  }
  .mobile-event-booking-stats .stat {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .mobile-event-booking-stats .stat.attended { color: #288489; }
  .mobile-event-booking-stats .stat.missed { color: #f65c61; }
  .mobile-event-booking-stats .stat.cancelled { color: #84879a; }
  .mobile-event-booking-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #288489;
  }
  .mobile-event-avatar{
    width:30px;
    height:30px;
    border-radius:50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
  }
  .mobile-event-avatar.initials {
    background: #5ca0a4;
    color: #fff;
  }
  .mobile-event-actions-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin: 12px 16px;
    padding: 10px;
    background:#edf2f2;
    border:1px solid #d1d5db;
    border-radius:8px;
    color:#404040;
    font-weight:500;
    font-size:15px;
    cursor:pointer;
  }
  .mobile-event-actions-toggle svg:first-child{
    color:#404040;
    width: 18px;
    height: 18px;
  }
  .mobile-event-actions-toggle svg:last-child{
    margin-left:4px;
    color:#404040;
    width: 14px;
    height: 14px;
  }

  .mobile-event-card.highlighted,
  .mobile-event-booking-card.highlighted,
  .mobile-event-actions-toggle.highlighted,
  .mobile-nav-item.highlighted,
  .mobile-event-action-btn.highlighted{
    box-shadow:0 0 0 4px #fbdf22,0 0 20px rgba(251,223,34,0.6);
    animation:pulse-highlight 2s infinite;
    z-index:100;
    position:relative;
  }

  .mobile-tutorial-overlay{
    position:fixed;
    left:12px;
    right:12px;
    top:13px;
    z-index:2000;
    display:flex;
    align-items:flex-end;
    gap:8px;
    pointer-events:none;
  }

  .mobile-tutorial-img-wrap{
    width:90px;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
    flex-shrink:0;
    animation:floatY 4s ease-in-out infinite;
  }

  .mobile-tutorial-img{
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .mobile-tutorial-bubble{
    flex:1;
    background:#fff;
    padding:14px 18px;
    border-radius:12px;
    color:#3e4357;
    position:relative;
    box-shadow:0 8px 24px rgba(0,0,0,0.12);
    display:flex;
    flex-direction:column;
    gap:10px;
    pointer-events:auto;
  }

  .mobile-tutorial-bubble::after{
    content:'';
    position:absolute;
    left:-8px;
    bottom:12px;
    border-width:6px 8px 6px 0;
    border-style:solid;
    border-color:transparent #fff transparent transparent;
  }

  .mobile-tutorial-text{
    font-size:14px;
    font-weight:600;
    line-height:1.4;
    color:#3e4357;
  }

  .mobile-tutorial-actions{
    display:flex;
    justify-content:flex-end;
    gap:6px;
  }

  .mobile-tutorial-btn{
    width:32px;
    height:32px;
    border-radius:50%;
    border:1px solid #dce1e8;
    background:#fff;
    color:#3e4357;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    transition:all .2s ease;
    box-shadow:0 2px 4px rgba(0,0,0,0.05);
  }

  .mobile-tutorial-btn:active{
    transform:scale(0.92);
    background:#f1f5f9;
  }

  .mobile-tutorial-final{
    margin-top:10px;
    display:flex;
    gap:8px;
  }

  .mobile-tutorial-pill{
    flex:1;
    border:1px solid #cbd5e1;
    background:#fff;
    color:#475569;
    border-radius:12px;
    padding:8px 10px;
    font-size:12px;
    font-weight:600;
  }

  .mobile-tutorial-pill.primary{
    background:#2d9299;
    border-color:#2d9299;
    color:#fff;
  }

  .mobile-nav-item:active,
  .icon-btn.mini:active,
  .mobile-side-item:active,
  .mobile-side-sub-item:active {
    opacity: 0.7;
    transform: scale(0.96);
    transition: transform 0.1s, opacity 0.1s;
  }
}
