:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171a22;background:#f4f6fb;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#171a22;--muted:#858b99;--line:#e9ebf1;--blue:#465cf5;--blue-soft:#edf0ff;--surface:#fff;--green:#18865a;--shadow:0 12px 32px rgba(28,37,72,.06)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--tg-theme-bg-color,#f4f6fb);color:var(--tg-theme-text-color,var(--ink))}button,select{font:inherit}.app-shell{max-width:560px;min-height:100dvh;margin:auto;padding:0 20px calc(96px + env(safe-area-inset-bottom))}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:14px;letter-spacing:-.3px;color:#545a69}.brand b{color:var(--ink);font-weight:750}.brand-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--blue);color:#fff;font-size:15px;font-weight:800}.avatar{width:34px;height:34px;border:0;border-radius:50%;background:#e9ecff;color:var(--blue);font-weight:750}.hero{padding:18px 0 20px}.eyebrow{margin:0 0 8px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:1.1px}.hero h1{font-size:29px;letter-spacing:-1.1px;line-height:1.08;margin:0}.hero-sub{margin:9px 0 0;color:var(--muted);font-size:13px}.group-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;background:var(--surface);border:1px solid var(--line);border-radius:16px;text-align:left;box-shadow:var(--shadow);color:inherit}.group-left{display:flex;align-items:center;gap:12px}.group-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--blue-soft);color:var(--blue);font-weight:800}.group-meta small{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}.group-meta strong{font-size:13px}.chevron{color:#a2a7b2;font-size:20px}.demo-note{margin:12px 2px 18px;color:#8b7a45;font-size:10px;display:flex;align-items:center;gap:6px}.demo-dot{width:6px;height:6px;border-radius:50%;background:#e7b74c}.section-head{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}.section-head h2{font-size:17px;letter-spacing:-.4px;margin:0}.text-button{border:0;background:none;color:var(--blue);font-size:12px;font-weight:650;padding:5px}.segmented{display:flex;gap:4px;padding:4px;background:#e9ecf3;border-radius:12px}.segmented button{border:0;background:transparent;color:#777f8e;padding:7px 12px;border-radius:9px;font-size:11px;font-weight:650}.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(20,25,50,.08)}.days{display:flex;gap:8px;overflow:auto;padding:1px 1px 7px;scrollbar-width:none}.days::-webkit-scrollbar{display:none}.day{flex:0 0 51px;display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;color:var(--muted);padding:8px 0;border-radius:13px}.day span{font-size:10px;font-weight:650}.day b{display:grid;place-items:center;width:33px;height:33px;font-size:13px}.day.active{background:var(--blue);color:#fff;box-shadow:0 5px 14px #465cf53b}.lesson-list{display:grid;gap:10px}.lesson{display:grid;grid-template-columns:47px 3px 1fr;gap:11px;align-items:stretch;padding:13px 12px;background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 16px rgba(28,37,72,.035)}.lesson-time{font-size:11px;font-weight:720;padding-top:2px;white-space:nowrap}.lesson-time small{display:block;margin-top:4px;color:var(--muted);font-size:9px;font-weight:500}.lesson-rule{border-radius:9px;background:#6575ff}.lesson:nth-child(2) .lesson-rule{background:#f29b55}.lesson:nth-child(3) .lesson-rule{background:#35a982}.lesson:nth-child(4) .lesson-rule{background:#a278dc}.lesson-title{font-size:12px;font-weight:720;line-height:1.35;margin:0 0 6px}.lesson-details{display:flex;flex-wrap:wrap;gap:7px;color:var(--muted);font-size:10px}.room-link{color:var(--blue);font-weight:650}.empty{padding:28px 19px;text-align:center;background:#fff;border:1px dashed #dfe2ea;border-radius:16px}.empty-icon{font-size:24px}.empty h3{font-size:14px;margin:10px 0 5px}.empty p{max-width:250px;margin:0 auto;color:var(--muted);font-size:11px;line-height:1.55}.map-card{padding:16px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.floor-switch{display:flex;gap:7px;margin:14px 0}.floor-switch button{border:1px solid var(--line);border-radius:10px;background:#fff;color:#707787;padding:8px 13px;font-size:11px}.floor-switch button.active{background:var(--blue);border-color:var(--blue);color:#fff}.map-placeholder{height:310px;border-radius:13px;background:#f6f7fb;position:relative;overflow:hidden;display:grid;place-items:center}.floor-plan{width:84%;height:74%;border:2px solid #d4d9e5;background:#fff;position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:5px;padding:9px}.map-room{border:1px solid #e1e5ee;border-radius:5px;background:#f8f9fc;display:grid;place-items:center;color:#8b91a0;font-size:9px}.map-room.hall{grid-column:2;grid-row:1/3;background:#eff1fa;border-style:dashed}.map-lock{position:absolute;top:45%;left:45%;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:white;box-shadow:0 5px 14px #465cf55c}.map-legend{margin:11px 2px 0;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.map-legend i{width:7px;height:7px;background:var(--blue);border-radius:50%}.profile-card{padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.profile-avatar{width:48px;height:48px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);border-radius:16px;font-size:18px;font-weight:800;margin-bottom:13px}.profile-card h2{margin:0 0 5px;font-size:17px}.profile-card p{margin:0;color:var(--muted);font-size:11px}.profile-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:14px 0 0;margin-top:16px;font-size:12px}.profile-row span{color:var(--muted)}.tabbar{position:fixed;z-index:5;left:50%;transform:translateX(-50%);bottom:0;width:min(560px,100%);padding:10px 24px calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;background:rgba(255,255,255,.93);backdrop-filter:blur(16px);border-top:1px solid var(--line)}.tab{min-width:84px;border:0;background:none;color:#9298a5;display:grid;justify-items:center;gap:4px;font-size:9px;font-weight:600}.tab-icon{font-size:20px;line-height:20px}.tab.active{color:var(--blue)}.sheet{width:min(560px,100%);max-width:none;position:fixed;top:auto;bottom:0;margin:0;padding:0;border:0;border-radius:24px 24px 0 0;background:#fff;color:var(--ink);box-shadow:0 -10px 40px #20284a20}.sheet::backdrop{background:#12172955;backdrop-filter:blur(2px)}.sheet-inner{padding:10px 22px calc(24px + env(safe-area-inset-bottom))}.sheet-grabber{width:35px;height:4px;border-radius:5px;background:#d9dce4;margin:0 auto 20px}.sheet-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.sheet-heading h2{font-size:21px;letter-spacing:-.6px;margin:0}.icon-button{border:0;background:#f1f2f6;color:#777d89;border-radius:50%;width:30px;height:30px;font-size:20px;line-height:1}.field-label{display:block;font-size:11px;font-weight:700;margin:13px 0 7px}.select-control{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:12px}.select-control:disabled{color:#9ca2ae;background:#f7f8fa}.hint{font-size:10px;color:var(--muted);line-height:1.5;margin:10px 0 16px}.primary-button{width:100%;border:0;border-radius:12px;background:var(--blue);color:white;padding:13px;font-size:12px;font-weight:700}.primary-button:disabled{background:#c4c9d5}.view-title{font-size:28px;letter-spacing:-1px;margin:16px 0 4px}.view-caption{font-size:12px;color:var(--muted);margin:0 0 22px}@media(min-width:600px){body{padding:0 0 40px}.app-shell{min-height:850px}.tabbar{bottom:20px;border:1px solid var(--line);border-radius:18px}}
.week-day{margin-bottom:20px}.week-badge{color:var(--muted);font-size:10px}.day-week{margin:0 0 10px}.floor-switch{overflow-x:auto}.floor-switch button{flex:0 0 auto}.room-list,.room-results{display:grid;gap:7px;margin-top:10px}.room-item,.room-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);text-align:left}.room-item b,.room-result b{font-size:12px}.room-item span,.room-result span{font-size:10px;color:var(--muted)}.room-highlight{border-color:var(--blue);background:var(--blue-soft)}
