.schedule-editor{width:min(1100px,calc(100vw - 32px));max-width:none;max-height:92dvh;padding:0;border:1px solid var(--line,#dce4ee);border-radius:18px;color:var(--text,#14213c);background:var(--panel,#fff);box-shadow:0 24px 90px #0005;font:14px Inter,system-ui,sans-serif}.schedule-editor::backdrop{background:#0b172c80;backdrop-filter:blur(3px)}.schedule-editor *{box-sizing:border-box}.schedule-editor form{display:flex;flex-direction:column;max-height:92dvh;margin:0}.schedule-heading{display:flex;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid var(--line,#dce4ee);flex:none}.schedule-heading h2{margin:0;font-size:23px;line-height:1.2}.schedule-heading p{margin:6px 0 0;color:var(--muted,#66748b);font-size:13px}.schedule-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#2682ff14;color:#2467ef;flex:none}.schedule-icon svg{width:29px;height:29px}.schedule-heading>button{margin-left:2px;font-size:26px;border:0;background:transparent;color:inherit;padding:6px 10px;cursor:pointer}.schedule-orders{margin-left:auto;min-width:145px;position:relative;font-size:13px;align-self:center}.schedule-orders summary{cursor:pointer;padding:12px;background:#2682ff0c;border:1px solid #2682ff30;border-radius:10px;font-weight:700}.schedule-orders>div{position:absolute;right:0;top:100%;z-index:2;background:var(--panel,#fff);box-shadow:0 8px 20px #0002;border:1px solid var(--line,#dce4ee);padding:8px;width:270px;max-height:180px;overflow:auto;border-radius:8px}.schedule-orders span{display:block;padding:6px;overflow-wrap:anywhere}.schedule-body{padding:18px 20px;overflow:auto;min-height:0}.schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.schedule-card{border:1px solid var(--line,#dce4ee);border-radius:14px;overflow:hidden;min-width:0}.schedule-card header{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#1ba47c10}.schedule-card.delivery header{background:#ed3a5110}.schedule-card.pickup .schedule-icon{color:#119c79;background:#119c7914}.schedule-card.delivery .schedule-icon{color:#dc2945;background:#dc294514}.schedule-card h3{margin:0;font-size:18px}.schedule-keep{display:flex!important;align-items:center;gap:7px;margin-left:auto;font-size:12px;white-space:nowrap}.schedule-keep input{width:18px!important;height:18px!important;margin:0;accent-color:#2467ef}.schedule-card-body{padding:16px}.schedule-card-body label{display:grid;gap:8px;font-weight:650}.schedule-card-body input{width:100%;min-width:0;height:44px;padding:8px 12px;border:1px solid var(--line,#dce4ee);border-radius:9px;color:inherit;background:var(--panel2,#fff);font:inherit}.schedule-editor input:focus-visible,.schedule-editor button:focus-visible,.schedule-editor summary:focus-visible{outline:2px solid #2467ef;outline-offset:2px}.schedule-times{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.schedule-quick-title{display:block;margin:16px 0 9px;font-size:13px}.schedule-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.schedule-editor button{font:inherit;cursor:pointer}.schedule-presets button,.schedule-copy button,.schedule-editor footer button{border:1px solid var(--line,#dce4ee);border-radius:9px;padding:10px 8px;background:var(--panel2,#f9fbff);color:inherit}.schedule-presets button{font-size:11px;padding:10px 4px;min-width:0}.schedule-presets small{display:block;margin-top:6px;color:var(--muted,#687b9e);font-size:10px}.schedule-presets button:hover,.schedule-copy button:hover{border-color:#2467ef;background:#2467ef10}.schedule-copy{display:flex;justify-content:center;gap:12px;margin:18px 0}.schedule-copy button{font-weight:650;color:var(--primary,#2467ef);padding:11px 18px}.schedule-info{padding:13px 16px;border-radius:10px;background:#2682ff10;color:var(--primary,#2467ef);font-size:13px}.schedule-selection{border:1px solid var(--line,#dce4ee);border-radius:12px;padding:16px;margin-top:20px}.schedule-selection p{color:var(--muted,#66748b);font-size:12px;margin:7px 0 12px}.schedule-selection>div{display:flex;gap:6px;flex-wrap:wrap;max-height:76px;overflow:auto}.schedule-selection span{padding:5px 9px;border-radius:20px;background:#2682ff10;font-size:12px;font-weight:650}.schedule-editor footer{display:flex;justify-content:flex-end;gap:12px;padding:15px 20px;border-top:1px solid var(--line,#dce4ee);background:var(--panel,#fff);flex:none}.schedule-editor footer button{min-height:43px;padding:10px 22px;font-weight:700}.schedule-editor footer .schedule-primary{background:#1550eb;color:#fff;border-color:#1550eb}.schedule-editor button:disabled{opacity:.5;cursor:default}.schedule-error{color:var(--red,#cf243f);font-size:12px;white-space:pre-wrap;line-height:1.5}.schedule-error:not(:empty){margin-top:10px}.schedule-card.keep-existing{border-style:dashed}.schedule-card.keep-existing header{opacity:.85}@media(max-width:720px){.schedule-grid{grid-template-columns:1fr}.schedule-heading{padding:14px;flex-wrap:wrap;gap:10px}.schedule-heading h2{font-size:18px}.schedule-heading>div{flex:1}.schedule-heading p{font-size:11px}.schedule-orders{order:2;width:100%}.schedule-orders>div{left:0;right:auto;width:100%}.schedule-body{padding:12px}.schedule-copy{flex-wrap:wrap}.schedule-card h3{font-size:16px}.schedule-editor footer{padding:12px}.schedule-editor{width:calc(100vw - 16px)}}
/* Reset broad legacy page header rules inside this shared dialog. */
.schedule-editor header{height:auto;position:static;top:auto;z-index:auto;justify-content:initial}.schedule-editor .schedule-heading{padding:20px 24px}.schedule-editor .schedule-card header{padding:14px 16px}.schedule-editor .schedule-heading>button{background:transparent;border:0}.schedule-editor .schedule-card-body label{color:var(--text,#14213c)}@media(max-width:720px){.schedule-editor .schedule-heading{padding:14px}}
