/* Page frame: tab strip above the page and the date picker (public/shell.js). Shared with the Node pages. */
.sx-tabs{position:sticky;top:0;z-index:15;display:flex;align-items:stretch;min-height:44px;background:#fff;border-bottom:1px solid #e3e3e3;border-radius:12px 12px 0 0}
.sx-tab-list{display:flex;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:0 6px}
.sx-tab{position:relative;display:flex;align-items:center;flex-shrink:0;max-width:220px;border-bottom:2px solid transparent;margin-bottom:-1px}
.sx-tab a{display:block;padding:11px 6px 11px 12px;color:#4a4a4a;font-size:13px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx-tab:first-child a{padding-right:12px}
.sx-tab a:hover{color:#202020;text-decoration:none}
.sx-tab:hover{background:#f7f7f7}
.sx-tab.on{border-bottom-color:#303030}.sx-tab.on a{color:#202020;font-weight:650}
.sx-x{display:grid;place-items:center;width:20px;height:20px;margin-right:6px;padding:0;border:0;border-radius:5px;background:none;color:#8a8a8a;font-size:15px;line-height:1}
.sx-x:hover{background:#e3e3e3;color:#303030}
.sx-more{display:grid;place-items:center;width:42px;flex-shrink:0;border:0;border-left:1px solid #ebebeb;background:none;color:#616161;border-radius:0 12px 0 0}
.sx-more:hover{background:#f7f7f7;color:#303030}
.sx-menu{position:fixed;z-index:60;min-width:150px;padding:6px;background:#fff;border-radius:10px;box-shadow:0 0 0 1px #0000000f,0 8px 24px #0000001f}
.sx-menu button{display:block;width:100%;padding:8px 12px;border:0;border-radius:6px;background:none;color:#303030;font-size:13px;text-align:left}
.sx-menu button:hover:not(:disabled),.sx-menu button:focus-visible{background:#f1f1f1;outline:none}

/* Date picker: one button; a panel with quick ranges on the left and two months on the right. */
.dr{position:relative}
.dr>.dr-trigger~.dr-row{display:none}
.dr-trigger{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px;border:1px solid #d4d4d4;border-radius:8px;background:#fff;color:#303030;font-size:13px;font-weight:550;white-space:nowrap;max-width:100%}
.dr-trigger:hover{background:#f7f7f7}.dr-trigger[aria-expanded=true]{border-color:#303030}
.dr-trigger span{overflow:hidden;text-overflow:ellipsis}
.dr-caret{width:0;height:0;border:4px solid transparent;border-top:5px solid #616161;margin-top:4px}
.dr-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:40;display:flex;background:#fff;border-radius:12px;box-shadow:0 0 0 1px #0000000f,0 12px 32px #00000026;overflow:hidden}
.dr-side{display:flex;flex-direction:column;gap:2px;width:150px;flex-shrink:0;padding:10px 8px;background:#f7f7f7;border-right:1px solid #ebebeb}
.dr-quick{padding:8px 12px;border:0;border-radius:8px;background:none;color:#303030;font-size:13px;text-align:left}
.dr-quick:hover{background:#ebebeb}.dr-quick.on{background:#e3e3e3;font-weight:650}
.dr-body{padding:14px 16px 12px;min-width:0}
.dr-in{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.dr-in input{flex:1;margin:0;min-width:0;height:38px;border-color:#d4d4d4;border-radius:10px}
.dr-arrow{color:#616161}
.dr-cal{display:flex;gap:20px}
.dr-month{width:252px}
.dr-mhead{display:flex;align-items:center;justify-content:space-between;height:36px}
.dr-mhead strong{font-size:14px}
.dr-nav{width:30px;height:30px;border:0;border-radius:8px;background:none;color:#303030;font-size:20px;line-height:1}
.dr-nav:hover{background:#f1f1f1}
.dr-grid{display:grid;grid-template-columns:repeat(7,36px);row-gap:2px}
.dr-wd{display:grid;place-items:center;height:28px;color:#616161;font-size:12px}
.dr-day{height:34px;border:0;border-radius:8px;background:none;color:#303030;font-size:13px;font-variant-numeric:tabular-nums}
.dr-day:hover:not(:disabled){background:#f1f1f1}
.dr-day.today{box-shadow:inset 0 0 0 1px #b5b5b5}
.dr-day.in{background:#ebebeb;border-radius:0}
.dr-day.edge{background:#303030;color:#fff;font-weight:650}
.dr-day:disabled{color:#c4c4c4}
.dr-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #ebebeb}
.dr-foot .button{min-height:34px;padding:7px 13px;border:1px solid #d4d4d4;border-radius:8px;background:#fff;font-size:12px;font-weight:600}
@media(max-width:760px){
  .sx-tabs{border-radius:0}
  .dr-pop{position:fixed;left:8px!important;right:8px!important;top:auto;bottom:8px;flex-direction:column;max-height:calc(100vh - 16px);overflow:auto}
  .dr-side{flex-direction:row;flex-wrap:wrap;width:auto;border-right:0;border-bottom:1px solid #ebebeb}
  .dr-quick{padding:6px 10px;background:#fff;box-shadow:inset 0 0 0 1px #e3e3e3}
  .dr-month{width:100%}.dr-grid{grid-template-columns:repeat(7,1fr)}
}
.bing-submit{margin:0 0 14px}
/* Seven-item menu (11-05 redesign, phase 5): section tabs and the folded old menu, on PHP and Node pages alike. */
.nav-sec-tabs{display:flex;gap:4px;margin:0 0 6px;padding:0;border-bottom:1px solid #ebebeb;overflow-x:auto;flex-wrap:nowrap}
.nav-sec-tabs a{padding:10px 12px;color:#616161;font-weight:550;text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}
.nav-sec-tabs a.active,.nav-sec-tabs a[aria-current=page]{color:#202020;border-bottom-color:#303030;font-weight:650}
.nav-old{margin-top:14px;border-top:1px solid #d9d9d9;padding-top:8px}.nav-old>summary{cursor:pointer;font-size:12px;color:#616161;padding:6px 10px}
/* Small numbers on menu tabs (促销与活动): running offers, or decisions waiting (red). */
.nav-count{display:inline-block;min-width:18px;margin-left:6px;padding:0 6px;border-radius:9px;background:#e3f1ea;color:#16633f;font-size:12px;font-weight:600;line-height:18px;text-align:center;vertical-align:1px}
.nav-count.nav-alert{background:#fdecec;color:#a2231b}

