/* HayOrder 1.0.49: tenant-scoped extras administration. */
.extras-workspace{--ex-orange:#f3522c;--ex-border:var(--line);--ex-card:var(--surface);color:var(--text);max-width:1680px;min-width:0;padding-bottom:30px}.extras-workspace *{box-sizing:border-box}.extras-page-head{display:flex;align-items:center;gap:17px;margin:5px 0 19px;min-width:0;flex-wrap:wrap}.extras-head-icon{height:66px;width:66px;flex:0 0 66px;display:grid;place-items:center;border:1px solid var(--ex-border);border-radius:17px;background:linear-gradient(145deg,#492c24,var(--surface));color:#ff754f}.extras-head-icon svg{width:35px;height:35px}.extras-page-heading{flex:1 1 340px;min-width:0}.extras-page-heading h2{font-size:clamp(26px,2.3vw,36px);line-height:1.12;letter-spacing:-.035em;margin:5px 0}.extras-page-heading p{font-size:14px;line-height:1.6;color:var(--muted);margin:0;max-width:670px}.extras-kicker{font-size:10px;letter-spacing:.13em;color:var(--link);font-weight:800}.extras-workspace .button,.extras-workspace button{font:inherit;cursor:pointer}.extras-workspace .extras-new-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;background:var(--ex-orange);border-color:#ff704f;color:#fff;white-space:nowrap}.extras-new-button svg{width:17px;height:17px}.extras-preview-link{white-space:nowrap;min-height:43px;display:inline-flex;align-items:center}.extras-license-note{border:1px solid #ac7b39;background:color-mix(in srgb,var(--surface) 87%,#8c5314);border-radius:12px;padding:13px 17px;display:flex;align-items:flex-start;gap:11px;margin:0 0 16px}.extras-license-note svg{flex:0 0 20px;color:#e6ae65}.extras-license-note strong,.extras-license-note span{display:block}.extras-license-note strong{font-size:13px;margin-bottom:3px}.extras-license-note span{font-size:12px;color:var(--muted);line-height:1.55}.extras-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(325px,.9fr);align-items:start;gap:18px;min-width:0}.extras-group-list,.extras-editor{min-width:0}.extras-group-list{display:grid;gap:12px}.extras-group,.extras-editor,.extras-empty{border:1px solid var(--ex-border);border-radius:14px;background:var(--ex-card);min-width:0;box-shadow:0 5px 21px #0000000d}.extras-group.is-selected{border-color:color-mix(in srgb,var(--ex-orange) 54%,var(--ex-border))}.extras-group.is-paused{opacity:.87}.extras-group-top{display:flex;gap:10px;align-items:center;padding:14px 14px 13px;min-width:0}.extras-grip,.extras-item-grip{font-size:23px;font-weight:600;line-height:1;color:var(--muted);width:19px;flex:0 0 19px;text-align:center;user-select:none}.extras-group-icon{color:#ff6b43;width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px}.extras-group-icon svg{width:31px;height:31px}.extras-group-name{color:var(--text);min-width:0;flex:1;text-decoration:none}.extras-group-name strong,.extras-group-name small{display:block;overflow-wrap:anywhere}.extras-group-name strong{font-size:16px;line-height:1.3;letter-spacing:-.015em}.extras-group-name small{color:var(--muted);font-size:12px;line-height:1.4;margin-top:4px}.extras-group-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.extras-group-actions form,.extras-item-actions form,.extras-reorder form,.extras-editor-secondary form{margin:0;display:flex;gap:5px}.extras-workspace .extras-switch{padding:0;min-width:44px;width:44px;height:24px;border:0;border-radius:99px;display:inline-flex;align-items:center;background:#677581;box-shadow:none}.extras-switch span{background:white;display:block;width:18px;height:18px;border-radius:50%;margin:3px;transition:transform .18s}.extras-switch.is-on{background:#49c995}.extras-switch.is-on span{transform:translateX(20px)}.extras-active-word{font-size:12px;white-space:nowrap}.extras-option-pill{padding:5px 10px;border:1px solid var(--line);background:var(--surface-soft);border-radius:99px;font-size:11px;color:var(--text);white-space:nowrap}.extras-icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--text);font-size:16px;text-decoration:none}.extras-icon-button:hover,.extras-icon-button:focus-visible{border-color:var(--ex-orange);color:var(--link)}.extras-workspace .extras-danger{color:#ff7e64;background:#54302955}.extras-item-list{margin:0 13px;background:var(--bg);border:1px solid var(--line);border-radius:10px;overflow:hidden}.extras-item-row{display:grid;grid-template-columns:18px 31px minmax(0,1fr) minmax(77px,auto) auto;align-items:center;column-gap:12px;min-height:42px;padding:5px 10px;border-bottom:1px solid var(--line);min-width:0}.extras-item-row:last-child{border-bottom:0}.extras-item-row.is-paused{opacity:.55}.extras-item-avatar{display:grid;place-items:center;width:29px;height:29px;background:var(--surface-soft);border-radius:8px;font-size:13px;font-weight:800;color:var(--link)}.extras-item-name{font-size:13px;overflow-wrap:anywhere}.extras-item-name small{display:block;color:var(--muted);font-size:10px}.extras-item-price{font-size:13px;text-align:right;white-space:nowrap;font-weight:650;font-variant-numeric:tabular-nums}.extras-item-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.extras-item-actions .extras-icon-button{width:29px;height:29px}.extras-no-items,.extras-text-info{font-size:13px;color:var(--muted);padding:16px;line-height:1.5}.extras-group-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 13px 12px}.extras-group-footer .button{display:inline-flex;align-items:center;gap:7px;min-height:35px;padding:7px 13px;font-size:12px}.extras-group-footer .button svg{width:17px;height:17px}.extras-reorder button{padding:5px 11px;min-height:33px}.extras-muted{color:var(--muted);font-size:12px}.extras-editor{padding:16px;position:sticky;top:18px;max-height:calc(100vh - 40px);overflow:auto;scrollbar-width:thin}.extras-editor-title{display:flex;align-items:center;gap:10px;padding:1px 1px 17px;border-bottom:1px solid var(--line);margin-bottom:15px}.extras-editor-title>strong,.extras-editor-title>div>strong{font-size:16px;line-height:1.3}.extras-editor-title small{display:block;color:var(--muted);margin-top:3px;font-size:12px}.extras-editor-leaf{color:var(--link)}.extras-editor-leaf svg{width:22px;height:22px}.extras-back{color:var(--link);font-size:23px;text-decoration:none}.extras-editor-form{display:grid;gap:14px;min-width:0}.extras-editor-form>label,.extras-editor-form .extras-form-section>label{display:grid;gap:7px;font-size:12px;font-weight:700}.extras-editor-form label small{display:block;font-size:11px;font-weight:400;line-height:1.45;color:var(--muted)}.extras-editor-form input:not([type=checkbox]):not([type=radio]),.extras-editor-form textarea,.extras-editor-form select{width:100%;min-width:0;background:var(--field);border:1px solid var(--line);border-radius:9px;color:var(--text);padding:11px 12px;font-size:13px;line-height:1.4}.extras-editor-form textarea{resize:vertical}.extras-editor-form input:focus,.extras-editor-form textarea:focus,.extras-editor-form select:focus{outline:2px solid var(--ex-orange);outline-offset:1px}.extras-form-section{border-top:1px solid var(--line);padding-top:13px;display:grid;gap:10px}.extras-form-section h3{font-size:14px;margin:0;line-height:1.35}.extras-form-section>p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.extras-editor-form label.extras-check{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:12px;font-weight:600;line-height:1.35}.extras-check input,.extras-scope-radio input,.extras-scope-options input{accent-color:var(--ex-orange);flex:0 0 auto;width:17px;height:17px;margin:0}.extras-check span{display:block;flex:1;min-width:0}.extras-check span small{margin-top:2px}.extras-number-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0}.extras-number-fields label{font-size:12px;display:grid;gap:6px}.extras-scope-radio{display:grid;gap:10px}.extras-scope-radio label,.extras-scope-options label{font-size:12px;display:flex;align-items:center;gap:9px;line-height:1.35;cursor:pointer}.extras-scope-options{border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:12px;display:grid;gap:10px;max-height:195px;overflow:auto;scrollbar-width:thin}.extras-scope-options[hidden],.extras-editor-form [hidden]{display:none!important}.extras-mini-preview{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:12px;display:grid;gap:7px}.extras-mini-preview>strong{font-size:13px}.extras-mini-preview>small{font-size:11px;color:var(--muted)}.extras-mini-preview>span{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:6px;font-size:12px}.extras-mini-preview b{font-weight:650;white-space:nowrap}.extras-mini-preview textarea{min-height:57px}.extras-form-footer{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;border-top:1px solid var(--line);padding-top:13px}.extras-form-footer .button,.extras-form-footer button{font-size:12px;padding:10px 12px;min-height:40px}.extras-delete-group{border-top:1px solid var(--line);margin-top:17px;padding-top:13px}.extras-delete-group button{color:var(--danger)!important;font-size:12px}.extras-editor-secondary{display:flex;gap:9px;margin-top:18px;flex-wrap:wrap}.extras-editor-secondary button{font-size:12px;padding:7px 10px}.extras-editor-placeholder{text-align:center;color:var(--muted);padding:60px 15px;font-size:14px}.extras-empty{padding:40px 25px;text-align:center}.extras-empty-symbol{color:var(--link);margin:0 auto 14px}.extras-empty-symbol svg{width:42px;height:42px}.extras-empty h3{font-size:22px;letter-spacing:-.03em;margin:0}.extras-empty p{font-size:13px;line-height:1.6;color:var(--muted);max-width:530px;margin:12px auto 18px}.extras-empty-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.extras-empty-actions form{margin:0}.extras-empty-actions .button,.extras-empty-actions button{min-height:42px;padding:10px 15px}.extras-workspace .extras-scope-radio input:focus-visible,.extras-workspace button:focus-visible,.extras-workspace a:focus-visible{outline:2px solid var(--link);outline-offset:3px}
@media(max-width:1250px){.extras-layout{grid-template-columns:minmax(0,1fr)}.extras-editor{position:static;max-height:none}.extras-page-head .extras-preview-link{order:3}.extras-page-head .extras-new-button{order:4}}@media(max-width:760px){.extras-page-head{gap:10px}.extras-head-icon{width:50px;height:50px;flex-basis:50px;border-radius:11px}.extras-head-icon svg{width:26px;height:26px}.extras-page-heading{flex-basis:calc(100% - 65px)}.extras-page-heading h2{font-size:26px}.extras-preview-link,.extras-new-button{flex:1 1 auto}.extras-group-top{flex-wrap:wrap}.extras-group-name{flex:1 1 calc(100% - 105px)}.extras-group-actions{width:100%;justify-content:flex-start;padding-left:29px;gap:8px}.extras-editor{padding:13px}}@media(max-width:450px){.extras-item-row{grid-template-columns:14px 0 minmax(0,1fr) minmax(75px,auto) auto;gap:6px;padding:6px 7px}.extras-item-avatar{display:none}.extras-item-name{font-size:12px}.extras-item-price{font-size:12px}.extras-item-grip{font-size:17px;width:14px}.extras-item-actions{gap:3px}.extras-item-actions .extras-icon-button{width:26px;height:28px}.extras-group{border-radius:11px}.extras-group-top{padding:11px}.extras-item-list{margin:0 8px}.extras-number-fields{grid-template-columns:minmax(0,1fr)}.extras-form-footer>*{flex:1 1 auto}.extras-preview-link,.extras-new-button{flex:1 1 100%;justify-content:center}}@media(prefers-reduced-motion:reduce){.extras-switch span{transition:none}}

/* Explicit control sizing against shared dashboard button defaults. */
.extras-workspace .extras-switch{height:24px!important;min-height:24px!important;max-height:24px!important;width:44px!important;min-width:44px!important;max-width:44px!important;padding:0!important;border:0!important;border-radius:99px!important;box-shadow:none!important;display:inline-flex!important;flex:0 0 44px!important}.extras-workspace .extras-switch span{display:block!important;width:18px!important;height:18px!important;flex:0 0 18px!important;margin:3px!important;padding:0!important;border-radius:99px!important}

.extras-template-form{margin:0;flex:0 0 auto}.extras-template-form button{white-space:nowrap;min-height:44px}
@media(max-width:700px){.extras-template-form{width:100%}.extras-template-form button{width:100%}}

/* HayOrder 1.0.51 · full-width workspace and native premium edit dialogs. */
.extras-workspace{--ex-orange:#f3522c;--ex-glow:#ff805a;max-width:1700px}
.extras-layout{display:block;min-width:0}
.extras-group-list{display:grid;gap:15px;max-width:1510px}
.extras-group{border-radius:16px;background:linear-gradient(150deg,var(--surface) 0%,color-mix(in srgb,var(--surface) 92%,#161d20) 100%);transition:border-color .16s ease,box-shadow .16s ease;overflow:hidden}
.extras-group:hover{border-color:color-mix(in srgb,var(--ex-orange) 32%,var(--line))}
.extras-group.is-paused{opacity:1;border-style:dashed}
.extras-group.is-paused .extras-group-icon{opacity:.65}
.extras-group-top{padding:17px 18px;gap:14px}
.extras-group-name strong{font-size:17px;font-weight:760;line-height:1.4}
.extras-group-name small{font-size:12.5px;line-height:1.55;max-width:720px}
.extras-group-actions{gap:10px}
.extras-group-actions form{display:flex;align-items:center}
.extras-workspace .extras-switch{height:30px!important;min-height:30px!important;max-height:30px!important;width:54px!important;min-width:54px!important;max-width:54px!important;flex:0 0 54px!important;border:1px solid #ffffff24!important;background:#58616d!important;box-shadow:inset 0 2px 5px #0003!important;transition:background .2s,border-color .2s,box-shadow .2s!important;cursor:pointer}
.extras-workspace .extras-switch span{width:22px!important;height:22px!important;flex:0 0 22px!important;margin:3px!important;background:#fff!important;box-shadow:0 2px 6px #0003!important;transition:transform .2s!important}
.extras-workspace .extras-switch.is-on{background:linear-gradient(120deg,#f04e29,#ff7951)!important;border-color:#ff9173!important;box-shadow:inset 0 1px 3px #0002,0 0 0 3px #f3522c13!important}
.extras-workspace .extras-switch.is-on span{transform:translateX(23px)}
.extras-workspace .extras-switch:disabled{opacity:.55;cursor:wait}
.extras-active-word{font-size:12.5px;font-weight:720;min-width:46px}
.extras-group.is-paused .extras-active-word{color:var(--muted)}
.extras-option-pill{font-size:11.5px;padding:6px 11px}
.extras-icon-button{border-radius:10px;width:36px;height:36px}
.extras-item-list{margin:0 16px;border-radius:12px}
.extras-item-row{min-height:47px;padding:6px 13px;column-gap:14px}
.extras-item-name{font-size:13.5px;font-weight:570}
.extras-item-price{font-size:13.5px}
.extras-group-footer{padding:12px 16px 15px}
.extras-edit-button{width:37px;height:37px}
.extras-workspace .extras-group-name:focus-visible,.extras-workspace .extras-switch:focus-visible{outline:2px solid #ff805a;outline-offset:3px}
.extras-premium-modal{color:var(--text);background:var(--surface);border:1px solid color-mix(in srgb,var(--ex-orange) 32%,var(--line));border-radius:19px;padding:0;box-shadow:0 32px 120px #000b,0 0 0 1px #fff1;max-height:min(840px,calc(100dvh - 28px));width:min(670px,calc(100vw - 24px));max-width:none;overflow:hidden;position:fixed;inset:0;margin:auto;box-sizing:border-box}
.extras-premium-modal[open]{display:flex;flex-direction:column}
.extras-item-modal{width:min(470px,calc(100vw - 24px));max-height:min(660px,calc(100dvh - 24px))}
.extras-premium-modal::backdrop{background:rgba(5,8,11,.77);backdrop-filter:blur(5px)}
.extras-modal-header{display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,color-mix(in srgb,var(--surface) 75%,#442b24),var(--surface));border-bottom:1px solid var(--line);padding:19px 23px;min-width:0;flex:0 0 auto}
.extras-modal-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border:1px solid #ff795133;border-radius:13px;background:#f3522c17;color:#ff815b}
.extras-modal-icon svg{width:24px;height:24px}
.extras-modal-header>div:nth-child(2){min-width:0;flex:1}
.extras-modal-header h3{font-size:22px;letter-spacing:-.025em;line-height:1.2;margin:4px 0 5px;color:var(--text)}
.extras-modal-header p{color:var(--muted);font-size:12.5px;line-height:1.45;margin:0}
.extras-premium-modal .extras-modal-close{border:1px solid var(--line);background:var(--surface-soft);color:var(--text);font-size:25px;font-weight:350;line-height:1;width:36px;min-height:36px;padding:0;border-radius:10px;display:grid;place-items:center;flex:0 0 36px}
.extras-premium-modal .extras-modal-close:hover{border-color:var(--ex-orange);color:var(--ex-orange)}
.extras-premium-modal .extras-modal-form{display:flex;flex-direction:column;gap:0;min-height:0;flex:1;overflow:hidden}
.extras-modal-scroll{overflow-y:auto;min-height:0;padding:20px 24px 22px;scrollbar-width:thin;overscroll-behavior:contain;flex:1}
.extras-modal-section{display:grid;gap:14px;padding:0 0 21px;margin:0 0 20px;border-bottom:1px solid var(--line);min-width:0}
.extras-modal-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.extras-section-heading{display:flex;align-items:center;gap:9px}
.extras-section-number{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;font-size:10px;font-weight:800;border-radius:9px;background:#f3522c1d;color:#ff815b;border:1px solid #f3522c35}
.extras-section-heading h4{margin:0;font-size:15px;letter-spacing:-.01em}
.extras-modal-section>label:not(.extras-setting-line){display:grid;gap:7px;font-size:13px;font-weight:710;line-height:1.45}
.extras-modal-section>label small{color:var(--muted);font-size:11.5px;font-weight:400;line-height:1.45}
.extras-modal-section input:not([type=checkbox]):not([type=radio]),.extras-modal-section textarea,.extras-modal-section select{width:100%;min-width:0;padding:11px 13px;min-height:43px;background:var(--field);color:var(--text);border:1px solid var(--line);border-radius:10px;font-size:13.5px;font-weight:500}
.extras-modal-section input:focus,.extras-modal-section textarea:focus,.extras-modal-section select:focus{outline:2px solid #f3522c;outline-offset:1px}
.extras-modal-section textarea{resize:vertical;min-height:73px}
.extras-setting-line{cursor:pointer!important;display:flex!important;align-items:center!important;gap:14px!important;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);min-height:65px}
.extras-setting-copy{min-width:0;flex:1;display:grid;gap:4px}
.extras-setting-copy strong{font-size:13px;line-height:1.3}
.extras-setting-copy small{font-size:11px!important;color:var(--muted);line-height:1.4}
.extras-toggle-control{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.extras-toggle-track{display:block;flex:0 0 49px;width:49px;height:27px;border-radius:30px;background:#626e79;border:1px solid #ffffff24;box-shadow:inset 0 1px 4px #0003;position:relative;transition:background .18s}
.extras-toggle-track>span{display:block;position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:100%;background:white;box-shadow:0 1px 4px #0004;transition:transform .18s}
.extras-toggle-control:checked+.extras-toggle-track{background:linear-gradient(115deg,#ee4a27,#ff7d53);border-color:#ff9d7b}
.extras-toggle-control:checked+.extras-toggle-track>span{transform:translateX(22px)}
.extras-toggle-control:focus-visible+.extras-toggle-track{outline:2px solid #ff936f;outline-offset:3px}
.extras-modal-section [data-extras-choice-settings]{display:grid;gap:14px}
.extras-modal-section [hidden],.extras-premium-modal [hidden]{display:none!important}
.extras-modal-section .extras-number-fields{margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.extras-modal-section .extras-number-fields label{font-size:12px;font-weight:700}
.extras-section-note{margin:0;font-size:12.5px;color:var(--muted);line-height:1.5}
.extras-scope-radio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.extras-scope-radio label{border:1px solid var(--line);border-radius:11px;min-height:53px;padding:9px 10px;font-size:11.5px;font-weight:650;background:var(--surface-soft);align-items:center;cursor:pointer}
.extras-scope-radio label:has(input:checked){border-color:var(--ex-orange);background:color-mix(in srgb,var(--surface) 89%,var(--ex-orange))}
.extras-modal-section .extras-scope-options{max-height:170px;border-radius:11px}
.extras-modal-section .extras-mini-preview{padding:14px;gap:9px}
.extras-mini-preview>div{display:grid;gap:3px}
.extras-mini-preview>div>div{display:flex;align-items:center;justify-content:space-between;gap:9px;border-top:1px solid var(--line);padding-top:8px;font-size:12px}
.extras-mini-preview>div>span{color:var(--muted);font-size:12px}
.extras-mini-preview>div b{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:720}
.extras-modal-footer{border-top:1px solid var(--line);background:var(--surface);padding:14px 23px;display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap;flex:0 0 auto}
.extras-premium-modal .extras-modal-footer>button{min-height:42px;padding:10px 16px;border-radius:10px;font-size:12.5px;font-weight:740}
.extras-premium-modal .extras-save-button{color:#fff;background:linear-gradient(115deg,#e44223,#fa663e);border:1px solid #ff865b;box-shadow:0 3px 11px #ee512b24}
.extras-premium-modal .extras-save-button:hover{filter:brightness(1.1)}
.extras-premium-modal .extras-modal-delete{margin-right:auto;color:#ff967e!important}
.extras-modal-section .extras-item-order-buttons{display:flex;gap:8px}
.extras-item-order-buttons button{min-height:38px;font-size:12px}
.extras-inline-error{border:1px solid #ff735e80;background:#ff4b3321;color:#ffb8a6;padding:11px 13px;border-radius:10px;font-size:12.5px;line-height:1.55;margin:0 0 15px}
.extras-toast{position:fixed;bottom:26px;right:25px;z-index:9999;border:1px solid #ff906d65;box-shadow:0 12px 46px #0007;color:#fff;padding:13px 17px;border-radius:11px;background:#27312f;font-size:13px;font-weight:700;max-width:min(390px,calc(100vw - 32px));line-height:1.4}
.extras-toast[data-kind="error"]{border-color:#fa766b;background:#502d2b}
.extras-toast[hidden]{display:none!important}
@media(max-width:760px){.extras-group-top{padding:13px}.extras-group-actions{padding-left:0;justify-content:flex-end}.extras-page-heading{flex-basis:calc(100% - 66px)}.extras-modal-header{padding:16px}.extras-modal-scroll{padding:17px}.extras-modal-footer{padding:12px 16px}.extras-modal-header h3{font-size:20px}}
@media(max-width:520px){.extras-group-actions{justify-content:flex-start;gap:9px}.extras-group-top{column-gap:9px}.extras-group-name{flex:1 1 calc(100% - 85px)}.extras-item-list{margin:0 9px}.extras-modal-header p{font-size:11px}.extras-scope-radio{grid-template-columns:1fr}.extras-scope-radio label{min-height:40px}.extras-modal-footer{justify-content:stretch}.extras-modal-footer>button{flex:1 1 auto}.extras-modal-footer .extras-modal-delete{flex-basis:100%;order:2}.extras-modal-section .extras-number-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.extras-item-row{column-gap:7px}.extras-toast{bottom:12px;right:12px}}
@media(prefers-reduced-motion:reduce){.extras-workspace .extras-switch,.extras-toggle-track,.extras-toggle-track>span{transition:none!important}}
/* Compact mobile rows: protect the ingredient name from narrow price/action columns. */
@media(max-width:520px){
 .extras-item-row{grid-template-columns:17px minmax(0,1fr) auto;grid-template-rows:auto auto;grid-template-areas:'grip name actions' 'grip price actions';column-gap:9px;row-gap:2px;min-height:57px;padding:8px 10px}
 .extras-item-grip{grid-area:grip;align-self:center;width:17px}
 .extras-item-avatar{display:none}
 .extras-item-name{grid-area:name;min-width:0;overflow-wrap:break-word;word-break:normal;line-height:1.32;font-size:13.5px}
 .extras-item-price{grid-area:price;min-width:0;text-align:left;line-height:1.32;font-size:12px;color:var(--muted)}
 .extras-item-actions{grid-area:actions;justify-self:end;align-self:center;gap:5px}
 .extras-item-actions .extras-icon-button{width:32px;height:34px}
}
/* v1.0.64: two group cards per row when the workspace has sufficient room. */
.extras-workspace .extras-group-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;align-items:start;gap:16px}
.extras-workspace .extras-group-top{flex-wrap:wrap;gap:10px}
.extras-workspace .extras-group-name{flex:1 1 calc(100% - 90px)}
.extras-workspace .extras-group-actions{width:100%;justify-content:flex-end;padding-left:0;gap:9px}
.extras-workspace .extras-empty{grid-column:1/-1}
.extras-workspace .extras-switch{width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;height:26px!important;min-height:26px!important;max-height:26px!important;background:#647380!important;border:0!important;box-shadow:none!important;position:relative;overflow:hidden}
.extras-workspace .extras-switch span{position:absolute;left:3px;top:3px;width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0!important;box-shadow:none!important;transform:translateX(0)}
.extras-workspace .extras-switch.is-on{background:#55c998!important;border:0!important;box-shadow:none!important}
.extras-workspace .extras-switch.is-on span{transform:translateX(18px)}
.extras-workspace .extras-switch:focus-visible{outline:2px solid var(--link);outline-offset:3px}
@media(max-width:1100px){.extras-workspace .extras-group-list{grid-template-columns:minmax(0,1fr)}}

/* HayOrder v1.0.69 – masonry layout for extra groups. */
.extras-workspace .extras-group-list{display:block;column-count:2;column-gap:16px;max-width:none}
.extras-workspace .extras-group,
.extras-workspace .extras-empty{display:inline-block;width:100%;margin:0 0 16px;break-inside:avoid;vertical-align:top}
.extras-workspace .extras-empty{column-span:all;display:block}
.extras-workspace .extras-group-top{break-inside:avoid}
.extras-workspace .extras-group-actions{width:100%;justify-content:flex-end;padding-left:0;gap:9px}
@media(max-width:1100px){.extras-workspace .extras-group-list{column-count:1}}

/* HayOrder v1.1.04: show groups in one clear vertical list and align the create action with other header buttons. */
.extras-workspace .extras-group-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;column-count:auto;column-gap:normal;max-width:none}
.extras-workspace .extras-group,.extras-workspace .extras-empty{display:block;width:100%;margin:0;break-inside:auto}
.extras-workspace .extras-new-button{background:var(--surface-soft);border-color:var(--line);color:var(--text);box-shadow:none}
.extras-workspace .extras-new-button:hover{background:var(--active);border-color:var(--line);color:var(--text)}
