/* Flow's forest, amber and sand vocabulary, with a quieter Business hierarchy.
   Theme values remain configurable; these rules only affect the admin shell. */
.business-shell { font-size:14px; line-height:1.5; }
.business-shell [hidden] { display:none!important; }
.business-shell #app-sidebar { border-inline-end:1px solid color-mix(in srgb,var(--theme-sidebar-text) 12%,transparent); }
.business-shell #sidebar-nav { scrollbar-width:thin; }
.business-shell .nav-item { min-height:42px; margin-block:2px; font-size:12.5px; }
.business-shell .nav-item.active { box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 28%,transparent); }
.business-shell .nav-item.active::before { background:var(--theme-accent); }
.business-shell .nav-item.active > span:last-child { color:var(--theme-sidebar-text); font-weight:700; }
.business-shell .sidebar-group > p { letter-spacing:.12em; font-size:10px; padding-top:22px; }
.business-shell .business-page-title { font-size:16px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.business-shell header > div:first-child { min-width:0; }
.business-shell main > * { min-width:0; }
.business-shell main :is(h2,h3) { letter-spacing:-.025em; }
.business-shell main :is(.rounded-2xl,.card-theme) { border-radius:var(--theme-radius); }
.business-shell main .shadow-sm { box-shadow:0 2px 8px rgb(0 0 0 / .025); }
.business-shell main table { font-variant-numeric:tabular-nums; }
.business-shell main thead { background:color-mix(in srgb,var(--theme-primary) 4%,var(--theme-surface)); color:var(--theme-muted); }
.business-shell main thead th { font-size:11px; letter-spacing:.04em; font-weight:600; }
.business-shell main tbody tr:hover { background:color-mix(in srgb,var(--theme-primary) 2%,var(--theme-surface)); }
.business-shell main :is(input,select,textarea) { min-height:38px; }
.business-shell main :is(input,select,textarea):focus-visible { outline:2px solid var(--theme-primary); outline-offset:2px; }
.business-shell :is(a,button):focus-visible { outline:2px solid var(--theme-accent); outline-offset:3px; }
.business-shell .workspace-search-trigger { display:flex; align-items:center; gap:10px; min-height:36px; padding:6px 12px; color:var(--theme-muted); border:1px solid var(--theme-border); border-radius:8px!important; font-size:12px; }
.business-shell kbd { font-family:inherit; font-size:10px; color:var(--theme-muted); padding:1px 4px; border:1px solid var(--theme-border); border-radius:4px; }
.business-shell #workspace-search { width:min(560px,calc(100vw - 28px)); max-height:min(640px,85dvh); padding:0; margin:8vh auto auto; border:1px solid var(--theme-border); border-radius:14px; background:var(--theme-surface); color:var(--theme-text); box-shadow:0 24px 80px rgb(0 0 0 / .2); }
.business-shell #workspace-search::backdrop { background:rgb(10 25 16 / .5); backdrop-filter:blur(3px); }
.business-shell .workspace-search-header { display:flex; justify-content:space-between; gap:16px; padding:18px 20px; border-bottom:1px solid var(--theme-border); }
.business-shell .workspace-search-header h2 { font-weight:700; }
.business-shell .workspace-search-header button { font-size:12px; color:var(--theme-muted); min-height:28px; }
.business-shell #workspace-search-input { width:calc(100% - 32px); margin:16px; padding:12px 14px; background:var(--theme-bg); border:1px solid var(--theme-border); }
.business-shell #workspace-search-results { max-height:54dvh; overflow:auto; padding:0 8px 8px; }
.business-shell #workspace-search-results a { display:flex; align-items:center; gap:14px; border-radius:8px; padding:11px 12px; text-decoration:none; }
.business-shell #workspace-search-results a:hover { background:var(--theme-bg); }
.business-shell #workspace-search-results a > i { width:32px; color:var(--theme-primary); text-align:center; }
.business-shell #workspace-search-results a > span:nth-child(2) { flex:1; font-weight:600; }
.business-shell #workspace-search-results small { display:block; font-size:11px; color:var(--theme-muted); font-weight:400; }
.business-shell #workspace-search-empty { color:var(--theme-muted); padding:18px 24px 28px; }
.business-shell .business-skip-link { position:fixed; z-index:100; top:8px; inset-inline-start:12px; transform:translateY(-160%); padding:10px 16px; background:var(--theme-surface); border:1px solid var(--theme-border); }
.business-shell .business-skip-link:focus { transform:none; }
.business-shell #category-flyout,.business-shell #category-menu-launcher { max-width:calc(100vw - 16px); max-height:calc(100dvh - 16px); overflow:auto; }
.business-shell .category-panel-link { display:flex; align-items:center; gap:12px; padding:12px; border-radius:8px; font-size:13px; }
.business-shell .category-panel-link:hover { background:var(--theme-bg); }
.business-shell .category-panel-link i { width:24px; text-align:center; color:var(--theme-primary); }
@media (max-width:639px) {
    .business-shell .business-page-title { max-width:44vw; font-size:14px; }
    .business-shell .workspace-search-trigger { padding:8px 10px; }
    .business-shell main { padding:16px!important; }
}

.business-shell .business-review-dialog[open] { display:flex; flex-direction:column; max-height:90dvh; overflow:hidden; }
.business-shell .business-review-dialog > .ops-top { flex-shrink:0; }
.business-shell .business-review-dialog > form { min-height:0; overflow-y:auto; padding:2px; }
.business-shell .business-review-actions { position:sticky; bottom:0; padding:14px 0 4px; background:var(--theme-surface,#fff); border-top:1px solid var(--theme-border,#dfe6e0); }

.business-shell .business-sale-dialog { width:min(1200px,calc(100vw - 24px)); padding:0; border:1px solid var(--theme-border); border-radius:var(--theme-radius); background:var(--theme-surface); color:var(--theme-text); }
.business-shell .business-sale-dialog::backdrop { background:rgb(10 25 16 / .5); }
.business-shell .business-sale-dialog[open],.business-shell .business-sale-dialog > section { display:flex; flex-direction:column; max-height:90dvh; overflow:hidden; }
.business-shell .business-sale-heading { flex-shrink:0; }
.business-shell .business-sale-dialog form { flex:1; min-height:0; overflow:auto; }
.business-shell .business-sale-dialog form > button[type=submit] { position:sticky; bottom:0; box-shadow:0 -8px 16px var(--theme-surface); }

.business-shell main h1 { font-size:24px; font-weight:750; letter-spacing:-.03em; }
.business-shell .business-workspace-actions { display:flex; flex-wrap:wrap; gap:10px; margin-block:16px 24px; }
.business-shell .business-primary-action,.business-shell .business-secondary-action { min-height:40px; padding:9px 15px; border-radius:8px; font-size:13px; font-weight:600; }
.business-shell .business-primary-action { background:var(--theme-primary); color:#fff; border:1px solid var(--theme-primary); }
.business-shell .business-secondary-action { background:var(--theme-surface); color:var(--theme-text); border:1px solid var(--theme-border); }
.business-shell .business-workflow-dialog { width:min(1040px,calc(100vw - 24px)); max-height:90dvh; padding:0; border:1px solid var(--theme-border); border-radius:14px; background:var(--theme-surface); color:var(--theme-text); }
.business-shell .business-workflow-dialog[open] { display:flex; flex-direction:column; overflow:hidden; }
.business-shell .business-workflow-dialog::backdrop { background:rgb(10 25 16 / .5); }
.business-shell .business-workflow-heading { flex-shrink:0; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-bottom:1px solid var(--theme-border); }
.business-shell .business-workflow-heading h2 { font-size:16px; font-weight:700; }
.business-shell .business-workflow-body { min-height:0; overflow:auto; padding:0; }
.business-shell .business-workflow-body > :is(section,form) { box-shadow:none!important; border:0!important; }
.business-shell .business-workflow-body form { position:relative; }
.business-shell .business-workflow-footer { position:sticky; bottom:0; grid-column:1 / -1; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; padding:14px 0 4px; background:var(--theme-surface); box-shadow:0 -8px 16px var(--theme-surface); }
.business-shell .business-listing-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding:12px 16px; border-top:1px solid var(--theme-border); border-bottom:1px solid var(--theme-border); }
.business-shell .business-listing-controls input { width:min(100%,300px); padding:8px 12px; font-size:13px; border:1px solid var(--theme-border); background:var(--theme-surface); }
.business-shell .business-listing-controls > span { font-size:11px; color:var(--theme-muted); }
@media(max-width:639px) { .business-shell main h1 { font-size:21px; } .business-shell .business-workspace-actions button { flex:1 1 44%; } }

.business-shell .swal2-popup { border-radius:var(--theme-radius); background:var(--theme-surface); color:var(--theme-text); font-size:14px; }
.business-shell .swal2-title { font-family:var(--theme-heading-font,Manrope),sans-serif; font-size:22px; font-weight:700; }
.business-shell .swal2-confirm { background-color:var(--theme-primary); }
.business-shell .swal2-cancel { background-color:var(--theme-muted); }
.business-shell .business-payment-dialog .swal2-html-container { font-size:14px; line-height:1.65; }
