:root{
--navy:#092f5f;--blue:#1869d8;--bg:#f3f6fb;--text:#10203a;--muted:#7b8799;
--card:#fff;--line:#e5ebf3;--shadow:0 12px 34px rgba(18,47,87,.09);
font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text)}
body{min-height:100vh}.app{max-width:560px;margin:auto;padding:18px 16px 44px}
.top{display:flex;justify-content:space-between;align-items:flex-start;padding:8px 2px 16px}
.brand{text-transform:uppercase;letter-spacing:.08em;color:var(--navy);font-size:12px;font-weight:800}.brand b{color:#2776df}
.top h1{font-size:30px;margin:6px 0 5px}.top p{margin:0;color:var(--muted);font-size:14px}
.today-btn{border:0;background:#e6effc;color:var(--blue);padding:10px 13px;border-radius:12px;font-weight:800}
.date-card{background:linear-gradient(140deg,#092f5f,#0e467e);border-radius:24px;padding:18px;color:#fff;box-shadow:var(--shadow)}
.date-head{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center}
.date-head button{border:0;background:rgba(255,255,255,.12);color:white;width:38px;height:38px;border-radius:12px;font-size:26px}
.date-head strong,.date-head span{display:block}.date-head strong{font-size:20px}.date-head span{font-size:12px;color:#cad9eb;margin-top:3px}
.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:17px}
.day{border:0;background:transparent;color:#c9d8e9;border-radius:13px;padding:8px 2px}.day small,.day b{display:block}.day small{font-size:10px}.day b{font-size:14px;margin-top:5px}
.day.active{background:#fff;color:var(--navy)}.day.has::after{content:"";display:block;width:4px;height:4px;border-radius:50%;background:#66c4ff;margin:4px auto 0}.day.active.has::after{background:var(--blue)}
.summary{display:flex;justify-content:space-between;align-items:end;padding:22px 3px 12px}.summary>div:first-child{display:flex;align-items:baseline;gap:7px}.summary>div:first-child span{font-size:30px;font-weight:900}.summary small{color:var(--muted)}
.semester{text-align:right}.semester small,.semester span{display:block}.semester span{font-size:11px;margin-top:3px;color:#526177}
.schedule-list{display:flex;flex-direction:column;gap:11px}
.lesson{display:grid;grid-template-columns:62px 5px 1fr;background:#fff;border-radius:20px;padding:16px;gap:12px;box-shadow:var(--shadow)}
.lesson-time strong,.lesson-time span{display:block}.lesson-time strong{font-size:15px}.lesson-time span{font-size:12px;color:var(--muted);margin-top:5px}
.lesson-bar{border-radius:8px;background:var(--blue)}
.lesson-body strong{display:block;font-size:15px;line-height:1.25}.lesson-body span{display:block;color:var(--muted);font-size:12px;margin-top:6px}
.lesson-body .code{display:inline-block;margin-top:8px;background:#eef4fb;color:#53667e;padding:4px 7px;border-radius:7px;font-size:10px;font-weight:800}
.lesson-bar.green{background:#16a36d}.lesson-bar.violet{background:#8059dc}.lesson-bar.gold{background:#e6a51d}.lesson-bar.slate{background:#66758a}.lesson-bar.cyan{background:#199bc0}.lesson-bar.teal{background:#15aa9a}.lesson-bar.purple{background:#7a49cb}.lesson-bar.yellow{background:#e8bb1d}.lesson-bar.rose{background:#e95e77}.lesson-bar.brown{background:#95634c}.lesson-bar.lime{background:#80a936}.lesson-bar.amber{background:#db9023}
.empty{text-align:center;background:#fff;border-radius:22px;padding:35px 20px;box-shadow:var(--shadow)}.empty-icon{font-size:42px}.empty h2{margin:10px 0 4px}.empty p{margin:0;color:var(--muted);font-size:13px}.hidden{display:none!important}
.info-card{margin-top:16px;background:#e9f1fb;border-radius:18px;padding:16px;display:flex;justify-content:space-between;gap:10px;align-items:center}.info-card span{font-size:12px;color:#64758b}.info-card strong{font-size:12px;text-align:right}
.install{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);width:min(520px,calc(100% - 32px));border:0;border-radius:16px;background:var(--navy);color:white;padding:15px;font-weight:800;box-shadow:0 12px 30px rgba(5,38,75,.3)}
@media(min-width:720px){body{padding:22px}.app{background:var(--bg);border-radius:30px;min-height:calc(100vh - 44px);box-shadow:0 22px 80px rgba(20,45,80,.1)}}


.developer-card{
  margin-top:16px;
  background:#fff;
  border-radius:20px;
  padding:15px;
  display:grid;
  grid-template-columns:44px 1fr auto;
  gap:12px;
  align-items:center;
  box-shadow:var(--shadow);
}
.developer-icon{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:#e7f8ef;
  font-size:21px;
}
.developer-copy{min-width:0}
.developer-copy small,.developer-copy strong,.developer-copy span{display:block}
.developer-copy small{
  color:#8290a3;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
}
.developer-copy strong{
  margin-top:4px;
  font-size:13px;
}
.developer-copy span{
  color:var(--muted);
  font-size:11px;
  margin-top:3px;
  line-height:1.35;
}
.whatsapp-btn{
  text-decoration:none;
  background:#20b765;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.developer-footer{
  padding:14px 4px 6px;
  text-align:center;
  font-size:11px;
  color:#8b97a8;
}
.developer-footer span{margin-right:5px}
.developer-footer a{
  color:#53667e;
  text-decoration:none;
  font-weight:800;
}
@media(max-width:390px){
  .developer-card{grid-template-columns:40px 1fr}
  .developer-icon{width:40px;height:40px}
  .whatsapp-btn{
    grid-column:1/-1;
    text-align:center;
    width:100%;
  }
}


/* bottom menu */
.app{padding-bottom:104px}
.tab-page{display:block}
.hidden-page{display:none}
.bottom-menu{
  position:fixed;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:min(560px,100%);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2px;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
  border-top:1px solid #e4eaf2;
  padding:8px 8px calc(8px + env(safe-area-inset-bottom));
  z-index:50;
}
.menu-item{
  border:0;
  background:transparent;
  color:#8a96a8;
  min-height:56px;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:5px 2px;
  font-weight:700;
}
.menu-item.active{background:#edf4fd;color:#1769d2}
.menu-icon{font-size:18px;line-height:1}
.menu-item small{font-size:10px}
.placeholder-card{
  margin-top:72px;
  background:#fff;
  border-radius:24px;
  padding:38px 24px;
  text-align:center;
  box-shadow:var(--shadow);
}
.placeholder-icon{
  width:72px;height:72px;border-radius:22px;
  display:grid;place-items:center;
  margin:0 auto 16px;
  background:#edf4fd;
  font-size:32px;
}
.placeholder-card h2{margin:0;font-size:24px}
.placeholder-card p{
  margin:10px auto 0;
  color:var(--muted);
  max-width:360px;
  font-size:14px;
  line-height:1.5;
}
.placeholder-badge{
  display:inline-block;
  margin-top:18px;
  background:#e8f0fb;
  color:#1769d2;
  border-radius:999px;
  padding:7px 13px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
@media(min-width:720px){
  .bottom-menu{bottom:22px;border-radius:0 0 28px 28px}
}


/* unified line icons */
.menu-icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
}
.nav-svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.placeholder-icon .nav-svg{
  width:34px;
  height:34px;
  stroke-width:1.7;
}
.menu-item.active .nav-svg{
  stroke-width:2;
}
