/* WEB30 — quiet information, explicit context, compact subject matrix. */
.w30-class-badge{display:inline-flex;align-items:center;gap:8px;background:#fff2b4;color:#263548!important;border:1px solid #e7cd66;border-radius:9px;padding:8px 13px;font-size:18px!important;font-weight:750;margin:7px 0!important}
.w30-cycle-tabs{display:flex;gap:8px;overflow-x:auto;margin:20px 0;padding-bottom:7px}.w30-cycle-tabs button{flex:none;min-height:44px}.w30-cycle-tabs [aria-pressed=true]{background:#f5cb22!important;color:#263548;border-color:#dfb518}.w30-cycle-tabs small{padding:2px 6px;border-radius:20px;background:#fff8d5;margin-left:6px}
.w30-children{display:flex;flex-wrap:wrap;gap:5px;max-width:380px}.w30-children a{display:inline-block;padding:5px 9px;border:1px solid #e2dcc8;background:#faf7e9;border-radius:20px;font-size:12px;font-weight:550}
.w30-call-date{display:inline-block;padding:6px 10px;margin-left:8px;background:#fff2b4;border-radius:8px;color:#354434;font-size:15px}
body.kalanso-web4 .pp7-primary{padding:12px 16px!important;margin:12px 0!important;background:#faf9f2!important;border:1px solid #e4dfce!important;border-left:3px solid #d8ba48!important;border-radius:10px!important}.pp7-primary h2{font-size:16px!important;margin:3px 0!important}.pp7-primary .eyebrow{font-size:10px!important}.pp7-primary p{font-size:12px!important;margin:6px 0!important}.pp7-primary a{font-size:12px}.w30-help{font-size:12px;color:#617065;margin:4px 0}.w30-help summary{cursor:pointer}
body.kalanso-web4 .gs-info,body.kalanso-web4 .notice{padding:9px 12px;font-size:12px;line-height:1.5;box-shadow:none}.p15-alerts{background:#faf8ee;border:1px solid #e8e1c8;padding:9px 12px;font-size:12px}.p15-alerts summary{cursor:pointer;font-weight:600}.p15-context{font-size:11px}.pp7-error-notice{padding:12px 34px 12px 14px;width:min(360px,calc(100vw - 32px));font-size:12px}.pp7-error-notice small{font-size:10px}
.g10-matrix-wrap{overflow:auto;max-height:68vh}.g10-matrix{table-layout:auto!important;width:max-content!important;min-width:100%!important}.g10-matrix th,.g10-matrix td{min-width:170px!important;width:170px!important;padding:8px!important}.g10-matrix thead th{position:sticky;top:0;z-index:3;background:#fff4ca!important;color:#263548!important}.g10-matrix thead small{color:#5e624d!important}.g10-matrix tr>th:first-child{position:sticky;left:0;z-index:2;min-width:200px!important;background:#faf8ee!important;color:#263548!important}.g10-matrix thead th:first-child{z-index:4}.g10-grade-cell{min-width:150px!important;padding:0!important}.g10-grade-cell select{padding:4px 6px!important;min-height:28px!important;font-size:11px!important;margin:0 0 5px}.g10-grade-values{display:flex!important;gap:5px}.g10-grade-values[hidden]{display:none!important}.g10-grade-values label{flex:1;min-width:0;font-size:10px}.g10-grade-values input{height:36px!important;min-height:36px!important;padding:5px!important;font-size:16px!important;text-align:center}.g10-exempt-reason{font-size:11px}.g10-save-grid{padding:10px 12px!important}.g10-save-grid small{font-size:11px}
@media(max-width:680px){.w30-class-badge{font-size:16px!important}.w30-call-date{display:block;margin:6px 0 0}.pp7-primary{flex-wrap:wrap}.g10-matrix tr>th:first-child{min-width:125px!important;width:125px!important}.g10-matrix th,.g10-matrix td{min-width:150px!important}}

.w30-composition-help{margin:12px 0;padding:9px 12px;border:1px solid #e4dfce;border-radius:9px;background:#fffdf5}body.kalanso-web4 .ga-notice{padding:10px 14px;font-size:12px;line-height:1.5}

/* WEB31: fixed compact subject widths, including when only one subject exists. */
body.kalanso-web4 .g10-matrix{width:max-content!important;min-width:0!important;table-layout:fixed!important}
body.kalanso-web4 .g10-matrix th,body.kalanso-web4 .g10-matrix td{width:154px!important;min-width:154px!important;max-width:154px!important;padding:7px!important}
body.kalanso-web4 .g10-matrix tr>th:first-child{width:190px!important;min-width:190px!important;max-width:190px!important}
body.kalanso-web4 .g10-grade-cell{width:140px!important;min-width:0!important}
body.kalanso-web4 .g10-grade-values{display:block!important}
body.kalanso-web4 .g10-grade-values[hidden]{display:none!important}
body.kalanso-web4 .g10-grade-values label{display:block;margin:3px 0}
body.kalanso-web4 .w31-score-pair{display:flex;align-items:center;gap:4px;margin-top:3px}
body.kalanso-web4 .w31-score-pair input{width:78px!important;flex:1;min-width:0!important;margin:0!important}
body.kalanso-web4 .w31-score-pair select{width:48px!important;min-width:48px!important;max-width:48px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:2px!important;font-size:12px!important}
body.kalanso-web4 .g10-matrix th small{white-space:normal}

/* WEB32: the teacher's identity is prominent while guidance stays compact. */
body.kalanso-web4 .pp7-primary h2{font-size:clamp(22px,2vw,28px)!important;font-weight:800!important;line-height:1.2;margin:7px 0!important;color:#173f35!important}
body.kalanso-web4 .pp7-primary .eyebrow{font-size:11px!important}
