.circuit-editor{max-width:100%;min-width:0}.circuit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.circuit-editor label{display:grid;gap:6px;font-size:12px;min-width:0}.circuit-editor input,.circuit-editor select,.circuit-editor textarea{width:100%;min-width:0;min-height:44px;box-sizing:border-box;font-size:16px}.circuit-picker{padding:16px;margin:18px 0;border:1px solid #237e89;border-radius:15px;display:grid;gap:12px;background:#072e38}.circuit-item{padding:16px;margin:12px 0;border:1px solid #286472;border-radius:17px;background:linear-gradient(125deg,#0a3441,#041e2a);min-width:0}.circuit-item header{display:flex;gap:10px;align-items:center;margin-bottom:15px;flex-wrap:wrap}.circuit-item header b{flex:1;min-width:100px;overflow-wrap:anywhere}.circuit-item header .btn{min-height:40px;min-width:40px}.circuit-number{display:grid;place-items:center;background:#06424b;border:1px solid #16b7b9;color:#43ece1;border-radius:11px;min-width:38px;height:42px;font-weight:800}.circuit-item textarea{margin-top:6px}.circuit-error{color:#ffb5b5}.circuit-composition{margin:20px 0 24px}.circuit-composition h2{font-size:24px}.circuit-composition .circuit-item{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px}.circuit-composition h3{font-size:19px;line-height:1.25;margin:0 0 9px;overflow-wrap:anywhere}.circuit-goals{font-size:16px;color:#4aeee2;font-weight:700}.circuit-composition .btn{min-height:44px;white-space:normal;text-align:left}.circuit-composition .small{white-space:pre-wrap}.circuit-editor .btn:disabled{opacity:.35}.modal:has(.circuit-editor){width:min(780px,96vw)}@media(max-width:380px){.circuit-item{padding:12px}.circuit-grid{gap:9px}.circuit-editor .circuit-picker{padding:12px}.modal:has(.circuit-editor){padding:15px}}
body.rp-coach-mode .modal:has(.circuit-editor){background:#05232f;color:#f0faff;border:1px solid #2d737f}body.rp-coach-mode .modal:has(.circuit-editor) h2{color:#f0faff}body.rp-coach-mode .modal:has(.circuit-editor) label,body.rp-coach-mode .modal:has(.circuit-editor) .small{color:#b6d1dc}body.rp-coach-mode .modal:has(.circuit-editor) input,body.rp-coach-mode .modal:has(.circuit-editor) select,body.rp-coach-mode .modal:has(.circuit-editor) textarea{background:#092e3d;color:#f1fbff;border:1px solid #397380}body.rp-coach-mode .modal:has(.circuit-editor) .circuit-item b{color:#f0faff}body.rp-coach-mode .modal:has(.circuit-editor) .btn.primary{background:#03d7ce;color:#00232a}body.rp-coach-mode .modal:has(.circuit-editor) .circuit-error{color:#ffb5b5}
.circuit-editor:not([data-format="EMOM"]) [data-emom-field]{display:none}
body.rp-coach-mode .modal:has(.circuit-editor){background:#05232f!important;color:#f0faff!important}body.rp-coach-mode .modal:has(.circuit-editor) input,body.rp-coach-mode .modal:has(.circuit-editor) select,body.rp-coach-mode .modal:has(.circuit-editor) textarea{background:#092e3d!important;color:#f1fbff!important;border-color:#397380!important}
