/* Shared iOS 18 visual system. Business data and permissions remain in existing modules. */
:root{--ink:#1c1c1e;--muted:#63636b;--secondary:#63636b;--green:#168064;--green-light:#e8f5ee;--blue:#007aff;--line:#e5e5ea;--bg:#f2f2f7;--orange:#996016;--orange-light:#fff3df;--purple:#7855b5;--radius:20px;--ease:cubic-bezier(.2,.75,.25,1);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;line-height:1.5;background:var(--bg);color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body{background:var(--bg)}button{border-color:var(--line);border-radius:11px;min-height:44px;padding:10px 16px;font-weight:550;transition:background-color 160ms,border-color 160ms,color 160ms,transform 160ms var(--ease)}button:disabled{cursor:default;opacity:.46}button:active:not(:disabled){transform:scale(.97)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #007aff66;outline-offset:3px}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.primary:hover{background:#006de5;border-color:#006de5}button.quiet{border-color:transparent;background:transparent;padding:7px 9px;color:var(--blue)}button.small{padding:8px 11px;font-size:13px}button.danger{color:#c63732;background:#fff2f1}button:hover{background:#f4f4f8;border-color:#d4d4db}button.quiet:hover{background:#edf4ff;border-color:transparent}svg.icon{width:21px;height:21px;stroke-width:1.65}a{color:var(--blue)}h1{font-size:32px;letter-spacing:-.8px;font-weight:730;line-height:1.25}h2{font-size:18px;font-weight:650;letter-spacing:-.25px}h3{font-size:15px;font-weight:600}small{font-size:12px}.number-positive{color:var(--green)}.number-negative{color:#c63732}
.demo-strip{height:36px;min-height:36px;position:sticky;top:0;z-index:60;justify-content:center;gap:12px;background:#fff;color:#63636b;font-size:12px;line-height:1.3;border-bottom:1px solid var(--line);padding:0 18px;letter-spacing:0;flex-wrap:nowrap}.demo-strip b{font-size:11px;font-weight:600;letter-spacing:0;color:#886127;padding:3px 7px;background:#faf3e6;border-radius:5px}.demo-strip button{min-height:30px;padding:4px 6px;border:0;background:transparent;font-size:12px;color:var(--blue);text-decoration:none}.demo-strip>button:hover{background:#edf4ff;color:var(--blue)}.demo-strip .demo-long{font-size:11px;color:#76767e}
.sidebar{width:248px;top:36px;bottom:0;background:#fbfbfd;border-right:1px solid var(--line);padding:27px 16px 16px;z-index:55}.brand{gap:11px;min-width:0;padding:0}.brandmark{height:40px;width:40px;background:var(--green);border-radius:12px;flex-shrink:0;font-size:22px}.brandmark .icon{width:25px;height:25px}.brand-name{font-size:15px;font-weight:650;letter-spacing:-.4px;white-space:nowrap}.brand small{font-size:12px;margin-top:4px;letter-spacing:.2px}.sidebar .brand{padding:0 3px}.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:24px}.sidebar-organization{display:flex;align-items:center;gap:10px;background:#efeff4;padding:13px 11px;border-radius:13px;margin:0 0 19px}.sidebar-organization .avatar{height:34px;width:34px;border-radius:9px;background:#fff;color:var(--green)}.sidebar-organization strong{font-size:13px;font-weight:600}.sidebar-organization small{display:block;font-size:11px;margin-top:3px}.nav-label{font-size:12px;letter-spacing:0;color:#76767e;margin:7px 13px 11px}.nav{display:grid;gap:4px;overflow-y:auto;min-height:0;overscroll-behavior:contain;padding-bottom:10px;scrollbar-width:thin}.nav button{border-radius:10px;padding:11px 13px;color:#60606a;gap:11px;font-size:14px;min-height:45px;flex-shrink:0}.nav button.active{background:#e2f1eb;color:#14765e;font-weight:650}.nav button.active:after{display:none}.nav button .nav-text{flex:1;text-align:left}.nav .icon{width:21px;height:21px}.nav .badge{font-size:11px;padding:2px 5px}.sidebar-bottom{padding:12px 7px 0}.sidebar-bottom p{font-size:11px;line-height:1.7;color:#76767e;margin-top:7px}.sidebar-bottom .quiet{font-size:12px;color:#63636b;padding:4px 0;min-height:36px}.sidebar-close,.nav-toggle,.sidebar-scrim{display:none}
.main-shell{margin-left:248px;min-width:0}.topbar{height:74px;position:sticky;top:36px;z-index:40;background:#fbfbfdeb;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid #e5e5eacc;padding:0 32px;gap:16px}.topbar-start{display:flex;align-items:center;min-width:0;gap:12px}.breadcrumb{color:#777780;font-size:13px}.breadcrumb span{color:#333338;margin-left:14px}.breadcrumb .crumb-arrow{display:inline-block;margin-right:13px;color:#aaaab2}.top-right{gap:16px}.profile{gap:9px}.profile-copy{font-size:13px;font-weight:550}.profile small{font-size:11px;font-weight:400;margin-top:2px}.avatar{background:#e7efe9;color:#53725e}.topbar button[data-action="logout"]{font-size:12px;min-height:38px;padding:7px 10px;color:#63636b;background:transparent;border-color:transparent}.topbar button[data-action="logout"]:hover{background:#eeeef3}.content{max-width:1700px;padding:30px 32px 28px;min-width:0;min-height:calc(100dvh - 110px)}.page-head{margin-bottom:25px;gap:20px}.page-head>div:first-child{min-width:0}.page-head p{color:var(--muted);font-size:14px;margin-top:9px;line-height:1.7;max-width:850px}.eyebrow{font-size:12px;color:#6c6c75;margin-bottom:7px;font-weight:500;letter-spacing:.3px}.actions{flex-wrap:wrap}.date-chip{color:#63636b;font-size:13px;border-color:var(--line);border-radius:11px;padding:10px 13px;background:#fff;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}
.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{border-color:#e9e9ef;padding:22px;border-radius:var(--radius);min-width:0;min-height:148px;box-shadow:0 2px 8px #1c1c1e03}.metric-label{font-size:13px;color:#63636b}.metric-label .icon{color:#7b8c88;width:19px;height:19px}.metric-value{font-size:31px;font-weight:650;letter-spacing:-.8px;margin:17px 0 8px;line-height:1.15;overflow-wrap:anywhere}.metric-value em{color:var(--muted)}.metric-foot{font-size:12px;color:#6e6e78;line-height:1.6}.metric-foot b{font-weight:550}.metric.accent{background:#edf6f1;border-color:#dfeee5}.metric.accent .metric-value{color:var(--green)}.grid-main{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:22px}.panel{border-color:#e6e6ee;border-radius:var(--radius);min-width:0;box-shadow:0 2px 8px #1c1c1e03}.panel-head{padding:23px 24px 19px}.panel-head small{font-size:12px;line-height:1.7}.badge{border-radius:7px;padding:5px 8px;font-size:12px;line-height:1.35;background:#f0f0f5;color:#63636b}.badge.green{background:#e8f5ee;color:#237650}.badge.orange{background:#fff3df;color:#9a6825}.badge.purple{background:#f0ebfb;color:#7855a6}.badge.red{background:#fff0ee;color:#b4433d}.badge.gray{background:#f0f0f5;color:#71717a}.schedule-row{gap:15px;padding:21px 0;border-top-color:#eeeef3}.time-block{width:56px;font-size:15px;font-variant-numeric:tabular-nums}.time-block small{font-size:12px}.class-symbol{border-radius:12px;background:#e8f5ee;color:#438168}.class-symbol.purple{color:#8a6bb2;background:#f0ebf9}.class-symbol.orange{color:#b18749;background:#fcf2e1}.schedule-copy h3{font-size:15px}.schedule-copy p{font-size:12px;color:var(--muted);flex-wrap:wrap}.schedule-side{gap:6px}.progress-track{height:6px;background:#eef1f0}.progress-track i{background:#8ab8a4}.notice{padding:14px 16px;border-radius:12px;background:#fbf5e8;color:#8b692c;font-size:12px;line-height:1.8;gap:9px}.notice .icon{width:18px;height:18px;margin-top:1px}.notice.info{background:#eef4fc;color:#536d8b}.notice.danger{background:#fff1ec;color:#a35e48}.task{padding:17px 0;border-bottom-color:#eeeef3}.task-dot{width:34px;height:34px;border-radius:10px;color:#ae853f;background:#fbf3e4;flex-shrink:0}.task-copy{min-width:0}.task-copy b{font-size:14px;font-weight:550}.task-copy small{font-size:12px;margin-top:5px}.task-count{font-size:19px;font-weight:600;color:#80725a}.task button{padding:5px;color:#8b8b94;min-width:36px}
.table-wrap{max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin}table{font-size:14px}th{color:#72727b;background:#f9f9fc;font-weight:500;font-size:12px;padding:14px 22px}td{padding:18px 22px;border-bottom-color:#eeeef4}tbody tr{transition:background-color 130ms}tbody tr:hover{background:#fafafd}td small{font-size:12px;line-height:1.6}td .student-name{font-weight:600}.table-avatar{gap:11px}.table-avatar .avatar{height:35px;width:35px;font-size:12px;border-radius:11px}.table-footer{color:#73737d;font-size:12px;gap:12px}.filters{align-items:center}.filters input,.filters select{height:43px;background:#f7f7fa;font-size:13px}.filters label{font-size:12px;color:var(--muted)}input,select,textarea{border-color:#dedee6;border-radius:10px;color:#303035;min-height:44px;transition:border-color 150ms,box-shadow 150ms}input:focus,select:focus,textarea:focus{border-color:#75b3ff;box-shadow:0 0 0 3px #007aff14}input::placeholder,textarea::placeholder{color:#8b8b94}input[type="checkbox"],input[type="radio"]{min-height:initial;width:17px;height:17px;accent-color:var(--blue);flex-shrink:0}textarea{min-height:90px}input:disabled,select:disabled,textarea:disabled{background:#f2f2f7;color:#8a8a94}.footer{padding:5px 0 0;color:#7c7c86;font-size:12px;gap:12px}.mini-note{font-size:12px;color:#74747e;line-height:1.8}.mini-bars span{font-size:12px;color:#76767e}.culture-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.culture-card{padding:24px;border-color:#e6e6ee;border-radius:var(--radius);min-width:0;box-shadow:0 2px 8px #1c1c1e03}.culture-card h3{font-size:17px}.culture-card .muted{font-size:13px!important;line-height:1.7}.culture-balance{font-size:30px;font-weight:650;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.culture-meta{font-size:12px;color:var(--muted);gap:10px}.culture-card .actions{margin-top:17px}.empty{padding:48px 22px;color:#6f6f79;font-size:14px;line-height:1.8}.tabs{gap:3px;padding:4px;background:#eeeef3;border:0;border-radius:12px;margin:0 24px 22px;width:max-content;max-width:calc(100% - 48px);overflow:auto}.tabs button{min-height:38px;padding:8px 17px;background:transparent;border:0;border-radius:9px;color:#64646e;font-size:13px;white-space:nowrap}.tabs button.active{color:#1c1c1e;background:#fff;border:0;box-shadow:0 1px 4px #00000012}
.modal-backdrop{background:#20212d55;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:100;padding:24px;animation:jr-veil-enter 160ms ease-out}.modal{width:640px;max-height:90dvh;overscroll-behavior:contain;border-radius:24px;box-shadow:0 22px 90px #17172526;animation:jr-sheet-enter 240ms var(--ease);scrollbar-width:thin}.modal-head{padding:23px 25px 18px;gap:15px;position:sticky;top:0;background:#fffffff5;z-index:2}.modal-head h2{font-size:21px;line-height:1.45}.modal-head button{padding:8px;background:#f0f0f5;border-radius:50%;width:36px;height:36px;min-height:36px;flex-shrink:0;color:#7b7b84}.modal-body{padding:24px 25px}.form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.field{font-size:14px}.field small{font-size:12px;line-height:1.7}.modal-foot{padding:18px 25px;background:#fafafd;position:sticky;bottom:0;z-index:2}.form-error{color:#bd3d35;font-size:13px;margin-top:14px;min-height:17px;line-height:1.6;overflow-wrap:anywhere}.detail-line{gap:16px;padding:14px 0;font-size:14px;overflow-wrap:anywhere}.detail-line span{color:var(--muted)}.review-list{gap:18px;font-size:14px}.review-list h3{font-size:15px}.review-list p{color:var(--muted);margin-top:5px}.log-detail{line-height:1.8;overflow-wrap:anywhere}.log-id{font-size:11px;color:#7d7d86}.check{line-height:1.8;color:var(--muted);font-size:13px}#toast{transform:translate(-50%,12px);max-width:min(560px,calc(100vw - 32px));background:#29292e;z-index:160;padding:13px 20px;border-radius:14px;box-shadow:0 6px 24px #17172522;font-size:14px;line-height:1.65;transition:opacity 180ms,transform 220ms var(--ease)}#toast.show{transform:translate(-50%,0)}
.teacher-shell .topbar{height:64px;padding:0 24px}.teacher-shell .brand-name{font-size:15px;letter-spacing:-.4px}.teacher-shell .brandmark{height:32px;width:32px;border-radius:10px}.teacher-shell .brandmark .icon{width:21px;height:21px}.teacher-shell .brand small{display:none}.teacher-shell .main-shell{margin:0}.teacher-shell .profile{display:none}.teacher-shell .content{padding:0;max-width:none}.teacher-shell .top-right{margin-left:auto}
.login-shell{min-height:100svh;display:grid;place-items:center;padding:35px 24px;background:#f2f2f7}.login-frame{width:100%;max-width:1040px;display:grid;grid-template-columns:1.1fr 1fr;border:1px solid #e3e3eb;background:#fff;border-radius:30px;box-shadow:0 18px 70px #25253707;overflow:hidden;animation:jr-sheet-enter 300ms var(--ease)}.login-welcome{background:#eef4f1;padding:48px 42px;display:flex;flex-direction:column;justify-content:space-between;gap:36px}.login-welcome .brand-name{font-size:17px}.login-welcome .brandmark{width:45px;height:45px;border-radius:14px}.login-welcome h2{font-size:32px;line-height:1.5;letter-spacing:-.6px;margin-bottom:15px;color:#253d33}.login-welcome p{font-size:14px;line-height:1.9;color:#64786e;max-width:310px}.login-feature-list{display:grid;gap:18px;margin-top:30px}.login-feature{display:flex;align-items:center;gap:12px;color:#496d5d;font-size:14px}.login-feature .icon{width:20px;height:20px}.login-local{font-size:12px!important;display:flex;align-items:center;gap:7px;color:#6f8379!important}.login-card{padding:48px 40px 34px;min-width:0;width:auto;max-width:none;border:0;border-radius:0;box-shadow:none}.login-card h1{font-size:30px;margin:0;line-height:1.25}.login-subtitle{margin-top:10px;color:var(--muted);font-size:14px;line-height:1.7}.login-role-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:4px;background:#ededf3;border-radius:11px;margin:24px 0}.login-role-picker button{border:0;min-height:36px;padding:6px 2px;background:transparent;font-size:13px;color:#666670;border-radius:8px}.login-role-picker button.active{background:#fff;color:#252529;box-shadow:0 1px 4px #0000000d;font-weight:650}.login-card form{margin:0}.login-card .field{gap:8px;margin-bottom:17px;font-size:14px;font-weight:550;color:#44444c}.login-card input{min-height:48px;padding:12px 14px;border-radius:12px;font-size:16px;font-weight:400;background:#fafafd;border-color:#dedee6;color:var(--ink)}.login-card input:focus{border-color:#75b3ff;box-shadow:0 0 0 3px #007aff14}.login-card input::placeholder{font-size:14px;color:#8b8b94}.password-wrap{position:relative;display:flex}.password-wrap input{padding-right:49px}.password-toggle{position:absolute;right:4px;top:4px;border:0;background:transparent;width:40px;height:40px;min-height:40px;padding:10px;color:#76767f}.password-toggle .icon{width:19px;height:19px}.login-card .form-error{margin:4px 0 0;min-height:19px;font-size:13px}.login-submit{display:flex;width:100%;min-height:48px;padding:12px 18px;margin-top:14px;border-radius:12px;font-size:15px;font-weight:600;letter-spacing:0;box-shadow:none}.login-card .notice{margin-top:21px;font-size:12px;padding:12px 13px;background:#f4f6fb;color:#536d8b;line-height:1.8}.login-credentials{font-size:12px;color:#6c6c76;line-height:1.85;margin-top:19px;padding:13px 14px;border:1px solid #e9e9ee;border-radius:12px;background:#fafafd}.login-credentials summary{cursor:pointer;color:#5f5f69;font-weight:550}.login-credentials p{margin-top:10px}.login-credentials code{background:#eeeef4;color:#545463;padding:3px 5px;border-radius:5px;font-size:12px;user-select:all}.login-card>.mini-note{margin-top:14px;text-align:center;font-size:12px;color:#74747e}.login-build{display:flex;justify-content:space-between;align-items:center;margin-top:22px;color:#7e7e89;font-size:12px}.login-role-note{font-size:12px!important;color:#76767f!important}
@keyframes jr-sheet-enter{from{opacity:0;transform:translateY(15px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes jr-veil-enter{from{opacity:0}to{opacity:1}}
@media(min-width:1700px){.content{padding:38px 40px}.metric{min-height:160px}.schedule-row{padding:25px 0}}
@media(max-width:1180px){.sidebar{width:224px;padding:24px 12px 14px}.main-shell{margin-left:224px}.sidebar .brand-name{font-size:13px}.sidebar .brandmark{width:34px;height:34px;border-radius:10px}.sidebar .brand{gap:8px}.content{padding:26px 24px}.topbar{padding:0 24px}.grid-main{grid-template-columns:1fr}.summary-grid{gap:12px}.metric{padding:18px}.metric-value{font-size:27px}.culture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-right{gap:10px}.profile-copy{display:none}}
@media(max-width:900px){.page-head{align-items:flex-start}.page-head>.actions{max-width:43%;justify-content:flex-end}.page-head h1{font-size:29px}.date-chip{font-size:12px;padding:10px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-frame{max-width:790px;grid-template-columns:.9fr 1.1fr}.login-welcome{padding:35px 28px}.login-welcome h2{font-size:28px}.login-welcome .brand-name{font-size:14px}.login-card{padding:38px 30px}.demo-long{display:none}}
@media(max-width:760px){.demo-strip{height:36px;min-height:36px;padding:0 11px;gap:8px;justify-content:flex-start;font-size:11px;flex-wrap:nowrap}.demo-strip>b{font-size:10px}.demo-strip>span:not(.demo-long){flex:1;white-space:nowrap;font-size:10px}.demo-strip button{font-size:11px;white-space:nowrap;padding:4px 2px;min-height:30px}.sidebar{position:fixed;top:0;bottom:0;width:min(305px,86vw);padding:28px 17px 18px;z-index:120;transform:translateX(-104%);visibility:hidden;transition:transform 250ms var(--ease),visibility 250ms;box-shadow:18px 0 60px #15152610;border-bottom:0}.sidebar .brand-name{font-size:15px}.sidebar .brand{display:flex}.sidebar-brand-row{margin-bottom:24px}.sidebar .brandmark{width:34px;height:34px}.sidebar .brand small{font-size:11px}.sidebar-close{display:flex;min-height:34px;width:34px;height:34px;padding:8px;border:0;border-radius:50%;background:#eeeef4;color:#7a7a83}.sidebar-close .icon{width:18px;height:18px}.sidebar-organization{margin-bottom:15px}.nav-label,.sidebar-bottom{display:block}.nav{display:grid;overflow-x:hidden;overflow-y:auto;gap:5px;padding-bottom:10px}.nav button{min-height:46px;font-size:14px;padding:11px 13px}.nav .icon{width:21px;height:21px}.sidebar-scrim{display:block;position:fixed;inset:0;background:#20212d45;z-index:110;opacity:0;visibility:hidden;transition:opacity 220ms,visibility 220ms}.nav-open .sidebar{transform:translateX(0);visibility:visible}.nav-open .sidebar-scrim{opacity:1;visibility:visible}.nav-open{overflow:hidden}.nav-toggle{display:flex;width:40px;height:40px;min-height:40px;padding:8px;background:transparent;border:0;color:var(--blue)}.main-shell{margin:0}.topbar{height:64px;padding:0 15px;gap:10px}.topbar-start{gap:6px}.breadcrumb{font-size:12px}.breadcrumb>.crumb-parent{display:none}.breadcrumb span{margin:0}.breadcrumb .crumb-arrow{display:none}.top-right{gap:6px}.top-right>.badge{display:none}.profile{display:none}.topbar button[data-action="logout"]{min-height:40px;font-size:12px;padding:8px}.content{padding:23px 16px}.page-head{display:block;margin-bottom:23px}.page-head h1{font-size:30px}.page-head p{font-size:13px;line-height:1.8;max-width:none}.page-head>.actions{max-width:none;justify-content:flex-start;margin-top:16px}.page-head>.actions:empty{display:none}.date-chip{display:none}.eyebrow{font-size:12px;margin-bottom:6px}.summary-grid{gap:11px;margin-bottom:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:18px 16px;min-height:139px;border-radius:17px}.metric-value{font-size:27px;margin-top:15px}.metric-label{font-size:12px;gap:6px}.metric-label .icon{width:17px;height:17px}.metric-foot{font-size:12px}.grid-main{gap:0}.panel{border-radius:18px;margin-bottom:20px}.panel-head{padding:20px 18px 17px;gap:9px;align-items:flex-start}.panel-head h2{font-size:17px}.panel-head small{font-size:12px}.panel-head>.small{font-size:12px;flex-shrink:0}.panel-body{padding:0 18px 20px}.schedule-row{gap:10px;flex-wrap:wrap;padding:18px 0}.time-block{width:45px;font-size:14px}.time-block small{font-size:12px}.class-symbol{width:35px;height:35px;border-radius:10px}.schedule-copy h3{font-size:14px}.schedule-copy p{font-size:12px;gap:5px}.schedule-side{display:flex;max-width:none;width:100%;justify-content:space-between;padding-left:55px;align-items:center;margin-top:1px}.schedule-side button{font-size:12px}.filters{padding:0 18px 18px;gap:9px;align-items:stretch}.filters>*{flex:1 1 135px;min-width:0}.filters input{min-width:0;width:100%}.filters select{max-width:100%}.filters label{flex-wrap:wrap}.filters label input{flex:1;width:auto;min-width:0}.filters .grow{flex-basis:100%}th,td{padding:15px 18px}table{font-size:13px}td small{font-size:12px}.table-footer{flex-direction:column;gap:5px;padding:14px 18px}.culture-grid{grid-template-columns:minmax(0,1fr);gap:0}.culture-card{padding:21px;border-radius:18px}.culture-card h3{font-size:17px}.footer{display:block;line-height:1.9;font-size:11px}.footer span{display:block}.tabs{margin:0 18px 18px;max-width:calc(100% - 36px)}.tabs button{padding:8px 13px;font-size:13px}.actions button{font-size:13px}.modal-backdrop{align-items:flex-end;padding:30px 0 0}.modal{max-height:calc(100dvh - 45px);width:100%;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom);animation:jr-sheet-enter 260ms var(--ease)}.modal-head{padding:20px}.modal-head h2{font-size:20px}.modal-body{padding:21px 20px}.modal-foot{padding:16px 20px}.form-grid{grid-template-columns:minmax(0,1fr);gap:17px}.field.full{grid-column:auto}.field input,.field select,.field textarea{font-size:16px}.detail-line{font-size:13px;flex-wrap:wrap}.notice{font-size:12px}.teacher-shell .topbar{padding:0 17px;gap:8px}.teacher-shell .brand-name{font-size:13px}.teacher-shell .brand{gap:8px}.teacher-shell .top-right{gap:3px}.teacher-shell .topbar .top-right>.badge{display:none}#toast{bottom:25px;font-size:13px}body[data-mode="teacher"] #toast{bottom:105px}.login-shell{padding:25px 16px;align-items:start}.login-frame{display:block;max-width:460px;border:0;border-radius:0;box-shadow:none;background:transparent}.login-welcome{background:transparent;padding:5px 2px 28px;display:block}.login-welcome .brand-name{font-size:17px}.login-welcome .brandmark{width:43px;height:43px}.login-welcome .login-message,.login-welcome>.login-local{display:none}.login-card{padding:29px 24px 24px;border:1px solid #e7e7ee;border-radius:24px;background:#fff;box-shadow:0 3px 20px #00000003}.login-card h1{font-size:29px}.login-role-picker{margin:24px 0}.login-subtitle{font-size:13px}.login-card .notice{font-size:12px}.login-build{padding:0 2px}.login-credentials{font-size:12px}.login-card>.mini-note{font-size:11px}}
.login-card .password-toggle{width:44px;padding:0;font-size:12px;white-space:nowrap}.login-card .eyebrow{font-size:12px;color:#63636b;letter-spacing:.3px}
.boot-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;padding:30px;text-align:center}.boot-screen h1{font-size:24px}.boot-screen p,.boot-screen small{color:#63636b}.boot-mark{width:52px;height:52px;border-radius:16px;background:#168064;color:#fff;display:grid;place-items:center;font-size:25px;font-weight:600}.boot-spinner{width:21px;height:21px;border:2px solid #d4d4de;border-top-color:#007aff;border-radius:50%;animation:jr-spin .8s linear infinite}@keyframes jr-spin{to{transform:rotate(360deg)}}
.overview-grid{align-items:start}.overview-grid>div{min-width:0}.overview-grid .table-wrap th,.overview-grid .table-wrap td{padding:16px 14px}.overview-grid table{font-size:13px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Official logo: the uploaded artwork remains unchanged. */
.brandmark,.boot-mark{overflow:hidden;background:transparent}
.brandmark>img,.boot-mark>img{display:block;width:100%;height:100%;object-fit:contain}
.sidebar-organization .avatar{overflow:hidden;background:transparent}
.sidebar-organization .avatar>img{width:100%;height:100%;display:block}
.login-identity{width:100%;max-width:340px;margin:auto;align-self:center}
.login-identity>img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:22px}
.login-identity>p{margin:17px auto 0;text-align:center;font-size:13px;letter-spacing:1px;color:#496d5d}
.login-welcome{gap:25px}
@media(max-width:760px){.login-welcome{padding-bottom:28px}.login-identity{display:none}}

/* V5.2: one clear brand per surface, with room around the original mark. */
.brand{gap:11px;align-items:center}
.brandmark{width:44px;height:44px;flex:0 0 44px;border-radius:13px;padding:4px;background:#fff;border:1px solid #e4ece7}
.brand-copy{min-width:0}
.brand-name{font-size:18px;font-weight:650;letter-spacing:.3px;line-height:1.35;color:#243c33}
.brand small{font-size:11px;line-height:1.5;letter-spacing:.5px;color:#7c8680;margin-top:3px}
.sidebar .brand{padding:0}
.sidebar .brand-name{font-size:18px}
.sidebar .brandmark{width:44px;height:44px;border-radius:13px}
.sidebar-brand-row{padding:0 4px 23px;border-bottom:1px solid #e8ebe9;margin-bottom:22px}
.sidebar .nav-label{margin-top:0;margin-bottom:12px}
.sidebar .nav{gap:5px}
.boot-mark{padding:5px;background:#fff;border:1px solid #e4ece7}
.teacher-shell .brand-name{font-size:17px}
.teacher-shell .brandmark{width:40px;height:40px;flex-basis:40px;padding:4px;border-radius:12px}
.teacher-shell .brand small{display:block;font-size:11px}
.login-shell{padding:42px 24px;background:#f3f5f6;grid-template-columns:minmax(0,1fr);place-items:center}
.login-layout{width:100%;max-width:448px;animation:jr-sheet-enter 240ms var(--ease)}
.login-card{width:100%;padding:34px 38px 25px;border:1px solid #e5e9e7;border-radius:26px;background:#fff;box-shadow:0 12px 44px #243c3307}
.login-brand{display:flex;justify-content:center;padding:0 0 27px;border-bottom:1px solid #edf0ee}
.login-brand .brand{gap:14px;margin:0}
.login-brand .brandmark{width:56px;height:56px;flex-basis:56px;padding:5px;border-radius:16px;border-color:#e3ece6}
.login-brand .brand-name{font-size:24px;font-weight:650;letter-spacing:1px}
.login-brand .brand small{font-size:12px;letter-spacing:2px;margin-top:4px;color:#7b877f}
.login-heading{padding-top:27px;margin-bottom:26px;text-align:center}
.login-heading h1{font-size:25px;font-weight:650;letter-spacing:.2px;line-height:1.4;color:#252b28}
.login-heading p{font-size:13px;color:#8a928d;margin-top:7px;line-height:1.7}
.login-account-label{font-size:12px;color:#7c8580;margin-bottom:8px}
.login-role-picker{margin:0 0 23px;padding:4px;background:#f0f3f1;border-radius:11px;gap:3px}
.login-role-picker button{min-height:39px;font-size:13px;color:#758078;border-radius:8px}
.login-role-picker button.active{color:#176343;box-shadow:0 1px 5px #20392c0c}
.login-card .field{font-size:13px;color:#555f59;gap:9px;margin-bottom:18px}
.login-card input{background:#fafbfa;border-color:#e3e8e4;border-radius:10px;min-height:48px;padding:12px 14px;font-size:15px}
.login-card input:focus{border-color:#5c9b7b;box-shadow:0 0 0 3px #1880520b}
.login-card input::placeholder{font-size:14px;color:#9aa29d}
.login-card .password-wrap input{padding-right:54px}
.login-card .password-toggle{color:#7d8982;right:4px;top:4px}
.login-card .form-error:empty{display:none}
.login-card .form-error:not(:empty){margin:0 0 13px;min-height:0}
button.login-submit{background:#087d52;border-color:#087d52;border-radius:11px;min-height:48px;margin-top:6px;justify-content:center;gap:10px;font-size:15px;box-shadow:0 3px 8px #087d5212}
button.login-submit:hover{background:#066b46;border-color:#066b46}
.login-submit .icon{width:17px;height:17px}
.login-credentials{padding:13px 0 0;border:0;border-radius:0;background:transparent;margin-top:13px;font-size:12px;text-align:center;color:#8b938d}
.login-credentials summary{color:#7b8780;font-weight:400;font-size:12px}
.login-credentials[open]{text-align:left;background:#f7f9f7;padding:13px 14px;border-radius:11px}
.login-credentials[open] summary{text-align:center}
.login-environment{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:24px;font-size:11px;color:#9aa49c;line-height:1.5}
.login-environment .icon{width:14px;height:14px;color:#91a195}
.login-build{margin:19px 9px 0;color:#a0a8a2;font-size:11px}
@media(max-width:760px){
 .sidebar-brand-row{padding:0 0 23px;margin-bottom:22px}
 .sidebar .brand-name{font-size:18px}
 .sidebar .brandmark{width:44px;height:44px}
 .teacher-shell .brand{gap:9px}
 .teacher-shell .brandmark{width:36px;height:36px;flex-basis:36px;padding:3px;border-radius:10px}
 .teacher-shell .brand-name{font-size:16px;letter-spacing:.4px}
 .teacher-shell .brand small{font-size:10px;letter-spacing:.4px;margin-top:1px}
 .teacher-shell .topbar{padding:0 17px}
 .login-shell{padding:28px 18px;align-items:center;min-height:100svh}
 .login-card{padding:28px 25px 24px;border-radius:23px}
 .login-brand{padding-bottom:23px}
 .login-brand .brandmark{width:50px;height:50px;flex-basis:50px;border-radius:14px}
 .login-brand .brand-name{font-size:22px}
 .login-brand .brand small{font-size:11px}
 .login-heading{padding-top:23px;margin-bottom:23px}
 .login-heading h1{font-size:24px}
 .login-card input{font-size:16px}
 .login-build{margin-top:16px;font-size:10px}
}
@media(max-width:359px){.login-shell{padding:20px 14px}.login-card{padding:25px 20px 22px}.login-role-picker button{font-size:12px}.login-environment{font-size:10px}.teacher-shell .brand-name{font-size:15px}}

/* V5.3: the mark is a quiet, unframed signature beside the name. */
.brandmark,.sidebar .brandmark,.teacher-shell .brandmark,.login-brand .brandmark,.boot-mark{
 border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;overflow:visible;
}
.brandmark{width:36px;height:36px;flex-basis:36px}
.sidebar .brandmark{width:36px;height:36px;flex-basis:36px}
.teacher-shell .brandmark{width:34px;height:34px;flex-basis:34px}
.login-brand .brandmark{width:44px;height:44px;flex-basis:44px}
.boot-mark{width:44px;height:44px}
.brandmark>img,.boot-mark>img{object-fit:contain;display:block;filter:none;opacity:1}
.brand-name{color:#304b40;font-weight:600}
.brand small{color:#828b85}
.login-brand .brand{gap:13px}
.login-brand .brand-name{font-size:23px;font-weight:600;letter-spacing:.8px;color:#304b40}
.login-brand .brand small{color:#858f88;letter-spacing:1.5px}
@media(max-width:760px){
 .teacher-shell .brandmark{width:30px;height:30px;flex-basis:30px}
 .teacher-shell .brand{gap:10px}
 .login-brand .brandmark{width:40px;height:40px;flex-basis:40px}
 .login-brand .brand-name{font-size:22px}
}
