.taohoo-admin-mode #wanmai-widget-root { display: none !important; }
body:not(.taohoo-admin-mode) .taohoo-launcher,body:not(.taohoo-admin-mode) .taohoo-panel { display:none !important; }
.taohoo-workspace { --taohoo-red:#a12d37; --taohoo-cream:#fff7ed; }
/* One generated alpha atlas. Per-row framing leaves room around every symbol. */
.admin-pixel-icon { display:inline-block; flex:0 0 auto; width:44px; aspect-ratio:181/165; vertical-align:middle; background-image:url('admin-pixel-icons-v1.png?v=20261019-1'); background-repeat:no-repeat; background-size:300% 438.787879%; background-position:var(--icon-x,0%) var(--icon-y,4.472272%); image-rendering:pixelated; }
.admin-pixel-icon[data-admin-icon=applications] { --icon-x:0%; }
.admin-pixel-icon[data-admin-icon=shops] { --icon-x:50%; }
.admin-pixel-icon[data-admin-icon=products] { --icon-x:100%; }
.admin-pixel-icon[data-admin-icon=videos] { --icon-x:0%; --icon-y:34.883721%; }
.admin-pixel-icon[data-admin-icon=returns] { --icon-x:50%; --icon-y:34.883721%; }
.admin-pixel-icon[data-admin-icon=tickets] { --icon-x:100%; --icon-y:34.883721%; }
.admin-pixel-icon[data-admin-icon=reports] { --icon-x:0%; --icon-y:64.400716%; }
.admin-pixel-icon[data-admin-icon=testOrders] { --icon-x:50%; --icon-y:64.400716%; }
.admin-pixel-icon[data-admin-icon=audit] { --icon-x:100%; --icon-y:64.400716%; }
.admin-pixel-icon[data-admin-icon=roles] { --icon-x:0%; --icon-y:93.917710%; }
.admin-pixel-icon[data-admin-icon=care] { --icon-x:50%; --icon-y:93.917710%; }
.admin-pixel-icon[data-admin-icon=testMode] { --icon-x:100%; --icon-y:93.917710%; }
.taohoo-topics>summary .admin-pixel-icon { width:26px; margin-right:6px; }
.taohoo-sprite { display:block; flex:0 0 auto; width:64px; aspect-ratio:181/190; background-image:url('taohoo-pixel-atlas-v2.png?v=20261019-2'); background-repeat:no-repeat; background-size:400% 285.789474%; background-position:0 0; clip-path:inset(0 2%); image-rendering:pixelated; animation:taohoo-blink 5.4s steps(1,end) infinite; }
.taohoo-hero-cat { width:160px; }
.taohoo-chat-cat { width:60px; }
.taohoo-sprite.is-explaining { background-position-y:53.824363%; animation:taohoo-explain 1.2s steps(1,end) infinite; }
@keyframes taohoo-blink { 0%,86%,100% { background-position-x:0; } 89% { background-position-x:33.333333%; } 92% { background-position-x:66.666667%; } 96% { background-position-x:100%; } }
@keyframes taohoo-explain { 0%,100% { background-position-x:0; } 25% { background-position-x:33.333333%; } 50% { background-position-x:66.666667%; } 75% { background-position-x:100%; } }
.site-loader.is-admin-loader { background:radial-gradient(ellipse at center,#fff5df,#fffdf8 72%); }
.taohoo-walking,.site-loader.is-admin-loader .site-loader-walker { display:block; flex:0 0 auto; width:224px; height:134px; background-image:url('taohoo-walk-sheet-v3.png?v=20261019-2'); background-repeat:no-repeat; background-size:200% 334.4%; background-position:0 20.477816%; animation:taohoo-walk .8s steps(1,end) infinite; image-rendering:pixelated; }
@keyframes taohoo-walk { 0%,100% { background-position:0 20.477816%; } 25% { background-position:95.215311% 20.477816%; } 50% { background-position:0 85.324232%; } 75% { background-position:95.215311% 85.324232%; } }
.site-loader.is-admin-loader>strong { color:#842532; }
.taohoo-topics { flex:0 0 auto; border-top:1px solid #e8d7ca; position:relative; }
.taohoo-topics>summary { cursor:pointer; min-height:44px; padding:10px 14px; color:#72212d; font-weight:600; font-size:14px; }
.taohoo-topics .taohoo-quick { position:absolute; bottom:100%; left:0; right:0; max-height:min(250px,40dvh); overflow-y:auto; background:#fff8ec; border:1px solid #dcbfae; border-radius:16px 16px 0 0; box-shadow:0 -8px 25px #33201e17; padding:12px; }
.taohoo-topics:not([open]) .taohoo-quick { display:none; }
.taohoo-review-card { border-top:1px solid #d6dbca; padding-top:10px; margin-top:12px; white-space:normal; }
.taohoo-review-card summary { min-height:44px; cursor:pointer; font-weight:700; }
.taohoo-review-card p { white-space:pre-wrap; font-size:14px; }
.taohoo-review-card label { display:flex; align-items:flex-start; gap:8px; font-size:14px; margin:9px 0; }
.taohoo-review-card input { flex:0 0 auto; width:20px; height:20px; }
.taohoo-review-target { outline:3px solid #a12d37; outline-offset:4px; }
.admin-page { margin-top:28px !important; }
.admin-page .v41-heading { margin:12px 0 20px; }
.admin-page .v41-heading h1 { font-size:clamp(32px,4vw,44px); }
.admin-page .v41-heading>p { font-size:15px; max-width:80ch; }
.taohoo-hero { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:24px 30px; border:1px solid #eadbce; border-radius:24px; background:linear-gradient(125deg,#fff7e8,#f6f7ee 60%,#fbe9e7); }
.taohoo-hero h2 { font-size:clamp(25px,3vw,34px); margin:6px 0; }
.taohoo-hero p { color:#576b61; margin:8px 0 16px; }
.taohoo-hero img { width:150px; height:150px; object-fit:contain; flex-shrink:0; }
.taohoo-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:18px 0; }
.taohoo-stats article { display:grid; grid-template-columns:48px 1fr; gap:5px 10px; align-items:center; padding:18px; border:1px solid #e3dfd3; border-radius:18px; background:white; }
.taohoo-stats article>span:first-child { grid-row:span 2; font-size:27px; }
.taohoo-stats strong { font-size:25px; color:#17372d; }
.taohoo-stats article>span:last-child { color:#596b61; font-size:14px; }
.taohoo-toolbar { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:18px; }
.taohoo-toolbar label { display:flex; align-items:center; gap:8px; min-height:44px; cursor:pointer; }
.taohoo-toolbar input { width:20px; height:20px; accent-color:#1c6b54; }
.taohoo-toolbar small { color:#647568; margin-left:auto; }
.taohoo-layout { display:grid; grid-template-columns:270px minmax(0,1fr); gap:22px; align-items:start; }
.taohoo-nav { display:grid; gap:8px; }
.taohoo-nav-item { display:flex; align-items:center; gap:10px; padding:13px; min-height:66px; border:1px solid #dedfd3; border-radius:15px; background:#fffdf9; color:#183b2e; text-align:left; cursor:pointer; font:inherit; }
.taohoo-nav-item[aria-pressed=true] { border-color:#28735c; background:#e8f1e6; box-shadow:inset 4px 0 #28735c; }
.taohoo-task-icon { display:grid; place-items:center; width:48px; height:48px; background:#f5f0e4; border-radius:14px; flex-shrink:0; }
.taohoo-nav-item strong { display:block; font-size:16px; }
.taohoo-nav-item small { display:block; font-size:11px; color:#5d7065; margin-top:3px; }
.taohoo-count { margin-left:auto; font-size:12px; background:#fff; border:1px solid #d3decc; padding:3px 8px; border-radius:999px; flex-shrink:0; }
.taohoo-main { min-width:0; }
.taohoo-work-heading { background:#f4f6ef; border:1px solid #e1e5d9; border-radius:18px; padding:18px; margin-bottom:14px; }
.taohoo-work-heading h2 { display:flex; align-items:center; gap:8px; margin:0 0 4px; font-size:25px; }
.taohoo-work-heading h2 .admin-pixel-icon { width:36px; }
.taohoo-work-heading p { color:#617367; margin:5px 0 12px; }
.taohoo-work-heading label,.taohoo-mobile-picker { display:grid; gap:7px; font-weight:600; }
.taohoo-work-heading input,.taohoo-mobile-picker select { min-width:0; width:100%; padding:12px; border:1px solid #cbd7c7; border-radius:12px; font:inherit; background:#fff; color:#183b2e; }
.taohoo-work-heading [data-admin-search-state] { font-weight:400; font-size:13px; margin:10px 0 0; }
.taohoo-mobile-picker { display:none; margin-bottom:14px; }
.taohoo-work-section>.v41-card { margin:0; }
.taohoo-work-section .v41-row { flex-wrap:wrap; }
.taohoo-work-section .v41-row>div { min-width:0; }
.taohoo-work-section small,.taohoo-work-section p { overflow-wrap:anywhere; }
.taohoo-work-section[hidden],.taohoo-nav-item[hidden],[data-admin-row][hidden],[data-admin-no-pending][hidden],.taohoo-panel[hidden] { display:none !important; }
.taohoo-launcher { position:fixed; right:20px; bottom:96px; z-index:118; display:grid; justify-items:center; padding:5px 9px; min-width:78px; border:2px solid #d8b79d; border-radius:24px; background:#fff6e9; color:#72212d; box-shadow:0 7px 22px #4c29232b; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.taohoo-launcher img { object-fit:contain; }
.taohoo-panel { position:fixed; right:18px; bottom:190px; z-index:120; width:min(410px,calc(100vw - 24px)); height:min(650px,calc(100dvh - 210px)); min-height:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid #dcbfae; border-radius:22px; background:#fffaf3; box-shadow:0 14px 50px #33201e33; }
.taohoo-panel>header { display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid #e8d7ca; background:#fff1df; flex:0 0 auto; }
.taohoo-panel>header img { object-fit:contain; }
.taohoo-panel>header div { display:grid; flex:1; }
.taohoo-panel>header strong { font-size:21px; color:#842532; }
.taohoo-panel>header small { color:#6c655c; font-size:12px; }
.taohoo-panel>header button { min-width:44px; min-height:44px; border:1px solid #dcc8b8; border-radius:13px; background:#fff; color:#4c302c; font-size:26px; cursor:pointer; }
.taohoo-log { flex:1; min-height:90px; overflow-y:auto; overscroll-behavior:contain; padding:12px; display:flex; flex-direction:column; gap:12px; }
.taohoo-message { flex-shrink:0; margin:0; border:1px solid #e5dbc9; border-radius:15px; padding:12px; background:#f2f4e9; color:#274435; white-space:pre-wrap; font-size:15px; line-height:1.65; overflow-wrap:anywhere; }
.taohoo-message p { margin:0; }
.taohoo-message.is-user { background:#79323b; border-color:#79323b; color:white; margin-left:22px; }
.taohoo-message .btn { font-size:13px; margin-top:10px; min-height:42px; }
.taohoo-quick { display:flex; gap:6px; padding:0 12px 8px; flex-wrap:wrap; }
.taohoo-quick button { min-height:40px; border:1px solid #dbcbb8; border-radius:999px; background:#fff; color:#63363c; padding:6px 10px; cursor:pointer; font:inherit; font-size:12px; }
.taohoo-panel form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:10px 12px; border-top:1px solid #e4d9ca; }
.taohoo-panel form label { display:grid; gap:5px; font-size:13px; font-weight:600; }
.taohoo-panel textarea { width:100%; min-height:54px; max-height:90px; resize:none; border:1px solid #c6c7b9; border-radius:12px; padding:9px; font:inherit; font-size:16px; background:white; }
.taohoo-panel form>.btn { align-self:end; font-size:14px; min-height:54px; padding:8px 12px; }
.taohoo-panel form p { grid-column:1/-1; margin:0; font-size:12px; }
.taohoo-panel form p:empty { display:none; }
.taohoo-disclaimer { font-size:10px; color:#6e7164; padding:0 12px 10px; }
.taohoo-workspace button:focus-visible,.taohoo-workspace input:focus-visible,.taohoo-workspace select:focus-visible,.taohoo-workspace textarea:focus-visible { outline:3px solid #b05251; outline-offset:3px; }
@media(max-width:850px) {
  .taohoo-layout { grid-template-columns:220px minmax(0,1fr); gap:14px; }
  .taohoo-nav-item { padding:10px; gap:6px; }
  .taohoo-nav-item small { display:none; }
}
@media(max-width:650px) {
  .taohoo-hero { padding:18px; gap:10px; }
  .taohoo-hero h2 { font-size:24px; }
  .taohoo-hero p { font-size:14px; }
  .taohoo-hero img { width:100px; height:125px; }
  .taohoo-hero-cat { width:100px; }
  .taohoo-stats { gap:7px; }
  .taohoo-stats article { display:flex; flex-direction:column; align-items:flex-start; padding:12px; gap:5px; }
  .taohoo-stats article>span:first-child { font-size:22px; }
  .taohoo-stats strong { font-size:22px; }
  .taohoo-stats article>span:last-child { font-size:11px; }
  .taohoo-layout { display:block; }
  .taohoo-nav { display:none; }
  .taohoo-mobile-picker { display:grid; }
  .taohoo-toolbar { gap:8px; }
  .taohoo-toolbar label { font-size:13px; }
  .taohoo-toolbar small { width:100%; margin:0; }
  .taohoo-work-heading { padding:15px; }
  .taohoo-work-section .v41-actions .btn { min-height:46px; font-size:15px; }
  .taohoo-launcher { right:12px; bottom:calc(82px + env(safe-area-inset-bottom)); }
  .taohoo-panel { right:10px; bottom:calc(88px + env(safe-area-inset-bottom)); height:min(680px,calc(100dvh - 112px - env(safe-area-inset-bottom))); max-height:calc(100dvh - 112px - env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) {
  .taohoo-sprite,.taohoo-sprite.is-explaining,.taohoo-walking,.site-loader.is-admin-loader .site-loader-walker { animation:none; background-position-x:0; }
}
