#actionModal .modal-content{overflow:hidden;border:1px solid var(--line);border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.38)}
#actionModal .modal-header{padding:1.1rem 1.4rem;border-bottom-color:var(--line)}
#actionModal .modal-footer{padding:1rem 1.4rem;border-top-color:var(--line)}
#actionModal .modal-footer .btn{min-width:120px;padding:.55rem 1rem}
.route-modal-intro{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1rem;padding:1.15rem 1.25rem;border:1px solid rgba(13,202,240,.22);border-radius:14px;background:linear-gradient(135deg,rgba(13,202,240,.1),rgba(13,110,253,.05))}
.route-modal-kicker{display:block;margin-bottom:.25rem;color:#42cbe8;font-size:.68rem;font-weight:800;letter-spacing:.13em}.route-modal-intro h5{margin:0 0 .3rem;font-size:1.08rem}.route-modal-intro p{max-width:520px;margin:0;color:var(--muted);font-size:.83rem}
.route-total-ring{width:76px;height:76px;flex:0 0 76px;display:flex;align-items:baseline;justify-content:center;padding-top:21px;border:6px solid rgba(25,200,160,.22);border-top-color:#21c997;border-radius:50%;background:var(--surface-2)}.route-total-ring strong{font-size:1.35rem}.route-total-ring span{font-size:.75rem;color:var(--muted)}
.route-editor-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.route-editor-row{display:flex;align-items:center;gap:.8rem;padding:.85rem;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);transition:border-color .15s,transform .15s}.route-editor-row:focus-within{border-color:#20c9a0;transform:translateY(-1px)}
.route-editor-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:10px;background:rgba(13,202,240,.11);color:#3bc9e8}.route-editor-name{min-width:0;display:flex;flex:1;flex-direction:column}.route-editor-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.route-editor-name small{color:var(--muted);font-size:.7rem}.route-editor-input{width:92px;display:flex;align-items:center;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.route-editor-input .form-control{height:38px;padding:.35rem .2rem .35rem .5rem;border:0!important;background:transparent!important;text-align:right;font-weight:700;box-shadow:none!important}.route-editor-input b{padding-right:.65rem;color:var(--muted);font-size:.78rem}
.route-total-bar{height:7px;margin-top:1.1rem;overflow:hidden;border-radius:999px;background:rgba(127,140,155,.18)}.route-total-bar>div{height:100%;border-radius:inherit;background:linear-gradient(90deg,#13b9d5,#21c997);transition:width .2s}.route-total-bar>div.invalid{background:linear-gradient(90deg,#f0ad4e,#dc6b45)}
html[data-theme="light"] .route-modal-intro{background:linear-gradient(135deg,#effbfd,#f5f8ff)}html[data-theme="light"] .route-editor-row,html[data-theme="light"] .route-total-ring{background:#f8fafc}
@media(max-width:700px){#actionModal .modal-dialog{margin:.6rem}.route-editor-list{grid-template-columns:1fr}.route-modal-intro{align-items:flex-start}.route-total-ring{width:64px;height:64px;flex-basis:64px;padding-top:16px}}
