.routine-tools,.routine-actions{display:flex;gap:8px;flex-wrap:wrap}.routine-tools{padding:16px;background:#f6f9fc}.routine-tools input,.routine-tools select{width:auto;flex:1;margin:0;min-width:140px}.routine-card{padding:22px;border-bottom:1px solid #dce5ed}.routine-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.routine-heading span{color:#26719b;font-size:13px;font-weight:bold}.routine-heading h3{margin:6px 0}.routine-card p,.routine-card small{color:#597084}.routine-actions{margin-top:14px}.routine-actions button{border:1px solid #ccd9e3;background:white;color:#092f53;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}.routine-dialog{width:min(780px,94vw);max-width:94vw;max-height:90dvh;overflow:auto}.routine-dialog p{white-space:pre-wrap}.exercise-editor{border:1px solid #cbdce8;border-radius:12px;margin:18px 0;padding:16px;background:#f8fbfd}.exercise-editor legend{font-weight:bold;color:#1269ad}.exercise-list{padding-left:24px}.exercise-list li{border-bottom:1px solid #dae3eb;padding:6px 0 14px}.routine-dialog details{border-bottom:1px solid #dae3eb;padding:16px 0}.routine-dialog summary{cursor:pointer;font-weight:bold}.routine-dialog textarea{min-height:90px}#routinePrint{position:fixed;width:1px;height:1px;bottom:0;left:0;border:0}@media(max-width:800px){.mobile-nav{grid-template-columns:repeat(6,1fr)}.mobile-nav button{padding:8px 2px;font-size:17px}.mobile-nav span{font-size:10px}.routine-heading{flex-wrap:wrap}.routine-card{padding:16px}.routine-dialog .two{grid-template-columns:1fr}.routine-tools>*{width:100%!important}.session-actions{grid-template-columns:repeat(2,1fr)}}

.routine-dialog{padding:28px;color:#092f53;font-family:inherit}.routine-dialog h2{padding-right:28px}.routine-dialog .close{right:10px;top:10px}#routineEditor{padding:0}#routineViewer .routine-actions{margin-bottom:8px}@media(max-width:600px){.routine-dialog{padding:20px}.routine-dialog .routine-actions button{flex:1 1 130px}}
