.workflow-toolbar,.excuse-card-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.workflow-toolbar h2{margin:0}.workflow-toolbar p{color:#698097;margin:6px 0 0}.message-list,.excuse-list{display:grid;gap:12px;margin-top:16px}.message-row{display:flex;align-items:flex-start;gap:12px;width:100%;padding:16px;text-align:left;border:1px solid #e0eaf2;border-radius:16px;background:#fff;color:#183b5d;cursor:pointer}.message-row:hover,.excuse-card:hover{border-color:#9ec9e8;box-shadow:0 5px 20px #1e568610}.message-row.unread{background:#f4f9ff;border-color:#c4def2}.message-avatar{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:14px;background:linear-gradient(145deg,#dceeff,#e5f7ef);color:#176cad;font-weight:800}.message-copy{display:grid;gap:5px;min-width:0;flex:1}.message-copy small,.message-copy span{color:#70859a}.message-copy span{line-height:1.5;overflow-wrap:anywhere}.unread-dot{width:9px;height:9px;flex:0 0 9px;margin:7px 2px;border-radius:50%;background:#ea6a67}.message-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#e84d63;color:#fff;font-size:10px;font-weight:800;margin-left:auto}.message-full-body{white-space:normal;line-height:1.75;margin:18px 0 26px;overflow-wrap:anywhere}.workflow-dialog{position:relative;display:grid;gap:15px;padding:25px;width:min(100%,560px);max-height:min(88vh,820px);overflow:auto;color:#173b5e}.workflow-dialog h2{margin:0}.workflow-dialog>p{margin:0;color:#647d94;white-space:pre-line}.workflow-dialog label,.excuse-filters label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#355671}.workflow-dialog input,.workflow-dialog select,.workflow-dialog textarea,.excuse-filters select{width:100%;border:1px solid #d2e0eb;border-radius:11px;padding:11px 12px;background:#fff;color:#183b5d;font:inherit}.workflow-dialog textarea{resize:vertical}.workflow-dialog small{font-weight:400;color:#71869a}.workflow-dialog .dialog-x{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#6a8196;font-size:25px;cursor:pointer}.workflow-dialog .form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.confirm-dialog[open]{border:0;border-radius:20px;padding:0;box-shadow:0 24px 80px #15395738;max-width:calc(100vw - 24px)}.confirm-dialog::backdrop{background:#10294280;backdrop-filter:blur(3px)}.recipient-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:220px;overflow:auto;padding:3px}.recipient-option{display:flex!important;grid-template-columns:none!important;align-items:center;gap:9px!important;padding:9px;border:1px solid #e3edf4;border-radius:10px;cursor:pointer}.recipient-option input{width:auto!important}.recipient-option span{display:grid;gap:2px}.recipient-option small{overflow:hidden;text-overflow:ellipsis}.excuse-card{padding:17px;border:1px solid #e1eaf2;border-radius:16px;background:#fff;color:#24445f}.excuse-card p{line-height:1.6;margin:10px 0 0;white-space:pre-line}.excuse-card-head>div{display:grid;gap:4px}.excuse-card-head small{color:#7389a0}.status.waiting{background:#fff2d5;color:#946000}.status.approved{background:#e4f6ed;color:#18784a}.status.revision{background:#fff0d9;color:#9a5a00}.status.rejected{background:#fee9e8;color:#a43936}.review-note{border-left:3px solid #e0a749;background:#fff9ed;padding:9px 12px;margin-top:12px;border-radius:0 9px 9px 0}.review-note p{margin-top:4px}.date-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-review{display:grid;justify-items:start;gap:7px;padding:10px;background:#f3f8fc;border-radius:12px}.photo-review img,.excuse-evidence{max-width:100%;max-height:300px;object-fit:contain;border-radius:10px}.excuse-evidence{display:block;margin:8px auto;width:auto;background:#f3f7fa}.excuse-filters{display:flex;justify-content:flex-end}.excuse-filters select{min-width:190px}.feedback{color:#617b93}.feedback:not(:empty){margin:10px 0}.hint{color:#788ca0}.student-history-link .student-feature-icon.violet{background:#f0eaff;color:#8055bd}
@media(max-width:640px){.workflow-toolbar,.excuse-card-head{align-items:flex-start}.workflow-toolbar{flex-direction:column}.workflow-toolbar button{align-self:stretch}.recipient-results{grid-template-columns:1fr}.workflow-dialog{padding:22px 16px}.date-fields{grid-template-columns:1fr}.excuse-filters{justify-content:stretch}.excuse-filters label,.excuse-filters select{width:100%}.excuse-card-head{flex-direction:column}.message-row{padding:13px}.message-copy small{font-size:11px}}
@media(max-width:860px){.admin-layout .admin-mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.admin-layout .admin-mobile-nav .nav-button{min-width:0;font-size:9px}.admin-layout .admin-mobile-nav .nav-button>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
