/* A compact workspace for horizontal tablets, separate from the phone navigation. */
html.admin-tablet-landscape body #adminView :is(.mobile-bottom-nav,.admin-pocket-bottom){display:none!important}
html.admin-tablet-landscape body .admin-layout{display:block;min-height:100dvh;padding-bottom:0!important}
html.admin-tablet-landscape body .workspace{width:100%;margin-left:0!important;padding-bottom:0!important;min-width:0}
html.admin-tablet-landscape body .content{padding:18px 22px 24px!important;max-width:none!important}
html.admin-tablet-landscape body .top-header{height:76px!important;min-height:76px!important;padding:12px 22px!important;gap:16px}
html.admin-tablet-landscape body .top-header h1{font-size:23px!important;line-height:1.2;margin:4px 0!important}
html.admin-tablet-landscape body .top-header :is(.eyebrow,.service-edition-badge){font-size:10px!important}
html.admin-tablet-landscape body .header-title{gap:12px}
html.admin-tablet-landscape body .sidebar-toggle{display:grid!important;width:38px;height:38px;border-radius:10px}
html.admin-tablet-landscape body .sidebar{position:fixed!important;left:0;top:0;z-index:110;width:270px!important;height:100dvh!important;min-height:100dvh!important;padding:18px 14px!important;transform:translateX(-105%);box-shadow:12px 0 35px #11182730;overflow:hidden}
html.admin-tablet-landscape body #adminView.sidebar-open .sidebar{transform:translateX(0)}
html.admin-tablet-landscape body #adminView.sidebar-open .sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:105;background:#11182766}
html.admin-tablet-landscape body .sidebar :is(.nav-button,.side-group-toggle){font-size:12px;padding:10px 12px}
html.admin-tablet-landscape body .user-chip{gap:8px;font-size:12px}
html.admin-tablet-landscape body .user-chip .user-avatar{width:36px;height:36px}
html.admin-tablet-landscape body :is(.section-intro,.section-card,.stat-card){margin-bottom:16px}
html.admin-tablet-landscape body .section-card{border-radius:14px}
html.admin-tablet-landscape body :is(.card-heading,.section-card>.card-heading){padding:16px 18px!important;min-height:0!important}
html.admin-tablet-landscape body :is(.card-heading h3,.section-intro h2){font-size:18px!important}
html.admin-tablet-landscape body #adminView :is(.filter-button,.reset-button,.primary-button){min-height:40px!important;padding:9px 14px!important;font-size:12px!important;border-radius:10px;line-height:1.45}
html.admin-tablet-landscape body #adminView :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select){min-height:40px!important;padding:9px 12px!important;font-size:13px!important;line-height:1.4}
html.admin-tablet-landscape body #adminView textarea{font-size:13px!important;padding:11px 12px!important}
html.admin-tablet-landscape body #productsPanel .product-management-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html.admin-tablet-landscape body #productsPanel .product-action-group{grid-column:auto;padding:12px 14px;gap:8px;border-radius:12px}
html.admin-tablet-landscape body #productsPanel .product-action-group button{min-height:36px!important;height:auto!important;padding:8px 11px!important;font-size:11px!important;white-space:normal}
html.admin-tablet-landscape body #productsPanel .inventory-tabs{margin-bottom:14px!important}
html.admin-tablet-landscape body #productsPanel .inventory-tabs button{font-size:12px!important;min-height:40px!important;padding:10px 18px!important}
html.admin-tablet-landscape body #productsPanel .toolbar{padding:14px 18px!important;gap:12px;grid-template-columns:minmax(0,1fr) minmax(180px,250px) auto}
html.admin-tablet-landscape body #productsPanel .table-wrap{overflow-x:auto;margin:0 18px 16px!important}
html.admin-tablet-landscape body #productsPanel table{min-width:1000px;font-size:12px}
html.admin-tablet-landscape body #productsPanel table :is(th,td){padding:10px 12px!important;vertical-align:middle}
html.admin-tablet-landscape body #productsPanel .product-thumb,html.admin-tablet-landscape body #productsPanel .product-thumb-button{width:42px!important;height:42px!important;min-height:42px!important;border-radius:8px}
html.admin-tablet-landscape body #productsPanel .row-actions{gap:6px;flex-wrap:nowrap}
html.admin-tablet-landscape body #productsPanel .row-actions :is(a,button){min-height:32px!important;padding:7px 9px!important;font-size:11px!important;white-space:nowrap}
html.admin-tablet-landscape body .stat-card{padding:16px!important;min-height:110px!important}
html.admin-tablet-landscape body .stat-card strong{font-size:24px!important}
html.admin-tablet-landscape body :is(.stats-grid,.form-grid){gap:14px}
html.admin-tablet-landscape body .assistant-admin-fab{right:18px;bottom:18px;min-height:44px;padding:10px 13px;font-size:11px}
html.admin-tablet-landscape body .assistant-admin-fab svg{width:21px;height:21px}
html.admin-tablet-landscape body :is(.dialog-head,.product-master-dialog>.dialog-head){padding:16px 20px!important}
html.admin-tablet-landscape body :is(.dialog-head h2,.product-master-dialog h2){font-size:20px!important}
html.admin-tablet-landscape body .inventory-config[data-material-mode=raw]{padding:18px}
html.admin-tablet-landscape body .inventory-material-card{padding:16px}
@media(prefers-reduced-motion:reduce){html.admin-tablet-landscape body .sidebar{transition:none}}
.admin-fullscreen-button{display:grid;place-items:center;flex:none;width:38px;height:38px;padding:9px;border:1px solid var(--admin-border,#ddd);border-radius:10px;background:var(--theme-background,#fff);color:var(--theme-font,#26364b);cursor:pointer}.admin-fullscreen-button svg{width:20px;height:20px}
html body .tablet-menu-dialog{width:min(1000px,calc(100vw - 48px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--admin-border,#ddd);border-radius:18px;background:var(--theme-background,#fff);color:var(--theme-font,#26364b);overflow:hidden}.tablet-menu-dialog[open]{display:flex;flex-direction:column}.tablet-menu-dialog:not([open]){display:none}.tablet-menu-dialog::backdrop{background:#15122188;backdrop-filter:blur(5px)}.tablet-menu-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;border-bottom:1px solid var(--admin-border,#ddd);flex:none}.tablet-menu-dialog h2{font-size:22px;margin:4px 0 0}.tablet-menu-dialog small{font-size:10px;letter-spacing:.12em}.tablet-menu-dialog [data-tablet-menu-close]{width:36px;height:36px;padding:0;border:0;border-radius:10px;font-size:24px;background:color-mix(in srgb,var(--theme-primary,#57528f) 8%,var(--theme-background,#fff));color:inherit}.tablet-menu-body{min-height:0;overflow:auto;padding:20px 22px}.tablet-menu-body section+section{margin-top:20px}.tablet-menu-body h3{font-size:12px;margin:0 0 12px;color:var(--admin-muted,#63766d)}.tablet-menu-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.tablet-menu-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:110px;padding:14px 10px;border:1px solid var(--admin-border,#ddd);border-radius:14px;background:var(--theme-background,#fff);color:inherit;font:inherit;font-size:12px;line-height:1.5;text-align:center;cursor:pointer}.tablet-menu-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--theme-primary,#57528f) 9%,var(--theme-background,#fff));color:var(--theme-primary,#57528f)}.tablet-menu-icon svg{display:block!important;width:25px!important;height:25px!important}.tablet-menu-grid button.active,.tablet-menu-grid button:hover{border-color:var(--theme-primary,#57528f);background:color-mix(in srgb,var(--theme-primary,#57528f) 6%,var(--theme-background,#fff))}.tablet-menu-grid button:focus-visible{outline:2px solid var(--theme-primary,#57528f);outline-offset:3px}
@media(max-width:1000px){.tablet-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-height:650px){.tablet-menu-grid button{min-height:92px;padding:10px;gap:7px}.tablet-menu-body{padding:16px 20px}}

@media(max-width:700px){.admin-fullscreen-button{display:none}}
/* Current time belongs to the sidebar, leaving transaction headers clear. */
.sidebar .admin-sidebar-clock{display:grid;gap:4px;width:100%;box-sizing:border-box;margin:0 0 8px;padding:10px 12px;border:1px solid #ffffff24;border-radius:10px;color:inherit;text-align:left;line-height:1.3;background:#ffffff08}.sidebar .admin-sidebar-clock strong{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}.sidebar .admin-sidebar-clock small{font-size:11px;opacity:.75}
.tablet-menu-clock{display:block;margin-top:6px;font-size:11px;font-variant-numeric:tabular-nums;opacity:.75}

.sidebar>.admin-sidebar-clock{flex:0 0 auto;margin:8px 0 0;padding:8px 12px}
