.mfcrm-wrap{max-width:1200px;margin:20px auto;padding:0 12px}
.mfcrm-card{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:14px;box-shadow:0 1px 8px rgba(0,0,0,.03)}
.mfcrm-msg{background:#f6f7f7;border:1px solid #dcdcde;border-radius:8px;padding:10px;margin:0 0 12px}
.mfcrm-muted{color:#666;font-size:13px}
.mfcrm-link{text-decoration:none}
.mfcrm-row{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
.mfcrm-row label{flex:1;min-width:220px}
.mfcrm-row input{width:100%}
.mfcrm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mfcrm-field label{display:block;font-weight:600;margin-bottom:6px}
.mfcrm-field input,.mfcrm-field textarea,.mfcrm-field select{width:100%}
.mfcrm-span-2{grid-column:span 2}
.mfcrm-pill{display:inline-block;padding:3px 8px;border-radius:999px;background:#f0f0f1;border:1px solid #dcdcde;font-size:12px}
.mfcrm-board{display:flex;gap:10px;overflow:auto;padding-bottom:8px}
.mfcrm-col{min-width:240px;background:#fafafa;border:1px solid #e5e5e5;border-radius:10px;display:flex;flex-direction:column;max-height:70vh}
.mfcrm-col-head{padding:10px;border-bottom:1px solid #e5e5e5;font-weight:700}
.mfcrm-col-body{padding:10px;display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:80px}
.mfcrm-carditem{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:10px;cursor:grab}
.mfcrm-cardtitle{font-weight:700}
.mfcrm-cardmeta{color:#666;font-size:12px;margin-top:6px}
.mfcrm-cardactions{margin-top:8px;font-size:13px}
.mfcrm-modal{position:fixed;inset:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;padding:20px;z-index:9999}
.mfcrm-modal-inner{max-width:1000px;width:100%;background:#fff;border-radius:12px;padding:14px;max-height:90vh;overflow:auto}
.mfcrm-timeline{margin:0;padding-left:18px}
.mfcrm-timeline li{margin:6px 0}
.mcrm-card.mcrm-ghost { opacity: .6; }

/* UI polish: rounded corners */
.mfcrm-wrap input, .mfcrm-wrap select, .mfcrm-wrap textarea{border-radius:10px;}
.mfcrm-wrap .mfcrm-btn, .mfcrm-wrap button, .mfcrm-wrap input[type=submit]{border-radius:12px;}
.mfcrm-card{border-radius:16px;}
.mfcrm-pill{border-radius:999px;}

/* Students submenu */
.mfcrm-nav-group{position:relative;display:inline-flex;align-items:center;gap:8px;}
.mfcrm-subnav{display:inline-flex;gap:8px;align-items:center;}
.mfcrm-subnav-link{display:inline-block;padding:6px 10px;border-radius:10px;text-decoration:none;border:1px solid #ccd0d4;color:#1d2327;background:#fff;font-size:13px;line-height:1.2;}
.mfcrm-subnav-link:hover{background:#f6f7f7;}
.mfcrm-subnav-link.is-active{background:#2271b1;color:#fff;border-color:#2271b1;}
