#string-planner-dialog{border:0;padding:0;width:min(1600px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);border-radius:10px;color:#1d2429;background:#fff;box-shadow:0 20px 80px #0005;overscroll-behavior:contain}
#string-planner-dialog::backdrop{background:#111a20aa}
.string-planner .sp-header .sp-save-status{font-size:13px;margin-top:5px;color:#53635b;max-width:75ch}
.string-planner .sp-header .sp-save-status.failed{color:#a52929;font-weight:600}
.canvas-footer .planning-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.canvas-footer .planning-actions .button{min-height:44px}
.canvas-footer .planning-actions .next-step{border-color:#a84213;color:#a84213}
@media(max-width:850px){#string-planner-dialog{width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}.canvas-footer .planning-actions{gap:6px}.canvas-footer .planning-actions .button{padding:9px 12px}}
@media(max-width:540px){.canvas-footer .planning-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.canvas-footer .planning-actions .button{font-size:12px;min-width:0}.canvas-footer .planning-actions svg{display:none}}
@media(max-width:850px) and (max-height:420px) and (orientation:landscape){.canvas-footer .planning-actions{display:flex;width:auto;flex-wrap:nowrap}.canvas-footer .planning-actions .button{font-size:12px;min-width:0;padding:7px 10px}.canvas-footer .planning-actions .button svg{display:none}}
