:root{font-family:Arial,'Noto Sans TC',sans-serif;color:#38302d;background:#faf8f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:auto;min-height:95px;background:#fffdfa;border-bottom:1px solid #e9e1d9;display:flex;align-items:center;justify-content:space-between;padding:22px clamp(18px,5vw,80px);gap:20px;flex-wrap:wrap}.wordmark{font:32px Georgia,serif;letter-spacing:2px;color:#332b26;text-decoration:none}.wordmark small{font:10px Georgia,serif;display:block;letter-spacing:5px;text-align:center;margin-top:8px}nav{display:flex;gap:12px}nav button{background:none;border:0;padding:12px;color:#777;cursor:pointer;font-size:14px}nav button.chosen{border-bottom:1px solid #564638;color:#332b26}main{max-width:1460px;margin:auto;padding:20px clamp(14px,3vw,42px) 80px}.intro{text-align:center;padding:35px 0}.intro h1{font-family:Georgia,'Noto Serif TC',serif;font-weight:400;letter-spacing:1px;font-size:clamp(24px,3vw,38px);line-height:1.4}.intro p:not(.eyebrow){color:#80766c}.eyebrow{font-size:11px;letter-spacing:4px}.customer-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(310px,.7fr);gap:34px}.preview{position:relative;min-height:450px;border-radius:24px;background:#ece5db;overflow:hidden;display:flex;align-items:center;justify-content:center}.preview img{width:100%;height:100%;max-height:730px;min-height:450px;object-fit:contain}.floatlabel{position:absolute;z-index:2;top:20px;left:22px;background:#fffefaeb;border-radius:50px;padding:15px 19px}.image-note{position:absolute;bottom:0;left:0;right:0;background:#332b26bd;color:white;padding:14px;font-size:13px}.chooser{background:#fff;border:1px solid #eee5dc;border-radius:24px;padding:32px;align-self:start}.chooser>label,.card label{display:block;margin-bottom:18px;font-size:13px;font-weight:bold;letter-spacing:.3px}select,input:not([type=checkbox]):not([type=file]){display:block;width:100%;border:1px solid #d9d0c5;background:#fff;border-radius:9px;padding:12px;margin-top:9px;font-size:14px;color:#342d29}input[type=file]{display:block;width:100%;padding:10px 0;margin-top:7px;font-weight:normal;overflow-wrap:anywhere}.swatches{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.swatch{width:66px;height:66px;padding:3px;background:white;border:1px solid #ddd;border-radius:10px;overflow:hidden;cursor:pointer}.swatch.on{border:2px solid #806246}.swatch img{width:100%;height:100%;object-fit:cover;border-radius:6px}.result{padding-top:22px;border-top:1px solid #eae2d9}.result p{color:#8a7b71;line-height:1.6}.primary,.secondary{display:inline-block;text-align:center;text-decoration:none;border-radius:8px;cursor:pointer;padding:12px 17px;font-size:13px;margin:4px 4px 4px 0}.primary{background:#514337;color:#fff;border:1px solid #514337}.secondary{background:#fff;color:#514337;border:1px solid #bdad9c}.primary:hover{background:#765d47}.secondary:hover{background:#f6efe9}button:disabled{opacity:.5;cursor:not-allowed}.card{border:1px solid #e3dcd3;background:#fff;border-radius:18px;padding:24px;margin-bottom:24px}.card h2{font-family:Georgia,'Noto Serif TC',serif;font-weight:400;font-size:22px;margin:0 0 23px}.login{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.login label{flex:1;min-width:240px;margin:0}.tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:25px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px}.check{display:flex!important;align-items:center;gap:10px;font-weight:normal!important}.check input{width:17px;height:17px}.hint{font-size:13px;color:#807366;line-height:1.7}.job{border-top:1px solid #eee8e0;padding:14px 0}.job p{font-size:12px}.job img{max-width:100%;max-height:240px;border-radius:8px;margin-bottom:9px}.status{font-size:12px;color:#7e674e}.actions{display:flex;gap:6px;flex-wrap:wrap}footer{border-top:1px solid #e7dfd5;padding:26px clamp(18px,5vw,80px);font:13px Georgia,serif;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}footer span{font:12px Arial;color:#8b7e72}@media(max-width:850px){.customer-grid,.tools-grid{grid-template-columns:1fr}.preview,.preview img{min-height:300px}.chooser{padding:22px}header{justify-content:center}.fields{grid-template-columns:1fr}}

/* BAQ_MOBILE_V1 */
.customer-grid>*,.tools-grid>*{min-width:0}
button,a,input,select{touch-action:manipulation}
#shareLinkPanel{overflow-wrap:anywhere}
@media(max-width:600px){
  header{padding:18px 14px;gap:14px}
  .wordmark{font-size:clamp(25px,7.5vw,32px)}
  .wordmark small{font-size:12px;letter-spacing:2px}
  nav{width:100%;justify-content:center}
  nav button{min-height:44px;font-size:16px}
  main{padding:12px 12px 40px}
  .intro{padding:18px 0}
  .intro p{line-height:1.7}
  .customer-grid{gap:16px}
  .preview{min-height:0}
  .preview img{
    display:block;height:auto;min-height:0;
    max-height:55vh;max-height:55svh
  }
  .floatlabel{top:12px;left:12px;padding:10px 12px;font-size:10px}
  .image-note{position:static;width:100%;font-size:12px;line-height:1.6}
  .preview{flex-direction:column}
  .chooser,.card{padding:18px;border-radius:16px}
  select,input:not([type=checkbox]):not([type=file]){
    font-size:16px;min-height:48px;max-width:100%
  }
  .swatches{gap:10px}
  .swatch{width:64px;height:64px}
  .primary,.secondary,#shareLinkPanel button{
    min-height:48px;font-size:16px;white-space:normal
  }
  #customerGenerate,#downloadBtn{width:100%;margin:6px 0}
  .login label{min-width:0;width:100%;flex-basis:100%}
  .result,.hint,footer{overflow-wrap:anywhere}
}
