/* V34 — account surface, projects, saved, comparison, custom wizard, trust
 * modules and the Alibaba payment note. Mobile-first: the accepted theme is a
 * 480px column, with a wider layout from 800px. */

/* ---------- account entries (inside the existing header) ---------- */
.v34-acct{display:flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end;max-width:62%}
.topbar .v34-acct{max-width:none}
.v34-hbtn{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:1;color:#075c3d;background:#fff;border:1px solid #cfe2d6;border-radius:999px;padding:7px 9px;text-decoration:none;white-space:nowrap;font-weight:600}
.v34-hbtn-ghost{background:transparent;border-color:transparent;color:#4d6858;font-weight:500}
.v34-count{background:#c0392b;color:#fff;border-radius:999px;font-size:9px;padding:2px 5px;font-weight:700}
.v34-role{font-size:9px;font-weight:600;color:#7a8b80;text-transform:uppercase;letter-spacing:.4px}
@media(max-width:420px){
  .v34-hbtn{padding:6px 7px;font-size:10px}
  .v34-hbtn-ghost{display:none}
  .v34-acct-float .v34-hbtn-ghost{display:inline-flex}
}

/* Pages without a header (Home): fixed top-right entry. Desktop keeps the
 * links visible; phones fold them into a menu so the five bottom navigation
 * items are never replaced. */
.v34-acct-float{position:fixed;top:8px;right:10px;z-index:70;display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:none;margin:0}
.v34-acct-float .v34-acctpanel{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.v34-acct-float .v34-toggle{display:none}
.v34-acct-float .v34-hbtn{box-shadow:0 2px 10px rgba(0,0,0,.12)}
@media(max-width:799px){
  .v34-acct-float .v34-toggle{display:inline-flex}
  .v34-acct-float .v34-acctpanel{display:none;flex-direction:column;align-items:stretch;gap:6px;background:#fff;border:1px solid #cfe2d6;border-radius:14px;padding:8px;box-shadow:0 10px 26px rgba(0,0,0,.16);min-width:168px}
  .v34-acct-float.open .v34-acctpanel{display:flex}
  .v34-acct-float .v34-acctpanel .v34-hbtn{justify-content:flex-start;font-size:12px;padding:9px 11px;box-shadow:none;border-color:#e2ede6}
}

/* ---------- generic page shell ---------- */
.v34-page{padding:18px 16px 26px}
.v34-page h1{font-size:25px;line-height:1.15;letter-spacing:-.6px;margin:2px 0 8px}
.v34-page h2{font-size:18px;margin:22px 0 8px;line-height:1.2}
.v34-page .lead{font-size:13px;color:#63776a;line-height:1.6;margin:0 0 14px}
.v34-page .route-caption{text-align:left;color:#8a9b8f}
.v34-lead{font-size:12.5px;color:#63776a;line-height:1.65}
.v34-note{font-size:10.5px;line-height:1.6;color:#7f8e84;background:#f4f8f5;border-radius:6px;padding:9px 11px;margin:10px 0}
.v34-mini{font-size:11px;color:#5c7a66}
.v34-dim{color:#7f8e84}

/* ---------- Alibaba payment note (non-interactive) ---------- */
.v34-paynote{margin:10px 0;padding:9px 11px;border-left:3px solid #0b7a52;background:#f1f8f4;border-radius:0 6px 6px 0;font-size:10.5px;line-height:1.55;color:#4a6154;cursor:default}
.v34-paynote-k{color:#0b5c3f;font-weight:700}

/* ---------- product detail additions ---------- */
.v34-detailxtra{margin:12px 0 4px}
.v34-savebar{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.v34-chipbtn{background:#fff;border:1px solid #cfe2d6;color:#075c3d;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:600;line-height:1;text-decoration:none;min-height:34px;display:inline-flex;align-items:center;cursor:pointer}
.v34-chipbtn.on{background:#0b7a52;border-color:#0b7a52;color:#fff}
.v34-check{margin:12px 0 0;border:1px solid #e2ebe5;border-radius:7px;background:#fff;padding:10px 12px}
.v34-check summary{font-size:12px;font-weight:700;color:#1d3a2b;cursor:pointer}
.v34-check ul{margin:9px 0 0;padding-left:16px}
.v34-check li{font-size:11px;line-height:1.6;color:#54695c;margin-bottom:5px}
.v34-check li b{color:#1d3a2b}

/* ---------- request list note ---------- */
.v34-rl-note{margin:12px 0}
.v34-inline-ok{margin:8px 0;padding:10px 12px;border-radius:7px;background:#e7f5ee;border:1px solid #bcdcc9;color:#0b4d34;font-size:12px}

/* ---------- home value module ---------- */
.v34-value{background:linear-gradient(160deg,#f3f9f5,#fff)}
.v34-value-grid{display:grid;gap:9px;margin:12px 0 14px}
.v34-value-item{display:flex;gap:10px;background:#fff;border:1px solid #e4ece7;border-radius:8px;padding:12px 11px}
.v34-value-item svg{width:26px;height:26px;flex:none;color:#0b754d;margin-top:2px}
.v34-value-item h3{font-size:13px;margin:0 0 3px;line-height:1.25}
.v34-value-item p{font-size:11px;line-height:1.5;color:#6a7f70;margin:0}
.v34-path{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0 0 10px;counter-reset:p}
.v34-path li{counter-increment:p;font-size:10.5px;color:#0b5c3f;background:#e9f4ee;border:1px solid #d6e7dd;border-radius:999px;padding:7px 10px;line-height:1}
.v34-path li:before{content:counter(p) ". ";font-weight:700}

/* ---------- factory facts ---------- */
.v34-facts{display:grid;gap:1px;background:#e4ece7;border:1px solid #e4ece7;border-radius:8px;overflow:hidden;margin:10px 0 12px}
.v34-facts>div{display:flex;justify-content:space-between;gap:12px;background:#fff;padding:10px 12px;font-size:11.5px;line-height:1.45}
.v34-facts span{color:#7a8b80;flex:none}
.v34-facts b{color:#1d3a2b;text-align:right;font-weight:600}
.v34-docrow{display:grid;gap:8px}

/* ---------- custom wizard ---------- */
.v34-wizard{padding-top:20px}
.v34-wiz{display:grid;gap:14px;margin-top:12px}
.v34-wiz-steps{display:grid;gap:10px}
.v34-step{border:1px solid #e4ece7;border-radius:9px;background:#fff;padding:13px 12px}
.v34-step h3{display:flex;align-items:center;gap:8px;font-size:14px;margin:0 0 10px}
.v34-step h3 i{width:22px;height:22px;border-radius:50%;background:#0b754d;color:#fff;display:grid;place-items:center;font-size:11px;font-style:normal;flex:none}
.v34-step label{display:block;font-size:11px;color:#5c7264;margin:10px 0 4px}
.v34-step input,.v34-step textarea{width:100%;font-size:13px;padding:10px;border:1px solid #dbe6df;border-radius:6px;font-family:inherit}
.v34-chips{display:flex;flex-wrap:wrap;gap:6px}
.v34-opt{background:#f6faf7;border:1px solid #d9e7de;color:#2c4a38;border-radius:999px;padding:8px 11px;font-size:11px;line-height:1;cursor:pointer;min-height:34px}
.v34-opt.on{background:#0b7a52;border-color:#0b7a52;color:#fff;font-weight:700}
.v34-two{display:grid;gap:8px}
.v34-wiz-nav{display:flex;justify-content:space-between;gap:8px;margin-top:12px}
.v34-wiz-nav .btn{min-height:40px;padding:0 16px;font-size:12px}
.v34-summary{margin:0;display:grid;gap:7px}
.v34-summary>div{display:grid;grid-template-columns:40% 1fr;gap:8px;font-size:11.5px;line-height:1.5;border-bottom:1px dashed #e6eee9;padding-bottom:6px}
.v34-summary dt{color:#7a8b80}
.v34-summary dd{margin:0;color:#1d3a2b}
.v34-summary dd.todo{color:#a5762a}
.v34-wiz-side{background:#f4f9f6;border:1px solid #e2ebe5;border-radius:9px;padding:12px}
.v34-wiz-side h3{font-size:12px;margin:0 0 8px;color:#0b5c3f}
.v34-msg{font-size:11.5px;color:#8a5a12;margin:8px 0 0;line-height:1.5}
/* mobile: one step at a time */
@media(max-width:799px){
  .v34-step{display:none}
  .v34-step.active{display:block}
  .v34-wiz-side{display:none}
}
/* desktop: all steps visible with a sticky summary */
@media(min-width:800px){
  .v34-wiz{grid-template-columns:minmax(0,1fr) 260px;align-items:start}
  .v34-step{display:block}
  .v34-two{grid-template-columns:1fr 1fr}
  .v34-wiz-side{position:sticky;top:14px}
  .v34-value-grid{grid-template-columns:1fr 1fr}
  .v34-facts>div{font-size:12.5px}
  .v34-docrow{grid-template-columns:1fr 1fr}
}

/* ---------- project list ---------- */
.v34-projlist{display:grid;gap:9px;margin:14px 0}
.v34-proj{display:grid;grid-template-columns:66px 1fr auto;gap:11px;align-items:center;border:1px solid #e2ebe5;border-radius:9px;background:#fff;padding:10px;text-decoration:none;color:inherit}
.v34-proj-thumb{width:66px;height:66px;border-radius:6px;overflow:hidden;background:#f1f5f2;display:grid;place-items:center;flex:none}
.v34-proj-thumb img{width:100%;height:100%;object-fit:cover}
.v34-proj-thumb i{font-size:9px;color:#93a297;font-style:normal}
.v34-proj-main{display:grid;gap:2px;min-width:0}
.v34-proj-main b{font-size:13px;line-height:1.25;color:#1b3527;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.v34-proj-main small{font-size:10.5px;color:#6f8276;line-height:1.45}
.v34-proj-go{font-size:11px;color:#0b754d;font-weight:700;white-space:nowrap}
.v34-empty{border:1px dashed #d7e4db;border-radius:10px;padding:22px 16px;text-align:center;background:#fafcfb}
.v34-empty h2{font-size:16px;margin:0 0 6px}
.v34-empty p{font-size:12px;color:#6f8276;line-height:1.6;margin:0 0 12px}
.v34-guest{border:1px solid #e2ebe5;border-radius:10px;padding:18px;background:#fff}
.v34-guest h2{font-size:18px;margin:0 0 8px}
.v34-guest p{font-size:12.5px;color:#5f7467;line-height:1.65}
.v34-linkbtn{background:none;border:0;padding:0;color:#0b754d;font:inherit;font-size:11.5px;font-weight:600;text-decoration:underline;cursor:pointer}

/* ---------- project detail ---------- */
.v34-project-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:10.5px;color:#7c8d81;align-items:center;margin:0 0 12px}
.v34-status{font-size:10px;font-weight:700;color:#0b4d34;background:#e3f2ea;border-radius:999px;padding:4px 9px;line-height:1}
.v34-status.s-quoted{background:#fff2d9;color:#8a5a12}
.v34-status.s-closed{background:#eef0ee;color:#6c7a70}
.v34-owner{border:1px solid #e2ebe5;border-radius:9px;background:#fff;padding:12px;display:grid;gap:10px}
.v34-owner>div{display:grid;gap:2px}
.v34-owner span{font-size:10px;color:#82928a;text-transform:uppercase;letter-spacing:.4px}
.v34-owner b{font-size:13px;color:#1b3527}
.v34-owner small{font-size:10.5px;color:#6f8276}
.v34-owner-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.v34-owner-actions .btn{min-height:38px;font-size:12px;padding:0 13px}
.v34-req{display:grid;gap:7px;margin:8px 0 4px}
.v34-req>div{display:grid;grid-template-columns:38% 1fr;gap:9px;font-size:11.5px;line-height:1.5;background:#fff;border:1px solid #e8efe9;border-radius:6px;padding:8px 10px}
.v34-req dt{color:#7a8b80}
.v34-req dd{margin:0;color:#1d3a2b;overflow-wrap:anywhere}
.v34-req dd.todo{color:#a5762a}
.v34-items{display:grid;gap:8px}
.v34-item{display:grid;grid-template-columns:58px 1fr;gap:10px;border:1px solid #e4ece7;border-radius:8px;padding:9px;background:#fff}
.v34-item-thumb{width:58px;height:58px;border-radius:5px;overflow:hidden;background:#f1f5f2}
.v34-item-thumb img{width:100%;height:100%;object-fit:cover}
.v34-item b{font-size:12.5px;display:block;line-height:1.3}
.v34-item small{display:block;font-size:10.5px;color:#6f8276;line-height:1.5}
.v34-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.v34-actions .btn{min-height:38px;font-size:12px;padding:0 13px}
.v34-filelabel{position:relative;overflow:hidden;display:inline-flex;align-items:center}
.v34-files{list-style:none;padding:0;margin:6px 0;display:grid;gap:6px}
.v34-files li{display:flex;justify-content:space-between;gap:10px;align-items:baseline;border:1px solid #e8efe9;border-radius:6px;padding:8px 10px;font-size:11.5px;background:#fff}
.v34-files a{color:#0b754d;font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.v34-files span{font-size:10px;color:#82928a;white-space:nowrap}
.v34-quote{border:1px solid #dfe9e3;border-radius:9px;padding:12px;background:#fff}
.v34-quote.empty{background:#fafcfb;border-style:dashed}
.v34-quote.empty b{font-size:13px;color:#1d3a2b}
.v34-quote.empty p{font-size:11.5px;color:#6f8276;line-height:1.6;margin:5px 0 0}
.v34-quote-head{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:#5f7467}
.v34-quote-head span{font-size:9.5px;background:#e3f2ea;color:#0b4d34;border-radius:999px;padding:3px 8px;font-weight:700}
.v34-quote-amount{font-size:22px;font-weight:800;color:#0b5c3f;margin:8px 0 10px;line-height:1.2}
.v34-quote-amount small{font-size:11px;font-weight:500;color:#6f8276}
.v34-quote-rows{display:grid;gap:6px;margin:0}
.v34-quote-rows>div{display:grid;grid-template-columns:34% 1fr;gap:8px;font-size:11px;line-height:1.5}
.v34-quote-rows dt{color:#7a8b80}
.v34-quote-rows dd{margin:0;color:#1d3a2b;overflow-wrap:anywhere}
.v34-quote-rows dd.todo{color:#a5762a}
.v34-qhist{margin-top:10px;border-top:1px solid #eef3ef;padding-top:8px}
.v34-qhist summary{font-size:11px;color:#0b754d;cursor:pointer}
.v34-qhist p{font-size:10.5px;color:#7a8b80;margin:5px 0 0}

/* ---------- saved + compare ---------- */
.v34-grid{display:grid;gap:10px;margin:14px 0}
.v34-card{border:1px solid #e2ebe5;border-radius:9px;background:#fff;overflow:hidden}
.v34-card>a img{width:100%;height:150px;object-fit:cover;display:block;background:#f1f5f2}
.v34-card>div{padding:10px 11px 12px}
.v34-card h2{font-size:13px;margin:0 0 4px;line-height:1.3}
.v34-card h2 a{color:#1b3527;text-decoration:none}
.v34-cardrow{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}
.v34-cmpwrap{overflow-x:auto;border:1px solid #e2ebe5;border-radius:9px;margin:12px 0;background:#fff}
.v34-cmp{border-collapse:collapse;width:100%;min-width:520px;font-size:11px}
.v34-cmp th,.v34-cmp td{padding:9px 10px;border-bottom:1px solid #eef3ef;text-align:left;vertical-align:top;line-height:1.5}
.v34-cmp thead th{background:#f6faf7;font-size:10.5px}
.v34-cmp thead th img{width:70px;height:70px;object-fit:cover;border-radius:5px;display:block;margin-bottom:6px;background:#f1f5f2}
.v34-cmp thead th b{display:block;font-size:11.5px;line-height:1.3;color:#1b3527;margin-bottom:4px}
.v34-cmp tbody th{color:#6f8276;font-weight:600;width:30%;background:#fbfdfb}
.v34-cmp td.todo{color:#a5762a}
@media(min-width:800px){
  .v34-grid{grid-template-columns:1fr 1fr}
  .v34-projlist{grid-template-columns:1fr 1fr}
}
/* card-level save */
.product24{position:relative}
.v34-card-save{position:absolute;top:6px;right:6px;z-index:2;width:30px;height:30px;border-radius:50%;border:1px solid #cfe2d6;background:#fffffff2;color:#0b754d;font-size:15px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0}
.v34-card-save.on{background:#0b7a52;border-color:#0b7a52;color:#fff}
