:root{color:#19212a;background:#f7f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#eaf7ff 0,#f7f8fb 34%,#fff8ef)}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;max-width:560px;margin:0 auto;padding:18px 16px 96px}.splash-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-content:center;place-items:center;background:radial-gradient(circle at 50% 42%,#fff 0,#fff 34%,#dff5ff);color:#19212a}.splash-mark{display:grid;width:92px;height:92px;margin-bottom:18px;place-items:center;border-radius:24px;background:#246bfe;color:#fff;font-size:2rem;font-weight:900;box-shadow:0 18px 40px #246bfe47}.splash-screen h1{margin-bottom:8px;font-size:2.3rem;font-weight:900}.splash-screen p{margin-bottom:0;color:#617085;font-weight:700}.splash-enter-active{transition:opacity .46s ease,transform .46s ease}.splash-leave-active{transition:opacity .42s ease,transform .42s ease}.splash-enter-from,.splash-leave-to{opacity:0}.splash-enter-from{transform:scale(.98)}.splash-leave-to{transform:scale(1.03)}.auth-screen{display:grid;min-height:calc(100vh - 120px);align-content:center;gap:18px;padding:18px 0 24px}.auth-hero{display:grid;place-items:center;text-align:center}.auth-hero .splash-mark{width:78px;height:78px;margin-bottom:16px;border-radius:22px;font-size:1.7rem}.auth-hero h1{margin-bottom:10px;font-size:2rem;font-weight:900}.auth-hero p:last-child{max-width:300px;margin-bottom:0;color:#68758a;font-weight:700;line-height:1.5}.auth-card{border:1px solid #e3e8f0;border-radius:22px;background:#ffffffeb;box-shadow:0 18px 42px #2539591f;padding:16px}.auth-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:16px;padding:4px;border-radius:16px;background:#f1f5fb}.auth-tabs button{min-height:42px;border:0;border-radius:13px;background:transparent;color:#68758a;font-weight:900}.auth-tabs button.active{background:#fff;color:#246bfe;box-shadow:0 8px 22px #2539591f}.auth-form{display:grid;gap:12px}.auth-form label{margin-bottom:0}.auth-note{margin:0;border-radius:14px;background:#edf4ff;color:#3c5f9b;padding:11px 12px;font-size:.9rem;font-weight:800;line-height:1.45}.auth-error{margin:0;border-radius:14px;background:#fff1f3;color:#bd2138;padding:11px 12px;font-size:.9rem;font-weight:800;line-height:1.45}.top-bar{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:18px;padding-top:env(safe-area-inset-top)}.top-bar>div:first-child{flex:1 1 auto}.eyebrow{margin:0 0 5px;color:#68758a;font-size:.78rem;font-weight:700}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:1.55rem;letter-spacing:0}h2{margin-bottom:10px;font-size:1.08rem;letter-spacing:0}.icon-button{position:relative;display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border:1px solid #e3e8f0;border-radius:14px;background:#fff;color:#19212a;box-shadow:0 8px 24px #2539591a}.badge{position:absolute;top:5px;right:5px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ff5a66;color:#fff;font-size:.68rem;line-height:16px}.role-switcher,.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:18px 0;padding:4px;border:1px solid #dfe4db;border-radius:14px;background:#ffffffd6;box-shadow:0 8px 24px #25395914}.segmented{grid-template-columns:repeat(2,1fr);margin:0 0 12px}.role-switcher button,.segmented button{min-height:38px;border:0;border-radius:12px;background:transparent;color:#68758a;font-weight:700}.role-switcher button.active,.segmented button.active{background:#246bfe;color:#fff;box-shadow:inset 0 -2px #0000002e}.screen{display:grid;gap:14px}.summary-card,.panel,.form-card{border:1px solid #e3e8f0;border-radius:18px;background:#fff;box-shadow:0 14px 34px #2539591a}.summary-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:linear-gradient(135deg,#fff 0,#eef7ff 54%,#fff4df)}.summary-card p:last-child,.item-header p,.profile-panel p{margin-bottom:0;color:#68758a}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quick-grid button{display:flex;min-height:78px;align-items:center;justify-content:center;gap:8px;border:1px solid #e3e8f0;border-radius:16px;background:#fff;color:#19212a;font-weight:800;box-shadow:0 10px 24px #25395914}.panel,.form-card{padding:16px}.item-header{display:flex;justify-content:space-between;gap:14px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #eef2f7}.list-row:first-of-type{border-top:0}.list-row strong,.list-row span{display:block}.list-row span{margin-top:4px;color:#68758a;font-size:.9rem}.pill{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#edf4ff;color:#246bfe;font-size:.78rem;font-weight:800}label{display:grid;gap:7px;margin-bottom:12px;color:#59677a;font-size:.86rem;font-weight:800}input,textarea,select{width:100%;border:1px solid #ccd6ce;border-radius:14px;background:#fff;color:#19212a;outline:none}input,select{height:44px;padding:0 12px}textarea{min-height:88px;resize:vertical;padding:12px}input:focus,textarea:focus,select:focus{border-color:#246bfe;box-shadow:0 0 0 4px #246bfe24}.student-context{display:grid;gap:10px;margin:0 0 18px;padding:16px;border:2px solid #246bfe;border-radius:18px;background:linear-gradient(135deg,#fff 0,#edf4ff);box-shadow:0 14px 32px #2539591a}.student-context strong,.student-context span{display:block}.student-context span,.form-target{margin:4px 0 0;color:#68758a;font-size:.9rem}.form-target{margin-bottom:12px}.student-select-label{margin-bottom:0}.student-select-label select{min-height:48px;border:2px solid #246bfe;background:linear-gradient(45deg,transparent 50%,#246bfe 50%) calc(100% - 19px) 50% / 7px 7px no-repeat,linear-gradient(135deg,#fff 0,#f7fbff);color:#19212a;font-weight:900;-webkit-appearance:none;-moz-appearance:none;appearance:none}.primary-button,.secondary-button,.danger-button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:8px;border-radius:14px;font-weight:900}.primary-button{border:0;background:linear-gradient(135deg,#246bfe 0,#18a999);color:#fff;box-shadow:0 10px 24px #246bfe38}.secondary-button{border:1px solid #dbe5f4;background:#fff;color:#243042}.danger-button{border:1px solid #ffd7dc;background:#fff6f7;color:#c5283d}.primary-button:active,.secondary-button:active,.danger-button:active,.quick-grid button:active,.icon-button:active{transform:translateY(1px) scale(.99)}.action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compact-actions{margin-top:14px}.compact-actions .secondary-button,.compact-actions .danger-button{min-height:40px;border-radius:12px}.inline-edit{display:grid;gap:12px}.weekday-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weekday-picker button{min-width:0;min-height:42px;border:1px solid #dbe5f4;border-radius:12px;background:#fff;color:#59677a;font-weight:900}.weekday-picker button.active{border-color:#246bfe;background:#edf4ff;color:#246bfe}.calendar-panel{display:grid;gap:10px}.calendar-header{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px}.calendar-header h2{margin-bottom:0;text-align:center}.calendar-nav{display:grid;width:42px;height:42px;place-items:center;border:1px solid #dbe5f4;border-radius:12px;background:#fff;color:#243042;font-size:1.4rem;font-weight:900}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekdays span{color:#68758a;font-size:.76rem;font-weight:900;text-align:center}.calendar-cell{display:grid;min-height:72px;align-content:start;gap:5px;border:1px solid #eef2f7;border-radius:10px;background:#fbfcff;padding:7px 5px}.calendar-cell.empty{background:transparent;border-color:transparent}.calendar-cell strong{color:#243042;font-size:.82rem}.calendar-entry-list{display:grid;gap:3px}.calendar-entry-list span{overflow:hidden;border-radius:999px;background:#eaf7f4;color:#157f73;padding:3px 5px;font-size:.66rem;font-weight:900;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.comments{display:grid;gap:8px;margin-top:14px}.comment{border-radius:14px;background:#f6f8fb;padding:10px 12px;color:#354255;font-size:.92rem}.comment p{margin-bottom:0}.comment-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.comment-meta strong{color:#19212a;font-size:.82rem}.comment-meta span{flex:0 0 auto;color:#7b8798;font-size:.75rem;font-weight:700}.comment-input{display:grid;grid-template-columns:1fr 42px;gap:8px}.comment-input button{display:grid;height:44px;place-items:center;border:0;border-radius:14px;background:#19212a;color:#fff}.upload-box{display:grid;gap:10px;margin:14px 0;padding:12px;border-radius:16px;background:#f6f8fb}.submission-row{border-top:1px solid #eef2f7;padding:12px 0}.submission-row:first-of-type{border-top:0}.submission-row .list-row{border-top:0;padding:0}.nested-comments{margin-top:12px}.file-button{display:flex;min-height:52px;align-items:center;justify-content:center;gap:8px;margin-bottom:0;border:1px dashed #9eb3d7;border-radius:14px;background:#fff;color:#246bfe}.file-button input{display:none}.file-name{margin-bottom:0;color:#68758a;font-size:.9rem}.profile-panel{display:grid;place-items:center;text-align:center}.empty{margin-bottom:0;color:#68758a}.bottom-nav{position:fixed;right:0;bottom:0;left:0;display:grid;max-width:560px;grid-template-columns:repeat(5,1fr);gap:4px;margin:0 auto;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e3e8f0;background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav button{display:grid;min-height:52px;place-items:center;border:0;border-radius:16px;background:transparent;color:#68758a;font-size:.72rem;font-weight:800}.bottom-nav button.active{background:#edf4ff;color:#246bfe}@media(min-width:720px){.app-shell{padding-top:28px}}
