/* SheepCloud 3.1.1 — suggestion workflow, scoped to new classes only */
.v311-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:4px 0 15px}
.v311-stats>span{border:1px solid #e3eaf0;background:#fafcfd;border-radius:11px;text-align:center;padding:8px 3px}
.v311-stats b{display:block;font-size:17px;color:#34505c;font-weight:850;line-height:1.3}
.v311-stats small{display:block;color:#81919b;font-size:10px;line-height:1.5;white-space:nowrap}
.v311-section-head{display:flex;justify-content:space-between;align-items:center;margin:16px 0 9px;border-bottom:1px solid #e4eaf0;padding-bottom:8px}
.v311-section-head b{font-size:13px;color:#354d5a}.v311-section-head small{font-size:11px;color:#7e8e96}
.v311-card{padding:14px;border:1px solid #dde6eb;background:#fff;border-radius:13px;margin:9px 0;min-width:0}
.v311-card.v311-unread{border-color:#e9ad88;background:#fffaf5}
.v311-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.v311-card-head>div{display:grid;gap:3px}.v311-card-head b{font-size:12px;color:#395360}.v311-card-head small{font-size:10px;color:#8a98a1}
.v311-status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;line-height:1.4;font-size:10px;font-weight:850;white-space:nowrap;background:#f0f3f6;color:#6b7986}
.v311-status.v311-adopted{background:#eaf6ef;color:#357f55}.v311-status.v311-progress{background:#e8f2fc;color:#2c7096}
.v311-status.v311-completed{background:#e2f2e8;color:#267a46}.v311-status.v311-rejected{background:#f8eaea;color:#9c6060}.v311-status.v311-pending{background:#fff2e4;color:#ac7441}
.v311-message{white-space:pre-wrap;overflow-wrap:anywhere;color:#3c505d;font-size:12px;line-height:1.8;margin:11px 0}
.v311-response{background:#f4f9f9;border-left:3px solid #95b4b2;padding:8px 10px;margin-bottom:10px;border-radius:6px}
.v311-response span{color:#577b82;font-size:10px;font-weight:850}.v311-response p{font-size:11px;line-height:1.6;color:#47636b;margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.v311-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:11px;border-top:1px solid #eef1f3;padding-top:9px}
.v311-micro{color:#7a8991;font-size:10px}.v311-outline,.v311-primary{border:1px solid #c8d8df;border-radius:10px;padding:8px 12px;background:#fff;color:#466676;font-size:11px;font-weight:800;cursor:pointer}
.v311-primary{background:#397e72;color:#fff;border-color:#397e72}.v311-outline:hover{background:#f0f7f8}.v311-primary:hover{background:#28665d}
.v311-danger{border-color:#dfbcbc;color:#9e5959}.v311-danger:hover{background:#fff1f1}
.v311-outline:disabled,.v311-primary:disabled{opacity:.5;cursor:wait}
.v311-warning{padding:12px;border-radius:10px;background:#fff6eb;border:1px solid #f2d6b2;color:#92663a;font-size:11px;line-height:1.6}
.v311-muted,.v311-inline-help{border-radius:10px;background:#f7fafb;color:#75858f;padding:11px 12px;font-size:11px;line-height:1.7}
.project-todo-list>.v311-card{margin:8px 0}
.v311-modal{width:min(690px,94vw);max-height:min(89vh,850px);overflow:auto;padding-bottom:12px}
.v311-original{background:#f5f8fa;border:1px solid #e4eaee;border-radius:13px;padding:13px;margin:8px 0 15px}
.v311-original span{color:#77909d;font-size:10px;font-weight:800}.v311-original p{margin:8px 0 2px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;color:#405762}
.v311-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#f0f4f6;border-radius:12px;padding:5px}
.v311-tabs button{border:0;background:transparent;border-radius:9px;padding:11px 6px;font-size:11px;font-weight:850;color:#617885;cursor:pointer}
.v311-tabs button.active{background:#fff;color:#305d66;box-shadow:0 2px 9px #24374412}
.v311-panel{margin-top:17px;color:#475e69;font-size:12px;line-height:1.65}.v311-panel>p{margin:10px 0}
.v311-panel textarea,.v311-panel select{width:100%;min-width:0;border:1px solid #cbdbe2;background:#fff;border-radius:10px;color:#314f5a;font:inherit;padding:10px;resize:vertical;min-height:42px}
.v311-panel textarea{min-height:84px}.v311-panel textarea:focus-visible,.v311-panel select:focus-visible{outline:2px solid #77adac;outline-offset:2px}
.v311-label{display:block;margin:16px 0 6px;font-size:11px;font-weight:850;color:#4d6671}
.v311-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin:16px 0}.v311-controls>span{margin-right:auto;color:#526d76;font-weight:800}
.v311-mini{font-size:10.5px!important;line-height:1.7;color:#7a8b93}
.v311-timeline-title{font-size:12px;margin:17px 0 8px;color:#526e7a}
.v311-timeline{border-left:2px solid #c7dcdb;margin-left:8px;padding-left:18px;list-style:none}
.v311-timeline li{position:relative;margin:13px 0;display:grid;gap:2px}.v311-timeline li:before{content:'';width:8px;height:8px;border-radius:100%;background:#73a79f;position:absolute;left:-23px;top:6px}
.v311-timeline li b{font-size:11px}.v311-timeline li small{font-size:10px;color:#86989f}.v311-timeline li p{margin:0;color:#627f85;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.v311-rating-rows{display:grid;gap:9px}.v311-rating-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;background:#fbfcfd;border:1px solid #e2e9ed;border-radius:11px}
.v311-rating-row b{display:block;font-size:12px;color:#4b6471}.v311-rating-row small{display:block;font-size:10px;color:#899aa3;margin-top:3px}
.v311-stars{display:flex;align-items:center;gap:2px}.v311-stars button{background:none;border:none;padding:2px 3px;color:#d3dee2;font-size:21px;line-height:1;cursor:pointer}.v311-stars button.active{color:#dc9b4b}
.v311-sender-footprint{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:8px 0;color:#607b88;font-size:11px}.v311-sender-footprint p{width:100%;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:#657a85;margin:2px 0}
#studentWorldFeedbackInboxModal .modal{max-height:90vh;overflow:auto}
@media(max-width:650px){.v311-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.v311-rating-row{grid-template-columns:1fr;gap:6px}.v311-tabs button{font-size:10px;padding:10px 4px}.v311-stars button{font-size:22px}.v311-modal{width:95vw}.v311-controls{justify-content:flex-start}}
/* V3.1.1 screenshot-aligned: clear 1–5 choices, independent large modal */
#v311SuggestionModal{z-index:250!important}
#v311SuggestionModal .v311-modal{width:min(730px,95vw);max-height:min(90dvh,890px);overflow-y:auto;overscroll-behavior:contain}
.v311-subheading{font-size:11px;color:#82909c;line-height:1.6}
.v311-neutral{color:#607787;background:#edf2f5}
.v311-todo-line{margin:6px 0;padding:8px;border-radius:9px;background:#f2f8f4;display:flex;gap:9px;align-items:center;font-size:11px;color:#50755c}
.v311-card-footer small{font-size:11px;color:#718b91}
.v311-rating-row .v311-stars{display:flex;align-items:center;gap:3px}
.v311-rating-row .v311-stars button{border:1px solid #e0e7ec;background:#f8fafb;min-width:39px;min-height:58px;padding:7px 4px;border-radius:9px;display:flex;align-items:center;flex-direction:column;gap:3px;color:#9baab0;font-weight:850}
.v311-rating-row .v311-stars button>span{font-size:22px;line-height:1.1}
.v311-rating-row .v311-stars button>small{font-size:11px;color:inherit}
.v311-rating-row .v311-stars button.active{background:#fff6e8;color:#b57521;border-color:#edca91;box-shadow:0 0 0 1px #f1d4a3}
.v311-rating-row .v311-stars button.active>span{color:#bf862f}
.v311-rating-row .v311-stars button:focus-visible{outline:2px solid #497d83;outline-offset:2px}
.v311-decision-options{display:grid;gap:10px;margin:14px 0}
.v311-decision-options label{display:flex;gap:10px;align-items:center;background:#f8fafb;padding:12px;border:1px solid #e2e8ec;border-radius:11px;color:#435b68;font-weight:750;cursor:pointer}
.v311-decision-options input{width:18px;height:18px;accent-color:#397e72;flex:none}
.v311-todo-panel{background:#f7fbfa;border:1px solid #d7e9e4;border-radius:13px;margin-top:17px;padding:14px}
.v311-todo-panel h4{margin:0 0 8px;font-size:12px;display:flex;align-items:center;gap:8px}
.v311-todo-panel p{line-height:1.7}
#v311SuggestionBody .v311-stars button:disabled,#v311SuggestionBody .v311-decision-options input:disabled{opacity:.5}
@media(max-width:650px){
 .v311-rating-row .v311-stars{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
 .v311-rating-row .v311-stars button{min-width:0;min-height:54px}
 .v311-modal{border-radius:17px}
 .v311-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}
