/* RampOne 16.2.5 — CRM aligned with the square-corner admin workspace. */
#student-portal .ro-crm{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:26px 28px 36px!important;margin:0!important;background:#0b1725;color:#e8f2fb}
#student-portal .ro-crm *{box-sizing:border-box}
#student-portal .ro-crm-head{margin:0 0 22px!important;padding:0 0 22px;border-bottom:1px solid #2b4257;align-items:center;gap:20px}
#student-portal .ro-crm-eyebrow{color:#8cb9d8;font-size:10px;letter-spacing:.14em}
#student-portal .ro-crm-head h2{font-size:clamp(26px,2.4vw,36px);line-height:1.18;letter-spacing:-.035em;margin:7px 0 8px;color:#f1f7fc}
#student-portal .ro-crm-head p{max-width:690px;font-size:13px;line-height:1.6;color:#9db5c8}
#student-portal .ro-crm-primary,#student-portal .ro-crm-secondary{border-radius:0!important;box-shadow:none!important;font-size:12px;font-weight:650;line-height:1.3;min-height:40px;padding:10px 15px!important;white-space:normal}
#student-portal .ro-crm-primary{background:#287cad!important;border:1px solid #4c9bc8!important;color:#fff!important}
#student-portal .ro-crm-secondary{background:#1b354b!important;border:1px solid #45667e!important;color:#e8f3fb!important}
#student-portal .ro-crm-primary:hover,#student-portal .ro-crm-secondary:hover{filter:brightness(1.13)}
#student-portal .ro-crm-metrics{gap:12px;margin:0 0 20px}
#student-portal .ro-crm-metrics>div{min-width:0;border:1px solid #2d455b!important;border-radius:0!important;background:#122438!important;padding:18px 20px!important;box-shadow:none!important}
#student-portal .ro-crm-metrics small{font-size:12px;color:#a2bbce}
#student-portal .ro-crm-metrics strong{font-size:28px;line-height:1.2;font-weight:650;color:#f0f7fd;margin-top:10px}
#student-portal .ro-crm-panel{min-width:0;border:1px solid #2d455b!important;border-radius:0!important;background:#122438!important;padding:20px!important;box-shadow:none!important}
#student-portal .ro-crm-toolbar{gap:10px;margin-bottom:14px;align-items:stretch}
#student-portal .ro-crm-toolbar>label{flex:1 1 260px;min-width:0}
#student-portal .ro-crm-toolbar form{flex:0 0 auto;display:flex}
#student-portal .ro-crm-toolbar form button{height:100%}
#student-portal .ro-crm input,#student-portal .ro-crm select,#student-portal .ro-crm textarea{border-radius:0!important;background:#0d2032!important;border:1px solid #416078!important;color:#f1f7fb!important;box-shadow:none!important;font-size:14px!important;min-height:40px}
#student-portal .ro-crm input::placeholder{color:#90a8bc}
#student-portal .ro-crm-toolbar select{min-width:190px;width:auto}
#student-portal .ro-crm-table-wrap{width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
#student-portal .ro-crm-table{width:100%;min-width:580px;background:transparent}
#student-portal .ro-crm-table th{color:#a8c0d3;font-size:11px;letter-spacing:.09em;background:#172e43}
#student-portal .ro-crm-table td,#student-portal .ro-crm-table th{padding:13px 14px;border-bottom:1px solid #2b4257}
#student-portal .ro-crm-table td{font-size:13px;color:#dce9f4}
#student-portal .ro-crm-table tr:hover td{background:#192f44}
#student-portal .ro-crm-stage{border-radius:0;background:#244760;border:1px solid #385f7a;padding:5px 9px}
#student-portal .ro-crm-notice{border-radius:0}
#student-portal .ro-crm-dialog{border-radius:0!important;background:#11273a!important;max-height:min(90dvh,900px);overscroll-behavior:contain}
#student-portal .ro-crm-modal{padding:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}
@media(max-width:900px){#student-portal .ro-crm{padding:20px 18px 28px!important}#student-portal .ro-crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#student-portal .ro-crm{padding:18px 14px 26px!important}#student-portal .ro-crm-head{align-items:stretch;flex-direction:column;gap:14px}#student-portal .ro-crm-head .ro-crm-primary{width:100%}#student-portal .ro-crm-metrics{gap:8px}#student-portal .ro-crm-metrics>div{padding:14px!important}#student-portal .ro-crm-panel{padding:12px!important}#student-portal .ro-crm-toolbar{flex-direction:column}#student-portal .ro-crm-toolbar>label,#student-portal .ro-crm-toolbar form,#student-portal .ro-crm-toolbar select{width:100%;flex:auto}#student-portal .ro-crm-toolbar form button{width:100%}#student-portal .ro-crm-dialog{padding:16px!important;width:100%}}

/* v16.2.6: CRM content-only layout, action beneath contact list. */
#student-portal .ro-crm-panel-actions{display:flex;justify-content:flex-start;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid #2b4257}
#student-portal .ro-crm-panel-actions .ro-crm-primary{width:auto;min-width:140px}
@media(max-width:600px){#student-portal .ro-crm-panel-actions .ro-crm-primary{width:100%}}
