[hidden]{display:none!important}.header-actions{flex-wrap:wrap}.header-actions .practice-mode{background:#2345d9;color:white;padding:10px 15px;border-radius:8px}.streak{font-size:13px;white-space:nowrap;color:#92520b;background:#fff0d7;padding:7px 10px;border-radius:8px}.dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0 40px}.dashboard-stats article,.dashboard-panel,.next-card{background:white;border:1px solid #dce2ee;padding:26px;border-radius:12px}.dashboard-stats span{display:block;color:#61708b;font-size:14px}.dashboard-stats strong{display:block;font-size:32px;margin-top:12px}.next-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.next-card{display:flex;flex-direction:column;align-items:flex-start}.next-card h3{font-size:25px;margin:18px 0 0}.next-card p{line-height:1.6}.next-card .primary{margin-top:auto}.next-card>a{font-size:14px;margin-top:16px}.participation{font-size:12px;color:#61708b;margin-bottom:18px;line-height:1.8}.participation small{background:#eef1f6;padding:3px 6px;border-radius:4px;margin-left:5px}.dashboard-panel{margin-top:28px}.dashboard-panel h2{margin-top:0}.dashboard-panel svg{display:block;width:100%;height:auto;overflow:visible}.dashboard-panel svg text{font-family:inherit;fill:#61708b;font-size:12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}caption{text-align:left;color:#61708b;font-size:13px;padding:12px 0}th,td{padding:18px 14px;border-bottom:1px solid #e3e8f0;font-size:14px}th small,td small{display:block;font-size:12px;font-weight:400;color:#61708b;margin-top:6px}.your-rank{background:#eaf0fc}.chart-empty{padding:35px;text-align:center;background:#f6f8fc;border-radius:8px}.dashboard-panel details{margin-top:18px}.dashboard-panel summary{cursor:pointer;color:#2345d9}@media(max-width:700px){.dashboard-stats{gap:8px}.dashboard-stats article{padding:15px}.dashboard-stats strong{font-size:24px}.next-grid{grid-template-columns:1fr}.dashboard-panel{padding:18px}.dashboard-panel .row{flex-wrap:wrap;gap:10px}th,td{padding:12px 10px;min-width:95px}.streak{font-size:12px}}
.profile-form{display:flex;flex-direction:column;gap:12px}.profile-form label{font-size:14px;font-weight:600;margin-top:10px}.profile-form input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #bbc6dc;border-radius:8px;font:inherit;color:#142344;background:white}.profile-form .primary{margin-top:14px;align-self:flex-start}.profile-facts{display:grid;grid-template-columns:1fr auto;gap:18px;font-size:14px}.profile-facts dt{color:#61708b}.profile-facts dd{margin:0;font-weight:600}.profile-danger{border-color:#e6bdc0}.danger-button{border:1px solid #ad2835;color:#ad2835;background:white;padding:12px 18px;border-radius:8px;cursor:pointer;font:inherit;font-weight:600}.danger-button:hover{background:#fff0f0}button:disabled{opacity:.5;cursor:not-allowed}#profile-status{font-size:14px;color:#2345d9}#delete-error{color:#ad2835}
.profile-form select{width:100%;box-sizing:border-box;padding:12px;border:1px solid #bbc6dc;border-radius:8px;font:inherit;color:#142344;background:white}
.header-actions button.practice-mode{border:0;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.profile-form input[type="checkbox"]{width:auto;margin-right:8px}#live-action-dialog .error{color:#ad2835}
#account-dialog .auth-links{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:16px;padding-top:18px;border-top:1px solid #dce2ee}#account-dialog .auth-links .textbutton{padding:8px 12px;line-height:1.5;text-align:center}#account-dialog #auth-error:empty{display:none}#account-dialog .profile-form label small{font-weight:400;color:#61708b}#account-dialog h2{margin:0}#account-dialog>.note{margin-top:12px}
#account-dialog .auth-links p{display:block;margin:0;width:100%;text-align:center}
.manager-search{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}.manager-search input{font:inherit;padding:10px;border:1px solid #bbc6dc;border-radius:8px;flex:1;min-width:160px}#manager-dialog{max-width:680px}#manager-dialog h3{margin-top:28px}
#manager-editor{max-width:760px;width:calc(100% - 40px)}
#manager-editor textarea{width:100%;min-height:110px;padding:12px;border:1px solid #ccd4df;border-radius:8px;font:inherit}
#manager-editor fieldset{border:1px solid #ccd4df;border-radius:10px;padding:16px;margin:18px 0}
.essay-review{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#f4f6fa;padding:16px;border-radius:10px}
.submission-history{margin:32px 0}.submission-history h2{margin-bottom:8px}.history-empty,.history-entry{border:1px solid #dce2ee;background:white;border-radius:12px;margin:12px 0}.history-empty{padding:24px;color:#61708b}.history-entry>summary{padding:20px;display:flex;gap:16px;flex-wrap:wrap;align-items:center;cursor:pointer;list-style:none}.history-entry>summary:before{content:'▸';color:#2345d9}.history-entry[open]>summary:before{content:'▾'}.history-entry>summary strong{color:#2345d9}.history-hint{margin-left:auto;font-size:14px;color:#61708b}.history-body{padding:0 24px 24px;border-top:1px solid #e3e8f0}.history-body .submitted-text{overflow-wrap:anywhere}.history-correction{border-left:3px solid #2345d9;padding:4px 18px;margin:18px 0;background:#f6f8fc;overflow-wrap:anywhere}.history-correction h4{margin-bottom:8px}.history-entry summary:focus-visible{outline:3px solid #2345d9;outline-offset:3px;border-radius:12px}@media(max-width:600px){.history-hint{width:100%;margin-left:0}.history-body{padding:0 16px 16px}}
#essay[readonly]{background:#f0f3f8;color:#61708b;border-color:#dce2ee;cursor:default}
