:root{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang TC","Noto Sans TC",system-ui,sans-serif;
  color:#17231d;
  background:#f2f2f7;
  font-synthesis:none;
  --green:#175c43;
  --green-strong:#104b36;
  --green-soft:#e8f3ed;
  --label:#17231d;
  --secondary-label:#66736c;
  --tertiary-label:#8c9891;
  --surface:#ffffff;
  --surface-2:#f2f2f7;
  --surface-3:#e9ecea;
  --line:rgba(60,60,67,.14);
  --danger:#b33a2b;
  --danger-soft:#fff0ed;
  --warning:#9a6410;
  --warning-soft:#fff4d6;
  --success:#1f7a4d;
  --success-soft:#e7f5ec;
  --shadow:0 10px 30px rgba(30,45,37,.07);
  --spring:cubic-bezier(.2,.8,.2,1);
}
*{box-sizing:border-box}
html{background:#f2f2f7}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 100% 0,rgba(23,92,67,.07),transparent 32rem),
    #f2f2f7;
  color:var(--label);
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea{font:inherit}
button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default;opacity:.5}
button:active:not(:disabled){transform:scale(.98)}
.hidden{display:none!important}

.admin-shell{
  width:min(820px,100%);
  margin:0 auto;
  padding:calc(18px + env(safe-area-inset-top)) 16px calc(72px + env(safe-area-inset-bottom));
}
.admin-header,.dialog-head,.section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.admin-header{padding:4px 2px 6px}
.eyebrow{
  margin:0;
  color:var(--secondary-label);
  font-size:12px;
  font-weight:650;
  letter-spacing:.04em;
}
h1{
  margin:5px 0 14px;
  font-size:clamp(32px,8vw,42px);
  line-height:1.05;
  letter-spacing:-.035em;
  font-weight:760;
}
h2{margin:0;font-size:24px;letter-spacing:-.025em}
h3{margin:0}

.primary,.secondary,.store-actions button,.product-admin-actions button,.announcement-admin-actions button,.recovery-actions button{
  min-height:44px;
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  transition:transform 100ms ease-out,background-color 180ms ease,color 180ms ease,box-shadow 180ms ease;
}
.primary{background:var(--green);color:#fff;box-shadow:0 5px 14px rgba(23,92,67,.13)}
.primary:active:not(:disabled){background:var(--green-strong)}
.secondary{background:rgba(23,92,67,.09);color:var(--green)}
.full{width:100%}

.panel,.summary-card,.store-card,.product-admin-card,.announcement-admin-card,.admin-group{
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.login-panel{
  max-width:480px;
  margin:26px auto;
  padding:24px;
  border-radius:24px;
}
.lock-icon{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  margin-bottom:14px;
  border-radius:16px;
  background:var(--green-soft);
  font-size:27px;
}
.login-panel h2{font-size:28px}
.login-panel p,.dialog-hint,.section-hint{
  color:var(--secondary-label);
  line-height:1.55;
}
.login-panel label,dialog label{
  display:block;
  margin-top:18px;
  color:var(--secondary-label);
  font-size:14px;
  font-weight:650;
}
.login-panel input,dialog input,dialog select,#announcementEditDialog textarea{
  width:100%;
  min-height:52px;
  margin-top:7px;
  padding:13px 14px;
  border:1px solid transparent;
  border-radius:12px;
  outline:none;
  background:var(--surface-2);
  color:var(--label);
  transition:border-color 160ms ease,box-shadow 160ms ease,background-color 160ms ease;
}
.login-panel input:focus,dialog input:focus,dialog select:focus,#announcementEditDialog textarea:focus,.store-search:focus-within{
  border-color:rgba(23,92,67,.35);
  box-shadow:0 0 0 4px rgba(23,92,67,.09);
  background:#fff;
}
.login-panel small{display:block;margin-top:12px;color:var(--secondary-label);line-height:1.5}
.login-panel .primary{width:100%;margin-top:20px;font-size:17px}
.line-login-btn{background:#06c755}
.email-backup-btn{width:100%;margin-top:12px}
.login-divider{display:flex;align-items:center;gap:10px;margin:22px 0 2px;color:var(--tertiary-label);font-size:12px;font-weight:650}
.login-divider::before,.login-divider::after{content:"";height:1px;flex:1;background:var(--line)}
.line-admin-status{margin:12px 0 0!important;padding:12px 13px;border-radius:12px;background:var(--green-soft);color:var(--green)!important;font-weight:650}
.line-admin-status.error{background:var(--danger-soft);color:var(--danger)!important}

.notice{
  position:sticky;
  top:8px;
  z-index:40;
  margin-bottom:14px;
  padding:13px 15px;
  border:1px solid rgba(154,100,16,.12);
  border-radius:14px;
  background:rgba(255,244,214,.96);
  color:var(--warning);
  font-weight:650;
  box-shadow:0 8px 26px rgba(40,35,25,.1);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
}
.notice.error{background:rgba(255,240,237,.97);color:var(--danger)}
.notice.success{background:rgba(231,245,236,.97);color:var(--success)}

.toolbar{
  position:sticky;
  top:8px;
  z-index:25;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:4px 0 20px;
  padding:10px;
  border-radius:20px;
  background:rgba(248,248,250,.82);
  backdrop-filter:blur(22px) saturate(170%);
  -webkit-backdrop-filter:blur(22px) saturate(170%);
}
.session-label{display:grid;gap:2px;min-width:0;padding-left:6px}
.session-label span{color:var(--tertiary-label);font-size:11px;font-weight:650}
.session-label strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.admin-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:3px;
  min-width:min(390px,100%);
  padding:3px;
  border-radius:12px;
  background:rgba(118,118,128,.12);
}
.tab-btn{
  position:relative;
  min-height:38px;
  padding:7px 12px;
  border-radius:9px;
  background:transparent;
  color:var(--secondary-label);
  font-size:14px;
  font-weight:700;
  transition:background-color 180ms ease,color 180ms ease,box-shadow 180ms ease,transform 100ms ease-out;
}
.tab-btn.active{
  background:#fff;
  color:var(--green);
  box-shadow:0 1px 4px rgba(0,0,0,.1),0 0 0 .5px rgba(0,0,0,.04);
}
.tab-badge{
  position:absolute;
  top:6px;
  right:8px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff3b30;
  box-shadow:0 0 0 2px #fff;
}

.summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-bottom:24px;
}
.summary-card{
  display:grid;
  gap:3px;
  min-height:92px;
  padding:16px;
  border-radius:18px;
}
.summary-card span{color:var(--secondary-label);font-size:13px;font-weight:600}
.summary-card strong{font-size:30px;line-height:1.05;letter-spacing:-.035em;color:var(--green)}

.section-title{
  align-items:flex-end;
  margin:8px 2px 12px;
}
.section-title h2{font-size:24px}
.section-hint{margin:5px 0 0;font-size:13px}
.title-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.section-title>.primary{white-space:nowrap}

.store-search{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:48px;
  margin:0 0 12px;
  padding:0 13px;
  border:1px solid transparent;
  border-radius:14px;
  background:rgba(118,118,128,.1);
  transition:border-color 160ms ease,box-shadow 160ms ease,background-color 160ms ease;
}
.search-icon{color:var(--tertiary-label);font-size:22px;line-height:1}
.store-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--label);
  font-size:16px;
}
.store-search input::placeholder{color:var(--tertiary-label)}

.store-cards{display:grid;gap:10px}
.store-card{overflow:hidden;border-radius:19px}
.store-summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 18px;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:92px;
  padding:15px 16px;
  background:#fff;
  color:inherit;
  text-align:left;
  transition:background-color 160ms ease,transform 100ms ease-out;
}
.store-summary:active{background:#f7f7f9}
.store-identity{min-width:0;display:grid;gap:5px}
.store-name-line{display:flex;align-items:center;gap:8px;min-width:0}
.store-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.02em;
}
.store-code{
  color:var(--secondary-label);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:13px;
  letter-spacing:.035em;
}
.store-glance{
  display:grid;
  justify-items:end;
  gap:4px;
  color:var(--secondary-label);
  font-size:12px;
  white-space:nowrap;
}
.store-glance span:first-child{color:var(--label);font-weight:700}
.store-chevron{
  color:var(--tertiary-label);
  font-size:27px;
  line-height:1;
  transform:rotate(0deg);
  transition:transform 320ms var(--spring);
}
.store-card.expanded .store-chevron{transform:rotate(90deg)}
.store-detail-wrap{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows 360ms var(--spring),opacity 220ms ease;
}
.store-card.expanded .store-detail-wrap{grid-template-rows:1fr;opacity:1}
.store-detail{min-height:0;overflow:hidden;padding:0 14px}
.store-card.expanded .store-detail{padding-bottom:14px}
.store-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  padding-top:2px;
}
.meta{
  display:grid;
  gap:4px;
  min-height:68px;
  padding:12px 13px;
  border-radius:13px;
  background:var(--surface-2);
}
.meta span{color:var(--secondary-label);font-size:12px;font-weight:600}
.meta strong{font-size:15px;line-height:1.35}
.store-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.store-actions button{background:rgba(23,92,67,.09);color:var(--green)}
.store-actions .danger,.product-admin-actions .danger,.announcement-admin-actions .danger,.recovery-actions .danger{
  background:var(--danger-soft);
  color:var(--danger);
}

.status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:28px;
  padding:5px 9px;
  border-radius:999px;
  background:var(--success-soft);
  color:var(--success);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.status.off{background:rgba(118,118,128,.1);color:var(--secondary-label)}
.status.pending{background:var(--warning-soft);color:var(--warning)}

.empty,.recovery-empty{
  padding:24px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.62);
  color:var(--secondary-label);
  text-align:center;
  border:1px dashed rgba(60,60,67,.18);
}

.product-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 120px auto;gap:8px;align-items:center;margin:12px 0}
.product-toolbar input,.product-toolbar select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:15px}
.product-toolbar .secondary{min-height:46px;white-space:nowrap}
.product-toolbar .secondary[aria-pressed="true"]{background:var(--green);color:#fff}
.product-more{position:relative;z-index:2}
.product-more summary{list-style:none;min-width:52px;text-align:center;padding:10px 11px;border-radius:11px;background:rgba(23,92,67,.08);color:var(--green);font-weight:650;cursor:pointer}
.product-more summary::-webkit-details-marker{display:none}
.product-more[open]{z-index:6}
.product-more button{position:absolute;top:calc(100% + 5px);right:0;min-width:110px;white-space:nowrap;z-index:10;box-shadow:0 8px 24px #00000022;border:1px solid var(--line)!important;background:#fff!important}
.product-cards,.announcement-cards{display:grid;gap:10px}
@media(max-width:640px){
  .product-toolbar{grid-template-columns:minmax(0,1fr) minmax(110px,.55fr)}
  .product-toolbar #productSortModeBtn{grid-column:1/-1}
}
.product-section-heading{
  margin:22px 4px 6px;
  color:var(--secondary-label);
  font-size:13px;
  font-weight:700;
  text-transform:none;
}
.product-admin-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:15px 16px;
  border-radius:17px;
}
.product-admin-card.stopped,.announcement-admin-card.archived{opacity:.62}
.product-admin-info{min-width:0}
.product-admin-info strong{display:block;font-size:19px;letter-spacing:-.015em}
.product-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.product-badge{
  padding:4px 8px;
  border-radius:999px;
  background:rgba(118,118,128,.1);
  color:var(--secondary-label);
  font-size:11px;
  font-weight:700;
}
.product-badge.fixed{background:#fff1e8;color:#a14e30}
.product-badge.shown{background:var(--success-soft);color:var(--success)}
.product-badge.off{background:rgba(118,118,128,.1);color:var(--secondary-label)}
.product-admin-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.product-admin-actions button,.announcement-admin-actions button,.recovery-actions button{background:rgba(23,92,67,.08);color:var(--green)}
.product-admin-actions .move-product{min-width:40px;padding-inline:9px;font-size:18px}
.save-order{
  position:sticky;
  bottom:calc(12px + env(safe-area-inset-bottom));
  width:100%;
  margin-top:16px;
  box-shadow:0 10px 28px rgba(23,92,67,.2);
}

.announcement-admin-card{padding:16px;border-radius:17px}
.announcement-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.announcement-admin-head strong{font-size:19px}
.announcement-admin-card p{margin:10px 0;color:#4f5a54;line-height:1.55;white-space:pre-line}
.announcement-admin-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--secondary-label);font-size:12px}
.announcement-admin-actions{display:flex;gap:7px;margin-top:13px}
.announcement-example{display:grid;gap:3px;margin:14px 0;padding:12px;border-radius:12px;background:var(--surface-2);color:var(--secondary-label);font-size:13px}
.announcement-example strong{color:var(--green)}
#announcementEditDialog textarea{min-height:130px;resize:vertical;line-height:1.55}

.admin-group{
  margin-top:12px;
  padding:16px;
  border-radius:20px;
}
.admin-group+.admin-group{margin-top:14px}
.group-heading{margin-bottom:12px}
.group-heading h3{font-size:19px;letter-spacing:-.015em}
.group-heading p{margin:5px 0 0;color:var(--secondary-label);font-size:13px;line-height:1.5}
.recovery-cards{display:grid}
.recovery-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 2px;
  border-bottom:1px solid var(--line);
}
.recovery-card:last-child{border-bottom:0}
.recovery-info{min-width:0;display:grid;gap:7px}
.recovery-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.recovery-head>strong{font-size:17px}
.recovery-code{display:flex;align-items:baseline;gap:8px}
.recovery-code span{color:var(--secondary-label);font-size:12px;font-weight:650}
.recovery-code strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:18px;letter-spacing:.08em;color:var(--green)}
.recovery-info small{color:var(--secondary-label)}
.recovery-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}

dialog{
  width:min(520px,calc(100% - 28px));
  max-height:min(82vh,760px);
  padding:20px;
  border:0;
  border-radius:24px;
  background:rgba(255,255,255,.98);
  color:var(--label);
  box-shadow:0 24px 70px rgba(0,0,0,.2);
}
dialog::backdrop{background:rgba(20,24,22,.28);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.dialog-head{margin-bottom:4px}
.dialog-head h2{font-size:24px}
.close-btn{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(118,118,128,.12);
  color:var(--secondary-label);
  font-size:24px;
  line-height:1;
}
.credential-dialog{text-align:center}
.success-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin:0 auto 12px;
  border-radius:50%;
  background:var(--success-soft);
  color:var(--success);
  font-size:28px;
  font-weight:800;
}
.credential-box{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px 14px;
  margin:16px 0;
  padding:14px;
  border-radius:14px;
  background:var(--surface-2);
  text-align:left;
}
.credential-box span{color:var(--secondary-label);font-size:13px}
.credential-box strong{text-align:right}
.pin{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:24px;letter-spacing:.1em;color:var(--green)}

@media(max-width:640px){
  .admin-shell{padding-inline:12px}
  .admin-header{padding-inline:4px}
  h1{font-size:34px}
  .toolbar{display:block;padding:8px;top:6px;border-radius:17px}
  .session-label{display:none}
  .admin-tabs{min-width:0;width:100%}
  .tab-btn{padding-inline:7px}
  .summary-card{min-height:82px;padding:14px}
  .summary-card strong{font-size:27px}
  .section-title{align-items:flex-start}
  .title-actions{max-width:190px}
  .title-actions .secondary{padding-inline:11px}
  .store-summary{grid-template-columns:minmax(0,1fr) auto 16px;padding:14px}
  .store-name{font-size:19px}
  .store-glance{font-size:11px}
  .store-actions{grid-template-columns:1fr 1fr}
  .store-actions button:last-child{grid-column:1/-1}
  .product-admin-card{align-items:flex-start}
  .product-admin-actions{max-width:145px}
  .announcement-admin-head{display:block}
  .announcement-admin-head .status{margin-top:8px}
  .announcement-admin-actions{display:grid;grid-template-columns:1fr 1fr}
  .recovery-card{display:grid;align-items:start}
  .recovery-actions{justify-content:stretch}
  .recovery-actions button{flex:1}
  dialog{
    width:100%;
    max-width:100%;
    max-height:88vh;
    inset:auto 0 0 0;
    margin:auto 0 0;
    border-radius:24px 24px 0 0;
    padding:20px 18px calc(18px + env(safe-area-inset-bottom));
  }
}
@media(max-width:390px){
  .title-actions{width:100%;max-width:none;justify-content:flex-start}
  .section-title{display:grid}
  .store-glance span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}
@media(prefers-reduced-transparency:reduce){
  .toolbar,.notice{background:#f8f8fa;backdrop-filter:none;-webkit-backdrop-filter:none}
  dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(prefers-contrast:more){
  .panel,.summary-card,.store-card,.product-admin-card,.announcement-admin-card,.admin-group{border-color:rgba(0,0,0,.28)}
}

/* Admin phase 1: task-first navigation, compact lists and mobile thumb reach. */
.admin-shell{width:min(1150px,100%);padding-bottom:calc(36px + env(safe-area-inset-bottom))}
.dashboard-layout{display:grid;grid-template-columns:186px minmax(0,1fr);gap:22px;align-items:start}
.dashboard-content{min-width:0;padding-bottom:24px}
.toolbar{position:sticky;top:18px;display:grid;align-content:start;gap:12px;margin:0;padding:12px;border-radius:18px}
.session-label{padding:6px 8px 10px;border-bottom:1px solid var(--line)}
.admin-tabs{min-width:0;width:100%;grid-template-columns:1fr;background:transparent;padding:0;gap:5px}
.tab-btn{min-height:48px;text-align:left;padding:10px 14px;border-radius:12px}
.tab-btn.active{background:var(--green-soft);box-shadow:none}
.tab-badge{right:12px;top:10px;box-shadow:0 0 0 2px var(--green-soft)}
.dashboard-content>.section-title,.dashboard-content>section>.section-title{margin-top:0}
.overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}
.overview-metrics .summary-card{min-height:108px}
.overview-group{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:14px}
.overview-group .group-heading{margin-bottom:12px}
.overview-group .group-heading p{font-size:14px}
.overview-task-list{display:grid;border-top:1px solid var(--line)}
.overview-task{display:flex;align-items:center;gap:12px;width:100%;min-height:74px;padding:12px 4px;background:transparent;color:var(--label);text-align:left;border-bottom:1px solid var(--line)}
.overview-task:last-child{border-bottom:0}
.overview-task-label{flex:1;min-width:0;display:grid;gap:3px}
.overview-task-label strong{font-size:16px}
.overview-task-label small{font-size:13px;color:var(--secondary-label);line-height:1.45}
.overview-task-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 7px;border-radius:10px;background:var(--surface-2);color:var(--green);font-weight:750;font-variant-numeric:tabular-nums}
.overview-task.needs-attention .overview-task-count{background:var(--warning-soft);color:var(--warning)}
.overview-task>span:last-child{color:var(--tertiary-label);font-size:24px}
.overview-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.compact-action{flex-shrink:0;white-space:nowrap;min-height:44px}
.store-filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin}
.store-filter{flex:0 0 auto;min-height:42px;padding:8px 13px;border-radius:12px;background:var(--surface-3);color:var(--secondary-label);font-weight:700}
.store-filter.active{background:var(--green);color:white}
.store-filter-result{margin:6px 2px 12px;color:var(--secondary-label);font-size:13px}
.store-summary{min-height:78px}
.store-code{font-size:12px}
.store-name{font-size:18px}
:where(button,input,select,textarea,summary):focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(max-width:760px){
  .admin-shell{width:100%;padding:calc(10px + env(safe-area-inset-top)) 16px calc(108px + env(safe-area-inset-bottom))}
  .admin-header{padding-inline:0}
  .admin-header h1{font-size:29px;margin-bottom:12px}
  .dashboard-layout{display:block}
  .dashboard-content{padding-bottom:0}
  .toolbar{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:30;display:block;margin:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:rgba(250,251,251,.96);border:1px solid var(--line);box-shadow:0 -6px 24px rgba(30,45,37,.08)}
  .session-label{display:none}
  .admin-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
  .tab-btn{text-align:center;font-size:13px;min-height:46px;padding:8px 2px;border-radius:11px}
  .tab-badge{top:6px;right:7px}
  .overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .overview-metrics .summary-card{padding:12px 10px;min-height:90px}
  .overview-metrics .summary-card span{font-size:12px}
  .overview-metrics .summary-card strong{font-size:27px}
  .section-title{align-items:flex-start;flex-wrap:wrap}
  .title-actions{max-width:none;display:flex;justify-content:flex-start}
  .title-actions .primary,.title-actions .secondary{white-space:nowrap}
  .overview-group{padding:15px}
  .store-summary{min-height:78px}
  .store-glance span:last-child{display:block;white-space:normal;text-align:right}
}
@media(max-width:390px){
  .admin-shell{padding-inline:12px}
  .store-summary{gap:6px;padding:12px}
  .store-name{font-size:17px}
  .store-glance{font-size:11px}
  .overview-metrics .summary-card{padding:12px 8px}
  .overview-metrics .summary-card strong{font-size:25px}
  .overview-quick-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-transparency:reduce){
  .toolbar{background:#fafbfb;backdrop-filter:none;-webkit-backdrop-filter:none}
}
