/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-outline-style:solid}}}@layer theme{:host,:root{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!visible{visibility:visible!important}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.hidden{display:none}.grow{flex-grow:1}.resize{resize:both}.capitalize{text-transform:capitalize}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}@font-face{font-family:Fira Sans;src:url(../fonts/FiraSans-Regular.ttf)format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Fira Sans;src:url(../fonts/FiraSans-Medium.ttf)format("truetype");font-weight:500;font-display:swap}@font-face{font-family:Fira Sans;src:url(../fonts/FiraSans-SemiBold.ttf)format("truetype");font-weight:600;font-display:swap}@font-face{font-family:Fira Sans;src:url(../fonts/FiraSans-Bold.ttf)format("truetype");font-weight:700;font-display:swap}:root{--bg:#f4f5f7;--surface:#fff;--fg:#1b1e24;--muted:#6b7280;--line:#e9ebee;--input:#eceef1;--green:#15803d;--soft:#eaf7ef;--danger:#b42332;--tg-safe-top:0px;--tg-safe-bottom:0px;font-synthesis:none;color:var(--fg);background:var(--bg);font-family:Fira Sans,sans-serif}:root.dark{--bg:#111315;--surface:#1b1e21;--fg:#f3f4f6;--muted:#a0a6af;--line:#2a2e33;--input:#25292e;--green:#4ade80;--soft:#182f22;--danger:#ff8892}*{box-sizing:border-box}body,h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{opacity:.45;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}a{color:inherit;text-decoration:none}h1{letter-spacing:-.7px;font-size:28px;font-weight:700;line-height:1.2}h2{font-size:22px;line-height:1.3}h2,h3{font-weight:600}h3{font-size:16px;line-height:1.45}p{line-height:1.55}img{display:block}label{flex-direction:column;gap:8px;font-size:14px;font-weight:500;display:flex}input:not([type=checkbox]):not([type=file]),select,textarea{background:var(--input);width:100%;color:var(--fg);outline-offset:1px;border:1px solid #0000;border-radius:12px;min-height:46px;padding:13px 14px}input::-moz-placeholder{color:var(--muted);font-weight:400}textarea::-moz-placeholder{color:var(--muted);font-weight:400}input::placeholder,textarea::placeholder{color:var(--muted);font-weight:400}select{appearance:auto}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--green)}.app-shell{max-width:720px;min-height:100dvh;margin:auto}.app-header{height:calc(78px + var(--tg-safe-top));padding:calc(18px + var(--tg-safe-top)) 22px 18px;justify-content:space-between;align-items:center;display:flex}.wordmark{width:140px;height:38px}.dark .wordmark{filter:brightness(1.15);content:url(../brand/logo-dark-e9d6a7d2b4.svg)}main{padding:10px 20px calc(108px + var(--tg-safe-bottom))}.stack{flex-direction:column;gap:20px}.row,.stack{display:flex}.row{align-items:center;gap:8px}.between{justify-content:space-between}.small-gap{gap:4px}.grow{flex:1}.caption,.eyebrow,.muted{color:var(--muted)}.caption{font-size:12px;font-weight:400;line-height:1.5}.eyebrow{letter-spacing:1.45px;margin-bottom:7px;font-size:10px;font-weight:600}.capitalize,.day-heading{text-transform:capitalize}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px}.button{border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:14px 18px;font-size:14px;font-weight:500;line-height:1.3;display:inline-flex}.primary{background:var(--green);color:#fff}.dark .primary{color:#092313}.secondary{background:var(--input);color:var(--fg)}.danger{background:var(--danger);color:#fff}.compact{min-height:40px;padding:10px 16px}.icon-button{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.icon-button:hover{background:var(--input)}.accent{color:var(--green);background:var(--soft)}.chip{background:var(--input);white-space:nowrap;border-radius:11px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:10px 13px;font-size:13px;font-weight:500;display:inline-flex}.chip.active{background:var(--green);color:#fff}.dark .chip.active{color:#092313}.chips{flex-wrap:wrap;gap:8px;display:flex}.segmented{background:var(--input);border-radius:12px;gap:3px;padding:4px;display:flex}.segmented button{white-space:nowrap;border-radius:9px;flex:1;min-height:36px;padding:9px 16px;font-size:13px}.segmented .active{background:var(--surface);color:var(--green);font-weight:500}.notice{background:var(--soft);border-radius:12px;padding:14px 16px;font-size:13px;line-height:1.6}.error-text{color:var(--danger);font-size:13px}.source-note{text-align:center;color:var(--muted);margin-top:5px;font-size:11px;line-height:1.7}.bottom-nav{width:min(100%,720px);padding:8px 12px calc(8px + max(env(safe-area-inset-bottom),var(--tg-safe-bottom)));border-top:1px solid var(--line);background:var(--surface);z-index:20;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:var(--muted);flex-direction:column;align-items:center;gap:4px;min-height:55px;padding:3px;font-size:10px;display:flex}.bottom-nav button>span{border-radius:10px;justify-content:center;align-items:center;width:50px;height:30px;display:flex}.bottom-nav button.active,.group-button{color:var(--green);font-weight:500}.bottom-nav button.active>span{background:var(--soft)}.bottom-nav small{font-size:10px}.group-button{background:var(--surface);border:1px solid var(--line);border-radius:13px;align-items:center;gap:10px;width:100%;min-height:50px;padding:13px 15px;font-size:15px;display:flex}.group-button span{text-align:left;flex:1}.calendar-heading{font-size:16px;font-weight:500}.date-picker{position:relative;overflow:hidden}.date-picker input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.week-strip{justify-content:space-between;align-items:center;gap:2px;display:flex}.week-arrow{min-width:20px}.week-day{border-radius:13px;flex-direction:column;flex:1;align-items:center;gap:8px;min-width:32px;padding:11px 1px 7px;display:flex}.week-day>span{color:var(--muted);font-size:11px}.week-day strong{font-size:17px;font-weight:500}.week-day i{border-radius:50%;width:4px;height:4px}.week-day i.dot,.week-day.selected{background:var(--green)}.week-day.today strong{color:var(--green)}.week-day.selected,.week-day.selected strong,.week-day.selected>span{color:#fff}.week-day.selected i.dot{background:#fff}.dark .week-day.selected,.dark .week-day.selected strong,.dark .week-day.selected>span{color:#092313}.lesson-list{flex-direction:column;gap:12px;display:flex}.day-heading{margin-top:6px;font-size:14px;font-weight:500}.lesson-card{gap:17px;padding:18px 16px;display:flex}.lesson-time{flex-direction:column;align-items:flex-start;gap:4px;min-width:48px;display:flex}.lesson-time strong{letter-spacing:-.4px;font-size:17px;font-weight:500}.lesson-time>span{color:var(--muted);font-size:12px}.lesson-time small{color:var(--muted);margin-top:11px;font-size:10px}.lesson-content{border-left:2px solid var(--green);flex:1;min-width:0;padding-left:15px}.lesson-type{color:var(--green);text-transform:uppercase;letter-spacing:.4px;margin-bottom:4px;font-size:10px;font-weight:500;line-height:1.5;display:block}.lesson-content h3{margin-bottom:10px;font-size:15px;line-height:1.45}.detail-line{color:var(--muted);align-items:center;gap:6px;font-size:12px;line-height:1.5;display:flex}.detail-line svg,.file-link>svg,.search-field>svg{flex-shrink:0}.room-link{color:var(--green);text-align:left;align-items:center;gap:5px;margin-top:9px;padding:3px 0;font-size:12px;display:flex}.loading-list{flex-direction:column;gap:12px;display:flex}.skeleton{background:var(--input);border-radius:18px;height:120px;animation:1.4s ease-in-out infinite pulse}.empty-state{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:16px;padding:38px 22px;font-size:14px;display:flex}.empty-state svg{color:var(--green)}.portal-gate,.welcome-card{text-align:center;flex-direction:column;align-items:center;gap:17px;padding:38px 24px;display:flex}.portal-gate p,.welcome-card p{color:var(--muted);max-width:300px;font-size:14px}.gate-icon{background:var(--soft);width:64px;height:64px;color:var(--green);border-radius:20px;place-items:center;margin-bottom:4px;display:grid}.search-field{background:var(--input);color:var(--muted);border-radius:12px;flex-direction:row;align-items:center;gap:7px;padding:0 13px;font-weight:400;display:flex}.search-field input{min-width:0;border:0!important;padding-left:0!important}.search-field .icon-button{min-width:30px}.text-button{text-align:left;justify-content:space-between;align-items:center;min-height:46px;padding:14px 4px;display:flex}.mail-row+.mail-row,.picker-row+.picker-row{border-top:1px solid var(--line)}.picker-list{max-height:45dvh;overflow:auto}.is-favorite{color:var(--green)}.is-favorite svg{fill:var(--soft)}.section-tabs{scrollbar-width:none;flex-wrap:nowrap;margin-right:-20px;padding-bottom:3px;overflow-x:auto}.section-tabs .chip:last-child{margin-right:20px}.record-card{padding:19px}.record-card h3{margin-bottom:12px}.record-card dl{grid-template-columns:minmax(75px,auto) minmax(0,1fr);gap:8px 15px;margin:0;font-size:12px;line-height:1.5;display:grid}.record-card dt{color:var(--muted)}.record-card dd{text-align:right;overflow-wrap:anywhere;margin:0}.file-link{background:var(--input);width:100%;color:var(--green);text-align:left;border-radius:10px;align-items:center;gap:10px;margin-top:10px;padding:12px;font-size:12px;display:flex}.file-link>span{overflow-wrap:anywhere;flex:1}.mail-sender,.mailbox{overflow:hidden}.mail-row{text-align:left;align-items:flex-start;gap:12px;width:100%;padding:18px 15px;display:flex;position:relative}.mail-avatar{background:var(--input);width:36px;height:36px;color:var(--muted);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.unread .mail-avatar{background:var(--soft);color:var(--green)}.mail-copy{flex:1;min-width:0}.mail-copy strong{overflow-wrap:anywhere;margin-top:4px;font-size:13px;font-weight:400;line-height:1.55;display:block}.mail-sender,.unread .mail-copy strong{font-weight:500}.mail-sender{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:12px}.mail-copy time{white-space:nowrap;color:var(--muted);font-size:10px}.unread-dot{background:var(--green);border-radius:100%;width:6px;height:6px;position:absolute;top:10px;left:9px}.message-detail{flex-direction:column;gap:16px;padding:22px;display:flex}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.75}.back-link{text-align:left;gap:6px;min-height:36px;font-size:13px}.back-link,.file-upload{color:var(--green);align-items:center;display:flex}.file-upload{cursor:pointer;flex-direction:row;gap:8px;min-height:44px;position:relative}.file-upload input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.map-search{z-index:5;position:relative}.map-results{max-height:300px;padding:6px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow:auto;box-shadow:0 8px 24px #00000012}.map-results button{text-align:left;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:11px 12px;font-size:13px;display:flex}.map-results button:hover{background:var(--input)}.floor-strip{scrollbar-width:none;gap:6px;display:flex;overflow:auto}.floor-strip .chip{padding:8px 11px}.floor-dot{background:currentColor;border-radius:50%;width:4px;height:4px}.campus-canvas{background:#fff;position:relative;overflow:hidden}.campus-canvas>svg{touch-action:none;cursor:grab;width:100%;height:calc(min(52dvh,470px));display:block}.campus-canvas>svg:active{cursor:grabbing}.zoom-controls{background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;display:flex;position:absolute;bottom:10px;right:10px;overflow:hidden}.zoom-controls .icon-button{border-radius:0;min-width:38px;min-height:38px}.map-destination{flex-direction:column;gap:11px;padding:18px;display:flex}.map-destination h3{font-size:18px}.settings-card{flex-direction:column;gap:17px;padding:20px;display:flex}.toggle-row{flex-direction:row;justify-content:space-between;align-items:center;gap:15px;min-height:44px;display:flex}.toggle-row strong{font-size:13px;font-weight:500;display:block}.toggle-row small{color:var(--muted);margin-top:4px;font-size:11px;font-weight:400;line-height:1.5;display:block}.toggle-row input{appearance:none;background:var(--line);cursor:pointer;border-radius:20px;flex-shrink:0;width:40px;height:24px;margin:0;position:relative}.toggle-row input:before{content:"";background:var(--surface);border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px}.toggle-row input:checked{background:var(--green)}.toggle-row input:checked:before{background:#fff;transform:translate(16px)}.status-pill{background:var(--input);color:var(--muted);border-radius:8px;padding:6px 9px;font-size:10px}.status-pill.connected{color:var(--green);background:var(--soft)}.danger-link{min-height:44px;color:var(--danger);align-items:center;gap:8px;font-size:13px}.danger-link,.modal-backdrop{justify-content:center;display:flex}.modal-backdrop{z-index:50;padding:20px 12px max(12px,env(safe-area-inset-bottom));background:#0007;align-items:flex-end;position:fixed;inset:0;overflow:auto}.modal{background:var(--surface);width:min(100%,480px);max-height:calc(94dvh - var(--tg-safe-top));border-radius:24px;flex-direction:column;gap:20px;padding:24px;display:flex;overflow-y:auto;box-shadow:0 -4px 40px #00000010}.modal .stack{gap:17px}.modal p,.toast{font-size:13px}.toast{bottom:calc(95px + var(--tg-safe-bottom));background:var(--fg);width:max-content;max-width:calc(100% - 32px);color:var(--bg);z-index:80;border-radius:14px;align-items:center;gap:8px;padding:10px 9px 10px 17px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0002}.toast .icon-button{min-width:30px;min-height:30px}.launch-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:22px;min-height:60dvh;padding:20px;display:flex}.launch-state p{color:var(--muted);max-width:320px}.preview-note{text-align:center;color:var(--muted);margin-bottom:22px;font-size:10px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes pulse{50%{opacity:.5}}@media (width>=600px){main{padding:20px 30px 120px}.app-header{padding-left:30px;padding-right:30px}.modal-backdrop{align-items:center}.lesson-card{padding:22px}.lesson-content h3{font-size:16px}.week-day{padding:13px 8px}.mail-sender{max-width:350px}.app-shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.schedule-view{touch-action:pan-y pinch-zoom}.filter-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.filter-grid label{min-width:0;color:var(--muted);font-size:12px}.filter-fields select,.filter-grid select{text-overflow:ellipsis;max-width:100%}.filter-wide{grid-column:1/-1}.filter-reset{color:var(--green);min-height:44px;padding:8px;font-size:12px}.study-group{flex-direction:column;gap:10px;display:flex}.group-heading{font-size:16px}.diary-records{padding:0 16px}.diary-row{justify-content:space-between;align-items:center;gap:14px;padding:16px 0;display:flex}.diary-row+.diary-row,.subject-row{border-top:1px solid var(--line)}.diary-row h3{font-size:14px}.mark{background:var(--input);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;min-width:38px;min-height:38px;padding:6px 10px;font-size:17px;font-weight:600;display:flex}.mark.grade{background:var(--soft);color:var(--green)}.mark.absence{color:var(--danger)}.curriculum-group{padding:0 18px}.curriculum-group summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:18px 0;font-size:15px;font-weight:600;display:flex}.subject-row{flex-direction:column;gap:9px;padding:16px 0;display:flex}.subject-row h3{font-size:14px}.control-tags{flex-wrap:wrap;gap:6px;display:flex}.control-tags span{background:var(--soft);color:var(--green);border-radius:7px;padding:5px 8px;font-size:11px}.fit{width:fit-content}.filter-trigger{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--green);border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-size:13px;font-weight:500;display:inline-flex}.filter-trigger.selected{background:var(--soft);border-color:var(--green)}.chat-unread,.filter-count{background:var(--green);min-width:20px;height:20px;color:var(--surface);border-radius:8px;place-items:center;padding:0 5px;font-size:11px;font-weight:600;display:grid}.active-filters{flex-wrap:wrap;gap:7px;display:flex}.active-filters button{background:var(--soft);max-width:100%;min-height:34px;color:var(--green);text-align:left;overflow-wrap:anywhere;border-radius:10px;align-items:center;gap:7px;padding:7px 10px;font-size:11px;display:flex}.active-filters svg{flex-shrink:0}.filter-backdrop{z-index:65;padding:calc(12px + var(--tg-safe-top)) 8px 0;overscroll-behavior:none;isolation:isolate;background:#091b1470;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0 0 auto;overflow:hidden}.filter-sheet{background:var(--surface);border-radius:24px 24px 0 0;outline:none;flex-direction:column;width:min(100%,520px);min-height:0;max-height:100%;display:flex;overflow:hidden;box-shadow:0 -8px 40px #0002}.filter-header{border-bottom:1px solid var(--line);flex:none;padding:10px 18px 14px}.filter-header h2{font-size:20px}.filter-header .caption{margin-top:3px}.sheet-handle{background:var(--line);border-radius:4px;width:36px;height:4px;margin:0 auto 12px}.filter-fields{overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;flex-direction:column;flex:auto;gap:20px;min-height:0;padding:20px 18px;display:flex;overflow-y:auto}.filter-fields>*{flex-shrink:0}.filter-fields label{color:var(--muted);gap:8px;min-width:0;font-size:13px}.filter-fields select{appearance:none;background-color:var(--input);border:1px solid var(--line);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:38px}.filter-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.filter-options button{background:var(--input);min-height:44px;color:var(--fg);overflow-wrap:anywhere;border:1px solid #0000;border-radius:12px;padding:11px 10px;font-size:13px;line-height:1.35}.filter-options button.active{background:var(--soft);color:var(--green);border-color:var(--green);font-weight:500}.sheet-actions{padding:14px 18px max(16px,env(safe-area-inset-bottom),var(--tg-safe-bottom));border-top:1px solid var(--line);background:var(--surface);flex:none;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:10px;margin:0;display:grid;position:static}.sheet-actions .button{white-space:normal;min-width:0}@media (width>=600px){.filter-backdrop{align-items:center;padding:24px}.filter-sheet{border-radius:24px;max-height:min(760px,100%)}}@media (width<=359px){.filter-fields .filter-grid{grid-template-columns:minmax(0,1fr)}}.diary-copy{min-width:0}.lesson-badges{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.lesson-badge{border-radius:7px;padding:5px 8px;font-size:10px;font-weight:500;line-height:1.3}.lesson-badge.lecture{color:#235bb0;background:#e9f0ff}.lesson-badge.lab{color:#b91c1c;background:#feecec}.lesson-badge.practice{color:#b45309;background:#fff0dc}.lesson-badge.unknown{color:var(--muted);background:var(--input)}.dark .lesson-badge.lecture{color:#a8c8ff;background:#24334c}.dark .lesson-badge.lab{color:#fca5a5;background:#442326}.dark .lesson-badge.practice{color:#fdba74;background:#402b19}.lesson-badges .caption{font-size:10px}.chat-list-row{text-align:left;align-items:center;gap:12px;width:100%;padding:17px 15px;display:flex}.chat-list-row+.chat-list-row{border-top:1px solid var(--line)}.chat-avatar{background:var(--soft);width:43px;height:43px;color:var(--green);border-radius:15px;flex-shrink:0;place-items:center;font-size:17px;font-weight:500;display:grid}.chat-list-copy{flex:1;min-width:0}.chat-list-copy strong{text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 45px);font-size:13px;font-weight:500;display:block;overflow:hidden}.chat-list-copy time{font-size:10px}.chat-list-copy time,.chat-preview{color:var(--muted);white-space:nowrap}.chat-preview{text-overflow:ellipsis;margin-top:7px;font-size:12px;display:block;overflow:hidden}.chat-heading{align-items:center;gap:10px;display:flex}.chat-heading h2{overflow-wrap:anywhere;flex:1;font-size:17px}.chat-timeline{flex-direction:column;gap:12px;display:flex}.chat-day{color:var(--muted);background:var(--input);border-radius:9px;align-self:center;margin:9px 0;padding:6px 10px;font-size:10px}.chat-bubble{background:var(--surface);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:18px 18px 18px 5px;align-self:flex-start;min-width:125px;max-width:92%;padding:14px 15px 9px}.chat-bubble.outgoing{background:var(--soft);border-color:#0000;border-radius:18px 18px 5px;align-self:flex-end}.chat-topic{color:var(--green);margin-bottom:8px;font-size:12px;font-weight:500}.chat-bubble .message-body{font-size:13px;line-height:1.65}.bubble-meta{color:var(--muted);justify-content:flex-end;align-items:center;gap:6px;margin-top:8px;font-size:10px;display:flex}.chat-reply{color:var(--green);min-height:30px;margin-right:auto;padding:7px 7px 7px 0;font-size:10px}.chat-body-error{color:var(--danger);font-size:12px}.chat-compose-bar{bottom:calc(88px + var(--tg-safe-bottom));border:1px solid var(--line);background:var(--surface);width:100%;color:var(--green);text-align:left;border-radius:18px;align-items:center;gap:12px;min-height:54px;padding:16px;display:flex;position:sticky;box-shadow:0 2px 12px #00000008}.chat-compose-bar span{color:var(--muted);flex:1;font-size:13px}.filter-choice-group{border:0;min-width:0;margin:0;padding:0}.filter-choice-group legend{color:var(--muted);margin-bottom:10px;padding:0;font-size:12px;font-weight:500}.filter-fields input,.filter-fields select{min-width:0;font-size:14px}.dark .filter-fields select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}:root{--motion-fast:.14s;--motion-page:.19s;--motion-ease:cubic-bezier(.2,.7,.2,1)}.bottom-nav button,.bottom-nav button>span,.button,.chat-compose-bar,.chat-list-row,.chip,.filter-options button,.filter-trigger,.icon-button,.week-day{transition:background-color var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast) var(--motion-ease)}.bottom-nav button:active,.button:active:not(:disabled),.chat-compose-bar:active,.chip:active,.filter-options button:active,.filter-trigger:active,.icon-button:active:not(:disabled),.week-day:active{transform:scale(.96)}.bottom-nav button.active>span{animation:nav-select .22s var(--motion-ease)}.day-next-enter-active,.day-next-leave-active,.day-previous-enter-active,.day-previous-leave-active,.section-motion-enter-active,.section-motion-leave-active{transition:opacity var(--motion-page) var(--motion-ease),transform var(--motion-page) var(--motion-ease)}.section-motion-enter-from{opacity:0;transform:translateY(7px)}.section-motion-leave-to{opacity:0;transform:translateY(-4px)}.day-next-enter-from,.day-previous-leave-to{opacity:0;transform:translate(18px)}.day-next-leave-to,.day-previous-enter-from{opacity:0;transform:translate(-18px)}.day-next-leave-active,.day-previous-leave-active,.section-motion-leave-active{pointer-events:none}.schedule-page{min-width:0}.chat-heading,.curriculum-group,.empty-state,.record-card,.study-group{animation:content-reveal .22s var(--motion-ease) both}.curriculum-group:nth-of-type(2),.study-group:nth-of-type(2){animation-delay:25ms}.curriculum-group:nth-of-type(3),.study-group:nth-of-type(3){animation-delay:50ms}.chat-bubble{animation:bubble-reveal .19s var(--motion-ease) both;transform-origin:0 100%}.chat-bubble.outgoing{transform-origin:100% 100%}.active-filters button,.lesson-badge{animation:tag-reveal .15s var(--motion-ease) both}.filter-sheet-enter-active{transition:background-color .24s ease-out}.filter-sheet-leave-active{transition:background-color .18s ease-in}.filter-sheet-enter-active .filter-sheet{will-change:transform,opacity;transition:transform .24s cubic-bezier(.16,1,.3,1),opacity .18s ease-out}.filter-sheet-leave-active .filter-sheet{will-change:transform,opacity;transition:transform .18s ease-in,opacity .14s ease-in}.filter-sheet-enter-from,.filter-sheet-leave-to{background-color:#0000}.filter-sheet-enter-from .filter-sheet,.filter-sheet-leave-to .filter-sheet{opacity:0;transform:translateY(24px)}@media (prefers-reduced-motion:reduce){.filter-sheet-enter-active,.filter-sheet-enter-active .filter-sheet,.filter-sheet-leave-active,.filter-sheet-leave-active .filter-sheet{transition:none!important}.filter-sheet-enter-from .filter-sheet,.filter-sheet-leave-to .filter-sheet{transform:none}}.modal-backdrop{animation:.16s ease-out overlay-reveal}.modal{animation:content-reveal .21s var(--motion-ease)}.toast-motion-enter-active,.toast-motion-leave-active{transition:opacity .16s ease-out,transform .16s var(--motion-ease)}.toast-motion-enter-from,.toast-motion-leave-to{opacity:0;transform:translate(-50%,8px)}@keyframes content-reveal{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes bubble-reveal{0%{opacity:0;transform:translateY(5px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes tag-reveal{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes overlay-reveal{0%{opacity:0}to{opacity:1}}@keyframes nav-select{0%{transform:scale(.92)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.search-field:focus-within{outline:2px solid var(--green);outline-offset:3px}.search-field input:focus-visible{outline:none}.search-field{cursor:text}.search-field>button{cursor:pointer}.map-search-status{color:var(--muted);padding:13px 12px;font-size:12px}.map-search-status.error-text{color:var(--danger)}.map-results button{gap:14px}.map-results button>span:first-child{overflow-wrap:anywhere;min-width:0}.map-results .caption{flex-shrink:0}.dark .campus-canvas{background:var(--surface)}.dark .map-plans{filter:invert(.9)hue-rotate(180deg)}.map-results button.highlighted{background:var(--soft);color:var(--green)}.room-outline{animation:room-border-reveal .45s var(--motion-ease) both}@keyframes room-border-reveal{0%{stroke-dasharray:1;stroke-dashoffset:1px;fill-opacity:0}to{stroke-dasharray:1;stroke-dashoffset:0;fill-opacity:.16}}.map-plans{opacity:0;transition:opacity .18s ease-out}.map-plans.ready{opacity:1}.app-shell.map-mode{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.map-mode>.app-header{flex:none}.map-mode>main{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.map-mode .preview-note{flex:none;margin:0;padding:4px}.map-mode>.bottom-nav{flex:none;width:100%;position:relative;bottom:auto;left:auto;transform:none}.map-screen{isolation:isolate;background:var(--surface);overscroll-behavior:none;flex:1;min-height:0;position:relative;overflow:hidden}.map-screen .campus-canvas{border:0;border-radius:0;position:absolute;inset:0}.map-screen .campus-canvas>svg{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%}.map-toolbar{z-index:6;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:absolute;top:12px;left:14px;right:14px}.map-toolbar>*{pointer-events:auto}.map-toolbar select{width:fit-content;max-width:100%;min-height:38px;padding:9px 12px;font-size:12px}.map-toolbar .search-field,.map-toolbar select{background:var(--surface);border:1px solid var(--line);box-shadow:0 2px 8px #0001}.map-screen .map-results{overscroll-behavior:contain;max-height:calc(min(300px,40dvh))}.map-screen .floor-strip{z-index:3;background:var(--surface);border:1px solid var(--line);overscroll-behavior:contain;border-radius:13px;flex-direction:column;align-items:stretch;gap:4px;max-height:fit-content;padding:4px;position:absolute;top:125px;bottom:155px;right:12px}.map-screen .floor-strip .chip{background:0 0;flex:none;min-width:40px;min-height:38px;padding:7px}.map-screen .floor-strip .chip.active{background:var(--green)}.map-screen>.zoom-controls{z-index:3;bottom:14px;left:12px;right:auto}.map-screen:has(.map-destination)>.zoom-controls{top:125px;bottom:auto}.map-screen .map-destination{z-index:4;overscroll-behavior:contain;gap:6px;max-height:42%;padding:12px 14px;position:absolute;bottom:12px;left:12px;right:12px;overflow:auto;box-shadow:0 3px 14px #0002}.map-destination h3{overflow-wrap:anywhere;min-width:0;font-size:14px}.map-destination .row>.caption{flex-shrink:0}.map-destination .button{min-height:40px;padding:9px 12px;font-size:13px}.map-status{z-index:8;position:absolute;inset:20px;overflow:auto}.map-plan-error{z-index:4;position:absolute;top:135px;left:64px;right:64px}.lesson-card{--lesson-accent:var(--green)}.lesson-card.kind-lab{--lesson-accent:#b91c1c}.lesson-card.kind-lecture{--lesson-accent:#235bb0}.dark .lesson-card.kind-lab{--lesson-accent:#fca5a5}.dark .lesson-card.kind-lecture{--lesson-accent:#a8c8ff}.lesson-card .lesson-content{border-left-color:var(--lesson-accent)}.lesson-card .lesson-type{color:var(--lesson-accent)}@media (height<=500px){.map-toolbar{gap:5px;top:8px;left:10px}.map-toolbar select{min-height:30px;padding:4px 10px}.map-screen .floor-strip{bottom:8px}.map-screen:has(.map-destination)>.zoom-controls{top:110px}.map-screen .map-destination{max-height:43%;padding:8px 12px;left:64px;right:64px}}.map-toolbar .search-field input{background:0 0}.map-screen:has(.map-destination) .floor-strip{bottom:calc(42% + 24px)}@media (height<=500px){.map-screen:has(.map-destination) .floor-strip{bottom:8px}.map-screen>.zoom-controls .icon-button{min-height:32px}}@media (height<=500px) and (width>=600px){.map-screen .map-destination{width:260px;max-height:calc(100% - 100px);left:auto;right:64px}}.map-toolbar{flex-flow:wrap;align-items:flex-start}.map-toolbar .map-search{flex:1;min-width:0}.map-building-picker{background:var(--surface);border:1px solid var(--line);width:50px;height:52px;color:var(--green);border-radius:12px;flex:none;place-items:center;display:grid;position:relative;box-shadow:0 2px 8px #0001}.map-building-picker:focus-within{outline:2px solid var(--green);outline-offset:3px}.map-building-picker select{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.map-toolbar>.notice{flex-basis:100%}:is(.map-screen .floor-strip,.map-screen:has(.map-destination)>.zoom-controls){top:80px}.map-plan-error{top:85px}.lesson-card.kind-practice{--lesson-accent:#b45309}.dark .lesson-card.kind-practice{--lesson-accent:#fdba74}.map-room-targets path{cursor:pointer}.map-room-targets path:focus-visible{fill:var(--green);fill-opacity:.18;stroke:var(--green);stroke-width:2px;vector-effect:non-scaling-stroke;outline:none}.room-outline{pointer-events:none}.room-details{gap:6px;display:grid}.room-affiliation,.room-contact{overflow-wrap:anywhere;font-size:12px}.room-details a{color:var(--green)}.room-details-toggle{text-align:left;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:36px;display:flex}.room-details-body{gap:9px;display:grid}.room-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.room-people summary{cursor:pointer;min-height:32px;padding:5px 0;font-size:13px}.room-person{border-top:1px solid var(--line);gap:4px;padding:10px 0;display:grid}.room-person>a,.room-person>strong{font-size:13px;font-weight:500}.room-source{border-top:1px solid var(--line);padding-top:8px}.map-destination .row>.icon-button{flex-shrink:0;min-width:32px;min-height:32px}.app-shell.messages-mode{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.messages-mode>.app-header{flex:none}.messages-mode>main{flex-direction:column;flex:1;min-height:0;padding:10px 20px 12px;display:flex;overflow:hidden}.messages-mode>.bottom-nav{flex:none;width:100%;position:relative;bottom:auto;left:auto;transform:none}.messages-mode .messages-section{overscroll-behavior:contain;flex:1;min-height:0;padding-bottom:4px;overflow:auto}.messages-mode .messages-section.chat-open{gap:12px;overflow:hidden}.chat-open>.chat-compose-bar,.chat-open>.chat-heading,.chat-open>.notice,.chat-open>.row{flex:none}.chat-open .chat-timeline{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:2px 2px 8px;overflow-y:auto}.chat-open .chat-timeline>*{flex-shrink:0}.chat-open .chat-compose-bar{box-shadow:none;position:relative;bottom:auto}.chat-open .chat-heading{border-bottom:1px solid var(--line);padding:8px 0}@media (height<=500px){.map-toolbar{right:64px}.map-screen .floor-strip{top:8px}.map-screen:has(.map-destination)>.zoom-controls{top:74px}.messages-mode>.app-header{height:calc(56px + var(--tg-safe-top));padding-top:calc(8px + var(--tg-safe-top));padding-bottom:8px}.messages-mode .messages-section.chat-open{gap:6px}.chat-heading .chat-avatar{width:32px;height:32px}.chat-open .chat-compose-bar{min-height:44px;padding:10px 12px}}.chat-open .chat-heading{gap:8px;min-height:44px;padding:4px 0}.chat-open .chat-heading .chat-avatar{border-radius:11px;width:32px;height:32px;font-size:14px}.chat-open .chat-heading h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;line-height:1.3;overflow:hidden}.chat-open .chat-heading .icon-button{flex-shrink:0;min-width:36px;min-height:36px}.messages-section:not(.chat-open)>.row,.messages-section:not(.chat-open)>.search-field{flex:none}.chat-list-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:2px 0 6px;overflow-y:auto}.chat-list-scroll>.notice{margin-bottom:12px}.chat-list-scroll>.button{width:100%;margin-top:14px}.teacher-link{text-align:left;gap:6px;max-width:100%;min-height:32px}.teacher-link span{overflow-wrap:anywhere;min-width:0}.teacher-link:focus-visible,.teacher-link:hover{color:var(--green)}.teacher-backdrop{overscroll-behavior:contain}.teacher-dialog{outline:none;gap:16px}.teacher-search{align-items:center;gap:6px}.teacher-search .search-field{min-width:0}.teacher-search input{font-size:14px}.teacher-identity{align-items:center;gap:12px;display:flex}.teacher-identity h3{font-size:19px;line-height:1.35}.teacher-avatar{width:46px;height:46px;color:var(--green);background:var(--soft);border-radius:15px;flex:none;place-items:center;display:grid}.teacher-contact,.teacher-position{overflow-wrap:anywhere;white-space:pre-line;font-size:13px;line-height:1.6}.teacher-contact{-webkit-user-select:text;user-select:text}.teacher-block{gap:6px;display:grid}.teacher-block>a{color:var(--green);overflow-wrap:anywhere;font-size:13px}.teacher-candidate{text-align:left;background:var(--input);border-radius:13px;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.teacher-candidate>span{gap:5px;min-width:0;display:grid}.teacher-candidate strong{font-size:14px;line-height:1.4}.teacher-candidate small{color:var(--muted);font-size:12px;line-height:1.45}.teacher-candidate>svg{color:var(--green);flex:none}.teacher-places summary{cursor:pointer;padding:8px 0;font-size:13px}.teacher-places .back-link{overflow-wrap:anywhere;font-size:12px}.teacher-places .back-link>span{flex:1}.teacher-places .back-link>svg{flex:none}.subgroup-picker{background:var(--input);border-radius:12px;flex-wrap:wrap;gap:4px;margin:10px 0 6px;padding:3px;display:flex}.subgroup-picker button{white-space:nowrap;min-height:34px;color:var(--muted);border-radius:9px;flex:1;padding:5px 8px;font-size:12px}.subgroup-picker button[aria-pressed=true]{background:var(--soft);color:var(--green);font-weight:600}.lesson-variant{gap:5px;min-width:0;padding-top:7px;display:grid}.lesson-variant.has-subgroup+.lesson-variant{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.subgroup-label{color:var(--muted);font-size:11px;font-weight:600}.lesson-teachers{gap:3px;min-width:0;display:grid}.lesson-teachers .teacher-link{text-align:left;align-items:flex-start;width:100%;min-height:32px;margin:0}.lesson-teachers .teacher-link span{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.lesson-teachers .teacher-link svg{flex-shrink:0;margin-top:2px}.teacher-avatar.with-photo{background:var(--input);border-radius:14px;flex-shrink:0;width:72px;height:88px;overflow:hidden}.teacher-avatar img{-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top;width:100%;height:100%}.messages-toolbar{gap:4px;min-width:0}.messages-toolbar .search-field{min-width:0}.messages-toolbar>.icon-button{flex-shrink:0}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
