:root{--bg:#fff;--fg:#111;--sub:#444;--muted:#666;--line:#e5e5e5;--line-strong:#d4d4d4;--soft:#f5f5f5;--ok:#157a43;--warn:#8a5a00;--bad:#b3261e;--font:-apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--fg);font-family:var(--font);font-variant-numeric:tabular-nums;-webkit-text-size-adjust:100%;margin:0;font-size:15px;line-height:1.5}a{color:inherit}h1{margin:0;font-size:24px;font-weight:900;line-height:1.25}h2{margin:0;font-size:17px;font-weight:700}p{margin:0}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--fg);outline-offset:2px}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.shell{min-height:100dvh;display:flex}.sidebar{border-right:1px solid var(--line);flex-direction:column;flex:none;gap:24px;width:232px;height:100dvh;padding:24px 16px;display:none;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:10px;padding:0 8px;font-size:18px;font-weight:900;text-decoration:none;display:flex}.nav{flex-direction:column;gap:4px;display:flex}.nav-item{border-radius:10px;align-items:center;gap:12px;height:44px;padding:0 8px;font-size:14px;text-decoration:none;display:flex}.nav-item:hover{background:var(--soft)}.nav-item.active{background:var(--fg);color:#fff;font-weight:700}.nav-item .tile{border-radius:8px;width:28px;height:28px}.count-badge{background:var(--fg);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 6px;font-size:12px;font-weight:700;display:inline-flex}.nav-item.active .count-badge{color:var(--fg);background:#fff}.dev-tag{color:var(--muted);border:1px solid var(--line-strong);white-space:nowrap;border-radius:999px;margin-left:auto;padding:0 6px;font-size:11px;font-weight:400}.nav-item.active .dev-tag{color:#fff;border-color:#fff}.content{min-width:0;padding:20px 20px calc(96px + env(safe-area-inset-bottom));flex:1}.page{flex-direction:column;gap:20px;max-width:1120px;display:flex}.tabbar{z-index:10;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--bg);border-top:1px solid var(--line);grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.tab{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;text-decoration:none;display:flex}.tab.active{color:var(--fg);font-weight:700}@media (width>=900px){.sidebar{display:flex}.tabbar{display:none}.content{padding:40px 48px 64px}h1{font-size:32px}}.row{align-items:center;gap:12px;display:flex}.row-wrap{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.spread{justify-content:space-between;align-items:center;gap:12px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.grow{flex:1;min-width:0}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:12px}.bold{font-weight:700}.tile{border-radius:10px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.tile-lg{border-radius:16px;width:56px;height:56px}.btn{border:1.5px solid var(--line-strong);background:var(--bg);white-space:nowrap;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;height:46px;padding:0 18px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.btn:hover{border-color:var(--fg)}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--fg);border-color:var(--fg);color:#fff}.btn-block{width:100%}.btn-text{cursor:pointer;background:0 0;border:0;height:44px;padding:0 4px;font-size:13px;font-weight:700;text-decoration:underline}.btn-text.danger{color:var(--bad)}.chip{border:1.5px solid var(--line-strong);background:var(--bg);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:6px;height:36px;padding:0 14px;font-size:13px;display:inline-flex}.chip[aria-pressed=true]{background:var(--fg);border-color:var(--fg);color:#fff;font-weight:700}.card{border:1px solid var(--line);border-radius:16px;padding:16px}.card-strong{border:1.5px solid var(--fg)}.soft{background:var(--soft);border-radius:16px;padding:16px}a.card{flex-direction:column;gap:12px;text-decoration:none;display:flex}a.card:hover{border-color:var(--fg)}.badge{white-space:nowrap;border-radius:6px;padding:0 8px;font-size:12px;font-weight:700;line-height:1.6;display:inline-block}.badge-solid{background:var(--fg);color:#fff}.badge-outline{border:1.5px solid var(--fg)}.badge-muted{color:#555;background:#ededed}.stat{background:var(--soft);border-radius:10px;min-width:0;padding:8px 10px}.stat-label{color:var(--muted);font-size:11px}.stat-value{white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:700;overflow:hidden}.verdict{align-items:flex-start;gap:6px;font-size:13px;display:flex}.verdict svg{flex:none;margin-top:2px}.verdict-ok svg{color:var(--ok)}.verdict-warn svg{color:var(--warn)}.verdict-bad svg{color:var(--bad)}.verdict-unknown{color:var(--muted)}.error{color:var(--bad);font-size:13px}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>label,.label{font-size:13px;font-weight:700}.input,.affix{border:1.5px solid var(--line-strong);background:var(--bg);border-radius:12px;width:100%;height:46px;padding:0 12px}textarea.input{resize:vertical;height:auto;padding:10px 12px;line-height:1.5}.affix{align-items:center;gap:8px;display:flex}.affix:focus-within{outline:2px solid var(--fg);outline-offset:2px}.affix input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;padding:0}.affix span{color:var(--muted);flex:none;font-size:13px}.hint{color:var(--muted);font-size:12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.check{border:1.5px solid var(--line-strong);cursor:pointer;border-radius:12px;align-items:center;gap:10px;min-height:44px;padding:0 12px;font-size:14px;display:flex}.check input{width:18px;height:18px;accent-color:var(--fg)}.check:has(input:checked){border-color:var(--fg);font-weight:700}.check.readonly{cursor:default;background:var(--soft)}.section{flex-direction:column;gap:12px;display:flex}.auth{justify-content:center;align-items:center;min-height:100dvh;padding:24px 20px;display:flex}.auth-box{flex-direction:column;gap:20px;width:100%;max-width:380px;display:flex}.module-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 8px;display:grid}.module{text-align:center;flex-direction:column;align-items:center;gap:8px;font-size:12px;font-weight:500;text-decoration:none;display:flex}.module .dev-tag{margin:-4px 0 0}.stat-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:560px;display:grid}.stat-link{border:1px solid var(--line);border-radius:12px;padding:10px 12px;text-decoration:none;display:block}.stat-link:hover{border-color:var(--fg)}.stat-link strong{font-size:22px;font-weight:900;display:block}.product-grid{gap:12px;display:grid}.product-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.edit-grid{gap:24px;display:grid}.result-rows{flex-direction:column;font-size:14px;display:flex}.result-rows>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:8px 0;display:flex}.result-rows>div:last-child{border-bottom:0}.result-total{background:var(--fg);color:#fff;border-radius:14px;justify-content:space-between;align-items:flex-end;gap:12px;padding:14px 16px;display:flex}.result-total small{font-size:12px;display:block}.result-total strong{white-space:nowrap;font-size:24px;font-weight:900}.sumbar{left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:9;background:var(--fg);color:#fff;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;font-size:13px;display:flex;position:fixed}.sumbar strong{font-size:16px}.has-sumbar{padding-bottom:56px}.bar-row{grid-template-columns:40px minmax(0,1fr) 72px;align-items:center;gap:8px;font-size:12px;display:grid}.bar{background:#ededed;border-radius:999px;height:10px;display:flex;overflow:hidden}.bar>span{border-radius:999px}.bar-value{text-align:right;white-space:nowrap;font-weight:700}.entry-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.task-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:4px 12px;padding:6px 0;display:flex}.task-check{cursor:pointer;flex:260px;align-items:flex-start;gap:10px;min-width:0;font-size:14px;display:flex}.task-check input{width:20px;height:20px;accent-color:var(--fg);flex:none;margin:1px 0 0}.task-text.done{color:var(--muted);text-decoration:line-through}.task-meta{align-items:center;gap:12px;padding-left:30px;display:flex}h3.day-title{margin:0;font-size:15px;font-weight:700}.bar{min-height:10px}.option-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));align-items:baseline;gap:8px;padding:8px 0;font-size:13px;display:grid}.option-row.head{color:var(--muted);font-size:12px}.option-row .num{text-align:right;white-space:nowrap}.advice{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}@media (width>=640px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}@media (width>=900px){.sumbar,.mobile-only{display:none}.has-sumbar{padding-bottom:0}}@media (width>=1100px){.edit-grid{grid-template-columns:minmax(0,1fr) 380px;align-items:start}.result{position:sticky;top:24px}}@media (width>=1280px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.subnav{border-bottom:1px solid var(--line);gap:20px;display:flex}.subnav a{color:var(--muted);border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-1px;padding:8px 0;font-weight:600;text-decoration:none;display:inline-flex}.subnav a.active{color:var(--fg);border-bottom-color:var(--fg)}.subnav-count{background:var(--fg);color:#fff;text-align:center;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font-size:11px;line-height:18px}.clamp-2,.clamp-3{overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.clamp-2{-webkit-line-clamp:2}.clamp-3{-webkit-line-clamp:3}.pre-line{white-space:pre-line;overflow-wrap:anywhere}a.inbox-row{color:inherit;text-decoration:none}.chat{flex-direction:column;gap:8px;display:flex}.bubble{overflow-wrap:anywhere;border-radius:12px;max-width:85%;padding:8px 12px;font-size:14px}.bubble.theirs{background:var(--soft);align-self:flex-start}.bubble.mine{border:1.5px solid var(--fg);align-self:flex-end}.pchat{background:var(--bg);flex-direction:column;max-width:640px;height:100dvh;margin:0 auto;display:flex}.pchat-head{border-bottom:1px solid var(--line);flex-direction:column;gap:2px;padding:12px 16px;display:flex}.pchat-body{flex-direction:column;flex:1;gap:8px;padding:16px;display:flex;overflow-y:auto}.pchat-msg{overflow-wrap:anywhere;border-radius:12px;max-width:85%;padding:8px 12px;font-size:15px}.pchat-msg.shop{background:var(--soft);align-self:flex-start}.pchat-msg.customer{background:var(--fg);color:#fff;align-self:flex-end}.pchat-note{align-self:center}.pchat-foot{padding:8px 16px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.pchat-input{align-items:flex-end;gap:8px;display:flex}.pchat-input textarea{resize:none;flex:1}
