.business-shops-page{display:grid;gap:16px}
.business-shops-summary{display:grid;grid-template-columns:minmax(120px,180px) minmax(120px,180px) 1fr;align-items:center;gap:12px;padding:16px 18px;background:var(--surface,#fff);border:1px solid var(--border,#dfe4ea);border-radius:6px}
.business-shops-summary>div{display:grid;gap:5px;padding-right:16px;border-right:1px solid var(--border,#dfe4ea)}
.business-shops-summary>div span,.business-shops-toolbar label span{font-size:12px;color:var(--text-muted,#697586)}
.business-shops-summary>div strong{font-size:22px;font-weight:650;color:var(--text-primary,#202a36)}
.business-shops-summary>p{display:flex;align-items:center;gap:8px;margin:0;color:var(--text-muted,#586575);font-size:13px}
.business-shops-summary>p svg{width:17px;color:#23815a}
.business-shops-directory{background:var(--surface,#fff);border:1px solid var(--border,#dfe4ea);border-radius:6px;overflow:hidden}
.business-shops-directory[aria-busy="true"] .table-wrap{opacity:.62;transition:opacity .16s ease}
.business-shops-directory[aria-busy="true"] .business-shops-toolbar{background:var(--surface-subtle,#f7f9fb)}
.business-shops-toolbar{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border,#dfe4ea)}
.business-shops-search{display:flex;align-items:center;gap:8px;width:min(100%,360px);height:36px;padding:0 10px;border:1px solid var(--border,#cfd6df);border-radius:5px;background:var(--surface,#fff)}
.business-shops-search svg{width:16px;color:var(--text-muted,#697586);flex:none}
.business-shops-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:inherit;font:inherit}
.business-shops-filter{display:flex;align-items:center;gap:8px}
.business-shops-filter select{min-width:118px;height:36px;padding:0 8px;border:1px solid var(--border,#cfd6df);border-radius:5px;background:var(--surface,#fff);color:inherit}
.business-shops-count{margin-left:auto;color:var(--text-muted,#697586);font-size:12px}
.business-shops-directory .table-wrap{max-height:calc(100vh - 300px);overflow:auto}
.business-shops-directory table{width:100%;border-collapse:collapse;text-align:left}
.business-shops-directory th,.business-shops-directory td{padding:11px 14px;border-bottom:1px solid var(--border,#edf0f3);vertical-align:middle}
.business-shops-directory th{position:sticky;top:0;background:var(--surface-subtle,#f7f9fb);font-size:12px;font-weight:600;color:var(--text-muted,#697586);z-index:1}
.business-shops-directory td:first-child strong{font-weight:600}
.business-shops-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:#344357;white-space:nowrap}
.business-shops-state{height:180px;padding:28px 12px;text-align:center;color:var(--text-muted,#697586)}
.business-shops-state>svg{width:24px;height:24px;color:#6b7785}
.business-shops-state strong{color:var(--text-primary,#202a36);font-size:14px}
.business-shops-state span{max-width:440px;font-size:12px}
.business-shops-state.is-error{color:#b42318}
.business-shops-notice{display:flex;align-items:center;gap:6px;margin:0;padding:9px 14px;color:#23734e;background:#f0f8f3;font-size:12px}
.business-shops-notice svg{width:15px}
.business-shops-spin{animation:business-shops-spin .9s linear infinite}
@keyframes business-shops-spin{to{transform:rotate(360deg)}}
.business-shops-table th,.business-shops-table td{white-space:nowrap}
.business-shops-inline-edit,.business-shops-registration{display:inline-flex;align-items:center;gap:6px}
.business-shops-cell{display:inline-flex;align-items:center;gap:10px;min-height:32px;width:100%;min-width:0}
.business-shops-cell>strong,.business-shops-cell>code{white-space:nowrap}
.business-shops-cell[data-finance-edit],.business-shops-cell[data-name-edit]{cursor:text;border-radius:3px}
.business-shops-cell[data-finance-edit]:hover,.business-shops-cell[data-name-edit]:hover{background:var(--surface-subtle,#f7f9fb)}
.business-shops-cell[data-finance-edit]:focus-visible,.business-shops-cell[data-name-edit]:focus-visible{outline:2px solid var(--blue,#315bd8);outline-offset:2px}
.business-shops-registration{position:relative;width:100%;height:36px}
.business-shops-registration>input{box-sizing:border-box;width:100%;height:36px}
.business-shops-status{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:500;line-height:20px}
.business-shops-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.business-shops-status.is-enabled{color:#23734e;background:#eaf6ee}
.business-shops-status.is-disabled{color:#586575;background:#edf0f3}
.business-shops-status.is-disabled.is-danger{color:#b42318;background:#fff1f0}
.business-shops-status.is-unknown{color:#586575;background:#edf0f3}
.business-shops-notice.is-error{color:#b42318;background:#fff1f0}
.business-shops-inline-edit input:focus-visible{outline:2px solid var(--blue,#315bd8);outline-offset:2px}
.business-shops-inline-edit input{width:220px;height:36px;padding:0 8px;border:1px solid var(--border,#cfd6df);border-radius:5px;background:var(--surface,#fff);color:inherit;font:inherit}
.business-shops-finance-slot,.business-shops-name-slot{position:relative;box-sizing:border-box;width:100%;min-width:0;height:36px;min-height:36px;vertical-align:middle}
.business-shops-finance-slot>code,.business-shops-name-slot>strong{min-width:0;overflow:hidden;text-overflow:ellipsis}
.business-shops-finance-slot>input,.business-shops-name-slot>input{box-sizing:border-box;width:100%;min-width:0}
.business-shops-finance-slot>input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.business-shops-finance-slot>input:disabled,.business-shops-name-slot>input:disabled{padding-right:80px}
.business-shops-finance-saving{position:absolute;right:8px;font-size:12px;color:var(--text-muted,#697586)}
.business-shops-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 14px;font-size:12px}
.business-shops-pager>span{margin-right:auto}
@media(max-width:700px){.business-shops-summary{grid-template-columns:1fr 1fr}.business-shops-summary>div{padding-right:8px}.business-shops-summary>p{grid-column:1/-1;padding-top:4px}.business-shops-toolbar{align-items:stretch;flex-wrap:wrap}.business-shops-search{width:100%}.business-shops-count{width:100%;margin:0}.business-shops-directory .table-wrap{max-height:none}}
@media(prefers-reduced-motion:reduce){.business-shops-spin{animation:none}}
