.login-page{min-height:100vh;display:grid;place-items:center;padding:24px 16px}.login-card{width:min(960px,100%);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:32px 28px}.login-card__header{margin-bottom:28px}.login-card__eyebrow{margin:0 0 8px;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.login-card__title{margin:0 0 8px;font-size:1.35rem;font-weight:650;line-height:1.35}.login-card__lead{margin:0;font-size:.95rem;color:var(--muted)}.connection-settings{border:1px solid var(--border);border-radius:10px;padding:0 12px;background:#f8fafc}.connection-settings__summary{padding:12px 4px;font-weight:600;font-size:.9rem;cursor:pointer;list-style-position:outside}.connection-settings__summary::-webkit-details-marker{color:var(--muted)}.connection-settings__body{display:flex;flex-direction:column;gap:12px;padding:4px 4px 14px;border-top:1px solid var(--border)}.connection-settings__hint{margin:0;font-size:.8rem;color:var(--muted);line-height:1.45}.connection-settings__inline-link{color:var(--link);font-weight:600;text-decoration:none}.connection-settings__inline-link:hover{text-decoration:underline}.login-form{display:flex;flex-direction:column;gap:16px}.login-form__narrow{width:100%;max-width:420px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field__label{font-size:.875rem;font-weight:600;color:var(--text)}.field__input{padding:10px 12px;border-radius:8px;border:1px solid var(--border);background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.field__input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #0d6efd33}.login-form__error{margin:0;font-size:.875rem;color:#b42318}.login-form__ok{margin:0;font-size:.875rem;color:#027a48}.login-form__help-link{margin-top:-4px;font-size:.875rem;color:var(--link);text-decoration:none;text-align:right}.login-form__help-link:hover{text-decoration:underline}.btn{margin-top:4px;border:none;border-radius:10px;padding:12px 16px;font-weight:600;cursor:pointer;transition:background .15s ease,transform .05s ease}.btn:active{transform:translateY(1px)}.btn--primary{background:var(--accent);color:#fff}.btn--primary:hover{background:var(--accent-hover)}.btn--secondary{display:inline-block;text-align:center;text-decoration:none;background:var(--surface);color:var(--text);border:1px solid var(--border)}.btn--secondary:hover{background:#eef2f6;border-color:#cfd6dd}.store-list-page{max-width:1400px;margin:0 auto;padding:32px 20px 48px}.store-list-page__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.store-list-page__topMain{display:flex;align-items:flex-start;gap:12px;flex:1;min-width:0}.store-list-page__topCopy{flex:1;min-width:0}.store-list-page__navToggle{flex-shrink:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;margin-top:2px;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);cursor:pointer}.store-list-page__navToggle:hover:not(:disabled){background:color-mix(in srgb,var(--text) 6%,var(--surface))}.store-list-page__navToggle:disabled{opacity:.45;cursor:not-allowed}.store-list-page__navToggleBar{display:block;width:18px;height:2px;border-radius:1px;background:currentColor}.store-list-page__drawerOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;margin:0;padding:0;border:none;background:color-mix(in srgb,var(--text) 35%,transparent);cursor:pointer}.store-list-page__drawer{position:fixed;top:0;left:0;bottom:0;z-index:90;width:min(18rem,86vw);max-width:100%;padding:16px 14px 20px;background:var(--surface);border-right:1px solid var(--border);box-shadow:4px 0 24px color-mix(in srgb,var(--text) 12%,transparent);display:flex;flex-direction:column;gap:12px;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;overflow-x:hidden;overflow-y:auto}.store-list-page__drawerHead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--border)}.store-list-page__drawerTitle{font-weight:650;font-size:1rem}.store-list-page__drawerClose{width:36px;height:36px;padding:0;border:none;border-radius:8px;background:transparent;color:var(--muted);font-size:1.35rem;line-height:1;cursor:pointer}.store-list-page__drawerClose:hover{background:color-mix(in srgb,var(--text) 6%,transparent);color:var(--text)}.store-list-page__drawerList{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-height:0;overflow-y:scroll;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.store-list-page__drawerLink{display:block;width:100%;padding:12px;border-radius:10px;color:var(--text);font-weight:600;font-size:.92rem;text-decoration:none;text-align:left;border:none;background:transparent;cursor:pointer;font-family:inherit}.store-list-page__drawerLink:hover{background:color-mix(in srgb,var(--text) 6%,transparent)}.store-list-page__title{margin:0 0 12px;font-size:1.5rem;font-weight:650}.store-list-page__inline-a{color:var(--link);font-weight:600;text-decoration:none}.store-list-page__inline-a:hover{text-decoration:underline}.store-list-page__asof{margin:10px 0 0;font-size:.9rem;color:var(--text)}.store-list-page__asofRow{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.store-list-page__asofBtn,.store-list-page__asofReload{padding:8px 12px;border-radius:10px;font-size:.86rem;font-weight:650}.store-list-page__asofLabel{display:inline-flex;align-items:center;gap:8px}.store-list-page__asofLabelText{color:var(--muted);font-size:.85rem;white-space:nowrap}.store-list-page__asofInput{padding:7px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem}.store-list-page__asofHint{color:var(--muted);font-size:.82rem;white-space:nowrap}.store-list-page__searchRow{margin-top:12px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}.store-list-page__searchLabel{display:inline-flex;align-items:center;gap:8px;flex:1 1 16rem;min-width:min(100%,18rem)}.store-list-page__searchLabelText{color:var(--muted);font-size:.85rem;white-space:nowrap;flex-shrink:0}.store-list-page__searchInput{flex:1 1 auto;min-width:0;padding:7px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem}.store-list-page__searchInput::placeholder{color:var(--muted);opacity:.85}.store-list-page__searchCount{color:var(--muted);font-size:.82rem;white-space:nowrap}.store-list-page__logout{flex-shrink:0;align-self:center;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-decoration:none;font-size:.875rem;font-weight:600;transition:background .15s ease,border-color .15s ease}.store-list-page__logout:hover{border-color:#cfd6dd;background:#f8fafc}.store-list-page__right{display:flex;align-items:center;gap:12px}.store-list-page__whoami{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:right;line-height:1.2;font-size:.84rem;color:var(--text)}.store-list-page__whoami-inner{display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px;padding:0;border:0;border-radius:0;background:transparent;white-space:nowrap}.store-list-page__whoami .store-list-page__logout{align-self:flex-end;margin-top:4px}.store-list-page__whoami-name,.store-list-page__whoami-role{display:block}.store-list-page__whoami-name strong,.store-list-page__whoami-role strong{font-weight:700}.store-list-page__loading{margin:1rem 0;color:var(--muted)}.store-list-page__panel{padding:14px 16px;border-radius:10px;margin-bottom:16px;font-size:.95rem;line-height:1.55}.store-list-page__panel--warn{background:#fffbeb;border:1px solid #f5d90a;color:#5c4d00}.store-list-page__panel--err{background:#fef3f2;border:1px solid #fecdca;color:#7a271a}.store-list-page__cta{display:inline-block;margin-top:8px;padding:8px 14px;border-radius:8px;background:var(--accent);color:#fff;font-weight:600;text-decoration:none}.store-list-page__cta:hover{background:var(--accent-hover)}.store-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.store-table{width:100%;min-width:1180px;border-collapse:collapse;font-size:.82rem}.store-table--mstore{min-width:1280px}.store-table--nowrap th,.store-table--nowrap td{white-space:nowrap}.store-table__extras{max-width:14rem;vertical-align:top}.store-extra-dl{margin:.35rem 0 0;padding:0;max-height:12rem;overflow:auto;font-size:.72rem}.store-extra-dl__row{display:grid;grid-template-columns:1fr minmax(0,1.2fr);gap:.25rem .5rem;margin-bottom:.35rem;align-items:baseline}.store-extra-dl__row dt{margin:0}.store-extra-dl__row dd{margin:0;word-break:break-all}.store-table th,.store-table td{padding:.5rem .55rem;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.store-table__iconCol{width:42px;text-align:center!important;white-space:nowrap}.store-table__iconLink{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#2563eb14;text-decoration:none}.store-table__iconLink:hover{background:#2563eb21;border-color:#2563eb40}.store-table th{color:var(--muted);font-weight:600;font-size:.72rem;white-space:nowrap;background:#f8fafc}.store-table thead th{position:sticky;top:0;z-index:5}.store-table__shortNameCol{min-width:12.5rem}.store-list-cell-input--shortName::placeholder{color:color-mix(in srgb,var(--muted) 85%,transparent)}.store-table tbody tr:last-child td{border-bottom:none}.store-table tbody tr:hover td{background:#0d6efd0a}.store-list-edit-on .store-table tbody tr.store-list-row--dirty>td{background:#fff9c4}.store-list-edit-on .store-table tbody tr.store-list-row--dirty:hover>td{background:color-mix(in srgb,#ffeb3b 35%,#fff9c4)}.store-list-edit-on .store-table tbody tr.store-list-row--dirty .store-table__saveCol{background:#fff9c4}.store-list-edit-on .store-table tbody tr.store-list-row--dirty:hover .store-table__saveCol{background:color-mix(in srgb,#ffeb3b 35%,#fff9c4)}.store-table td.num,.store-table th.num{text-align:right;font-variant-numeric:tabular-nums}.store-table a{color:var(--link);font-weight:600;text-decoration:none}.store-table a:hover{text-decoration:underline}.store-table__clip{max-width:11rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-table__clip--wide{max-width:16.5rem}.store-table__storeNameCol{min-width:min(28rem,42vw);max-width:none;width:auto;white-space:normal;word-break:break-word;overflow:visible;text-overflow:clip;vertical-align:top}.store-table__storeNameCol .store-list-cell-input{max-width:none;width:100%;min-width:min(20rem,90vw)}.store-table__nowrap{white-space:nowrap}.store-table .muted{color:var(--muted)}.store-table{--product-master-col-company-w: 14rem;--product-master-col-product-no-w: 7rem;--product-master-col-product-name-w: 14rem}.product-master-sticky-col{position:sticky;background:var(--surface);z-index:3;overflow:hidden;text-overflow:ellipsis}.store-table thead .product-master-sticky-col{background:#f8fafc;z-index:7}.product-master-sticky-col--company{left:0;width:var(--product-master-col-company-w);min-width:var(--product-master-col-company-w);max-width:var(--product-master-col-company-w)}.product-master-sticky-col--productNo{left:var(--product-master-col-company-w);width:var(--product-master-col-product-no-w);min-width:var(--product-master-col-product-no-w);max-width:var(--product-master-col-product-no-w)}.product-master-sticky-col--productName{left:calc(var(--product-master-col-company-w) + var(--product-master-col-product-no-w));width:var(--product-master-col-product-name-w);min-width:var(--product-master-col-product-name-w);max-width:var(--product-master-col-product-name-w);box-shadow:2px 0 0 var(--border)}.store-table tbody tr:hover .product-master-sticky-col{background:#eef5ff}.store-list-page__panel--compact{margin-bottom:12px;padding:10px 14px}.store-list-page__panel--compact p{margin:0;font-size:.88rem}.store-list-edit-toolbar{display:flex;align-items:center;gap:.75rem;margin:0 0 12px;flex-wrap:wrap}.store-list-edit-toolbar__hint{font-size:.82rem;line-height:1.45;max-width:52rem}.store-list-edit-toolbar__roleNote{font-size:.82rem;font-weight:600;white-space:nowrap}button#store-list-edit-toggle{padding:.45rem 1rem;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.88rem;font-weight:600;cursor:pointer}button#store-list-edit-toggle:hover:not(:disabled){border-color:#5eb8ff73}button#store-list-edit-toggle[aria-pressed=true]{background:#5eb8ff2e;border-color:var(--link);color:var(--link)}button#store-list-edit-toggle:disabled{opacity:.55;cursor:not-allowed}.store-list-table-wrap.store-list-edit-off .store-list-edit-only,.store-list-table-wrap.store-list-edit-on .store-list-view-only{display:none!important}.store-list-cell-input{width:100%;max-width:100%;min-width:0;padding:.3rem .45rem;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.82rem}.store-list-cell-input--date{max-width:11rem}.store-list-cell-input--num{max-width:7rem}.store-list-cell-input:focus{outline:none;border-color:var(--link);box-shadow:0 0 0 2px #0d6efd33}.store-table__saveCol{position:sticky;right:0;background:var(--surface);z-index:2;box-shadow:-6px 0 8px #0000000f}.store-list-rowSaveBtn{padding:.3rem .55rem;font-size:.78rem;white-space:nowrap}.store-list-page__savePopup{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;display:flex;align-items:center;justify-content:center;padding:20px;pointer-events:auto}.store-list-page__savePopupBackdrop{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;padding:0;border:none;background:color-mix(in srgb,var(--text) 40%,transparent);cursor:pointer}.store-list-page__savePopupCard{position:relative;z-index:1;width:min(22rem,100%);padding:1.35rem 1.5rem 1.25rem;border-radius:12px;border:1px solid var(--border);background:var(--surface);box-shadow:0 16px 48px color-mix(in srgb,var(--text) 18%,transparent)}.store-list-page__savePopupTitle{margin:0 0 1.1rem;font-size:1.05rem;font-weight:650;text-align:center}.store-list-page__savePopupActions{display:flex;justify-content:center}.store-list-page__delFlgDialog{position:fixed;top:0;right:0;bottom:0;left:0;z-index:96;display:flex;align-items:center;justify-content:center;padding:20px}.store-list-page__delFlgDialogBackdrop{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;padding:0;border:none;background:color-mix(in srgb,var(--text) 45%,transparent);cursor:pointer}.store-list-page__delFlgDialogCard{position:relative;z-index:1;width:min(26rem,100%);padding:1.35rem 1.5rem 1.25rem;border-radius:12px;border:1px solid var(--border);background:var(--surface);box-shadow:0 16px 48px color-mix(in srgb,var(--text) 18%,transparent)}.store-list-page__delFlgDialogTitle{margin:0 0 .85rem;font-size:1.05rem;font-weight:650}.store-list-page__delFlgDialogBody{margin:0 0 1.25rem;font-size:.95rem;line-height:1.55;color:var(--text)}.store-list-page__delFlgDialogBody p{margin:0 0 .55rem}.store-list-page__delFlgDialogBody p:last-child{margin-bottom:0}.store-list-page__delFlgDialogActions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.65rem}.store-list-page__delFlgDialogBtnCancel{padding:.5rem 1.1rem;border-radius:8px;border:1px solid #1565c0;background:#1976d2;color:#fff;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}.store-list-page__delFlgDialogBtnCancel:hover:not(:disabled){background:#1565c0}.store-list-page__delFlgDialogBtnDanger{padding:.5rem 1.1rem;border-radius:8px;border:1px solid #b71c1c;background:#c62828;color:#fff;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}.store-list-page__delFlgDialogBtnDanger:hover:not(:disabled){background:#b71c1c}.store-list-page__delFlgDialogBtnCancel:disabled,.store-list-page__delFlgDialogBtnDanger:disabled{opacity:.55;cursor:not-allowed}.store-cal-page{max-width:1600px;margin:0 auto;padding:28px 20px 48px}.store-cal-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;overflow:visible;position:sticky;top:0;z-index:10;background:var(--bg);padding-top:14px}.store-cal-titleRow{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px;margin:0 0 6px}.store-cal-userInfo{margin-left:auto;display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);font-size:.84rem;white-space:nowrap}.store-cal-userInfoRow{display:inline-flex;align-items:baseline;gap:6px}.store-cal-userInfoName,.store-cal-userInfoRole{color:var(--text);font-weight:700}.store-cal-title{margin:0;font-size:1.25rem;font-weight:700}.store-cal-selectedStoreNm{font-size:1.05rem;font-weight:650;color:var(--text);letter-spacing:.02em}.store-cal-sub{margin:0;color:var(--muted);font-size:.92rem}.store-cal-pickerRow{margin-top:10px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 20px}.store-cal-picker{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:min(100%,14rem)}.store-cal-pickerLabel{font-size:.78rem;font-weight:650;color:var(--muted);letter-spacing:.02em}.store-cal-pickerSelect{width:100%;min-width:12rem;max-width:28rem;padding:7px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.88rem}.store-cal-pickerSelect:disabled{opacity:.55;cursor:not-allowed}.store-cal-controls{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;overflow:visible}.store-cal-reloadStaffRow{display:inline-flex;align-items:center;gap:10px;flex-wrap:nowrap}.store-cal-reloadStaffRow .store-cal-staffInline{display:inline-flex;align-items:center;flex-wrap:nowrap;margin:0;white-space:nowrap}.store-cal-company-combo__list{position:absolute;z-index:2147483647;left:0;top:calc(100% + 4px);width:100%;margin:0;padding:4px 0;list-style:none;max-height:260px;overflow-y:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 10px 28px color-mix(in srgb,var(--text) 14%,transparent)}.store-cal-page .cal-master-companyPick{position:relative;display:block;width:100%;max-width:28rem}.store-cal-page .cal-master-companyPick__input{width:100%}.store-cal-company-combo__item{padding:8px 10px;cursor:pointer;font-size:.88rem}.store-cal-company-combo__item:hover{background:color-mix(in srgb,var(--text) 7%,transparent)}.store-cal-company-combo__item--active{background:#2563eb1f}.store-cal-company-combo__item--empty{color:var(--muted);cursor:default}.store-cal-masterPick{overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;flex-wrap:wrap;max-width:100%}.store-cal-controls--studentCal,.store-cal-controls--studentCal .store-cal-dateRow{align-items:flex-end}.store-cal-controls--studentCal .store-cal-dateRow input[type=date],.store-cal-controls--studentCal .store-cal-dateRow .staff-store-combo__input{min-height:2.625rem;box-sizing:border-box}.store-cal-layers{width:100%;flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:8px 0 2px;border-top:1px solid var(--border);margin-top:4px}.store-cal-layersKind{font-size:.85rem;color:var(--text);align-self:center;flex-shrink:0;-webkit-user-select:none;user-select:none}.store-cal-layerRoleGroup{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-left:3ch}.store-cal-layerRoleGroup--top{margin-left:0}.store-cal-layerRoleLabel{font-size:.85rem;color:var(--text);-webkit-user-select:none;user-select:none;flex-shrink:0}.store-cal-layerChk{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none}.store-cal-layerChk input{margin:0;cursor:pointer}.store-cal-viewTabsRow{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}.store-cal-viewTabs{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--border);background:#fff;border-radius:999px}.store-cal-bulkOpenHoursBtn{font-size:.85rem;white-space:nowrap}.store-cal-viewTabs--static{pointer-events:none}.store-cal-viewTabs--static .store-cal-tab.is-active{cursor:default}.store-cal-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:7px 12px;border-radius:999px;font-size:.85rem;font-weight:700;color:var(--muted);cursor:pointer}.store-cal-tab.is-active{background:#2563eb1f;color:#1d4ed8}.store-cal-tab:disabled{opacity:.55;cursor:not-allowed}.store-cal-nameFilter{display:inline-flex;align-items:center;gap:8px}.store-cal-nameFilterInput{min-width:12rem;padding:7px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem}.store-cal-controls input[type=date]{padding:7px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem}.cal-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.cal-grid{min-width:1040px;display:grid;grid-template-columns:72px repeat(7,minmax(140px,1fr))}.cal-grid.is-day{min-width:720px;grid-template-columns:72px minmax(480px,1fr)}.cal-grid.is-three{min-width:0;grid-template-columns:56px repeat(3,minmax(0,1fr))}.cal-head{position:sticky;top:0;z-index:2;background:#f8fafc;border-bottom:1px solid var(--border)}.cal-headCell{padding:10px 8px;border-right:1px solid var(--border);font-size:.78rem;color:var(--muted);white-space:nowrap}.cal-headCell.is-offday{background:#ffe4e6}.cal-headCell:last-child{border-right:none}.cal-body{position:relative}.cal-timeCol{border-right:1px solid var(--border);background:#fbfdff}.cal-timeTick{height:56px;border-bottom:1px solid var(--border);padding:6px 8px 0;font-size:.72rem;color:var(--muted);font-variant-numeric:tabular-nums}.cal-dayCol{position:relative;border-right:1px solid var(--border);background:#fff}.cal-dayCol.is-offday{background:#fff1f2}.cal-dayCol--time{overflow-x:auto;overflow-y:hidden}.cal-grid.is-day .cal-dayCol--time{overflow-x:hidden}.cal-dayColTrack{position:relative;min-width:100%;width:max(100%,calc(var(--cal-max-cols, 1) * 140px));min-height:100%;user-select:none;-webkit-user-select:none}.cal-grid.is-day .cal-dayColTrack{width:100%}.cal-closedOverlay{position:absolute;left:0;right:0;background:#94a3b847;pointer-events:none;z-index:0}.cal-openHoursEditBtn{margin-top:4px;padding:2px 6px;font-size:.68rem;border-radius:6px;border:1px solid var(--border);background:var(--surface);cursor:pointer}.cal-openHoursEditBtn:hover{background:#2563eb14}.cal-headCellInner{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.cal-dayCol:last-child{border-right:none}.cal-hourLine{position:absolute;left:0;right:0;height:1px;background:#94a3b859}.cal-dragSelect{position:absolute;left:6px;right:6px;border-radius:10px;background:#ec48992e;border:1px dashed rgba(236,72,153,.55);pointer-events:none;z-index:1}.cal-dragHope{position:absolute;left:6px;right:6px;border-radius:10px;background:#2563eb29;border:1px dashed rgba(37,99,235,.55);pointer-events:none;z-index:2}.cal-event{position:absolute;z-index:1;padding:6px 7px;border-radius:10px;border:1px solid rgba(37,99,235,.35);background:#2563eb1f;color:#0f172a;overflow:hidden;box-shadow:0 10px 24px #02061714;box-sizing:border-box;user-select:none;-webkit-user-select:none;-moz-user-select:none}.cal-event--weekOverlap{min-width:140px}.cal-event--important{border-color:#ea580c73;background:#ea580c24}.cal-event--layer-hope{border-color:#2563eb59;background:#2563eb1f;cursor:grab}.cal-event--layer-hope:active{cursor:grabbing}.cal-eventHandle{position:absolute;left:0;right:0;height:9px;background:transparent;z-index:2}.cal-eventHandle--top{top:0;cursor:ns-resize}.cal-eventHandle--bot{bottom:0;cursor:ns-resize}.cal-event--layer-basic{border-color:#0d948866;background:#0d94881f}.cal-event--layer-work_shift{border-color:#4338ca66;background:#4338ca1f}.cal-event--layer-shift_result{border-color:#6d28d961;background:#6d28d91c}.cal-event--layer-punch{border-color:#b453096b;background:#f59e0b24}.cal-event--layer-customer{border-color:#05966966;background:#10b9811f}.cal-eventLayer{font-weight:650;color:#0f172a8c;font-size:.68rem}.cal-eventTitle{font-size:.78rem;font-weight:700;line-height:1.25}.cal-eventName,.cal-eventSubject{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-eventSubject{margin-top:1px;font-size:.71rem;font-weight:600;color:#0f172ab8}.cal-eventMeta{margin-top:2px;font-size:.72rem;color:#0f172ac7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.cal-eventDetail{margin-top:2px;font-size:.71rem;color:#0f172ad6;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-loading{margin:14px 0;color:var(--muted)}.cal-panel{padding:12px 14px;border-radius:10px;margin:12px 0 14px;font-size:.95rem;line-height:1.55}.cal-panel--warn{background:#fffbeb;border:1px solid #f5d90a;color:#5c4d00}.cal-panel--err{background:#fef3f2;border:1px solid #fecdca;color:#7a271a}.cal-month{min-width:1040px}.cal-monthHead{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));background:#f8fafc;border-bottom:1px solid var(--border)}.cal-monthHeadCell{padding:10px 8px;border-right:1px solid var(--border);font-size:.78rem;color:var(--muted);white-space:nowrap}.cal-monthHeadCell:last-child{border-right:none}.cal-monthGrid{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));grid-auto-rows:minmax(168px,1fr)}.cal-monthCell{border-right:1px solid var(--border);border-bottom:1px solid var(--border);padding:8px 8px 6px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-height:0}.cal-monthCell.is-offday{background:#fff1f2}.cal-monthCell:nth-child(7n){border-right:none}.cal-monthCell.is-out{background:#fbfdff;color:#0f172aa6}.cal-monthCell.is-out.is-offday{background:#ffe4e6}.cal-monthDateRow{display:flex;align-items:center;justify-content:flex-end;margin-bottom:6px}.cal-monthDate{font-variant-numeric:tabular-nums;font-size:.78rem;color:#0f172abf}.cal-monthEvents{display:grid;gap:4px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:2px}.cal-monthEvent{display:grid;grid-template-columns:44px 1fr;gap:6px;align-items:center;padding:4px 6px;border-radius:10px;border:1px solid rgba(37,99,235,.26);background:#2563eb1a;overflow:hidden}.cal-monthEvent.is-important{border-color:#ea580c59;background:#ea580c1f}.cal-monthEventTime{font-size:.72rem;font-variant-numeric:tabular-nums;color:#0f172acc;white-space:nowrap}.cal-monthEventTitle{font-size:.74rem;font-weight:650;line-height:1.2}.cal-monthEventName,.cal-monthEventSubject{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-monthEventSubject{margin-top:1px;font-size:.68rem;font-weight:600;color:#0f172aad}.cal-monthEventLayer{font-size:.68rem;font-weight:700;color:#0f172a80}.cal-monthEvent--layer-basic{border-color:#0d948852;background:#0d94881a}.cal-monthEvent--layer-work_shift{border-color:#4338ca52;background:#4338ca1a}.cal-monthEvent--layer-shift_result{border-color:#6d28d94d;background:#6d28d917}.cal-monthEvent--layer-punch{border-color:#b4530959;background:#f59e0b1f}.cal-monthEvent--layer-customer{border-color:#05966952;background:#10b9811a}.cal-monthMore{font-size:.72rem;margin-top:2px}.cursor-tooltip{position:fixed;z-index:1000;max-width:min(520px,calc(100vw - 24px));padding:8px 10px;border-radius:10px;border:1px solid rgba(17,24,39,.15);background:#111827f0;color:#fff;font-size:.82rem;line-height:1.35;white-space:pre-wrap;pointer-events:none;box-shadow:0 14px 50px #00000059;transform:translate(12px,-12px) translateY(-100%)}.store-cal-dateRow{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px 10px}.store-cal-controls .store-cal-customerInline .staff-store-combo,.store-cal-controls .store-cal-staffInline .staff-store-combo{min-width:min(14rem,100%);max-width:22rem}.store-cal-staffInline{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:8px;white-space:nowrap}.store-cal-btnNewHope{margin-left:4px;flex-shrink:0}.store-cal-btnNewHope--staff{margin-left:auto}.cal-event--clickable,.cal-monthEvent--clickable{cursor:pointer}.cal-event--clickable:focus-visible,.cal-monthEvent--clickable:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.store-cal-modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:flex-start;justify-content:center;padding:24px 16px;overflow:auto;background:#0f172a73}.store-cal-modal{width:min(480px,100%);margin-top:min(8vh,64px);border-radius:var(--radius, 12px);border:1px solid var(--border);background:var(--surface);box-shadow:0 24px 60px #0003}.store-cal-modal--narrow{width:min(400px,100%)}.store-cal-modalHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px 10px;border-bottom:1px solid var(--border)}.store-cal-modalTitle{margin:0;font-size:1.05rem;font-weight:700}.store-cal-modalClose{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;font-size:1.35rem;line-height:1;cursor:pointer;color:var(--muted);padding:0 4px}.store-cal-modalClose:hover{color:var(--text)}.store-cal-modalBody{padding:14px 16px 16px}.store-cal-modalErr{margin:0 0 12px;padding:8px 10px;border-radius:8px;background:#dc26261a;color:#991b1b;font-size:.88rem}.store-cal-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-size:.88rem}.store-cal-field>span:first-child{color:var(--muted);font-weight:650}.store-cal-field select,.store-cal-field input[type=date],.store-cal-field input[type=time],.store-cal-field textarea{padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem}.store-cal-field textarea{resize:vertical;min-height:72px}.store-cal-fieldRow{display:grid;grid-template-columns:1fr 1fr;gap:10px}.store-cal-field--chk{flex-direction:row;align-items:center;gap:8px}.store-cal-modalActions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border)}.store-cal-modalActionsRight{display:flex;gap:8px;margin-left:auto}.store-cal-btnDanger{border-color:#dc262673;color:#b91c1c}.store-cal-readonlyBody{padding-top:4px}.store-cal-readonlyLabel{margin:0 0 6px;font-size:.82rem;color:var(--muted)}.store-cal-readonlyTitle{margin:0 0 8px;font-size:1.05rem;font-weight:700}.store-cal-readonlyMeta{margin:0 0 8px;font-size:.9rem;font-variant-numeric:tabular-nums}.store-cal-readonlySub{margin:0 0 12px;font-size:.88rem;white-space:pre-wrap}.store-cal-readonlyHint{margin:0 0 16px;font-size:.82rem;color:var(--muted)}.store-cal-fieldset{border:1px solid var(--border);border-radius:6px;padding:.65rem .85rem;margin:0 0 .75rem}.store-cal-fieldset legend{font-size:.85rem;font-weight:600;padding:0 .25rem}.store-cal-radioRow{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem;font-size:.9rem}.store-cal-radioRow input{flex-shrink:0}.store-cal-field--indent{margin-top:.5rem}.store-cal-drawerReservations{margin-top:10px;border-top:1px solid var(--border);padding-top:10px}.store-cal-drawerReservations__head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:.86rem;margin-bottom:8px}.store-cal-drawerReservations__headActions{display:inline-flex;align-items:center;gap:8px}.store-cal-drawerMenuBtn{width:100%;text-align:left;border:0;background:transparent;cursor:pointer}.store-cal-drawerReservations__tableWrap{max-height:42vh;overflow:auto;border:1px solid var(--border);border-radius:10px;background:#fff}.store-cal-drawerReservations__table{width:100%;border-collapse:collapse;font-size:.78rem}.store-cal-drawerReservations__table th,.store-cal-drawerReservations__table td{border-bottom:1px solid var(--border);padding:6px 8px;text-align:left;white-space:nowrap}.store-cal-drawerReservations__table thead th{position:sticky;top:0;z-index:1;background:#f8fafc;font-weight:700}.store-cal-drawerReservations__table tbody tr:nth-child(2n) td{background:#10b9810f}.store-cal-drawerReservations__empty{font-size:.8rem}.store-cal-drawerReservations__err{font-size:.8rem;color:#991b1b;background:#dc262614;border:1px solid rgba(220,38,38,.28);border-radius:8px;padding:8px 10px}.cal-master-page{max-width:1400px;margin:0 auto;padding:32px 20px 48px}.cal-master-page__header{margin-bottom:24px}.cal-master-page__headerMain{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.cal-master-page__headerStack{flex:1;min-width:0}.cal-master-page__headerRow{display:flex;align-items:flex-start;justify-content:space-between;gap:12px 16px;margin-bottom:12px;flex-wrap:wrap}.cal-master-page__headerRow--end{justify-content:flex-end}.cal-master-page__whoamiBlock{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;font-size:.85rem;text-align:right}.cal-master-page__whoamiRole{white-space:nowrap}.cal-master-page__titleRow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cal-master-page__storeRowActions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;flex-shrink:0}.cal-master-page__newBtn{flex-shrink:0}button.cal-master-page__newBtn.btn--primary:disabled{background:#9ca3af;color:#f3f4f6;cursor:not-allowed;opacity:1}button.cal-master-page__newBtn.btn--primary:disabled:hover{background:#9ca3af}.cal-master-page__back{color:var(--link);font-weight:600;text-decoration:none;font-size:.9rem}.cal-master-page__back:hover{text-decoration:underline}.cal-master-page__whoami{font-size:.85rem}.cal-master-page__title{margin:0 0 8px;font-size:1.5rem;font-weight:650}.cal-master-page__lead{margin:0;color:var(--muted);max-width:48rem}.cal-master-page__lead code{font-size:.9em}.cal-master-page__searchBar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 20px;width:100%;margin-top:4px;margin-bottom:18px;overflow:visible!important}.cal-master-page__filterRow{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;flex:1 1 min(280px,100%);min-width:min(100%,16rem);max-width:100%;overflow:visible!important}.cal-master-page__filterLabel{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1 1 auto;max-width:min(100%,28rem)}.cal-master-page__filterLabelText{font-size:.85rem;font-weight:650;color:var(--muted)}.cal-master-page__filterInput{padding:9px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.92rem;width:100%;max-width:28rem}.cal-master-page__filterReload{flex-shrink:0}.cal-master-page__filterHint{font-size:.82rem;align-self:center}.cal-master-page__storeRow{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;flex:1 1 min(280px,100%);min-width:min(100%,16rem);margin-bottom:0;max-width:100%;overflow:visible!important}.cal-master-page__storeLabel{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1 1 auto;max-width:min(100%,28rem)}.cal-master-page__storeLabelText{font-size:.85rem;font-weight:650;color:var(--muted)}.cal-master-page__storeSelect{padding:9px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.92rem;max-width:28rem;width:100%}.cal-master-page__storeApply{flex-shrink:0}.cal-master-page__emptyRow{text-align:center;color:var(--muted);padding:20px 12px!important;white-space:normal}.cal-master-page__panel{padding:16px 18px;border-radius:12px;margin-bottom:16px}.cal-master-page__panel--warn{background:color-mix(in srgb,var(--warn, #f59e0b) 12%,transparent);border:1px solid color-mix(in srgb,var(--warn, #f59e0b) 35%,var(--border))}.cal-master-page__panel--warn p{margin:0 0 12px}.cal-master-page__panel--err{background:color-mix(in srgb,var(--danger, #dc2626) 10%,transparent);border:1px solid color-mix(in srgb,var(--danger, #dc2626) 30%,var(--border))}.cal-master-page__panel--err p{margin:0}.cal-master-page__panel--info{background:color-mix(in srgb,var(--link, #2563eb) 10%,transparent);border:1px solid color-mix(in srgb,var(--link, #2563eb) 28%,var(--border))}.cal-master-page__panel--info p{margin:0}.cal-master-page__tableWrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.cal-master-edit-toolbar{display:flex;align-items:center;gap:.75rem;margin:0 0 10px;flex-wrap:wrap}.cal-master-edit-toolbar__hint{font-size:.82rem;line-height:1.45;max-width:52rem}button#cal-master-edit-toggle{padding:.45rem 1rem;border-radius:8px;border:1px solid var(--border);background:var(--surface-2, var(--surface));color:var(--text);font:inherit;font-size:.88rem;font-weight:600;cursor:pointer}button#cal-master-edit-toggle:hover:not(:disabled){border-color:#5eb8ff73}button#cal-master-edit-toggle[aria-pressed=true]{background:#5eb8ff2e;border-color:var(--link, #2563eb);color:var(--link, #2563eb)}button#cal-master-edit-toggle:disabled{opacity:.55;cursor:not-allowed}.cal-master-table-wrap.cal-master-edit-off .cal-master-edit-only,.cal-master-table-wrap.cal-master-edit-on .cal-master-view-only{display:none!important}.cal-master-cell-input{min-width:6rem;max-width:16rem;padding:.35rem .5rem;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:6px;font:inherit;font-size:.82rem}.cal-master-cell-input--time{min-width:5.5rem;max-width:9rem}.cal-master-cell-input--flag{min-width:7rem;max-width:10rem}.cal-master-cell-input:focus{outline:none;border-color:var(--link, #2563eb);box-shadow:0 0 0 2px #2563eb33}.cal-master-cell-input:disabled{opacity:.55;cursor:wait}.cal-master-page__thSave,.cal-master-page__tdSave{position:sticky;right:0;background:var(--surface-2, var(--surface));z-index:2;box-shadow:-6px 0 8px color-mix(in srgb,var(--text) 6%,transparent)}.cal-master-page__saveRowBtn{padding:.35rem .65rem;font-size:.78rem;white-space:nowrap}.cal-master-page__panel--compact{margin-bottom:10px;padding:10px 14px}.cal-master-page__panel--compact p{margin:0;font-size:.88rem}.cal-master-store-combo{position:relative;width:100%;max-width:28rem}.cal-master-store-combo__input{width:100%}.cal-master-store-combo__list{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:2000;margin:0;padding:4px 0;list-style:none;max-height:240px;overflow-y:auto;border-radius:10px;border:1px solid var(--border);background:var(--surface);box-shadow:0 10px 28px color-mix(in srgb,var(--text) 14%,transparent)}.cal-master-store-combo__list--up{top:auto;bottom:calc(100% + 4px)}.cal-master-store-combo__item{padding:8px 12px;font-size:.88rem;cursor:pointer}.cal-master-store-combo__item:hover{background:color-mix(in srgb,var(--link, #2563eb) 12%,transparent)}.cal-master-store-combo__item--active{background:color-mix(in srgb,var(--link, #2563eb) 18%,transparent)}.cal-master-store-combo__item--empty{color:var(--muted);cursor:default}.cal-master-store-combo__item--empty:hover{background:transparent}.cal-master-page__table{width:max-content;min-width:100%;border-collapse:collapse;font-size:.82rem}.cal-master-page__table th,.cal-master-page__table td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top;white-space:nowrap}.cal-master-page__table th{position:sticky;top:0;background:var(--surface-2, var(--surface));font-weight:650;z-index:1;white-space:normal;max-width:14rem;line-height:1.35}.cal-master-page__table tbody tr:last-child td{border-bottom:none}.cal-master-page__table tbody tr:hover td{background:color-mix(in srgb,var(--text) 4%,transparent)}.cal-master-table-wrap.cal-master-edit-on .cal-master-page__table tbody tr.cal-master-row--dirty td{background:#ffec99eb;box-shadow:inset 0 0 0 1px #eab30838}.cal-master-table-wrap.cal-master-edit-on .cal-master-page__table tbody tr.cal-master-row--dirty:hover td{background:#ffe482f5}.cal-master-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px}.cal-master-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:0;padding:0;background:color-mix(in srgb,var(--text) 38%,transparent);border:none;cursor:pointer}.cal-master-modal__backdrop:disabled{cursor:not-allowed;opacity:.7}.cal-master-modal__panel{position:relative;z-index:1;width:min(26rem,100%);max-height:90vh;overflow:auto;padding:20px 20px 18px;border-radius:14px;border:1px solid var(--border);background:var(--surface);box-shadow:0 12px 40px color-mix(in srgb,var(--text) 18%,transparent)}.cal-master-modal__panel--movable{position:fixed;max-height:none;overflow:auto}.cal-master-modal__titleBar{display:flex;align-items:baseline;justify-content:space-between;gap:10px 12px;flex-wrap:wrap;margin:-6px 0 12px;padding:6px 8px;border-radius:10px;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;background:color-mix(in srgb,var(--text) 3%,transparent)}.cal-master-modal__titleBar:active{cursor:grabbing}.cal-master-modal__titleHint{font-size:.78rem;white-space:nowrap}.cal-master-modal__resizeHandle{position:absolute;right:8px;bottom:8px;width:18px;height:18px;border-right:3px solid color-mix(in srgb,var(--text) 22%,transparent);border-bottom:3px solid color-mix(in srgb,var(--text) 22%,transparent);border-radius:3px;cursor:se-resize;touch-action:none}.cal-master-modal__panel--wide{width:min(42rem,100%)}.cal-master-modal__title{margin:0 0 14px;font-size:1.15rem;font-weight:650}.cal-master-modal__err{margin:0 0 12px;color:var(--danger, #dc2626);font-size:.9rem}.cal-master-modal__err--inline{margin:0;font-size:.82rem;line-height:1.35}.cal-master-modal__fields{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}.cal-master-modal__field{display:flex;flex-direction:column;gap:6px;font-size:.85rem}.cal-master-modal__field span{font-weight:600;color:var(--muted)}.cal-master-modal__field input,.cal-master-modal__field select{padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.92rem}.cal-master-modal__storeFixed{padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:color-mix(in srgb,var(--muted) 10%,var(--surface));color:var(--text);font-size:.92rem;line-height:1.45;min-height:2.4rem;display:flex;align-items:center}.cal-master-modal__actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.cal-master-bulkCreate{display:flex;flex-direction:column;gap:10px}.cal-master-bulkCreate__head{font-size:.85rem}.cal-master-bulkCreate__grid{border:1px solid var(--border);border-radius:12px;overflow:auto;max-height:42vh}.cal-master-bulkCreate__row{display:grid;grid-template-columns:8ch 16ch 12ch 12ch 14ch 1fr;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--border)}.cal-master-bulkCreate__row--header{position:sticky;top:0;background:var(--surface-2, var(--surface));z-index:1;font-size:.82rem;font-weight:650}.cal-master-bulkCreate__row--header .cal-master-bulkCreate__cell{padding:0 10px}.cal-master-bulkCreate__row:last-child{border-bottom:none}.cal-master-bulkCreate__cell{min-width:0}.cal-master-bulkCreate__cell input,.cal-master-bulkCreate__cell select{width:100%;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.92rem}.cal-master-companyPick{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cal-master-companyPick__input{flex:1 1 18rem;min-width:min(100%,18rem);max-width:28rem}.cal-master-companyPick__btn{flex:0 0 auto}.cal-master-company-results{border:1px solid var(--border);border-radius:12px;overflow:auto;max-height:46vh;background:var(--surface);margin:0 0 16px}.cal-master-company-results__row{display:grid;grid-template-columns:6ch 1fr;gap:10px;width:100%;text-align:left;padding:10px 12px;border:none;border-bottom:1px solid var(--border);background:transparent;color:var(--text);font:inherit;cursor:pointer}.cal-master-company-results__row:hover{background:color-mix(in srgb,var(--link, #2563eb) 10%,transparent)}.cal-master-company-results__row:last-child{border-bottom:none}.cal-master-company-results__no{font-variant-numeric:tabular-nums;color:var(--muted)}.cal-master-company-results__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-master-company-results__empty{padding:12px}.cal-master-companySearchRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cal-master-companySearchRow input{flex:1 1 18rem;min-width:min(100%,18rem)}.store-product-register-page{max-width:980px;margin:0 auto;padding:32px 20px 48px}.store-product-register-page__head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.store-product-register-page__eyebrow{margin:0 0 4px;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.store-product-register-page__title{margin:0 0 8px;font-size:1.35rem;font-weight:700;color:var(--text)}.store-product-register-page__lead{margin:0;font-size:.9rem;line-height:1.55;color:var(--muted)}.store-product-register-page__back{display:inline-flex;align-items:center;padding:8px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.875rem;font-weight:600;text-decoration:none}.store-product-register-page__back:hover{background:#f1f5f9}.store-product-register-page__loading{margin:0;color:var(--muted)}.store-product-register-page__err{color:var(--danger, #b91c1c)}.store-product-register-page__panel{padding:14px 16px;border-radius:10px;margin-bottom:16px;font-size:.9rem}.store-product-register-page__panel--warn{background:#fffbeb;border:1px solid #fcd34d;color:#92400e}.store-product-register-page__panel--err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.store-product-register-page__cta{display:inline-block;margin-top:8px;font-weight:600;color:#1d4ed8}.store-product-register-page__form{display:flex;flex-direction:column;gap:16px}.store-product-register-page__field{display:flex;flex-direction:column;gap:6px}.store-product-register-page__field>span:first-child{font-size:.8rem;font-weight:600;color:var(--text)}.store-product-register-page__hint{font-size:.75rem;color:var(--muted);line-height:1.4}.store-product-register-page__input,.store-product-register-page__textarea{padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:.9rem;background:var(--surface);color:var(--text)}.store-product-register-page__textarea{resize:vertical;min-height:88px}.store-product-register-page__row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width: 560px){.store-product-register-page__row2{grid-template-columns:1fr}}.store-product-register-page__check{flex-direction:row;align-items:center;gap:10px}.store-product-register-page__check input{width:auto}.store-product-register-page__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px}.store-product-register-page__submit{padding:10px 20px;border:none;border-radius:8px;background:#1d4ed8;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer}.store-product-register-page__submit:disabled{opacity:.6;cursor:not-allowed}.store-product-register-page__cancel{font-size:.9rem;font-weight:600;color:var(--muted)}.store-product-register-page__cancel:hover{color:var(--text)}.store-product-register-page__masterPicker{border:1px solid var(--border);border-radius:10px;padding:12px;background:#f8fafc}.store-product-register-page__pickerTitle{margin:0 0 10px;font-size:.95rem;font-weight:700;color:var(--text)}.store-product-register-page__pickerTableWrap{overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.store-product-register-page__pickerActions{display:flex;gap:8px;margin:6px 0 10px}.store-product-register-page__pickerTable{width:100%;min-width:720px;border-collapse:collapse;font-size:.84rem}.store-product-register-page__pickerTable th,.store-product-register-page__pickerTable td{border-bottom:1px solid var(--border);padding:8px 10px;text-align:left;vertical-align:middle;white-space:nowrap}.store-product-register-page__pickerTable th{background:#f1f5f9;position:sticky;top:0;z-index:1}.store-product-register-page__pickerRow--selected{background:#e0ecff}.store-product-register-page__pickBtn{border:1px solid #93c5fd;background:#dbeafe;color:#1e3a8a;border-radius:6px;padding:4px 10px;font-size:.78rem;font-weight:600;cursor:pointer}.store-product-register-page__pickBtn:hover{background:#bfdbfe}.store-products-page{position:relative;max-width:1600px;margin:0 auto;padding:32px 20px 48px}.store-products-page__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;border:none;padding:0;margin:0;background:#0f172a59;cursor:pointer}.store-products-page__drawer{position:fixed;top:0;left:0;z-index:50;width:min(18rem,86vw);height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;padding:0 0 24px;background:var(--surface);border-right:1px solid var(--border);box-shadow:4px 0 24px #0f172a1f;transform:translate(-100%);transition:transform .2s ease;display:flex;flex-direction:column;pointer-events:none;overflow:hidden}.store-products-page__drawer--open{transform:translate(0);pointer-events:auto}.store-products-page__drawerHead{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 12px;border-bottom:1px solid var(--border)}.store-products-page__drawerTitle{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.store-products-page__drawerClose{width:36px;height:36px;border:none;border-radius:8px;background:transparent;font-size:1.35rem;line-height:1;cursor:pointer;color:var(--text)}.store-products-page__drawerClose:hover{background:#f1f5f9}.store-products-page__drawerList{list-style:none;margin:0;padding:8px 0 0;flex:1 1 auto;min-height:0;overflow-y:scroll;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.store-products-page__drawerList li{margin:0;padding:0}.store-products-page__drawerItem{display:block;width:100%;text-align:left;padding:12px 16px;border:none;background:transparent;font-size:.95rem;font-weight:600;color:var(--text);cursor:pointer}.store-products-page__drawerItem:hover{background:#f8fafc}.store-products-page__drawerItem--active{background:#eff6ff;color:var(--link);border-left:3px solid var(--accent);padding-left:13px}.store-products-page__drawerSep{height:1px;margin:8px 0;background:var(--border)}.store-products-page__topMain{display:flex;align-items:flex-start;gap:12px;flex:1;min-width:0}.store-products-page__menuBtn{flex-shrink:0;width:44px;height:44px;margin-top:2px;border:1px solid var(--border);border-radius:10px;background:var(--surface);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.store-products-page__menuBtn:hover{background:#f8fafc}.store-products-page__hamburger{display:block;width:20px;height:2px;background:var(--text);border-radius:1px;box-shadow:0 -6px 0 var(--text),0 6px 0 var(--text)}.store-products-page__top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;flex-wrap:wrap}.store-products-page__filterBar{position:sticky;top:0;z-index:30;background:var(--bg);padding:4px 0 10px}.store-products-page__filterRow{display:flex;align-items:flex-end;gap:12px 14px;flex-wrap:nowrap;overflow:visible}.store-products-page__filterField{display:flex;flex-direction:column;gap:6px}.store-products-page__filterField--asof{min-width:auto}.store-products-page__filterField--company{min-width:16rem}.store-products-page__filterField--store{min-width:22rem}.store-products-page__topLeft{flex:1;min-width:0;padding-top:0}.store-products-page__topRight{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:10px;text-align:right}.store-products-page__storeName{max-width:min(28rem,100vw - 40px)}.store-products-page__storeNameLabel{display:block;font-size:.72rem;letter-spacing:.08em;color:var(--muted);text-transform:uppercase;margin-bottom:2px}.store-products-page__storeNameValue{display:block;font-size:1.05rem;font-weight:650;line-height:1.35;word-break:break-word}.store-products-page__eyebrow{margin:0 0 6px;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.store-products-page__title{margin:0 0 6px;font-size:1.5rem;font-weight:650}.store-products-page__lead{margin:0;color:var(--muted);max-width:48rem}.store-products-page__asofRow{margin-top:12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.store-products-page__asofLabel{display:inline-flex;align-items:center;gap:8px}.store-products-page__asofLabelText{color:var(--muted);font-size:.85rem;white-space:nowrap}.store-products-page__asofInput{padding:7px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem}.store-products-page__asofToday{padding:8px 12px;border-radius:10px;font-size:.86rem;font-weight:650;border:none;cursor:pointer;background:var(--accent);color:#fff}.store-products-page__asofToday:hover:not(:disabled){background:var(--accent-hover)}.store-products-page__asofToday:disabled{opacity:.55;cursor:not-allowed}.store-products-page__registerProduct{display:inline-flex;align-items:center;padding:8px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap}.store-products-page__registerProduct:hover{background:#f1f5f9}.store-products-page__back{padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-decoration:none;font-size:.875rem;font-weight:600}.store-products-page__back:hover{border-color:#cfd6dd;background:#f8fafc}.store-products-page__panel{padding:14px 16px;border-radius:12px;margin-bottom:16px}.store-products-page__panel--warn{background:#fffbeb;border:1px solid #fcd34d}.store-products-page__panel--err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.store-products-page__cta{font-weight:650;color:var(--link)}.store-products-page__loading{color:var(--muted)}.store-products-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.store-products-table{width:max-content;min-width:100%;border-collapse:collapse;font-size:.82rem}.store-products-table thead th{position:sticky;top:0;background:#f1f5f9;border-bottom:1px solid var(--border);padding:8px 10px;text-align:left;white-space:nowrap;z-index:1}.store-products-table tbody td{border-bottom:1px solid #e8edf2;padding:6px 10px;vertical-align:top}.store-products-table tbody tr:last-child td{border-bottom:none}.store-products-table__cell{max-width:18rem;word-break:break-word}.store-products-table__cell--price{text-align:right}.store-products-table__actions{min-width:8rem;display:flex;align-items:center;gap:6px;white-space:nowrap}.store-products-table thead th code{font-size:.78rem}.store-products-page__editField{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.store-products-page__editField input{border:1px solid var(--border);border-radius:8px;padding:7px 10px;background:var(--surface)}.store-products-page__editCheck{display:flex;align-items:center;gap:8px;margin-bottom:8px}.store-products-page__editError{margin:0 0 10px;color:#b91c1c}.store-products-page__modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000}.store-products-page__modalCard{width:min(36rem,92vw);max-height:90vh;overflow:auto;background:var(--surface);border-radius:12px;border:1px solid var(--border);padding:16px}.store-products-page__modalTitle{margin:0 0 8px;font-size:1.1rem}.store-products-page__modalBody{margin-top:12px}.store-products-page__modalActions{display:flex;justify-content:flex-end;gap:8px}.store-products-page__masterRefBody{margin:12px 0;max-height:52vh;overflow:auto;border:1px solid var(--border);border-radius:10px}.store-products-page__masterRefTable{width:100%;border-collapse:collapse;font-size:.9rem}.store-products-page__masterRefTable th,.store-products-page__masterRefTable td{border-bottom:1px solid #e8edf2;padding:8px 10px;text-align:left;vertical-align:top}.store-products-page__masterRefTable th{width:14rem;background:#f8fafc}.store-products-page__needEqFilters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.store-products-page__needEqFilters label{display:flex;flex-direction:column;gap:4px;min-width:0}.store-products-page__needEqFilters select{border:1px solid var(--border);border-radius:8px;padding:7px 10px;background:var(--surface)}.store-products-page__linkButton{border:none;background:transparent;color:var(--link);cursor:pointer;text-decoration:underline;padding:0;font-size:.9rem}.store-products-page__needEqInlineWrap{padding:6px 4px}.store-products-page__needEqInlineTable{width:100%;border-collapse:collapse}.store-products-page__needEqInlineTable th,.store-products-page__needEqInlineTable td{border-bottom:1px solid #e8edf2;padding:6px 8px;text-align:left}@media (max-width: 960px){.store-products-page__filterRow{flex-wrap:wrap}}.staff-list-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;margin-bottom:18px}.staff-list-toolbar__row{display:flex;align-items:flex-end;gap:12px 16px;flex-wrap:nowrap}.staff-list-toolbar__row--wrap{flex-wrap:wrap}.staff-list-toolbar__row--alignLabelsTop{align-items:flex-start}.staff-list-toolbar__row--alignLabelsTop>.btn{align-self:flex-end}.staff-list-toolbar--reservationHub .staff-list-toolbar__label{min-height:1.25em;line-height:1.3}.staff-list-toolbar--reservationHub .staff-list-toolbar__field .staff-store-combo__input{min-height:2.625rem;box-sizing:border-box}.staff-list-toolbar__field{display:flex;flex-direction:column;gap:6px;min-width:min(100%,22rem)}.staff-list-toolbar__field--asof,.staff-list-toolbar__field--checkbox{min-width:auto}.staff-list-toolbar__checkboxRow{display:inline-flex;align-items:center;gap:8px;min-height:2.125rem}.staff-list-toolbar__checkboxLabel{margin:0;font-weight:500;cursor:pointer}.staff-list-toolbar__allPeriodHint{flex:1 0 100%;margin:6px 0 0;font-size:.9rem}.staff-list-toolbar__field--store{min-width:22rem}.store-cal-hub-toolbar__row{flex-wrap:nowrap;align-items:flex-end;width:100%;min-width:0;overflow:visible;gap:12px 14px;padding-bottom:4px;box-sizing:border-box;position:sticky;top:0;z-index:30;background:var(--bg)}.store-cal-hub-toolbar{position:relative;z-index:1;overflow:visible;padding-top:4px}.store-cal-hub-toolbar__pickColumns,.store-cal-hub-toolbar__storeRowInner{overflow:visible}@media (max-width: 760px){.store-cal-hub-toolbar__row{flex-wrap:wrap}}.store-cal-hub-toolbar__row>.staff-list-toolbar__field--asof{flex-shrink:0}.store-cal-hub-toolbar__pickColumns{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-end;gap:12px 14px;flex:1 1 auto;min-width:0}.store-cal-hub-toolbar__comboColumn{display:flex;flex-direction:column;gap:6px;flex:0 1 14rem;min-width:10rem;max-width:22rem}.store-cal-hub-toolbar__comboColumn--store{flex:1 1 16rem;min-width:12rem;max-width:36rem}.store-cal-hub-toolbar__storeRowInner{display:flex;flex-direction:row;align-items:flex-end;gap:10px;width:100%}.store-cal-hub-toolbar__storeRowInner .staff-store-combo{flex:1 1 auto;min-width:0;max-width:none}.store-cal-hub-toolbar__storeApply{flex:0 0 auto;white-space:nowrap}.staff-asof-input{width:170px;max-width:170px;min-width:170px;padding-right:8px}.staff-list-toolbar__label{font-size:.85rem;font-weight:650;color:var(--muted)}.staff-list-toolbar__select{padding:9px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.92rem;max-width:28rem;width:100%}.staff-store-combo{position:relative;width:100%;max-width:28rem}.staff-store-combo__input{width:100%;padding:9px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.92rem}.staff-store-combo__list{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:2000;margin:0;padding:4px 0;list-style:none;max-height:240px;overflow-y:auto;border-radius:10px;border:1px solid var(--border);background:var(--surface);box-shadow:0 10px 28px color-mix(in srgb,var(--text) 14%,transparent)}.staff-store-combo__list--up{top:auto;bottom:calc(100% + 4px)}.staff-store-combo__item{padding:8px 12px;font-size:.88rem;cursor:pointer}.staff-store-combo__item:hover{background:color-mix(in srgb,var(--link, #2563eb) 12%,transparent)}.staff-store-combo__item--active{background:color-mix(in srgb,var(--link, #2563eb) 18%,transparent)}.staff-store-combo__item--empty{color:var(--muted);cursor:default}.staff-store-combo__item--empty:hover{background:transparent}.staff-assign-searchRow{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.staff-assign-searchRow input{flex:1 1 18rem;min-width:min(100%,18rem)}.staff-assign-list{border:1px solid var(--border);border-radius:12px;overflow:auto;max-height:46vh;background:var(--surface)}.staff-assign-list__row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:10px 12px;border:none;border-bottom:1px solid var(--border);background:transparent;color:var(--text);font:inherit;cursor:pointer}.staff-assign-list__row:hover{background:color-mix(in srgb,var(--link, #2563eb) 10%,transparent)}.staff-assign-list__row--active{background:color-mix(in srgb,var(--link, #2563eb) 16%,transparent)}.staff-assign-list__row:last-child{border-bottom:none}.staff-assign-list__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-assign-list__meta{flex:0 0 auto;font-size:.82rem;white-space:nowrap}.staff-assign-list__empty{padding:12px}.staff-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}@media (max-width: 720px){.staff-register-grid{grid-template-columns:1fr}}.customer-register-form{display:flex;flex-direction:column;gap:12px;margin-top:4px;max-width:32rem}.customer-register-form__field{display:grid;grid-template-columns:minmax(9.5rem,11.5rem) minmax(0,1fr);align-items:center;column-gap:12px;row-gap:4px;margin:0}.customer-register-form__label{font-size:.9rem;font-weight:600;color:var(--muted);justify-self:end;text-align:right;line-height:1.35}.customer-register-form__field>input{width:100%;min-width:0;box-sizing:border-box}.store-table--customer-edit{min-width:2800px}.store-table--customer-edit th,.store-table--customer-edit td{min-width:9rem}.store-table--customer-edit td.num,.store-table--customer-edit th.num{min-width:6.5rem}.store-table--customer-edit .store-list-cell-input{min-width:8.5rem}.store-table--customer-edit .store-list-cell-input--date{min-width:10rem}@media (max-width: 480px){.customer-register-form__field{grid-template-columns:1fr;align-items:stretch}.customer-register-form__label{justify-self:start;text-align:left}}.staff-register-roles{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;font-size:.92rem}.staff-register-roles__item{display:inline-flex;align-items:center;gap:8px}.staff-register-assign{display:inline-flex;align-items:center;gap:8px;font-size:.92rem}.staff-list-roles{max-width:24rem;line-height:1.45;white-space:nowrap;word-break:normal}.staff-role-cell{display:flex;align-items:center;justify-content:space-between;gap:10px}.staff-user-cell{display:inline-flex;align-items:center;gap:10px;min-width:0}.staff-user-cell__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-user-edit-col{white-space:nowrap}.staff-user-name-col{min-width:0;white-space:nowrap}.staff-staff-name-col{white-space:nowrap}.staff-duty-col{white-space:normal;min-width:14rem}.staff-duty-list{display:flex;flex-direction:column;gap:6px}.staff-subject-col{white-space:normal;min-width:14rem}.staff-subject-list{display:flex;flex-direction:column;gap:6px}.btn--compact{padding:6px 10px;font-size:.85rem;border-radius:10px;white-space:nowrap}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:18px;z-index:200}.modal-card{width:min(720px,100%);background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:16px}.modal-card__title{margin:0 0 10px;font-size:1.05rem}.modal-card__text{margin:0 0 12px}.modal-card__error{margin:0 0 12px;color:#b91c1c}.modal-card__actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.staff-name-actions,.staff-date-col{white-space:nowrap}.staff-user-sep td{border-top:2px solid color-mix(in srgb,var(--border) 75%,transparent)}.role-pick-list{margin-top:10px;border:1px solid var(--border);border-radius:12px;overflow:auto;max-height:320px}.role-pick-row{width:100%;display:grid;grid-template-columns:4.5rem 1fr auto;gap:10px;padding:10px 12px;background:transparent;border:0;text-align:left;cursor:pointer}.role-pick-row:hover{background:#0d6efd0f}.role-pick-row--active{background:#0d6efd1a}.role-pick-row__no{font-variant-numeric:tabular-nums;text-align:right;color:var(--muted)}.role-pick-row__code{font-size:.85rem}.store-table-wrap--stickyHead{max-height:min(72vh,720px);overflow:auto}.store-table-wrap--stickyHead thead th{position:sticky;top:0;z-index:6}:root{color-scheme:light;--bg: #f4f6f8;--surface: #ffffff;--text: #1a1d21;--muted: #5c6570;--border: #e2e6ea;--accent: #0d6efd;--accent-hover: #0b5ed7;--link: #0b57d0;--radius: 12px;--shadow: 0 8px 24px rgba(15, 23, 42, .08);font-family:system-ui,-apple-system,Segoe UI,Hiragino Sans,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;line-height:1.5;font-weight:400;color:var(--text);background-color:var(--bg)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}button,input{font:inherit}
