.design-system-v2 .dialog-layer{position:fixed;inset:0;z-index:1600;display:flex;justify-content:center;align-items:center;padding:20px;background:rgb(23 30 42/32%);backdrop-filter:none}.design-system-v2 .pro-dialog[data-dialog]{position:relative;width:min(680px,100%);max-width:100%;max-height:calc(100dvh - 40px);min-height:0;padding:0;margin:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--dark);box-shadow:0 20px 60px rgb(14 30 48/18%);outline:none}.dialog-draft-view,.dialog-form,.dialog-view{display:flex;flex-direction:column;flex:1 1 auto;gap:0;min-height:0;max-height:inherit;overflow:hidden}.dialog-view[hidden]{display:none}.design-system-v2 .dialog-footer,.design-system-v2 .dialog-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:16px 20px;background:#fff;border:0}.design-system-v2 .dialog-header{border-bottom:1px solid var(--border)}.design-system-v2 .dialog-header :is(h2,h3){margin:0;font-size:18px;line-height:1.35}.design-system-v2 .dialog-header>.management-dialog-heading,.design-system-v2 .dialog-header>.modal-head{width:100%;margin:0;padding:0;border:0}.design-system-v2 .dialog-header .icon-button{flex-shrink:0}.design-system-v2 .dialog-body{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px}.design-system-v2 .dialog-body>:not(:last-child){margin-bottom:16px}.design-system-v2 .dialog-body>.stack{margin-bottom:0}.design-system-v2 .dialog-footer{justify-content:flex-end;flex-wrap:wrap;border-top:1px solid var(--border);padding:12px 20px}.design-system-v2 .dialog-footer>:is(.modal-actions,.row){width:100%;margin:0;padding:0;border:0;justify-content:flex-end}.design-system-v2 .pro-dialog.inventory-detail-modal{width:min(1080px,100%)}.design-system-v2 .pro-dialog.inventory-create-modal{width:min(720px,100%)}.design-system-v2 .pro-dialog.inventory-subdialog{width:min(560px,100%)}.design-system-v2 .pro-dialog.users-admin-dialog{width:min(1080px,100%)}.design-system-v2 .pro-dialog.users-admin-edit{width:min(680px,100%)}.design-system-v2 .pro-dialog.management-shift-dialog{width:min(1060px,100%)}.design-system-v2 .pro-dialog.product-lightbox-dialog{width:min(1120px,100%)}.design-system-v2 .product-lightbox-dialog .dialog-body{padding:12px}.design-system-v2 .product-lightbox-dialog .product-lightbox-stage{padding:0}.design-system-v2 .dialog-draft-view{min-height:220px}.design-system-v2 .management-results[aria-busy=true]{cursor:progress}.design-system-v2 .management-results[inert]{opacity:.72}.portal.portal-v2{--portal-header-height:64px}@media (max-width:720px){.portal.portal-v2{--portal-header-height:55px}.design-system-v2 .dialog-layer{padding:8px}.design-system-v2 .pro-dialog[data-dialog]{max-height:calc(100dvh - 16px);border-radius:8px}.design-system-v2 .dialog-body,.design-system-v2 .dialog-header{padding:14px}.design-system-v2 .dialog-footer{padding:12px 14px max(12px,env(safe-area-inset-bottom))}.design-system-v2 .dialog-header :is(h2,h3){font-size:17px}}@media (prefers-reduced-motion:reduce){.design-system-v2 *,.design-system-v2 :after,.design-system-v2 :before{scroll-behavior:auto;animation-duration:.01ms;transition-duration:.01ms}}.calendar-field{position:relative}.design-system-v2 .calendar-trigger{width:100%;display:flex;justify-content:space-between;text-align:left;gap:10px}.calendar-placeholder,.design-system-v2 .calendar-trigger .ui-icon{color:#667085}.calendar-required{font-size:11px;color:var(--muted)}.design-system-v2 .calendar-backdrop{position:fixed;inset:0;z-index:2100;background:transparent}.design-system-v2 .calendar-popover{position:fixed;z-index:2110;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe3e9;border-radius:8px;background:#fff;color:#263140;box-shadow:0 8px 30px rgb(16 24 40/16%);font-size:12px}.calendar-popover.date-only{width:min(320px,calc(100vw - 24px))}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 132px;min-height:0;overflow:auto;overscroll-behavior:contain}.calendar-layout.date-only{grid-template-columns:minmax(0,1fr)}.calendar-month-panel{min-width:0;padding:12px}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.calendar-head strong{font-size:13px;font-weight:650}.design-system-v2 .calendar-head .icon-button{width:30px;height:30px;min-width:30px;min-height:30px;padding:5px}.calendar-grid,.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.calendar-weekdays{margin-bottom:4px}.calendar-weekdays span{display:grid;place-items:center;min-height:26px;color:#667085;font-size:11px}.design-system-v2 .calendar-day{aspect-ratio:auto;min-width:0;min-height:32px;height:32px;padding:0;border:1px solid transparent;border-radius:5px;background:transparent;color:#344054;font-size:12px;font-weight:500}.design-system-v2 .calendar-day:hover{background:var(--primary-soft);color:var(--primary-strong)}.design-system-v2 .calendar-day.outside{color:#98a2b3}.design-system-v2 .calendar-day.today{border-color:#adb8cc}.design-system-v2 .calendar-day.selected{background:#263140;border-color:#263140}.design-system-v2 .calendar-day:disabled{background:transparent;color:#98a2b3;opacity:.4}.calendar-quick{display:flex;gap:7px;margin-top:10px}.design-system-v2 .calendar-quick-button,.design-system-v2 .calendar-reset{min-height:30px;padding:6px 10px;border:1px solid #e1e5eb;border-radius:5px;background:#fff;color:#475467;font-size:12px}.design-system-v2 .calendar-quick-button:hover,.design-system-v2 .calendar-reset:hover{background:#f5f7fa;color:#1d2939}.calendar-time-panel{min-width:0;padding:12px 10px;border-left:1px solid #e4e7ec;background:#fafbfc}.calendar-time-title{display:block;margin-bottom:7px;color:#667085;font-size:12px}.design-system-v2 .calendar-time-input{width:100%;min-height:32px;height:32px;padding:5px;margin-bottom:8px;font-size:13px;font-variant-numeric:tabular-nums}.calendar-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:214px;padding:1px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.design-system-v2 .calendar-time{min-height:28px;padding:5px 3px;border:1px solid transparent;border-radius:4px;background:#fff;color:#475467;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}.design-system-v2 .calendar-time:hover{background:#eef2f7;color:#1d2939}.design-system-v2 .calendar-time.selected{background:#263140;color:#fff}.calendar-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 12px;border-top:1px solid #e4e7ec;background:#fff}.calendar-actions:empty{display:none}.design-system-v2 .calendar-apply{min-height:32px;padding:7px 14px;background:#263140;color:#fff;border-radius:5px;font-size:12px}.calendar-mobile-head{display:none}@media (max-width:720px){.design-system-v2 .calendar-popover{top:auto;bottom:8px;left:8px;right:8px;width:calc(100% - 16px);max-width:480px;max-height:calc(100dvh - 16px);margin-inline:auto;border-radius:9px}.calendar-mobile-head{display:flex;flex:0 0 auto;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #e4e7ec}.calendar-mobile-head strong{font-size:13px}.design-system-v2 .calendar-mobile-head .icon-button{min-height:30px;height:30px;width:30px;min-width:30px;padding:5px}.calendar-layout{grid-template-columns:minmax(0,1fr) 112px}.calendar-month-panel{padding:10px}.calendar-grid,.calendar-weekdays{gap:1px}.design-system-v2 .calendar-day{min-height:30px;height:30px}.design-system-v2 .calendar-time-input{font-size:16px}.calendar-time-panel{padding:10px 7px}.calendar-times{max-height:198px}.calendar-actions{padding-bottom:max(10px,env(safe-area-inset-bottom))}}.design-system-v2 .calendar-apply{min-height:38px;border:1px solid #6826d3;border-radius:7px;background:#6826d3;color:white;padding:8px 16px;font-size:13px;font-weight:650}.design-system-v2 .calendar-apply:hover{background:#5017b1;border-color:#5017b1;color:#fff}.design-system-v2 .calendar-day.selected{background:#6826d3;border-color:#6826d3}.design-system-v2 .calendar-day.selected:hover{background:#5017b1;color:#fff}.design-system-v2 .calendar-time.selected{color:#5522a7;background:#f1eafe;border-color:#a184d5}.design-system-v2 .calendar-time:hover{border-color:#ae90df;color:#51209a}.design-system-v2 .calendar-apply{border-radius:10px;background:#2e2a32;border-color:#2e2a32;min-height:43px}.design-system-v2 .calendar-apply:hover{background:#584276;border-color:#584276}.design-system-v2 .calendar-day.selected{background:#7551d2;border-color:#7551d2;color:#fff}.design-system-v2 .calendar-day.selected:hover{background:#5936b5;border-color:#5936b5}.design-system-v2 .calendar-time.selected{background:#f2edff;color:#5437a3;border-color:#a187ff}.design-system-v2 .calendar-time:hover{border-color:#a187ff;color:#5437a3}.design-system-v2 .calendar-popover{border-radius:16px;box-shadow:0 16px 46px rgba(46,42,50,.15);border-color:#e6e0f0}