:root{font-family:DM Sans,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#182238;background:#f5f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;font-weight:400;--ink: #182238;--muted: #67738a;--line: #e3e7ee;--paper: #ffffff;--canvas: #f5f6f8;--blue: #465bd4;--blue-soft: #edf0ff;--red: #bd4b52;--red-soft: #fff0ef;--green: #2b806a}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #90a0ff;outline-offset:2px}.app-shell{min-height:100vh;display:flex;flex-direction:column}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#edf0ff,#f5f6f8 55%)}.auth-card{width:min(100%,430px);padding:36px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 18px 60px #1e2d4b17}.auth-card .brand{margin-bottom:36px}.auth-card h1{margin-bottom:8px}.auth-copy{color:var(--muted);font-size:14px;line-height:1.5}.auth-card form{display:grid;gap:16px;margin-top:24px}.auth-card label{display:grid;gap:7px;color:#4e5a72;font-size:13px;font-weight:700}.auth-card input{min-height:46px;padding:0 12px;border:1px solid var(--line);border-radius:10px}.auth-submit{width:100%}.auth-toggle{width:100%;margin-top:18px}.auth-error{margin:0;color:var(--red);font-size:13px}.auth-hint{margin:-8px 0 0;color:var(--muted);font-size:12px}.topbar{height:68px;padding:0 max(20px,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fffc}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font:800 19px Manrope,sans-serif;letter-spacing:-.5px}.brand-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--blue);color:#fff;font-size:16px}.topbar-note,.eyebrow{color:#8791a4;font-size:10px;font-weight:700;letter-spacing:1.45px}.app-main{width:min(100% - 32px,1180px);margin:0 auto;padding:35px 0 54px;flex:1}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:28px;flex-wrap:wrap}.eyebrow{margin:0 0 9px}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink);font-family:Manrope,DM Sans,sans-serif}h1{margin-bottom:7px;font-size:clamp(28px,5vw,42px);line-height:1.12;letter-spacing:-1.7px}h2{margin-bottom:0;font-size:20px;line-height:1.2;letter-spacing:-.5px}h3{margin-bottom:0;font-size:15px;line-height:1.35;letter-spacing:-.2px}.selected-date{margin:0;color:var(--muted);font-size:14px}.date-nav{display:flex;align-items:center;gap:8px}.icon-button,.today-button{height:44px;min-width:44px;border:1px solid var(--line);border-radius:12px;background:var(--paper);cursor:pointer}.icon-button{font-size:24px;line-height:1;color:#5b6680}.icon-button:hover,.today-button:hover{border-color:#c5cce0;background:#fbfcff}.date-nav input[type=date]{height:44px;min-width:146px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}.today-button{padding:0 14px;color:var(--blue);font-weight:700}.page-actions{display:flex;align-items:center;gap:10px}.view-switch{display:flex;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.view-switch button{min-height:34px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:12px;font-weight:700;cursor:pointer}.view-switch button.is-active{background:var(--blue-soft);color:var(--blue)}.add-event-button{white-space:nowrap}.filter-panel{display:grid;grid-template-columns:140px 1fr 1fr;align-items:start;gap:18px;padding:19px 21px;margin-bottom:30px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:0 5px 18px #1e2d4b06}.filter-heading{align-items:center}.filter-heading h2{font-size:17px}.text-button{padding:7px 4px;border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:700;cursor:pointer}.filter-group{min-width:0;padding:0;margin:0;border:0}.filter-group legend{padding:0;margin-bottom:9px;color:#68748b;font-size:11px;font-weight:700}.filter-options{display:flex;flex-wrap:wrap;gap:7px}.filter-option{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#4e5a72;font-size:11px;cursor:pointer}.filter-option:has(input:checked){border-color:#cad1ff;background:var(--blue-soft);color:#3449b9}.filter-option input{width:15px;height:15px;margin:0;accent-color:var(--blue)}.filter-note,.small-note{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.today-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.82fr);align-items:start;gap:25px}.agenda-section,.deadline-section{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.section-heading .eyebrow{margin-bottom:5px}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:26px;padding:0 9px;border-radius:99px;background:#edf0f5;color:#5d6880;font-size:11px;font-weight:700}.event-list{display:grid;gap:10px}.event-card{display:block;padding:0;overflow:hidden;border:1px solid var(--line);border-left:3px solid #9aa5bb;border-radius:14px;background:var(--paper);box-shadow:0 4px 14px #1e2d4b06}.event-card__summary{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 13px;border:0;background:transparent;text-align:left;cursor:pointer}.event-card__summary:hover{background:#fbfcff}.event-card__summary .event-card__main{flex:1}.event-card__chevron{flex:0 0 auto;color:var(--muted);font-size:17px;line-height:1.3}.event-card__details{padding:0 16px 13px;border-top:1px solid var(--line)}.event-card__details p{margin:11px 0;color:var(--muted);font-size:12px;line-height:1.55;white-space:pre-wrap}.event-card__details[hidden]{display:none}.event-card.category-class{border-left-color:#5368d7}.event-card.category-meeting{border-left-color:#2b806a}.event-card.category-club-event{border-left-color:#a36abb}.event-card.category-deadline{border-left-color:#dd9a45}.event-card.category-university-event-holiday{border-left-color:#4c9a84}.event-card.category-announcement{border-left-color:#7291b1}.event-card.is-overdue{border-color:#f0d0ce;border-left-color:var(--red);background:#fffdfd}.event-card__main{min-width:0}.event-card__heading{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px}.event-card__when,.event-card__location{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.event-card__location{color:#495773}.category-pill,.status-pill{display:inline-flex;flex:0 0 auto;align-items:center;min-height:23px;padding:3px 8px;border-radius:99px;background:#f0f2f6;color:#5b6780;font-size:10px;font-weight:700}.category-class .category-pill{background:#edf0ff;color:#4559c5}.category-meeting .category-pill{background:#eaf6f2;color:#337d68}.category-club-event .category-pill{background:#f6edfa;color:#89539f}.category-deadline .category-pill{background:#fff3e2;color:#966019}.category-university-event-holiday .category-pill{background:#eaf6f2;color:#337d68}.status-pill--upcoming{background:#eaf6f2;color:#347d69}.status-pill--overdue{background:var(--red-soft);color:var(--red)}.eyebrow--danger{color:var(--red)}.eyebrow--accent{color:var(--blue)}.deadline-column{display:grid;gap:25px}.deadline-section{padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff}.deadline-section .section-heading{margin-bottom:12px}.deadline-section .event-card{padding:0;box-shadow:none}.deadline-section .event-card__summary{padding:13px 10px}.deadline-section .event-card__heading{display:block}.deadline-section .event-card__heading .status-pill{margin-top:6px}.count-pill--danger{background:var(--red-soft);color:var(--red)}.deadline-paused h2{margin-bottom:8px}.state-card,.empty-card{display:flex;align-items:center;gap:15px;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}.state-card h2,.empty-card h3{margin:0 0 5px;font-size:16px}.state-card p,.empty-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.state-card--error{justify-content:space-between;border-color:#f0d0ce;background:snow}.state-card--error h2{color:#8d383f}.primary-button{min-height:44px;padding:0 16px;border:0;border-radius:11px;background:var(--blue);color:#fff;font-weight:700;cursor:pointer}.primary-button:hover{background:#364bbf}.loading-dot{width:19px;height:19px;flex:0 0 auto;border:2px solid #d9defc;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-card{min-height:150px;flex-direction:column;justify-content:center;text-align:center}.empty-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--blue-soft);color:var(--blue);font-size:18px}.page-footer{display:flex;justify-content:space-between;width:min(100% - 32px,1180px);margin:0 auto;padding:17px 0 23px;border-top:1px solid var(--line);color:#8892a5;font-size:11px}.calendar-panel{padding:20px;margin-bottom:25px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}.calendar-panel__header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.calendar-panel__header .eyebrow{margin-bottom:4px}.calendar-month-nav{display:flex;align-items:center;gap:7px}.calendar-month-nav .today-button{height:40px}.calendar-grid,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.month-grid__weekday{padding:9px 4px;color:var(--muted);font-size:11px;font-weight:700;text-align:center}.month-grid__day{min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;padding:8px 3px 5px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--ink);font-size:13px;cursor:pointer}.month-grid__day:hover{background:#f5f6fb}.month-grid__day.is-outside{color:#a7afbf}.month-grid__day.is-selected{border-color:#cbd2ff;background:var(--blue-soft);color:#3449b9;font-weight:800}.month-grid__day.is-today:not(.is-selected) span{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:var(--blue);color:#fff}.month-grid__dot{width:5px;height:5px;border-radius:50%;background:var(--blue)}.calendar-panel__hint{margin:12px 0 0;color:var(--muted);font-size:12px}.modal-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;overflow-y:auto;background:#1720336b}.event-editor{width:min(100%,560px);padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 25px 80px #14213c33}.event-editor__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.event-editor__header .eyebrow{margin-bottom:5px}.event-editor__header h2{font-size:22px}.event-editor__close{min-width:36px;height:36px;border-radius:10px;font-size:23px}.event-editor__form{display:grid;gap:13px}.event-editor__form label{display:grid;gap:6px;color:#4e5a72;font-size:12px;font-weight:700}.event-editor__form input:not([type=checkbox]),.event-editor__form select,.event-editor__form textarea{width:100%;min-height:43px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:13px}.event-editor__form textarea{resize:vertical}.event-editor__times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.event-editor__all-day{display:flex!important;align-items:center;gap:8px!important}.event-editor__all-day input{width:16px;height:16px;accent-color:var(--blue)}.event-editor__actions{display:flex;align-items:center;gap:9px;margin-top:4px}.event-editor__actions span{flex:1}.secondary-button{min-height:44px;padding:0 15px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-weight:700;cursor:pointer}.secondary-button:hover{background:#f8f9fc}.text-button--danger{color:var(--red)}.event-editor__actions button:disabled{opacity:.6;cursor:wait}@media(max-width:850px){.filter-panel{grid-template-columns:1fr;gap:17px}.filter-heading{align-items:center}.today-layout{grid-template-columns:1fr;gap:23px}.deadline-column{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}@media(max-width:560px){.topbar{height:58px;padding:0 17px}.topbar-note{font-size:9px;letter-spacing:1px}.app-main{width:min(100% - 28px,1180px);padding:27px 0 38px}.page-intro{display:block;margin-bottom:21px}.page-intro>div{margin-bottom:17px}.page-actions{justify-content:space-between;margin-top:13px}.date-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px auto}.date-nav input[type=date]{width:100%;min-width:0}.today-button{padding:0 11px}.filter-panel{padding:16px 14px;margin-bottom:23px;border-radius:15px}.filter-options{gap:6px}.filter-option{min-height:42px;padding:7px 9px;font-size:11px}.deadline-column{grid-template-columns:1fr;gap:14px}.deadline-section{padding:15px}.event-card{padding:14px 12px}.event-card{padding:0}.event-card__summary{padding:14px 10px}.category-pill{white-space:normal;text-align:center;max-width:125px}.state-card{align-items:flex-start}.state-card--error{flex-direction:column}.page-footer{width:min(100% - 28px,1180px);font-size:10px}.calendar-panel{padding:14px 10px;border-radius:15px}.month-grid__day{min-height:46px}.event-editor{padding:18px 15px;border-radius:17px}.event-editor__times{grid-template-columns:1fr}.event-editor__actions{flex-wrap:wrap}.event-editor__actions span{display:none}.event-editor__actions .text-button--danger{margin-right:auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
