/* RXL_PAGE_CALM_20261009: scoped, preserve the existing green visual language. */
.pc-active #teachers .toolbar,.pc-active #manualLeadPanel .lead-filter-grid{gap:12px;align-items:center}
.pc-active #teachers .toolbar input{min-width:180px;flex:1}.pc-active #teacherRows td,.pc-active #manualLeadRows td{vertical-align:top}
.pc-active #teacherRows td:last-child,.pc-active #manualLeadRows td:last-child{min-width:152px;white-space:normal}
.pc-more{display:inline-block;vertical-align:top;margin:0 4px 4px 0}.pc-more>summary{list-style:none;cursor:pointer;padding:9px 12px;color:#245441;border:1px solid #dbe7df;background:#f2f7f3;border-radius:8px;font-size:12px;min-height:36px;box-sizing:border-box}.pc-more>summary::-webkit-details-marker{display:none}.pc-more>summary::after{content:' ▾'}.pc-more[open]>summary::after{content:' ▴'}.pc-more-body{display:flex;flex-direction:column;gap:6px;padding:8px 0;min-width:116px}.pc-more-body .btn{text-align:left;white-space:normal;margin:0!important}
.pc-more>summary:focus-visible,.pc-fold-title:focus-visible{outline:3px solid #27764f;outline-offset:3px}
.pc-editor .lead-editor-card{max-width:860px}.pc-editor .lead-editor-scroll{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px;padding:20px!important}.pc-editor .lead-editor-scroll>*{width:100%;box-sizing:border-box;flex-shrink:0}.pc-editor .lead-editor-section,.pc-editor .lw-new-section{margin:0!important;padding:16px!important;box-shadow:none!important;border:1px solid #e1ebe4;border-radius:10px}
.pc-editor .lead-section-title span,.pc-editor .field-help{line-height:1.7}.pc-editor .lead-editor-section .form-grid{gap:16px}.pc-editor .lead-entry-optional .lead-editor-section{margin:0 12px 12px!important}.pc-editor .lead-entry-optional .lead-editor-section:first-of-type{margin-top:4px!important}
.pc-editor .lead-editor-head>button{flex-shrink:0;white-space:nowrap;min-width:64px}.pc-editor .lw-dialog>header>button{flex-shrink:0;white-space:nowrap;min-width:64px}
.pc-editor .lead-editor-actions,.pc-editor .rxl-dialog-actions{position:sticky;bottom:0;flex-shrink:0;background:#fff!important;border-top:1px solid #e1ebe4;box-shadow:none;gap:12px;z-index:2;padding:14px 20px!important;flex-wrap:wrap}.pc-editor .lead-editor-actions>div{margin-left:auto}
.pc-save-state{margin:0!important;font-size:12px;line-height:1.65;color:#526b5d;flex:1 1 180px}.pc-save-state[data-tone=warn]{color:#865613}.pc-save-state[data-tone=error]{color:#a52e2e}.pc-save-state[data-tone=busy]{color:#245441}
.pc-fold-title{display:flex;justify-content:space-between;gap:12px;width:100%;padding:8px 0;border:0;background:transparent;font:inherit;font-size:14px;font-weight:600;color:#234d3b;text-align:left;cursor:pointer}.pc-fold-title::after{content:'展开';font-size:12px;font-weight:400;flex-shrink:0}.pc-fold-title[aria-expanded=true]::after{content:'收起'}.pc-editor [data-pc-fold-body]:not([hidden]){padding-top:12px}.pc-editor [data-pc-fold-body][hidden]{display:none!important}
.pc-consult-extra{border-top:1px solid #e1ebe4;padding-top:12px}.pc-consult-extra [data-pc-fold-body]:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:16px}.pc-consult-extra label:has(textarea){grid-column:1/-1}.pc-editor .lw-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid #e1ebe4;padding:12px 0;display:flex;align-items:center;gap:12px;z-index:2}.pc-editor .lw-content{max-height:72vh;overflow:auto}.pc-editor .lw-self-form{padding-bottom:8px}
.pc-save-notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1600;max-width:min(480px,90vw);padding:12px 18px;background:#214e39;color:#fff;border-radius:10px;font-size:13px;box-shadow:0 4px 16px #16362422}.pc-save-notice[hidden]{display:none}
@media(max-width:600px){.pc-editor .lead-editor-scroll{padding:12px!important}.pc-editor .lead-editor-section,.pc-editor .lw-new-section{padding:12px!important}.pc-editor .lead-editor-actions,.pc-editor .rxl-dialog-actions{padding:12px!important}.pc-editor .lead-editor-grid,.pc-consult-extra [data-pc-fold-body]:not([hidden]){grid-template-columns:1fr!important}.pc-editor .lead-editor-actions>div{display:flex;justify-content:flex-end;width:100%;gap:8px}.pc-editor .lw-actions{flex-wrap:wrap}.pc-save-state{flex-basis:100%}.pc-active #teachers .toolbar input{width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.pc-editor *{scroll-behavior:auto!important}}
