
/* Focused application workspace */
body:has(.studio){background:#f4f6fa;color:#172c45}.wrap:has(.studio){max-width:1240px;padding:24px 32px}.studio{margin:0 auto}.studio-heading{display:flex;justify-content:space-between;align-items:center;padding:30px 0 26px;gap:20px}.studio-heading h1{font-size:30px;line-height:1.4;letter-spacing:-.5px;margin:5px 0}.studio-heading p{margin:5px 0 0;color:#64748b;font-size:14px}.studio-overline{font-size:12px;font-weight:600;color:#6e7c90}.studio-term{font-size:13px;background:white;border:1px solid #dce3eb;border-radius:10px;padding:9px 14px;white-space:nowrap}.studio-grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.studio-sidebar{position:sticky;top:24px;display:grid;gap:16px}.studio-group{padding:24px;border-radius:18px;background:#173557;color:#fff;box-shadow:0 8px 22px #17355712}.studio-group .studio-overline{color:#b5c8de}.studio-group h2{font-size:23px;line-height:1.6;margin:12px 0 8px;color:#fff;overflow-wrap:anywhere}.studio-group p{font-size:13px;color:#c1d1e4;line-height:1.7;margin:0}.studio-schedule{display:flex;gap:12px;align-items:center;border-top:1px solid #ffffff26;margin-top:22px;padding-top:20px;font-size:15px}.studio-schedule svg{width:22px;height:22px;color:#9cc5ff;flex-shrink:0}.studio-schedule small{display:block;font-size:12px;color:#c1d1e4;margin-top:4px}.studio-progress{padding:20px;background:white;border:1px solid #e1e7ef;border-radius:16px}.studio-progress>div{display:flex;justify-content:space-between;font-size:13px;gap:10px}.studio-progress span{font-weight:700;color:#275bcd}.studio-progress progress{appearance:none;width:100%;height:6px;display:block;margin:14px 0 10px;border:0;border-radius:9px;background:#e9eef6}.studio-progress progress::-webkit-progress-bar{background:#e9eef6;border-radius:9px}.studio-progress progress::-webkit-progress-value{background:#386be7;border-radius:9px}.studio-progress progress::-moz-progress-bar{background:#386be7;border-radius:9px}.studio-progress p{font-size:12px;color:#7d8999;margin:0}.studio-progress a{display:flex;gap:8px;align-items:center;margin-top:18px;font-size:13px;color:#285bd0}.studio-progress svg{width:18px;height:18px}.studio-records{background:#fff;border:1px solid #e1e7ef;border-radius:18px;overflow:hidden}.studio-records-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 24px;border-bottom:1px solid #edf0f5}.studio-records-head h2{font-size:19px;margin:0}.studio-records-head p{font-size:12px;color:#7d8999;margin:5px 0 0}.studio-records-head>span{font-size:12px;color:#738197;white-space:nowrap}.studio-week{display:flex;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #edf0f5;min-height:103px}.studio-week:last-child{border-bottom:0}.studio-week.is-current{background:#f1f6ff;box-shadow:inset 3px 0 #3269e8}.studio-week-number{width:43px;height:43px;display:grid;place-items:center;border:1px solid #e3e9f2;border-radius:12px;background:#fff;color:#49617b;font-size:17px;font-weight:700;flex-shrink:0}.is-current .studio-week-number{background:#3269e8;border-color:#3269e8;color:#fff}.studio-week-content{min-width:0;flex:1}.studio-week-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#718096;font-size:11px}.studio-week-meta b{font-size:10px;background:#deebff;color:#275bd2;padding:2px 7px;border-radius:5px}.studio-week h3{font-size:14px;font-weight:600;line-height:1.65;margin:5px 0 0;color:#233d5a}.studio-week-content p{font-size:12px;color:#7d8999;margin:5px 0}.studio-week-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:205px}.studio-status{font-size:11px;white-space:nowrap;color:#8a94a3}.status-missing{color:#ad7218}.status-done{color:#208466}.status-exempt{color:#8a76a4}.studio-action{display:inline-flex;align-items:center;gap:6px;background:#3269e8;color:#fff;border-radius:10px;min-height:40px;padding:8px 14px;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}.studio-action svg{width:16px;height:16px}.studio-action:hover{background:#2455c4}.studio-action.secondary{background:#edf2fb;color:#315ea7}.studio-view{font-size:12px;color:#315ea7}.studio-week.is-future .studio-week-number{background:#f8f9fb;color:#9aa6b6}.studio-groups{display:grid;gap:8px;margin-top:18px}.studio-groups a{font-size:12px;color:#bfd3ee;border:1px solid #ffffff22;padding:8px;border-radius:8px}.studio-groups a.selected{background:#ffffff16;color:#fff}.studio-empty{padding:48px 24px;text-align:center;background:white;border:1px solid #e1e7ef;border-radius:18px}.studio-empty>span svg{width:40px;height:40px;color:#8b9db3}.studio-empty h2{font-size:21px;margin-top:16px}.studio-empty p{font-size:14px;color:#76869a}
@media(max-width:1000px){.studio-grid{grid-template-columns:230px minmax(0,1fr);gap:18px}.studio-week{padding:18px;gap:12px}.studio-week-actions{max-width:100px}.studio-group{padding:20px}}
@media(max-width:760px){.wrap:has(.studio){padding:16px}.studio-heading{padding:22px 0}.studio-heading h1{font-size:26px}.studio-grid{grid-template-columns:1fr;gap:18px}.studio-sidebar{position:static;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}.studio-group{padding:18px}.studio-group h2{font-size:20px;margin:7px 0}.studio-group p{font-size:12px}.studio-schedule{margin-top:12px;padding-top:12px}.studio-progress{padding:18px}.studio-week{padding:16px}.studio-week-actions{max-width:170px}.studio-records-head{padding:18px}}
@media(max-width:480px){.studio-heading{align-items:flex-start;gap:10px}.studio-heading h1{font-size:25px}.studio-overline{font-size:10px}.studio-term{font-size:11px;padding:7px 9px}.studio-sidebar{grid-template-columns:1fr}.studio-group{display:grid;grid-template-columns:1fr auto;column-gap:14px}.studio-group .studio-overline,.studio-group h2,.studio-group p{grid-column:1}.studio-schedule{grid-column:2;grid-row:1/4;border-top:0;border-left:1px solid #ffffff26;padding:0 0 0 14px;margin:0;align-self:center;font-size:13px}.studio-group h2{font-size:18px}.studio-group p{font-size:11px}.studio-progress{padding:15px 18px}.studio-groups{grid-column:1/-1}.studio-week{gap:12px;flex-wrap:wrap;align-items:flex-start}.studio-week-number{width:37px;height:37px;font-size:15px}.studio-week-content{flex-basis:calc(100% - 55px)}.studio-week-actions{margin-left:49px;max-width:none;width:calc(100% - 49px);justify-content:flex-start}.studio-week.is-future .studio-week-actions{margin-top:-4px}.studio-week h3{font-size:14px}.studio-action{min-height:42px}.studio-records-head h2{font-size:18px}}

.report-eye{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;min-height:40px;vertical-align:middle}.report-eye svg,.studio-status svg{width:17px;height:17px;flex-shrink:0}.studio-status{display:inline-flex;align-items:center;gap:5px}

tr.homeroom-exempt td,.studio-week.homeroom-exempt{background:#f1f3f5;color:#85909d;box-shadow:none}tr.homeroom-exempt td b,.studio-week.homeroom-exempt h3{color:#788491}.homeroom-exempt .badge,.homeroom-exempt .studio-week-number{background:#e5e8ec;color:#7c8693;border-color:#e0e4e9}.homeroom-exempt .status-exempt{color:#788491}.homeroom-exempt small,.studio-week.homeroom-exempt p{color:#687687}

.guest-report-action{cursor:pointer}.login-inline-hint{display:block!important;flex-basis:100%;font-size:12px;line-height:1.6;color:#75849a;margin:6px 0 0;white-space:normal}.login-inline-hint[hidden]{display:none!important}

.guest-login-toast{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));transform:translate(-50%,16px);display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);width:max-content;padding:14px 20px;border-radius:14px;background:#173557;color:#fff;box-shadow:0 10px 32px #17355730;font-size:14px;line-height:1.5;z-index:10000;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility .22s}.guest-login-toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}.toast-symbol{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border:1px solid #accaf3;border-radius:50%;font-weight:700;color:#d4e5ff}@media(prefers-reduced-motion:reduce){.guest-login-toast{transition:none}}

.guest-login-toast{left:12px;top:12px;bottom:auto;transform:translateY(5px);font-size:12px;padding:10px 14px;border-radius:10px;gap:8px}.guest-login-toast.visible{transform:translateY(0)}.guest-login-toast .toast-symbol{width:20px;height:20px}

.period-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 4px 12px;color:#5c6e88;font-size:13px}.period-context a{color:#345be4;font-weight:600}.filters>*{min-width:0}.filters select{width:100%}
@media(max-width:620px){.period-context{flex-wrap:wrap;font-size:12px}.filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.filters>.btn{grid-column:1/-1;min-height:46px;justify-content:center}.topbar nav .btn{min-height:44px}.filters select{min-height:46px}}

.badge.pending{background:#fff0c2;color:#946200}tr.pending-homeroom td{background:#fffcf0}.exemption-setting{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0;border-bottom:1px solid #edf0f6}.exemption-setting input[name=reason]{flex:1;min-width:180px}.exemption-setting b{min-width:180px}
