/* New request components follow existing card colors; no existing layout is restyled. */
.sr-panel{margin-top:16px;min-width:0}.sr-panel h2{font-size:17px;margin-bottom:12px}.sr-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.sr-row h2{margin:0;flex:1}.sr-row h2 small{font-size:11px;font-weight:400}.sr-record{padding:14px 0;border-bottom:1px solid #e3eff0;overflow-wrap:anywhere}.sr-record:last-child{border-bottom:0}.sr-record p{font-size:12px;line-height:1.8;margin:8px 0}.sr-record small{display:block;font-size:10px;line-height:1.7;color:#718992}.sr-record .sr-small{margin-top:9px}.sr-small{font-size:11px!important;padding:9px 12px!important;min-height:36px}.sr-actions{display:flex;flex-wrap:wrap;gap:8px}.sr-actions button{font-size:12px;min-height:44px}.sr-compare{margin:12px 0;font-size:12px}.sr-compare>div{display:grid;grid-template-columns:85px 1fr;gap:8px;margin:9px 0}.sr-compare dt{color:#738991}.sr-compare dd{margin:0;overflow-wrap:anywhere}.sr-date-row{display:flex;align-items:center;gap:8px}.sr-date-row input{min-width:0;flex:1;font-size:16px}.sr-date-row button{flex-shrink:0}.sr-error{font-size:12px;line-height:1.7;color:#a24f58}.sr-error:empty{display:none}.sr-conflict{font-size:12px;line-height:1.8;background:#f2f8f9;padding:12px;border:1px solid #cbe7e9;border-radius:9px}.sr-check{font-size:12px;display:flex;align-items:center;gap:8px;line-height:1.7}.sr-check input{width:18px!important;margin:0!important;flex-shrink:0}.sr-notice-link{background:none;border:0;color:#286d78;display:block;text-align:left;padding:12px 0;width:100%;font-size:12px!important;line-height:1.7}.sr-notice-link small{display:block;font-size:10px;color:#7c9299}.sr-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#1fb6ba;margin-right:8px}.sr-notification h2{font-size:15px}.sr-panel .badge{font-size:11px;background:#e5f6f6;color:#287780}.sr-panel details{margin-top:16px;font-size:12px}.sr-panel summary{cursor:pointer;min-height:36px}.sr-panel .muted{font-size:11px}#sr-times[hidden]{display:none}#sr-dates{margin-bottom:8px}

/* Only the cast change/add tab and its history modal. */
.sr-operation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.ch-shell .sr-operation{display:grid;grid-template-columns:minmax(0,1fr) 14px;align-items:center;justify-items:center;gap:20px 3px;padding:24px 10px;margin:0;min-height:150px;color:var(--ch-ink);font-size:clamp(11px,3.2vw,15px);font-weight:650;text-align:center}.sr-operation>svg:first-child{grid-column:1/-1;width:38px;height:38px;color:var(--ch-teal)}.sr-operation>svg:last-child{width:15px;height:18px}.sr-operation>span{min-width:0;overflow-wrap:anywhere}.sr-history .sr-row{flex-wrap:nowrap;margin-bottom:10px}.sr-history .sr-row h2{font-size:16px;gap:8px}.sr-history .sr-history-all{font-size:11px;white-space:nowrap;padding:10px 0;min-height:44px;margin:0}.sr-history-item{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 10px;align-items:center;gap:8px;width:100%;border:0;border-top:1px solid #e3eff0;border-radius:0;background:transparent;color:#092f41;text-align:left;padding:16px 0;font:inherit;min-height:90px}.sr-history-item time{font-size:15px;font-weight:650}.sr-history-item time small{display:block;font-size:11px;font-weight:400;color:#85919f;margin-top:4px}.sr-history-body{min-width:0;display:grid;gap:4px;overflow-wrap:anywhere}.sr-history-body b{font-size:12px}.sr-history-body>span{font-size:11px;color:#71808c;line-height:1.5}.sr-history-body small{font-size:10px;color:#97a1ad;line-height:1.5}.sr-history-status{border-radius:12px;padding:7px 9px;font-size:10px;white-space:nowrap;background:#eff1f4;color:#74808e}.sr-history-status.approved,.sr-history-status.registered{background:#e1f5f3;color:#20968f}.sr-history-status.rejected{background:#fceced;color:#bd6570}.sr-history-arrow{font-size:22px;color:#a0acb4}#modal .sr-history{padding:0;border:0;box-shadow:none}#modal .sr-history-item{cursor:pointer;font-family:inherit}#modal .sr-history-all{display:none}.ch-nav button:first-child span{font-size:clamp(10px,2.8vw,12px);white-space:nowrap}

.sr-calendar-grid .sr-calendar-selected{background:#d3f3ef;border:2px solid #16aeb4;box-shadow:inset 0 0 0 1px #16aeb4}.sr-calendar-grid button:disabled{background:#f0f2f4;color:#76808b}.sr-cal-summary{margin:14px 0;border-top:1px solid #e3eff0}.sr-cal-summary p{font-size:11px;line-height:1.7}#sr-cal-times[hidden]{display:none}
.ch-shell .sr-history .sr-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ch-shell .sr-history .sr-row h2{flex:1;min-width:0;white-space:nowrap;font-size:clamp(14px,3.8vw,16px)}
.ch-shell .sr-history .sr-history-all{flex:0 0 auto;width:auto;min-width:0;min-height:44px;margin:0;padding:8px 0 8px 8px;border:0;background:transparent;box-shadow:none;font-size:11px;white-space:nowrap}
#modal .sr-cal-actions{margin-top:28px;gap:12px}
#modal #sr-cal-times select:disabled{color:#8a9ba1;background:#f1f5f5;opacity:1}
.sr-calendar-grid + .ch-primary{margin-top:20px}

/* Cast request badges use the same status colors in notifications and detail as history. */
body.ch-active .sr-request-status[data-request-status="pending"]{background:#eff1f4;color:#74808e}
body.ch-active .sr-request-status[data-request-status="approved"]{background:#e1f5f3;color:#20968f}
body.ch-active .sr-request-status[data-request-status="rejected"]{background:#fceced;color:#bd6570}
