/* R27.43: scoped presentation only. Global green/blue context bands are intentionally untouched. */
body.fm27-midnight .fm27-r2743-action-header {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:18px 0 14px}
body.fm27-midnight .fm27-r2743-action-header small,body.fm27-midnight .fm27-r2743-action-section-head small{font-size:10px;font-weight:800;letter-spacing:.12em;color:#bda8ff}
body.fm27-midnight .fm27-r2743-action-header h2{font-size:21px;font-weight:800;margin:4px 0 6px}
body.fm27-midnight .fm27-r2743-action-header p{font-size:13px;color:#aebdd4;margin:0}
body.fm27-midnight .fm27-r2743-action-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
body.fm27-midnight .fm27-r2743-action-facts>div{min-width:0;display:flex;flex-direction:column;gap:7px;padding:15px 18px;background:#1f2a43;border:1px solid #394b6c;border-radius:10px}
body.fm27-midnight .fm27-r2743-action-facts span{color:#b3c0d8;font-size:11px}
body.fm27-midnight .fm27-r2743-action-facts strong{font-size:15px;color:#f4f6ff;overflow-wrap:anywhere}
body.fm27-midnight .fm27-r2743-action-notice{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:13px 16px;background:#242741;border:1px solid #4a466d;border-radius:9px;font-size:12px;line-height:1.6}
body.fm27-midnight .fm27-r2743-action-notice i{color:#c8aaff;font-size:18px}
body.fm27-midnight .fm27-r2743-action-notice p{margin:0}
body.fm27-midnight .fm27-r2743-action-card{max-width:100%;background:#1c263e;border:1px solid #3b4b6d;border-radius:12px;padding:20px;margin:0 0 20px;box-shadow:0 12px 30px #060a1526}
body.fm27-midnight .fm27-r2743-action-section-head{border-bottom:1px solid #364663;padding-bottom:12px;margin-bottom:18px}
body.fm27-midnight .fm27-r2743-action-section-head h3{font-size:17px;margin:4px 0 0;font-weight:800}
body.fm27-midnight .fm27-r2743-action-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
body.fm27-midnight .fm27-r2743-action-form>.mb-3,body.fm27-midnight .fm27-r2743-action-form>.form-group{min-width:0;margin:0}
body.fm27-midnight .fm27-r2743-action-form .form-control,body.fm27-midnight .fm27-r2743-action-form .form-select{width:100%;max-width:100%;min-height:42px;background:#23304c;border:1px solid #51617f;color:#edf2ff;border-radius:8px}
body.fm27-midnight .fm27-r2743-action-form .form-text{color:#9dadca;line-height:1.45}
body.fm27-midnight .fm27-r2743-action-footer{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:17px 0 0;margin-top:6px;border-top:1px solid #394761}
body.fm27-midnight .fm27-r2743-player-morale{grid-column:1/-1;margin-bottom:15px}
body.fm27-midnight .fm27-r2743-player-morale h4{font-size:13px;font-weight:700;margin:0 0 8px}
body.fm27-midnight .fm27-r2743-stat-modal .modal-dialog{width:min(1120px,96vw);max-width:1120px}
body.fm27-midnight .fm27-r2743-stat-modal .modal-content{background:#1c273f;border:1px solid #405171;color:#eff3ff}
body.fm27-midnight .fm27-r2743-stat-modal .modal-header,body.fm27-midnight .fm27-r2743-stat-modal .modal-footer{border-color:#3f4b63}
body.fm27-midnight .fm27-r2743-stats,body.fm27-midnight .fm27-r2743-stats *{box-sizing:border-box;min-width:0}
body.fm27-midnight .fm27-r2743-stats-intro{font-size:12px;line-height:1.5;color:#abbad4;margin-bottom:14px}
body.fm27-midnight .fm27-r2743-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.fm27-midnight .fm27-r2743-stat-card{min-width:0;border:1px solid #465575;background:#222f49;border-radius:10px;overflow:hidden;padding:16px}
body.fm27-midnight .fm27-r2743-stat-head{display:flex;justify-content:space-between;gap:8px;align-items:start;border-bottom:1px solid #3b4962;padding-bottom:12px;margin-bottom:12px}
body.fm27-midnight .fm27-r2743-stat-head small{font-size:10px;letter-spacing:.07em;color:#baa5fb;text-transform:uppercase}
body.fm27-midnight .fm27-r2743-stat-head h3{font-size:15px;font-weight:800;line-height:1.3;margin:4px 0;overflow-wrap:anywhere}
body.fm27-midnight .fm27-r2743-stat-head p{font-size:12px;color:#abbad4;margin:3px 0}
body.fm27-midnight .fm27-r2743-stat-matchcount{white-space:nowrap;font-size:11px;border-radius:6px;background:#373559;padding:5px 8px}
body.fm27-midnight .fm27-r2743-stat-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
body.fm27-midnight .fm27-r2743-stat-values>div{display:flex;flex-direction:column;gap:5px;padding:9px;background:#1a253a;border-radius:7px;min-width:0}
body.fm27-midnight .fm27-r2743-stat-values dt{font-size:10px;font-weight:500;color:#a9b9d2}
body.fm27-midnight .fm27-r2743-stat-values dd{font-weight:800;font-size:15px;margin:0;overflow-wrap:anywhere}
body.fm27-midnight .fm27-r2743-weekly{padding-top:8px}
body.fm27-midnight .fm27-r2743-weekly-header{display:flex;justify-content:space-between;align-items:start;gap:20px;flex-wrap:wrap;margin:6px 0 15px}
body.fm27-midnight .fm27-r2743-weekly-header small{color:#bba8f7;letter-spacing:.1em;font-weight:800;font-size:10px}
body.fm27-midnight .fm27-r2743-weekly-header h2{font-size:20px;margin:4px 0}
body.fm27-midnight .fm27-r2743-weekly-header p{font-size:12px;color:#afbfd5;margin:0}
body.fm27-midnight .fm27-r2743-weekly-header>span{font-size:11px;color:#bdc9dc}
body.fm27-midnight .fm27-r2743-weekly-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.fm27-midnight .fm27-r2743-weekly-totals>div{display:flex;flex-direction:column;gap:7px;padding:16px;background:#212d46;border:1px solid #42516d;border-radius:9px;min-width:0}
body.fm27-midnight .fm27-r2743-weekly-totals span{font-size:11px;color:#b6c4db}
body.fm27-midnight .fm27-r2743-weekly-totals strong{font-size:17px;overflow-wrap:anywhere}
body.fm27-midnight .fm27-r2743-weekly-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
body.fm27-midnight .fm27-r2743-weekly-category{display:flex;flex-direction:column;gap:7px;border:1px solid #3b4b68;background:#1d2a43;padding:17px;border-radius:9px;min-width:0}
body.fm27-midnight .fm27-r2743-weekly-category span{color:#b3bed7;font-size:12px}
body.fm27-midnight .fm27-r2743-weekly-category strong{font-size:16px;overflow-wrap:anywhere}
body.fm27-midnight .fm27-r2743-weekly-category strong.is-negative{color:#f9a2a8}
body.fm27-midnight .fm27-r2743-weekly-category small{color:#a3b1ca;font-size:11px}
body.fm27-midnight .fm27-r2743-empty{padding:28px;text-align:center;color:#aec0d8;background:#212e47;border:1px dashed #50607d;border-radius:10px}
body.fm27-midnight .fm27-r2743-cup-empty{display:flex;flex-direction:column;align-items:center;gap:11px;padding:65px 16px;text-align:center;color:#aebdd2}
body.fm27-midnight .fm27-r2743-cup-empty i{font-size:30px;color:#a48bed}
body.fm27-midnight .fm27-r2743-cup-empty strong{font-size:19px;color:#f4f5ff}
body.fm27-midnight .fm27-r2743-negotiation{padding:13px 17px;margin:12px 0 15px;border:1px solid #504b7c;background:#282a4b;border-radius:9px}
body.fm27-midnight .fm27-r2743-negotiation-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;font-weight:800}
body.fm27-midnight .fm27-r2743-negotiation-top small{font-size:10px;color:#acb6d4;font-weight:400}
body.fm27-midnight .fm27-r2743-negotiation-track{height:9px;background:#151c32;border-radius:99px;overflow:hidden;margin-top:8px}
body.fm27-midnight .fm27-r2743-negotiation-track span{display:block;height:100%;background:linear-gradient(90deg,#664bd3,#ae82f0);border-radius:inherit;max-width:100%}
body.fm27-midnight .fm27-r2743-negotiation p{color:#abbada;font-size:10px;line-height:1.5;margin:7px 0 0}
@media(max-width:760px){body.fm27-midnight .fm27-r2743-action-facts,body.fm27-midnight .fm27-r2743-weekly-totals{grid-template-columns:repeat(2,minmax(0,1fr))}body.fm27-midnight .fm27-r2743-action-form,body.fm27-midnight .fm27-r2743-stat-grid,body.fm27-midnight .fm27-r2743-weekly-categories{grid-template-columns:1fr}}
@media(max-width:480px){body.fm27-midnight .fm27-r2743-action-facts,body.fm27-midnight .fm27-r2743-weekly-totals{grid-template-columns:1fr}body.fm27-midnight .fm27-r2743-action-card{padding:14px}body.fm27-midnight .fm27-r2743-stat-values{grid-template-columns:repeat(2,minmax(0,1fr))}body.fm27-midnight .fm27-r2743-stat-modal .modal-dialog{width:100%;margin:0;max-width:none}}

body.fm27-midnight .fm27-r2743-action-form .form-control.w-auto,body.fm27-midnight .fm27-r2743-action-form .form-select.w-auto{width:100%!important;display:block!important}
