/* 客户采购空间：沿用采购站 wewin.css 的颜色、字号、圆角与按钮规格（全站 UI 规则），只写本页需要的部分 */
:root{--ink:#111412;--muted:#5b6360;--line:#e3e6e4;--panel:#f6f7f6;--green:#1a7063;--green-deep:#0b5f5a;--green-tint:#e9f2f0;--white:#fff}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{background:var(--white);color:var(--ink);font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",Inter,system-ui,sans-serif;font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:var(--green)}
ul{list-style:none}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
h1{font-size:clamp(30px,4vw,40px);line-height:1.25;font-weight:700}
h2{font-size:26px;line-height:1.35;font-weight:700;margin:40px 0 16px}
h3{font-size:20px;line-height:1.4;font-weight:700}
.frame{max-width:1200px;margin:0 auto;min-height:100vh;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 56px;border-bottom:1px solid var(--line)}
.logo{text-decoration:none;font-weight:800;font-size:22px;letter-spacing:.04em;color:var(--green)}
#bar{display:flex;gap:10px}
/* 客户空间页头（2026-10-17 Angus：与采购站页头一致，尺寸照 wewin.css 的 .nav/.brand；管理端仍用上面的 .top） */
.site{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line)}
.site a{text-decoration:none}
.site-nav{position:relative;max-width:1200px;margin:0 auto;height:72px;display:flex;align-items:center;gap:20px;padding:0 32px}
.site-brand{display:flex;align-items:center;gap:14px;flex-shrink:1;min-width:0}
.site-brand img{height:50px;display:block}
.site-sub{padding-left:14px;border-left:1px solid var(--line);font-size:16px;font-weight:600;line-height:28px;white-space:nowrap;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis}
.site-sub:hover{color:var(--green)}
#site-menu{display:flex;gap:34px;font-size:16px;margin:0 auto}
#site-menu a{color:var(--ink);white-space:nowrap}
#site-menu a:hover{color:var(--green)}
.site-menu-cta,.site-menu-btn{display:none}
.site-cta{height:42px;padding:0 20px;white-space:nowrap;flex-shrink:0}
.site-tools{display:flex;gap:8px;flex-shrink:0}
.site-menu-btn{width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer;flex-shrink:0}
@media (max-width:1180px){.site-nav{padding:0 24px}.site-brand img{height:42px}#site-menu{gap:18px;font-size:15px}.site-cta{padding:0 16px;font-size:15px}.site-sub{font-size:15px}}
@media (max-width:1020px){.site-nav .site-cta{display:none}}
@media (max-width:900px){
  .site-nav{padding:0 16px;gap:10px}
  #site-menu{display:none}
  .site-tools{margin-left:auto}
  .site-menu-btn{display:inline-flex}
  .site-nav.open #site-menu{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(17,20,18,.08);padding:4px 20px 20px;font-size:17px}
  .site-nav.open #site-menu a{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
  .site-nav.open .site-menu-cta{display:block;padding-top:16px}
  .site-nav.open #site-menu .site-menu-cta a{display:flex;justify-content:center;border:0;padding:0;height:48px;color:#fff}
  .site-brand img{height:40px}.site-brand{gap:10px}.site-sub{padding-left:10px}
  .site-tools .btn-sm{height:38px;padding:0 12px;font-size:14px}
}
@media (max-width:420px){.site-nav{padding:0 12px;gap:8px}.site-brand img{height:30px}.site-brand{gap:8px}.site-sub{padding-left:8px;font-size:14px}.site-tools{gap:6px}.site-tools .btn-sm{padding:0 10px}}
main{padding:56px;outline:none;max-width:960px}
.lead{font-size:20px;color:var(--muted);margin-top:8px}
.muted{color:var(--muted)}
.small{font-size:16px}
.head{margin-bottom:24px}
.card{display:block;border:1px solid var(--line);border-radius:14px;padding:24px;background:var(--white)}
.form{display:flex;flex-direction:column;gap:12px;max-width:520px;margin-top:28px}
.supplement{max-width:none;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.field{display:flex;flex-direction:column;gap:6px}
label{font-weight:600;font-size:16px}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}
.check input{width:20px;height:20px;margin-top:4px;flex:none}
.input{font:inherit;font-size:16px;width:100%;min-height:48px;padding:10px 14px;border:1px solid #c9cfcc;border-radius:8px;background:var(--white);color:var(--ink)}
textarea.input{min-height:96px}
.input:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:2px}
input[type=file]{font-size:16px;max-width:100%}
button{font:inherit;cursor:pointer}
.btn-primary,.btn-line{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 24px;border-radius:8px;font-size:16px;font-weight:600;transition:background .2s,border-color .2s}
.btn-primary{background:var(--green);color:#fff;border:0}
.btn-primary:hover{background:var(--green-deep)}
.btn-primary:disabled{opacity:.6;cursor:default}
.btn-line{background:var(--white);color:var(--ink);border:1px solid var(--line)}
.btn-line:hover{border-color:var(--ink)}
.btn-sm{height:42px;padding:0 16px}
.btn-text{background:none;border:0;color:var(--green);font-size:16px;text-decoration:underline;padding:8px 0}
.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:8px}
.notice{background:var(--green-tint);border-radius:8px;padding:14px 18px;margin-top:20px;font-size:16px}
.msg{border-radius:8px;padding:12px 16px;margin-top:16px;font-size:16px}
.msg.info{background:var(--panel)}
.msg.ok{background:var(--green-tint);color:var(--green-deep)}
.msg.error{background:var(--panel);border-left:4px solid var(--ink);font-weight:600}
.list{display:flex;flex-direction:column;gap:12px}
.row{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:baseline;color:var(--ink);text-decoration:none;transition:border-color .2s}
.row:hover{border-color:var(--green)}
.row b{color:var(--green)}
.back{display:inline-block;margin-bottom:20px;font-size:16px}
.item{border-top:1px solid var(--line);margin-top:32px}
.aspect{margin-top:14px}
.aspect-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-bottom:12px}
dl{display:grid;grid-template-columns:minmax(140px,30%) 1fr;gap:6px 20px;margin-bottom:12px}
dt{color:var(--muted);font-size:16px}
dd{overflow-wrap:anywhere;white-space:pre-wrap}
.files{margin:8px 0 14px;display:flex;flex-direction:column;gap:6px}
.files a{overflow-wrap:anywhere}
.aspect > .btn-line{margin-top:4px}
/* 第04步：进度、方案与确认；管理端共用 */
.pre{white-space:pre-wrap;overflow-wrap:anywhere}
.offer{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.sub{margin-top:20px;font-size:18px}
.tag{display:inline-block;font-size:14px;line-height:1.4;padding:2px 10px;border-radius:999px;background:var(--panel);margin-right:6px}
.tag.ok{background:var(--green-tint);color:var(--green-deep)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.grid > *{min-width:0}
@media (max-width:600px){
  .top{padding:12px 16px}
  main{padding:28px 16px}
  .frame{border:0}
  .card{border-left:0;border-right:0;border-radius:0;padding:20px 0}
  .card.form{padding:20px 0}
  dl{grid-template-columns:1fr;gap:2px}
  dd{margin-bottom:8px}
  h2{font-size:22px}
}
/* 第06步：添加到主屏幕说明、离线提示页 */
.install{margin-top:28px}
.install summary{cursor:pointer;font-weight:600}
.install p{margin-top:10px}
.offline-en{margin-top:40px}
.offer p,.offer li{overflow-wrap:anywhere} /* 管理端作者账号等长串（如 customer:<id>）在手机宽度下折行 */
