.sheet-embed{
  width:100%;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow);
}
.sheet-embed iframe{
  width:100%;
  height:min(92vh, 1400px);
  border:0;
  display:block;
}
.subnote{font-size:12px;opacity:.78;margin:.6rem 0 0;line-height:1.7}
.sheet-details{
  border-radius:18px;
  border:1px solid rgba(255,210,228,.55);
  background:rgba(255,255,255,.72);
  box-shadow:0 8px 18px rgba(214,162,191,.10);
  overflow:hidden;
}
.sheet-details summary{
  cursor:pointer;
  min-height:52px;
  display:flex;
  align-items:center;
  padding:13px 15px;
  color:#4f3944;
  font-weight:1000;
  list-style:none;
}
.sheet-details summary::-webkit-details-marker{display:none}
.sheet-details summary::after{
  content:"+";
  margin-left:auto;
  color:#d94b8d;
  font-size:1.25rem;
  line-height:1;
}
.sheet-details[open] summary::after{content:"-"}
.sheet-details .sheet-embed,
.sheet-details .subnote{
  margin-left:12px;
  margin-right:12px;
}
.sheet-details .subnote{
  margin-bottom:12px;
}
.top-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.schedule-hero{padding-top:26px}
.schedule-main{width:100%}
.schedule-cards-panel{
  padding:16px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,248,252,.92));
  border:1px solid rgba(255,210,228,.55);
  box-shadow:0 12px 28px rgba(214,162,191,.14);
}
.schedule-cards-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.schedule-cards-head h2,
.sheet-title{
  margin:0;
  color:#4f3944;
  font-size:1.12rem;
  line-height:1.45;
  font-weight:1000;
}
.schedule-cards-head p{
  margin:4px 0 0;
  color:#666;
  font-size:.9rem;
  line-height:1.65;
  font-weight:800;
}
.schedule-cards-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(255,121,166,.18), rgba(127,201,255,.18));
  border:1px solid rgba(255,121,166,.20);
  color:#d94b8d;
  font-size:.82rem;
  font-weight:1000;
  white-space:nowrap;
}
.schedule-card-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.schedule-card{
  display:grid;
  align-content:start;
  gap:10px;
  padding:15px;
  border-radius:20px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,210,228,.55);
  box-shadow:0 10px 22px rgba(214,162,191,.12);
}
.schedule-card.is-today{
  border-color:rgba(255,121,166,.38);
  background:linear-gradient(180deg, rgba(255,247,251,.98), rgba(255,255,255,.94));
  box-shadow:0 14px 30px rgba(255,121,166,.18);
}
.schedule-card.is-tomorrow{
  border-color:rgba(127,201,255,.42);
}
.schedule-card.is-closed{
  background:rgba(255,255,255,.66);
  border-color:rgba(0,0,0,.08);
}
.schedule-card.is-past{
  opacity:.68;
}
.schedule-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.schedule-card-date{
  color:#d94b8d;
  font-size:.9rem;
  font-weight:1000;
}
.schedule-day-label{
  flex:0 0 auto;
  min-height:28px;
  display:inline-grid;
  place-items:center;
  padding:4px 10px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#ff6cab,#ff9ac7);
  font-size:.78rem;
  font-weight:1000;
  white-space:nowrap;
}
.schedule-card.is-past .schedule-day-label{
  background:#9a9098;
}
.schedule-card-hours{
  color:#332630;
  font-size:1.16rem;
  line-height:1.35;
  font-weight:1000;
  overflow-wrap:anywhere;
}
.schedule-maid-list{
  display:grid;
  gap:7px;
}
.schedule-maid-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  align-items:baseline;
  padding:7px 9px;
  border-radius:12px;
  background:rgba(255,247,251,.82);
  border:1px solid rgba(255,210,228,.45);
}
.schedule-maid-name{
  color:#372a34;
  font-weight:1000;
  overflow-wrap:anywhere;
}
.schedule-maid-time{
  color:#ff4fa3;
  font-weight:1000;
  white-space:nowrap;
}
.schedule-off-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.schedule-off-list span{
  padding:4px 9px;
  border-radius:999px;
  background:rgba(0,0,0,.05);
  color:#655b63;
  font-size:.8rem;
  font-weight:900;
}
.schedule-closed-text{
  padding:14px;
  border-radius:14px;
  background:rgba(0,0,0,.05);
  color:#5d535b;
  font-weight:1000;
  text-align:center;
}
.schedule-card-loading,
.schedule-card-fallback{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.76);
  color:#666;
  font-weight:900;
  line-height:1.7;
}
.schedule-card-fallback strong{
  display:block;
  color:#4f3944;
  margin-bottom:4px;
}
.schedule-card-fallback p{
  margin:0 0 10px;
}
.schedule-card-fallback a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 13px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(255,210,228,.55);
  color:#222;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  font-weight:1000;
  text-decoration:none;
}
.map-embed{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.map-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

@media (max-width:640px){
  .sheet-embed iframe{height:85vh}
  .top-actions{display:grid;grid-template-columns:1fr}
  .schedule-cards-panel{padding:14px;border-radius:20px}
  .schedule-cards-head{display:block}
  .schedule-cards-badge{margin-top:8px}
  .schedule-card-list{grid-template-columns:1fr}
  .schedule-maid-row{
    grid-template-columns:minmax(0, 1fr) minmax(104px, auto);
  }
}

@media (max-width:380px){
  .schedule-maid-row{
    grid-template-columns:1fr;
    gap:2px;
  }
  .schedule-maid-time{
    white-space:normal;
  }
}
