/* source: /m/qz-mobile-20261109.css */
@layer baseline, previousSample;
@layer baseline {
/* QZ 贵金属订货 · 移动客户端 —— 设计系统 v3（金融商务 · 扁平化）
   深蓝 #1E4E8C 主色 / 深海军蓝 #0F2B52 头部 / #F6F9FC 灰白底 / 金色仅品牌点缀 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.market-up { color:#cc3340; }
.market-down { color:#13845a; }
.market-flat { color:#64748b; }
.price-row .v { transition:color .2s ease; }
.price-row:active { background:#edf4ff; }
.quick-grid .quick-item:nth-child(4n+2) .ic { color:#13845a; background:#e8f7ef; }
.quick-grid .quick-item:nth-child(4n+3) .ic { color:#a06b10; background:#fff5df; }
.quick-grid .quick-item:nth-child(4n) .ic { color:#7653a5; background:#f3edfb; }
.btn:focus-visible,.btn-mini:focus-visible,select:focus-visible { outline:3px solid #83ade2; outline-offset:3px; }
@media (prefers-reduced-motion:reduce) { * { transition:none; animation:none; } }
:root {
  --blue: #1E4E8C; --blue-deep: #163C6E; --blue-light: #3B67A4; --navy: #0F2B52;
  --ink: #1B2532; --sub: #8492A6; --line: #E8EEF5;
  --bg: #F6F9FC; --up: #E5484D; --down: #1E9E6A;
  --gold: #C0A062; --soft: #EDF2F9; --softer: #F5F8FC;
  --grad: linear-gradient(135deg, #1E4E8C 0%, #1E4E8C 100%);
}
html, body { height: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #E9EDF3; color: var(--ink); font-size: 14px;
}
#phone { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; box-shadow: none; }
#app { min-height: 100vh; padding-bottom: 76px; }
/* 同视图数据静默刷新时禁用入场动画（防抖动），视图切换仍保留过渡 */
#app.no-anim .page { animation: none; }

/* ---------- 通用 ---------- */
.page { padding: 14px 14px 0; animation: pageIn .28s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.card {
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 35, 63, .05); padding: 16px; margin-bottom: 12px;
}
.sec-title { font-size: 15px; font-weight: 700; margin: 18px 2px 10px; display: flex; align-items: center; gap: 8px; }
.sec-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: var(--blue); }
.muted { color: var(--sub); font-size: 12px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.up { color: var(--up); } .down { color: var(--down); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 11px; background: var(--soft); color: var(--blue); font-weight: 600; }
.tag.warn { background: #FBF3E2; color: #C98A2D; } .tag.ok { background: #E8F6F0; color: var(--down); } .tag.bad { background: #FCECEB; color: var(--up); }
.btn {
  display: block; width: 100%; border: none; border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 600;
  background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(30, 78, 140, .22); cursor: pointer;
  transition: background .15s ease;
}
.btn:active { background: var(--blue-deep); }
.btn:disabled { opacity: .5; box-shadow: none; }
.btn.ghost { background: var(--soft); color: var(--blue); box-shadow: none; }
.btn.ghost:active { background: #DFE8F3; }
/* 重要操作（资金确认类：确认买入/售出、结料付尾款、补定金）= 红色；常规操作 = 蓝色 */
.btn.danger { background: var(--up); box-shadow: 0 4px 12px rgba(229, 72, 77, .26); }
.btn.danger:active { background: #C93B40; }
.btn-row { display: flex; gap: 10px; } .btn-row .btn { flex: 1; }
input, select, textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 9px; padding: 12px 14px; font-size: 14px;
  background: #fff; outline: none; font-family: inherit; color: var(--ink);
  transition: border-color .15s ease;
}
input:focus, select:focus { border-color: var(--blue); }
.field { margin-bottom: 16px; } .field label { display: block; font-size: 13px; color: var(--sub); margin-bottom: 7px; line-height:1.5; }
.toast {
  position: fixed; left: 50%; top: 18%; transform: translateX(-50%); z-index: 99; max-width: 80%;
  background: rgba(15, 43, 82, .92); color: #fff; padding: 10px 18px; border-radius: 9px; font-size: 13px;
  animation: pageIn .2s ease; text-align: center;
}
/* 图标统一居中 */
.ic { display: inline-flex; align-items: center; justify-content: center; }
.ic svg { display: block; }

/* ---------- 登录/注册 ---------- */
.auth-wrap { min-height: 100vh; background: var(--navy); padding: 64px 26px 30px; position: relative; }
.auth-brand { text-align: center; position: relative; }
.auth-brand img { height: 72px; width: auto; }
.auth-name { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 2px; margin-top: 12px; }
.auth-sub { color: rgba(255, 255, 255, .6); font-size: 12.5px; margin-top: 10px; letter-spacing: 1px; text-align: center; }
.auth-card { background: #fff; border-radius: 14px; padding: 24px 20px; position: relative; box-shadow: 0 16px 40px rgba(5, 16, 36, .3); margin-top: 22px; }
.auth-tabs { display: flex; background: var(--softer); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.auth-tabs div { flex: 1; text-align: center; padding: 9px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--sub); cursor: pointer; }
.auth-tabs div.on { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(16, 35, 63, .08); }

/* ---------- 首页头部 ---------- */
.home-head { background: var(--navy); border-radius: 0 0 20px 20px; padding: 20px 18px 64px; color: #fff; margin: -14px -14px 0; }
.home-head .hi { font-size: 13px; opacity: .7; }
.home-head .nm { font-size: 20px; font-weight: 800; margin-top: 2px; }
.asset-card { margin-top: -52px; position: relative; z-index: 2; }
.asset-card .bal-label { font-size: 12px; color: var(--sub); }
.asset-card .bal { font-size: 32px; font-weight: 800; letter-spacing: .5px; margin: 4px 0 2px; }
.asset-card .pts { font-size: 12px; color: var(--sub); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick-item { text-align: center; padding: 10px 0 6px; cursor: pointer; border-radius: 10px; }
.quick-item:active { background: var(--softer); }
.quick-item .ic { width: 42px; height: 42px; margin: 0 auto 6px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--blue); }
.quick-item .t { font-size: 12px; color: #46536A; }

/* ---------- 轮播/公告 ---------- */
.banner-box { overflow: hidden; border-radius: 12px; margin-bottom: 12px; position: relative; }
.banner-track { display: flex; transition: transform .45s ease; }
.banner-item {
  min-width: 100%; padding: 26px 20px; color: #fff; font-weight: 700; font-size: 16px; border-radius: 12px;
  background: #1E4E8C; display: flex; align-items: center; min-height: 86px;
}
.banner-item:nth-child(2n) { background: #163C6E; }
.notice-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7a90; overflow: hidden; white-space: nowrap; }
.notice-bar b { color: var(--blue); flex-shrink: 0; }

/* ---------- 行情 ---------- */
.price-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.price-scroll::-webkit-scrollbar { display: none; }
.price-chip { min-width: 118px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 2px 10px rgba(16, 35, 63, .05); }
.price-chip .m { font-size: 13px; font-weight: 700; }
.price-chip .p { font-size: 17px; font-weight: 800; margin-top: 4px; color: var(--blue); }
.price-chip .s { font-size: 11px; color: var(--sub); margin-top: 2px; }
.price-row { display: flex; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: none; }
.price-row .m { width: 76px; font-weight: 700; font-size: 15px; }
.price-row .col { flex: 1; text-align: right; }
.price-row .col .v { font-weight: 700; font-size: 15px; }
.price-row .col .k { font-size: 11px; color: var(--sub); }

/* ---------- 交易 ---------- */
.seg { display: flex; background: var(--softer); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.seg div { flex: 1; text-align: center; padding: 9px; border-radius: 8px; font-weight: 600; color: var(--sub); cursor: pointer; font-size: 14px; }
.seg div.on { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(16, 35, 63, .08); }
.metal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.metal-item { text-align: center; padding: 12px 4px; border-radius: 10px; background: var(--softer); cursor: pointer; border: 1.5px solid transparent; }
.metal-item .m { font-weight: 700; font-size: 14px; }
.metal-item .p { font-size: 12px; color: var(--blue); margin-top: 3px; font-weight: 600; }
.metal-item.on { border-color: var(--blue); background: var(--soft); }
.estimate { background: var(--softer); border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 14px; }
.estimate .row { display: flex; justify-content: space-between; padding: 3px 0; }
.estimate .row b { font-weight: 700; }
/* 快捷规格 chips */
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chip { min-width: 58px; text-align: center; padding: 8px 12px; border-radius: 9px; background: var(--softer); font-weight: 700; font-size: 14px; color: var(--sub); cursor: pointer; border: 1.5px solid transparent; }
.spec-chip.on { border-color: var(--blue); background: var(--soft); color: var(--blue); }
/* 资金明细（可用资金/信用额度/已用额度） */
.fund-line { display: flex; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); }
.fund-line > div { flex: 1; text-align: center; }
.fund-line i { display: block; font-style: normal; font-size: 11px; color: var(--sub); margin-bottom: 3px; }
.fund-line b { font-size: 13px; font-weight: 800; color: var(--blue); }
/* 价格波动提示红条 */
.price-warn { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; background: #FDECEA; color: #D43030; font-size: 12px; font-weight: 600; text-align: center; }

/* ---------- 列表 ---------- */
.list-item { display: flex; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: none; }
.list-item .main { flex: 1; min-width: 0; }
.list-item .t1 { font-weight: 600; font-size: 14px; }
.list-item .t2 { font-size: 11px; color: var(--sub); margin-top: 3px; }
.list-item .right { text-align: right; flex-shrink: 0; margin-left: 10px; }
.list-item .amt { font-weight: 800; font-size: 15px; }
.empty { text-align: center; color: #a3b1c6; padding: 36px 0; font-size: 13px; }
.stock-pill { display: flex; justify-content: space-between; align-items: center; background: var(--softer); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.stock-pill .m { font-weight: 700; } .stock-pill .w { font-weight: 800; color: var(--blue); font-size: 16px; }

/* ---------- 弹层 ---------- */
.mask { position: fixed; inset: 0; background: rgba(15, 27, 45, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; border-radius: 16px 16px 0 0; width: 100%; max-width: 480px; padding: 20px 18px 26px; animation: sheetUp .25s ease; max-height: 82vh; overflow-y: auto; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet h3 { font-size: 16px; margin-bottom: 14px; }
.sheet .x { float: right; color: var(--sub); cursor: pointer; font-size: 18px; padding: 0 4px; }

/* ---------- 我的 ---------- */
.me-head { display: flex; align-items: center; gap: 14px; }
.me-avatar { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.me-name { font-size: 18px; font-weight: 800; }
.me-cell { display: flex; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.me-cell:last-child { border-bottom: none; }
.me-cell:active { background: var(--softer); }
.me-cell .ic { width: 34px; color: var(--blue); } .me-cell .t { flex: 1; font-size: 14px; } .me-cell .arrow { color: #b6c2d4; }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 40;
  background: #fff; display: flex; border-top: 1px solid var(--line);
  padding: 6px 0 calc(8px + env(safe-area-inset-bottom));
}
.tab-item { flex: 1; text-align: center; color: #93a2b8; cursor: pointer; }
.tab-item .ic { display: flex; align-items: center; justify-content: center; }
.tab-item .t { font-size: 12px; margin-top: 4px; }
.tab-item.on { color: var(--blue); font-weight: 700; }

/* ---------- 结料按钮 ---------- */
.btn-mini {
  margin-top: 8px; border: none; border-radius: 8px; padding: 7px 14px; font-size: 12px; font-weight: 700;
  background: var(--blue); color: #fff; box-shadow: 0 3px 8px rgba(30, 78, 140, .2); cursor: pointer;
}
.btn-mini:active { background: var(--blue-deep); }
.btn-mini.ghost { background: var(--soft); color: var(--blue); box-shadow: none; }
.btn-mini.ghost:active { background: #DFE8F3; }
.btn-mini.danger { background: var(--up); box-shadow: 0 3px 8px rgba(229, 72, 77, .24); }
.btn-mini.danger:active { background: #C93B40; }
.btn-mini + .btn-mini { margin-left: 0; }
.btn-mini { min-height:36px; line-height:1.5; }
.card { border:1px solid #e7edf5; }
.num { font-variant-numeric:tabular-nums; }
.pay-account-line > button { min-height:32px; }
.me-cell { min-height:48px; }

/* ---------- 平台收款账户 ---------- */
.pay-account { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pay-account-line { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 0; }
.pay-account-line > span { color: var(--sub); font-size: 12px; }
.pay-account-line > b { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.pay-account-line > button, .copy-account-all { border: 0; border-radius: 7px; padding: 5px 8px; color: var(--blue); background: var(--soft); font-size: 11px; cursor: pointer; }
.copy-account-all { width: 100%; margin-top: 7px; padding: 8px; font-weight: 700; }

/* ---------- 返回栏（子页面） ---------- */
.back-bar { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; margin: 2px 2px 14px; cursor: pointer; }
.back-bar .bk { font-size: 24px; color: var(--blue); line-height: 1; }

/* ---------- 客户管理 ---------- */
.cust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; margin-top: 12px; }
.cust-grid .cg .k { font-size: 11px; color: var(--sub); }
.cust-grid .cg .v { font-size: 14px; font-weight: 700; margin-top: 2px; }
.stock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stock-chips .sc { background: var(--soft); border-radius: 8px; padding: 5px 10px; font-size: 12px; color: #46536A; }
.stock-chips .sc b { color: var(--blue); }
.me-cell {gap:10px;padding:15px 0;}
.me-cell .t {line-height:1.5;}
.me-head {padding:4px 0;}
.me-group-title {font-size:13px;color:var(--sub);letter-spacing:.5px;margin:18px 4px 8px;}
.invite-panel {text-align:center;}
.invite-method {padding:16px 0;}
.invite-method + .invite-method {border-top:1px solid var(--line);}
.invite-method-title {display:block;font-size:14px;font-weight:700;color:var(--blue);margin-bottom:12px;}
.invite-qr {width:208px;max-width:100%;margin:0 auto 10px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#fff;}
.invite-qr svg {display:block;width:100%;height:auto;}
.invite-code {font-size:28px;font-weight:800;letter-spacing:3px;color:var(--blue);margin:12px 0;overflow-wrap:anywhere;user-select:text;}
.invite-method .muted {font-size:12px;line-height:1.7;margin-top:10px;}
.qz-campaign img,.qz-help-entry img{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:10px}
.qz-help-entry summary{padding:10px 0;cursor:pointer}
.qz-help-entry p{white-space:pre-wrap;overflow-wrap:anywhere}

/* MasterGo 207251204638965 / M. 375px reference; all numbers remain API data. */
:root{--blue:#142d4e;--blue-deep:#10243f;--blue-light:#355578;--navy:#142d4e;--ink:#172b43;--sub:#66768a;--line:#e5eaf0;--bg:#f4f6f9;--soft:#eaf0f5;--softer:#f4f6f9;--up:#c74349;--down:#17816c;--gold:#a77c38;--grad:#142d4e}
body{background:#e8edf2;-webkit-font-smoothing:antialiased;line-height:1.5}
html{scrollbar-width:none}html::-webkit-scrollbar{width:0;height:0}
#phone{max-width:480px;box-shadow:none;background:var(--bg)}
#app{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
.page{padding:16px 16px 0;animation:none}
.card{border:1px solid var(--line);border-radius:14px;box-shadow:none;margin-bottom:14px;padding:16px;overflow-wrap:anywhere}
.sec-title{font-size:16px;margin:18px 0 12px;letter-spacing:0}
.sec-title::before{display:none}
.btn,.btn.danger{min-height:48px;background:var(--blue);box-shadow:none;border-radius:10px;padding:12px;font-size:14px}
.btn.ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn:disabled{background:#e3e8ee;color:#8c99a9;opacity:1;cursor:not-allowed}
.btn-row>*{min-width:0;overflow-wrap:anywhere}
input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:48px;border:1px solid var(--line);border-radius:9px;padding:11px 12px;font-size:14px;background:#fff}
input[type=checkbox],input[type=radio]{width:18px;height:18px;min-height:18px;padding:0;accent-color:var(--blue);vertical-align:middle}
label.qz-check{display:flex;gap:10px;align-items:center;min-height:44px;cursor:pointer}
.muted{font-size:12px;color:var(--sub);line-height:1.7}
.field{margin-bottom:16px}.field label{color:var(--sub);font-size:13px}
.tag{font-size:11px;padding:4px 9px;border-radius:6px}.tag.warn{background:#f6efe3;color:var(--gold)}.tag.ok{background:#e9f5f0;color:var(--down)}
.seg,.auth-tabs{background:var(--soft);padding:4px;border-radius:11px;gap:6px;align-items:stretch}
.seg>div,.auth-tabs>div{display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 4px;font-size:12px;min-width:0}
.seg>div.on,.auth-tabs>div.on{background:var(--blue);color:#fff;box-shadow:none;border-radius:8px}
.seg>div:not(.on),.auth-tabs>div:not(.on){background:#fff}
.qz-head{height:56px;display:flex;align-items:center;gap:12px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--line)}
.qz-head img{width:40px;height:30px;object-fit:contain}.qz-head h1{font-size:19px;font-weight:700;flex:1;min-width:0}.qz-head button{background:none;border:0;min-width:44px;min-height:44px;color:var(--ink);font-size:25px;cursor:pointer}
.qz-head .head-more{font-size:19px;color:var(--sub)}
.home-head{margin:0 0 12px;padding:0;background:none;border-radius:0;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:8px}
.home-head .hi{color:var(--sub);opacity:1;font-size:12px}.home-head .nm{font-size:17px;margin:0}
.asset-card{margin-top:0;background:var(--navy);color:#fff}.asset-card .bal-label,.asset-card .pts{color:#c6d0dc}.asset-card .bal{font-size:28px;margin:5px 0 12px;letter-spacing:0}
.asset-card .btn{background:#fff;color:var(--ink);min-height:44px}.asset-card .btn.ghost{border-color:#5a6c85;background:#142d4e;color:#fff}
.asset-card .shop-select-row{min-height:20px;display:block}.asset-card .shop-select-row .shop-quiet{position:absolute;top:8px;right:8px}
.asset-metrics{display:flex;gap:12px;margin:10px 0}.asset-metrics>div{flex:1;min-width:0}.asset-metrics span{display:block;font-size:11px;color:#bdcad9}.asset-metrics b{font-size:14px;font-weight:600}
.qz-banner{display:block;width:100%;border:0;border-radius:12px;overflow:hidden;background:#221709;margin-bottom:14px;cursor:pointer;padding:0}.qz-banner img{display:block;width:100%;aspect-ratio:3/1;object-fit:contain}.qz-banner-caption{display:flex;justify-content:space-between;padding:7px 12px;font-size:12px;background:#fff;color:var(--ink);border:1px solid var(--line);border-top:0}
.banner-item{min-height:68px;padding:16px;background:#142d4e;font-size:14px}.notice-bar{cursor:pointer;min-height:28px}.notice-bar span{overflow:hidden;text-overflow:ellipsis}
.price-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:10px;padding:0}.price-chip{min-width:0;padding:12px;border:1px solid var(--line);box-shadow:none;border-radius:12px}.price-chip .p{font-size:17px}.price-chip .s{font-size:11px}.price-chip .m{font-size:13px}
.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quick-item{min-height:72px;padding:8px 0}.quick-item .ic{width:36px;height:36px;border-radius:9px;background:#f6efe3;color:var(--gold)}.quick-item .t{font-size:12px}
.price-row{min-height:56px;padding:12px 0}.price-row .m{width:60px;font-size:13px}.price-row .v{font-size:14px}
.metal-grid{gap:8px}.metal-item{border:1px solid var(--line);padding:10px 4px}.metal-item.on{border-color:var(--blue);background:var(--soft)}.spec-chip{min-height:44px;display:flex;align-items:center;justify-content:center}
.estimate{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}.estimate .row{padding:7px 0;gap:12px}.price-warn{background:var(--soft);color:var(--sub);font-weight:400;line-height:1.7}
#estimateBox .row{padding:8px 0}#estimateBox .fund-line{flex-direction:column;gap:10px;padding-top:16px;margin-top:16px;border-top:1px solid var(--line)}#estimateBox .fund-line>div{display:flex;align-items:flex-start;justify-content:space-between;text-align:left;gap:12px}#estimateBox .fund-line i{font-size:12px;margin:0}#estimateBox .fund-line b{font-size:14px;text-align:right;flex-shrink:0}.market-up{color:var(--up)}.market-down{color:var(--down)}
.back-bar{display:flex;align-items:center;gap:10px;min-height:56px;margin:-16px -16px 16px;padding:8px 16px;background:#fff;font-size:19px;font-weight:700}.back-bar .bk{min-width:32px;font-size:26px}
.me-head{gap:12px}.me-avatar{background:#f6efe3;color:var(--gold);border-radius:50%;width:44px;height:44px;font-size:18px}.me-name{font-size:17px}.me-cell{min-height:56px}.me-cell .ic{color:var(--gold)}.me-cell .arrow{color:#8996a7}
.me-info-metrics{display:flex;gap:16px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.me-info-metrics>div{flex:1;min-width:0}.me-info-metrics span{display:block;color:var(--sub);font-size:11px}.me-info-metrics b{font-size:15px;color:var(--blue);overflow-wrap:anywhere}
#phone .shop-gallery .shop-cover{height:240px;width:100%;object-fit:contain;flex:0 0 100%}#phone .shop-gallery .shop-cover-empty{width:100%;flex:0 0 100%;min-height:180px}
.stock-pill{border:1px solid var(--line);box-shadow:none;border-radius:14px;background:#fff;min-height:56px}.row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:9px 0;font-size:14px;line-height:1.65}.row>span{color:var(--sub);min-width:0;flex-shrink:0}.row b{min-width:0;text-align:right;overflow-wrap:anywhere}
.tabbar{max-width:480px;min-height:64px;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);box-shadow:none;background:#fff;border-radius:0;z-index:30}.tab-item{min-height:48px;color:#8996a7}.tab-item.on{color:var(--blue)}.tab-item.on::before{display:none}.tab-item .t{font-size:10px}
.tab-item{border:0;background:none;font:inherit;padding:0;cursor:pointer}.home-head>div{min-width:0;flex:1}.home-head .nm{overflow-wrap:anywhere}.me-head>div:last-child{min-width:0;flex:1}
.mask{background:var(--bg);z-index:60;display:block;overflow-y:auto;padding:0;overscroll-behavior:contain}.sheet{width:100%;max-width:480px;min-height:100dvh;max-height:none;border-radius:0;margin:0 auto;box-shadow:none;padding:16px 16px calc(24px + env(safe-area-inset-bottom,0px));background:var(--bg)}
.sheet>h3{margin:-16px -16px 16px;background:#fff;min-height:56px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;font-size:19px}.sheet .x{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer}.sheet>.field{background:#fff;padding:12px;border:1px solid var(--line);border-radius:12px}.sheet>.muted{padding:12px;background:var(--soft);border-radius:10px}.sheet>.btn{margin-top:10px}.sheet .list-item{background:#fff;padding:12px}
.pay-account-line button,.copy-account-all{min-width:44px;min-height:44px}.pay-account-line{gap:8px;flex-wrap:wrap}.pay-account-line b{overflow-wrap:anywhere}.invite-qr{background:#fff}.invite-brand{display:block;width:120px;height:80px;object-fit:contain;margin:0 auto 16px}
.auth-wrap{background:var(--bg);padding:16px;min-height:100dvh}.auth-brand{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}.auth-brand img{height:90px;max-width:100%;object-fit:contain}.auth-name{display:none}.auth-sub{color:var(--sub);font-size:12px;letter-spacing:0;text-align:left;margin:16px 0}.auth-card{box-shadow:none;border:1px solid var(--line);padding:16px;border-radius:14px;margin-top:0}.auth-card input[type=file]{font-size:12px;padding:10px 6px}.auth-wrap .auth-welcome{margin:16px 0 4px;font-size:24px}.auth-wrap .qz-head{margin:-16px -16px 16px}.auth-card .muted{font-size:12px}
.qz-note{background:var(--soft);padding:12px;border-radius:10px;color:var(--sub);font-size:12px;line-height:1.7;margin:14px 0}.qz-result{text-align:center;padding:28px 16px}.qz-result .result-icon{font-size:36px;color:var(--down);margin-bottom:12px}.qz-result h2{font-size:22px;margin-bottom:10px}
.qz-password{position:relative}.qz-password input{padding-right:56px}.qz-password button{position:absolute;right:2px;top:2px;width:44px;height:44px;border:0;background:none;color:var(--sub);display:flex;align-items:center;justify-content:center}
.qz-confirm .row{padding:9px 0;border-bottom:1px solid var(--line)}.qz-confirm .row:last-child{border:0}
.toast{top:15%;max-width:calc(100% - 32px);line-height:1.7}.empty{padding:26px 12px;color:var(--sub);line-height:1.8}.trend-page,.agent-share-page{background:var(--bg)}
body:has(#phone) .access-block-overlay{background:var(--bg);padding:0;align-items:flex-start}body:has(#phone) .access-block-overlay section{width:480px;max-height:none;min-height:100dvh;border-radius:0;background:var(--bg);padding:16px;box-shadow:none;color:var(--ink)}body:has(#phone) .access-block-overlay button{min-height:48px;background:var(--blue);border-radius:10px}body:has(#phone) .access-block-overlay h2{background:#fff;margin:-16px -16px 16px;padding:16px;font-size:19px}body:has(#phone) .access-block-overlay textarea{border-color:var(--line);border-radius:10px}body:has(#phone) .access-block-overlay button:last-child{background:#fff;color:var(--ink)}
#phone .shop-head{background:#fff;margin:-16px -16px 16px;padding:6px 16px;min-height:56px;gap:12px}#phone .shop-head h1{font-size:19px}#phone .shop-head button{min-height:44px;min-width:44px}
#phone .shop-head button[aria-label=返回]{font-size:26px;padding:0}
.shop-head{display:flex;align-items:center;justify-content:space-between}.shop-head h1{flex:1}.shop-head button,.shop-quiet{border:0;background:none;font:inherit;cursor:pointer;color:var(--sub);padding:6px}.shop-nav button{font:inherit;cursor:pointer}.shop-grid{display:grid}.shop-product{border:1px solid var(--line);overflow:hidden;text-align:left;padding:0;font:inherit;color:inherit;cursor:pointer}.shop-cover{width:100%;display:block;background:#fff}.shop-cover-empty{display:grid;place-items:center;background:#fff;color:var(--sub)}.shop-info h3{margin-bottom:4px}.shop-price{font-weight:700}.shop-stats{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.shop-chip,.shop-qty button{border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px 10px;font:inherit;color:var(--sub);cursor:pointer}.shop-chip.on{background:var(--blue);color:#fff}.shop-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:14px;background:#fff}.shop-gallery img{width:100%;flex:none;aspect-ratio:1;scroll-snap-align:start}.shop-qty{display:flex;align-items:center}.shop-qty input{text-align:center}.shop-cart-line{display:grid;padding:13px 0;border-bottom:1px solid var(--line)}.shop-cart-line:last-child{border:0}.shop-cart-line img{object-fit:contain;border-radius:9px}.shop-row{display:flex;justify-content:space-between;align-items:flex-start;line-height:1.65}.shop-row>span{color:var(--sub);flex-shrink:0}.shop-row>b{text-align:right;overflow-wrap:anywhere}.shop-note{font-size:12px;line-height:1.7;padding:12px;border-radius:10px;margin:12px 0}.shop-order-card{border:1px solid var(--line);border-radius:14px;background:#fff}.shop-order-card button{margin-top:10px}.shop-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.shop-error{padding:12px;background:#fbeef0;color:var(--up);font-size:13px;line-height:1.7;border-radius:10px;margin-bottom:14px}.shop-quiet:disabled,.shop-chip:disabled{opacity:.5;cursor:not-allowed}
#phone .shop-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);background:#fff;border-top:1px solid var(--line);padding:8px 4px calc(8px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));z-index:31;gap:2px}
#phone .shop-nav button{border:0;background:none;color:#8996a7;border-radius:0;padding:4px 0;min-height:48px;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:4px}#phone .shop-nav button.on{color:var(--gold)}
#phone .shop-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}#phone .shop-product{box-shadow:none;border-radius:12px;background:#fff;min-width:0}#phone .shop-cover,#phone .shop-cover-empty{height:130px;aspect-ratio:auto;object-fit:contain;padding:8px}#phone .shop-info{padding:10px}#phone .shop-info h3{font-size:13px;line-height:19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#phone .shop-price{font-size:18px;color:var(--gold);margin-top:5px}#phone .shop-stock,#phone .shop-info .muted{font-size:11px;line-height:16px}
#phone .shop-qty button{min-width:44px;min-height:44px;padding:6px;border-radius:8px}#phone .shop-qty input{min-height:44px;width:48px;padding:6px}#phone .shop-qty{gap:3px;flex-wrap:wrap}#phone .shop-cart-line{grid-template-columns:72px minmax(0,1fr);gap:10px}#phone .shop-cart-line img{width:72px;height:72px}#phone .shop-cart-line .shop-cover-empty{height:72px;width:72px}#phone .shop-quiet{min-width:44px;min-height:44px;color:var(--sub)}#phone .shop-row{gap:10px;margin:10px 0}#phone .shop-row span{font-size:13px}#phone .shop-note{background:var(--soft);color:var(--sub)}#phone .shop-gallery img{max-height:280px;object-fit:contain}#phone .shop-gallery{margin-bottom:16px}#phone .shop-order-card{padding:16px;margin-bottom:14px}#phone .shop-chip{min-height:44px}
.shop-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.shop-categories button{border:0;background:#f6efe3;color:var(--ink);border-radius:10px;min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:12px}.shop-categories .ic{color:var(--gold)}
.shop-category-layout{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px}.shop-sidebar{display:flex;flex-direction:column;gap:8px}.shop-sidebar button{min-height:44px;border:0;border-radius:8px;background:#fff;font-size:12px;color:var(--sub);padding:6px}.shop-sidebar button.on{background:var(--blue);color:#fff}#phone .shop-category-layout .shop-cover,#phone .shop-category-layout .shop-cover-empty{height:90px}#phone .shop-category-layout .shop-info{padding:8px}#phone .shop-category-layout .shop-price{font-size:15px}
.shop-order-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:var(--soft);padding:4px;border-radius:11px;margin-bottom:14px}.shop-order-filters button{border:0;border-radius:8px;min-height:40px;font-size:12px;background:#fff;color:var(--sub)}.shop-order-filters button.on{background:var(--blue);color:#fff}
.shop-select-row{display:flex;gap:8px;align-items:center;justify-content:space-between;min-height:44px}.shop-select-row label{flex:1;min-width:0}.shop-summary-bar{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;margin:14px 0}.shop-summary-bar .btn{margin-top:10px}.shop-selected-name{display:flex;align-items:center;gap:8px;min-height:44px}.shop-selected-name input{flex-shrink:0}
@media(max-width:340px){.asset-card .bal{font-size:25px}.asset-metrics b{font-size:12px}.shop-category-layout{grid-template-columns:56px minmax(0,1fr);gap:7px}#phone .shop-grid{gap:7px}.price-row .v{font-size:12px}.price-row .m{width:48px}.seg>div{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{animation:none;transition:none}}

/* Exact MasterGo presentation measurements. Browser chrome is supplied by the device. */
@font-face{font-family:Inter;src:url('/m/fonts/inter-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:optional}
@font-face{font-family:Inter;src:url('/m/fonts/inter-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:optional}
@font-face{font-family:Inter;src:url('/m/fonts/inter-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:optional}
@font-face{font-family:Inter;src:url('/m/fonts/inter-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:optional}
body,input,select,textarea,button{font-family:Inter,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif}
body{font-size:14px;line-height:21px;-webkit-text-size-adjust:100%;text-size-adjust:100%}button{font-weight:400}h2,h3{font-size:16px;line-height:23px;font-weight:500}small{font-weight:400}
.card,.auth-card{border:0;box-shadow:inset 0 0 0 1px var(--line)}
.fidelity-stack{display:flex;flex-direction:column;gap:14px}.fidelity-stack>*{margin-top:0;margin-bottom:0}.card.fidelity-stack{padding:16px}.page.fidelity-stack{padding:16px}
.btn,.btn.danger{font-size:15px;line-height:21px;font-weight:400;min-height:48px;padding:12px 16px}.btn.ghost{color:var(--blue)}
.qz-head{height:54px;min-height:54px;padding:13px 20px;gap:10px}.qz-head img{width:40px;height:28px}.qz-head h1{font-size:19px;line-height:26px}.head-more{display:flex;align-items:center;justify-content:center;width:18px;height:18px}
.qz-note{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:18px;padding:12px;border-radius:10px}.qz-note>svg{color:#6c7e92;flex-shrink:0;margin-top:2px}.compact-note{font-size:11px;line-height:18px}
.icon-button{border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;width:44px;height:44px;padding:0}
.auth-wrap.auth-login{padding:0;min-height:calc(100dvh - env(safe-area-inset-top,0px))}.auth-login .qz-head{margin:0;height:52px;min-height:52px}.auth-login .qz-head img{width:34px;height:23px}
.auth-wrap.auth-register{padding:0;min-height:100dvh}.auth-register>.qz-head{margin:0;height:52px;min-height:52px}.auth-register .seg{margin:0}.auth-register .field{margin:0}.auth-register .field>label{font-size:13px;line-height:20px;color:var(--sub);margin:0 0 6px}.auth-register .result-icon{color:var(--down);display:flex;align-items:center;justify-content:center;margin:0}.auth-register .qz-result h2{font-size:23px;line-height:31px;font-weight:700}.auth-register .qz-result>.tag{align-self:stretch;text-align:center}
.auth-register .qz-result{text-align:left}.auth-register .qz-result>p{font-size:14px;line-height:23px}
.auth-content{display:flex;flex-direction:column;gap:14px;padding:16px}.auth-login .auth-brand{display:flex;align-items:center;justify-content:center;padding:12px;background:#fff;border:0;border-radius:12px;height:144px}
.auth-content>*{margin-top:0;margin-bottom:0}
.auth-login .auth-brand img{display:block;width:180px;height:120px;max-width:100%;object-fit:contain}.auth-login .auth-welcome{font-size:26px;font-weight:700;line-height:33px;margin:0;color:var(--blue)}
.auth-login .auth-sub{font-size:13px;line-height:20px;margin:0;color:var(--sub);text-align:left;letter-spacing:0}.auth-login .auth-card{margin:0;padding:16px;border-radius:14px}.auth-login .auth-card h3{font-size:16px;line-height:23px;font-weight:400;margin:0}
.auth-login .field{margin:0}.auth-login .field label{font-size:13px;line-height:20px;font-weight:500;margin:0 0 6px}.auth-login input{height:48px;padding:10px 12px;font-size:15px;line-height:22px}.auth-login input::placeholder{color:#8b98a9;opacity:1}
.qz-input-icon{position:relative}.qz-input-icon input{padding-right:44px}.qz-input-icon>span{position:absolute;right:12px;top:0;height:48px;display:flex;align-items:center;color:#66768a;pointer-events:none}
.qz-password button{color:#66768a}.auth-login .qz-password input{padding-right:44px}.auth-login .btn{font-size:15px;font-weight:400}.auth-login .qz-note{margin:0}
.home-page .home-head{margin:0;align-items:center}.home-greeting{font-size:17px;line-height:24px;font-weight:400;color:var(--ink);margin:0}.home-intro{font-size:12px;line-height:19px;margin:4px 0 0;color:var(--sub)}
.home-asset.card{padding:20px;border:0;box-shadow:none;border-radius:16px;gap:12px}.home-balance-label{display:flex;justify-content:space-between;align-items:center;color:#b8c7d8;font-size:12px;line-height:19px;position:relative;padding-right:30px}
.home-balance-label .icon-button{position:absolute;right:-13px;top:-13px;color:#d6e1ec}.home-asset .bal{font-size:32px;line-height:39px;font-weight:700;margin:0;letter-spacing:0}.home-asset .asset-metrics{margin:0;gap:10px}.home-asset .asset-metrics span{font-size:11px;line-height:18px;color:#b8c7d8}
.home-asset .asset-metrics b{font-size:20px;font-weight:400;line-height:27px;display:block;margin-top:4px;color:#fff}.home-asset .asset-metrics b.profit-positive{color:#f1c5c7}.home-asset .asset-metrics b.profit-negative{color:#a4ddcc}
.home-account-meta{display:flex;justify-content:space-between;gap:12px;color:#d6e1ec;font-size:11px;font-weight:500;line-height:17px}.home-page .tag{line-height:17px}
.home-notice{border:0;border-radius:10px;background:#f6efe3;padding:12px;display:flex;align-items:center;gap:10px;text-align:left;width:100%;font-size:12px;line-height:19px;color:var(--ink)}.home-notice>svg:first-child{color:var(--gold)}.home-notice>svg:last-child{color:var(--sub)}.home-notice>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-mall{display:flex;flex-direction:column;align-items:stretch;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;text-align:left;color:var(--ink);width:100%;cursor:pointer}.home-mall>img{display:block;width:100%;aspect-ratio:3/1;object-fit:contain;border-radius:12px}
.home-mall-info{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px}.home-mall-info>span:first-child{flex:1}.home-mall-info b{display:block;color:var(--blue);font-size:16px;line-height:23px;font-weight:400}.home-mall-info small{display:block;margin-top:4px;font-size:11px;line-height:18px;color:var(--sub)}.mall-cta{color:var(--gold);font-size:12px;line-height:18px;display:flex;align-items:center;gap:10px}
.home-mall-meta{display:flex;justify-content:space-between;padding:0 12px 10px;font-size:10px;line-height:16px;font-weight:500;color:var(--sub)}
.home-services h2{font-size:16px;line-height:23px;font-weight:500}.home-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-service-grid button{border:0;background:var(--soft);border-radius:12px;padding:14px 4px;min-height:76px;display:flex;flex-direction:column-reverse;justify-content:center;align-items:center;gap:9px;text-align:center;cursor:pointer;color:var(--blue)}.home-service-grid button>span{min-width:0}.home-service-grid button>svg{width:22px;height:22px}.home-service-grid b{font-size:13px;line-height:20px;font-weight:500;color:var(--ink);display:block}.home-service-grid small{font-size:11px;line-height:18px;display:block;margin-top:4px;color:var(--sub)}
.me-page .fidelity-link{min-height:52px}.me-page .fidelity-link b{font-size:15px}
.quote-card.fidelity-stack{gap:14px}.quote-card h2{font-size:16px;line-height:23px;font-weight:400}.quote-status{display:flex;justify-content:space-between;align-items:center}.quote-status>span:last-child{font-size:10px;line-height:16px;font-weight:500;color:var(--sub)}
.quote-rows{display:flex;flex-direction:column;gap:0;min-width:0}
#phone .shop-cart-page{padding-bottom:140px}#phone .shop-cart-page .shop-summary-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(65px + env(safe-area-inset-bottom,0px));width:min(calc(100% - 32px),448px);margin:0;z-index:30;box-shadow:0 -4px 18px rgba(20,45,78,.04)}
.shop-checkout-page .shop-stats{display:flex;gap:10px;background:var(--soft);border-radius:8px;padding:4px;margin:14px 0}.shop-checkout-page .shop-chip{flex:1;min-height:40px;border:0;font-size:12px;line-height:18px;padding:9px 4px}.shop-checkout-page .card>h3{font-weight:400;font-size:16px;line-height:23px}.shop-checkout-page .field>label{font-size:13px;line-height:20px}.shop-checkout-page .shop-note{margin-bottom:0}.trend-page .trend-chart polyline{stroke:var(--gold)}
.shop-pending-page .qz-result{padding:0;text-align:center}.shop-pending-page .qz-result .result-icon{color:var(--gold);margin:0 0 12px}.shop-pending-page .qz-result h2{font-size:23px;line-height:31px;font-weight:700;margin:0 0 12px}.shop-pending-page .form-help{font-size:12px;line-height:20px}.shop-pending-page .card>div>b{font-size:14px;font-weight:500}#phone .shop-pending-page .shop-row{margin:0;font-size:13px;line-height:20px}.shop-pending-page .card>div>p{margin:4px 0 0}
.quote-heading,.quote-row.price-row{display:grid;grid-template-columns:minmax(50px,1fr) minmax(0,93px) minmax(0,93px) 12px;column-gap:10px;align-items:center;width:100%}.quote-heading{font-size:11px;line-height:18px;color:var(--sub)}
.quote-row.price-row{background:none;border:0;box-shadow:inset 0 -1px 0 var(--line);border-radius:0;padding:11px 0;min-height:46px;text-align:left;cursor:pointer}.quote-row>b{font-size:14px;line-height:21px;color:var(--ink);font-weight:600}.quote-row .quote-price{font-size:18px;line-height:24px;font-weight:400;white-space:nowrap}.quote-direction{width:12px;display:flex;align-items:center;justify-content:center;font-size:12px}
.quote-footnote{font-size:11px;line-height:18px;color:var(--sub)}.quote-page .quote-card{padding:16px}.fidelity-link{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:10px 0;text-align:left;color:var(--ink)}.fidelity-link>span{flex:1;min-width:0}.fidelity-link b{font-size:14px;font-weight:400;line-height:21px;display:block}.fidelity-link small{font-size:11px;line-height:18px;color:var(--sub);display:block;margin-top:4px}
.info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:13px;line-height:20px}.info-row>span{color:var(--sub);min-width:0}.info-row>b{font-size:14px;line-height:21px;font-weight:600;min-width:0;text-align:right;overflow-wrap:anywhere}.info-row .strong{color:var(--blue)}
.profit-positive{color:var(--up)}.profit-negative{color:var(--down)}
.policy-copy{font-size:14px;line-height:24px;margin:0;overflow-wrap:anywhere}
.customer-page .customer-summary{background:var(--blue);color:#fff;padding:20px;border-radius:16px;box-shadow:none}.customer-summary .form-help{color:#b8c7d8}.customer-summary .form-balance{color:#fff;font-size:32px;line-height:39px}.customer-page .customer-name{font-size:20px;line-height:28px;font-weight:600;color:var(--blue);overflow-wrap:anywhere}.customer-page .seg{margin:0}.customer-page .record-summary h3{font-size:15px;font-weight:500;line-height:22px}
.access-block-overlay.access-block-mobile{padding:0;background:var(--bg);display:block;overflow:auto}.access-mobile-page{width:min(100%,430px);min-height:100dvh;margin:0 auto;background:var(--bg);font:14px/1.7 Inter,"Microsoft YaHei",sans-serif;color:var(--blue)}.access-mobile-page .qz-sheet-head{margin:0;position:sticky;top:0;z-index:1}.access-mobile-page .qz-sheet-head>button{font-size:28px}.access-mobile-page textarea{font-size:16px;min-height:110px;width:100%;max-width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;box-sizing:border-box;font-family:inherit}.access-mobile-page .field>label{display:block;margin-bottom:6px}.access-mobile-page [role=status]:empty{display:none}.access-mobile-page .tag{align-self:stretch;text-align:center}
/* The legacy gate styled every nested section as a full-screen modal. */
body:has(#phone) .access-block-overlay.access-block-mobile section{width:100%;max-width:100%;min-height:0;padding:16px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
body:has(#phone) .access-block-overlay.access-block-mobile section.access-mobile-page{width:min(100%,430px);min-height:100dvh;padding:0;border-radius:0;background:var(--bg);box-shadow:none}
body:has(#phone) .access-block-overlay.access-block-mobile h2{margin:0;padding:0;background:none;font-size:16px;line-height:23px}
body:has(#phone) .access-block-overlay.access-block-mobile main>.card:first-child h2{font-size:20px;line-height:28px;font-weight:700}
body:has(#phone) .access-block-overlay.access-block-mobile .qz-sheet-head>button{min-height:26px;background:none;border-radius:0;color:var(--blue)}
.invite-brand-card{padding:12px;min-height:124px;display:flex;align-items:center;justify-content:center}.invite-brand-card .invite-brand{width:180px;height:100px;margin:0;object-fit:contain}.invite-code-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.invite-code-row .invite-code{font-size:30px;line-height:38px;font-weight:700;letter-spacing:1px;margin:0;min-width:0;overflow-wrap:anywhere}.copy-invite{border:0;border-radius:8px;background:#f6efe3;color:#856126;font-size:12px;min-height:44px;min-width:44px;padding:10px;cursor:pointer;flex-shrink:0}.sheet .invite-qr{margin:0 auto;padding:4px;border:0;border-radius:0}.fidelity-stack>.shop-head{margin-bottom:2px}.shop-filter-page .card>.tag{align-self:flex-start}
.trend-page .card{display:flex;flex-direction:column;gap:14px;margin:0}.trend-page p{margin:0;font-size:13px;line-height:22px}.trend-page .muted{font-size:11px;line-height:18px}.trend-page .kv{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:13px;line-height:21px}.trend-page .kv>span:first-child{color:var(--sub)}.trend-page .kv>strong,.trend-page .kv>span:last-child{text-align:right;min-width:0;overflow-wrap:anywhere}.trend-page .section-title{font-size:16px;line-height:23px;color:var(--blue);margin:0}.trend-page .section-title small{display:block;margin-top:4px}.trend-page .btn.small{min-height:40px;font-size:12px;padding:8px 14px;width:auto}.trend-page .trend-result>div:first-child h3{font-size:16px;margin:0;line-height:23px}.trend-page .trend-chart-labels{flex-wrap:wrap}.trend-page .red{color:var(--up)}.trend-page .green{color:var(--down)}
.kyc-upload{border:1px solid var(--line);border-radius:10px;overflow:hidden}.kyc-upload>label{position:relative;display:flex;align-items:center;gap:10px;padding:16px 12px;min-height:74px;cursor:pointer}.kyc-upload>label>svg{color:var(--gold);flex-shrink:0}.kyc-upload>label>span{min-width:0}.kyc-upload b{font-size:14px;font-weight:400;line-height:21px;display:block}.kyc-upload small{font-size:11px;line-height:18px;color:var(--sub);display:block;margin-top:4px}.kyc-upload input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.kyc-upload img{max-width:100%;max-height:140px;display:block;margin:0 auto 12px;object-fit:contain}.kyc-upload:focus-within{outline:2px solid var(--gold);outline-offset:2px}
.contracts-page .contract-title{font-size:20px;line-height:28px;font-weight:600;color:var(--blue);overflow-wrap:anywhere}.contract-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px}.contracts-page .qz-check{font-size:12px;line-height:20px;align-items:flex-start}.contracts-page .qz-check input{accent-color:var(--blue);flex-shrink:0}
.credit-summary{padding:20px;border-radius:16px;background:var(--blue);color:#fff}.credit-summary .bal-label,.credit-summary .asset-metrics span{font-size:12px;color:#b8c7d8}.credit-summary .bal{font-size:32px;line-height:39px;font-weight:700;overflow-wrap:anywhere}.credit-summary .asset-metrics{margin:0}.credit-summary .asset-metrics b{font-size:20px;font-weight:500;color:#fff;overflow-wrap:anywhere}
.order-card-tags,.order-card-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.order-card-title{border:0;background:none;padding:0;width:100%;min-height:32px;text-align:left;color:var(--blue);font-size:17px;line-height:24px;cursor:pointer}.order-card-title>span{min-width:0;overflow-wrap:anywhere}.order-card-title svg{flex-shrink:0;color:var(--sub)}.order-card-meta{overflow-wrap:anywhere}.order-card-actions{border-top:1px solid var(--line);padding-top:12px}.order-card-actions .btn-mini{flex:1;min-height:44px;font-size:13px}.orders-page .seg{margin:0}.form-balance{font-size:30px;line-height:38px;font-weight:700;color:var(--blue);overflow-wrap:anywhere}
.sheet>button.card.fidelity-link{padding:16px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.order-detail-title{font-size:23px;line-height:31px;font-weight:700;color:var(--blue);overflow-wrap:anywhere}.order-detail-page .form-help{overflow-wrap:anywhere}.order-detail-page>.btn-row .btn{min-width:0;padding-left:10px;padding-right:10px}
.bank-card-number{font-size:23px;line-height:31px;letter-spacing:1px;overflow-wrap:anywhere;color:var(--blue)}.bank-account+.bank-account,.bank-application+.bank-application{border-top:1px solid var(--line);padding-top:14px}.bank-account svg{color:var(--gold);vertical-align:middle}
.record-summary+.record-summary{padding-top:14px;border-top:1px solid var(--line)}.record-summary .order-card-tags>b{font-size:16px;font-weight:500;text-align:right;min-width:0;overflow-wrap:anywhere}.record-summary .form-help{overflow-wrap:anywhere}.record-summary .fidelity-link{padding:6px 0}
.ledger-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;font-size:16px;line-height:23px}.ledger-heading>span{flex:1;min-width:0;overflow-wrap:anywhere}.ledger-heading>b{font-size:18px;font-weight:400;line-height:25px;min-width:0;overflow-wrap:anywhere;text-align:right}.asset-page .asset-card{display:flex;flex-direction:column;gap:14px}.asset-page .asset-card .bal{overflow-wrap:anywhere}
.sheet>.field.record-type-filter{background:none;padding:0;border:0;border-radius:0}
#phone .shop-head{height:52px;min-height:52px;padding:13px 20px;gap:10px}#phone .shop-head h1{font-size:19px;line-height:26px;font-weight:600}#phone .shop-head button{display:flex;align-items:center;justify-content:center;position:relative;padding:0;min-width:18px;width:18px;min-height:26px;height:26px;flex-shrink:0;color:var(--blue)}#phone .shop-head button::after{content:'';position:absolute;inset:-9px -13px}
.shop-search-field{margin-bottom:14px}.shop-search-input{position:relative}.shop-search-input>span{position:absolute;left:12px;top:0;height:48px;display:flex;align-items:center;color:var(--sub);pointer-events:none}#phone .shop-search-input>input{height:48px;padding-left:38px;font-size:13px}
.shop-product-page .shop-head{margin-bottom:2px}#phone .shop-product-page .shop-price{font-size:28px;line-height:35px;font-weight:700;margin:0}.shop-product-page .shop-product-title{font-size:22px;line-height:29px;font-weight:700;color:var(--blue)}#phone .shop-product-page .shop-gallery{height:180px;margin:0;background:#f6efe3}#phone .shop-product-page .shop-gallery img,#phone .shop-product-page .shop-gallery .shop-cover,#phone .shop-product-page .shop-gallery .shop-cover-empty{height:180px;max-height:180px;padding:0;object-fit:contain}
#phone .shop-product-page .shop-row{margin:0;font-size:13px;line-height:21px;gap:10px}#phone .shop-product-page .shop-row>b{font-size:14px;font-weight:500}.shop-variants.seg{display:flex;flex-wrap:wrap;margin:0;gap:4px}.shop-variants.seg>button{min-width:100px;min-height:40px;font-size:12px}.shop-product-page>.btn{margin:0}
.shop-cart-caption{margin:0 0 14px;font-size:16px;font-weight:400}#phone .shop-cart-page .shop-cart-line{position:relative;border:1px solid var(--line);border-radius:14px;background:#fff;padding:16px;margin-bottom:14px;grid-template-columns:minmax(60px,1fr) minmax(0,1.7fr);gap:14px;align-items:center}#phone .shop-cart-page .shop-cart-line>div:last-child{display:contents}#phone .shop-cart-page .shop-selected-name{grid-column:1/-1;grid-row:1;padding-right:42px;min-height:32px}#phone .shop-cart-page .shop-selected-name b{font-size:14px;font-weight:400}#phone .shop-cart-page .shop-cart-line>img,#phone .shop-cart-page .shop-cart-line>.shop-cover-empty{grid-column:1;grid-row:2}#phone .shop-cart-page .shop-cart-line>div:last-child>.muted{grid-column:2;grid-row:2;font-size:11px;overflow-wrap:anywhere}#phone .shop-cart-page .shop-cart-line .shop-row{grid-column:1;grid-row:3;margin:0;gap:0}#phone .shop-cart-page .shop-cart-line .shop-quiet{position:absolute;top:10px;right:8px;font-size:12px}#phone .shop-cart-page .shop-cart-line .shop-qty{grid-column:2;grid-row:3;justify-content:flex-end;gap:0;flex-wrap:nowrap}#phone .shop-cart-page .shop-cart-line .shop-error{grid-column:1/-1}#phone .shop-cart-page .shop-qty input{width:40px}#phone .shop-cart-page .shop-price{font-size:17px;font-weight:500;white-space:nowrap}#phone .shop-cart-page .card.fidelity-stack .shop-row{margin:0}#phone .shop-cart-page input[type=checkbox]{accent-color:var(--gold)}.shop-cart-page .shop-summary-bar{margin-bottom:0}.shop-summary-bar [data-shop-total]{color:var(--gold);font-size:18px}
#phone .shop-price [data-shop-price]{font-size:inherit;font-weight:inherit;line-height:inherit}
.shop-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shop-filter-grid button{min-width:0;min-height:76px;border:1px solid transparent;background:#f6efe3;color:var(--blue);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:12px;line-height:18px;cursor:pointer}.shop-filter-grid svg{color:var(--gold)}.shop-filter-grid button.on{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.shop-filter-grid span{overflow-wrap:anywhere}.shop-filter-metals{display:flex;flex-wrap:wrap;gap:6px;background:var(--soft);padding:4px;border-radius:8px}.shop-filter-metals button{min-height:40px;min-width:60px;flex:1;background:#fff;color:var(--sub);font-size:12px;border:0;border-radius:7px;cursor:pointer}.shop-filter-metals button.on{background:var(--blue);color:#fff}.shop-filter-page .shop-row{margin:0;font-size:13px}.shop-filter-page .shop-row>b{font-weight:500}
.shop-category-title{font-size:14px;line-height:21px;font-weight:500;margin:0 0 8px;color:var(--blue)}.shop-category-page>.qz-note{margin-top:14px}#phone .shop-category-layout .shop-price{white-space:normal;overflow-wrap:anywhere}
@media(max-width:340px){#phone .shop-cart-page .shop-cart-line{gap:10px;padding:12px;grid-template-columns:minmax(82px,1fr) minmax(0,1.4fr)}#phone .shop-cart-page .shop-qty button{min-width:34px}#phone .shop-cart-page .shop-qty input{width:36px}#phone .shop-cart-page .shop-price{font-size:15px}}
.form-help{font-size:11px;line-height:18px;font-weight:400;color:var(--sub)}.fidelity-stack>.field{margin:0}.fidelity-stack .field>label{font-size:13px;line-height:20px;margin-bottom:6px;font-weight:500}.fidelity-stack input:not([type=checkbox]):not([type=radio]),.fidelity-stack select{font-size:15px;line-height:22px;height:48px;padding:10px 12px}.fidelity-stack input::placeholder{color:#8b98a9}
.trade-page .seg{display:flex;margin:0;padding:4px;gap:10px;min-height:48px}.seg>button{border:0;background:#fff;flex:1;border-radius:8px;padding:9px 4px;min-height:40px;font-size:12px;line-height:18px;color:var(--sub);cursor:pointer}.seg>button.on{background:var(--blue);color:#fff}
.trade-policy{display:flex;justify-content:space-between;align-items:center;gap:10px}.trade-policy button{border:0;background:none;color:var(--gold);font-size:12px;line-height:18px;min-height:25px;position:relative;cursor:pointer}.trade-policy button::after{content:'';position:absolute;inset:-9px 0}
.trade-form .spec-chips{display:flex;justify-content:space-between;gap:10px}.trade-form .spec-chip{font-size:11px;line-height:18px;padding:4px 9px;min-height:26px;min-width:52px;border:0;border-radius:5px;background:var(--bg);color:var(--sub);font-weight:600;position:relative;cursor:pointer}.trade-form .spec-chip.on{color:var(--blue);background:var(--soft)}.trade-form .spec-chip::after{content:'';position:absolute;inset:-9px 0}
.trade-page #estimateBox .info-row,.trade-page #fundsBox .info-row{padding:0}.trade-page #estimateBox h3{margin:0}.trade-page #estimateBox .form-help{margin:0}.trade-page>.btn{margin-top:18px}.trade-form .field+.form-help{margin-top:-8px}
.me-page .me-avatar{height:38px;width:38px;flex-shrink:0;background:var(--gold);color:#fff}.me-page .me-head{display:flex;align-items:center;gap:10px}.me-page .me-head>div:nth-child(2){flex:1;min-width:0}.me-page .me-name{font-size:23px;line-height:30px;font-weight:700}.me-page .me-head .muted{font-size:11px;line-height:18px;margin-top:4px}.me-page .me-head .tag{flex-shrink:0;font-size:11px;line-height:17px}
.me-page .me-info-metrics{margin:0;padding:0;border:0;gap:10px}.me-page .me-info-metrics span{font-size:11px;line-height:18px}.me-page .me-info-metrics b{display:block;font-size:20px;line-height:27px;font-weight:400;margin-top:4px;color:var(--blue)}.me-page .fidelity-link{padding:6px 0;min-height:55px}.me-page .fidelity-link small{font-size:11px;line-height:18px}
.asset-page .asset-card{padding:20px;background:var(--blue);border:0;box-shadow:none}.asset-page .asset-card .bal-label{font-size:12px;line-height:19px}.asset-page .asset-card .bal{font-size:32px;line-height:39px;font-weight:700;margin:0}.asset-page .asset-card .form-help{color:#b8c7d8}
.inner-header,.qz-sheet-head{display:flex;align-items:center;gap:10px;background:#fff;height:52px;min-height:52px;padding:13px 20px}.inner-header{margin:-16px -16px 2px}.inner-header h1,.qz-sheet-head h1{font-size:19px;line-height:26px;font-weight:700;flex:1;min-width:0}.inner-header button,.qz-sheet-head button{border:0;background:none;color:var(--blue);width:18px;height:26px;display:flex;justify-content:center;align-items:center;padding:0;position:relative;cursor:pointer;flex-shrink:0}.inner-header button::after,.qz-sheet-head button::after{content:'';position:absolute;inset:-9px -13px}
.sheet{display:flex;flex-direction:column;gap:14px}.sheet>*{margin-top:0;margin-bottom:0}.qz-sheet-head{margin:-16px -16px 2px}.sheet .card>h3{font-weight:400}.sheet .card.asset-card{box-shadow:none}
.mask{scrollbar-width:none}.mask::-webkit-scrollbar{width:0;height:0}
.sheet .card.fidelity-stack>.field{padding:0;background:none;border:0;border-radius:0;margin:0}
.card.fidelity-stack>.row{padding:0;font-size:13px;line-height:20px}.card.fidelity-stack>.row>b{font-size:14px;line-height:21px;font-weight:500}
.sheet .card.fidelity-stack>.pay-account-list{margin:0;background:none;padding:0;border:0}
.sheet .card.fidelity-stack>.pay-account-list>b{display:none}.sheet .pay-account{box-shadow:none}
.tabbar{height:75px;padding:8px 12px;min-height:75px;gap:10px}.tabbar .tab-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:58px}.tabbar .ic{height:19px}.tabbar .ic svg{height:19px;width:19px}.tabbar .t{font-size:10px;line-height:16px;font-weight:400}
@media(max-width:340px){.quote-heading,.quote-row.price-row{grid-template-columns:minmax(42px,1fr) minmax(0,76px) minmax(0,76px) 10px;gap:6px}.quote-row .quote-price{font-size:16px}.home-asset .asset-metrics b{font-size:18px}.home-greeting{font-size:16px}.home-mall-info{gap:8px;padding:10px}.home-mall-info small{font-size:10px}}
/* 16px editable text prevents iOS focus zoom without disabling manual zoom. */
#phone input:not([type=checkbox]):not([type=radio]):not([type=file]),#phone select,#phone textarea{font-size:16px;max-width:100%;min-width:0}
#phone,#app,.page,.sheet,.card,.home-head,.me-head,.home-account-meta,.info-row,.field{min-width:0}
#phone [hidden]{display:none}
.home-greeting,.me-name{overflow-wrap:anywhere}.home-head>.tag{flex-shrink:0}.home-head>div:first-child{min-width:0}
.home-account-meta>span,.home-asset .bal{min-width:0;overflow-wrap:anywhere}.home-asset .bal{font-size:clamp(24px,8.53vw,32px)}
.home-asset.card{min-height:200px;height:auto}.me-page .me-head{padding:0}
.auth-restoring{min-height:70dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;color:var(--sub);font-size:14px}.auth-restoring img{width:120px;height:80px;object-fit:contain}
.qz-head h1,.inner-header h1,.qz-sheet-head h1{font-weight:600}.info-row>b{font-weight:500}.info-row>b.strong,.shop-price{font-weight:600}
.field>label{color:var(--ink)}.form-help,.quote-footnote,.home-intro,.home-service-grid small,.fidelity-link small{color:#5f6f83}
.btn:focus-visible,.tab-item:focus-visible,.shop-product:focus-visible,.fidelity-link:focus-visible{outline:2px solid #a77c38;outline-offset:3px}
#phone input::placeholder,#phone textarea::placeholder{color:#66768a;opacity:1}.mall-cta,.trade-policy button{color:#856126}
.quote-heading,.quote-row.price-row{grid-template-columns:minmax(48px,.75fr) minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,.85fr);column-gap:8px}
.quote-row.price-row{min-height:72px;padding:10px 0}.quote-metal{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.quote-metal>b{font-size:14px;line-height:20px;font-weight:600;color:var(--ink)}
.quote-metal small{font-size:9px;line-height:13px;color:var(--sub)}.quote-change{font-size:9px;line-height:14px;font-weight:500;white-space:nowrap}
.quote-price{border-radius:4px}.quote-range{display:flex;flex-direction:column;gap:3px;font-size:11px;line-height:16px;text-align:right}.quote-heading>span:last-child{text-align:right}.range-high{color:#b8313d}.range-low{color:#087657}
.quote-row .quote-price{font-size:17px;font-weight:600}.quote-footnote{font-size:11px}.qz-head>button{display:inline-flex;align-items:center;justify-content:center;width:18px;height:26px;min-width:18px;padding:0;border:0;background:none;color:var(--blue);position:relative;flex-shrink:0}.qz-head>button::after{content:'';position:absolute;inset:-9px -13px}
@media(max-width:340px){.quote-heading,.quote-row.price-row{column-gap:5px}.quote-row .quote-price{font-size:14px}.quote-range{font-size:10px}.quote-metal>b{font-size:13px}}
/* Amount updates retain their rows and never change typeface/weight on direction changes. */
.me-balance .bal{overflow-wrap:anywhere}.me-balance .btn-row{margin:0}.me-balance .btn.ghost{background:#fff;color:var(--blue)}
.me-balance .asset-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.me-balance .asset-metrics b{font-size:18px;line-height:27px;overflow-wrap:anywhere}
.quote-row .quote-price{min-height:24px}.quote-metal small{min-height:13px}.quote-change{display:inline-block;min-height:14px}
.info-row .num,.bal,.quote-price{font-variant-numeric:tabular-nums lining-nums}.agent-date-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agent-date-filter label{font-size:12px;color:var(--sub)}
.account-policy-summary{margin-top:12px;min-width:0}.account-policy-summary .form-help{margin:6px 0 0;color:#586d88}.account-policy-summary .order-card-tags{flex-wrap:wrap;gap:6px}.account-policy-summary .fidelity-stack{margin-top:8px}
.order-policy-summary{border-top:1px solid var(--line);padding-top:10px;min-width:0}.order-policy-summary .form-help{margin:2px 0 6px}.order-policy-summary .info-row{gap:12px}.order-policy-summary b{overflow-wrap:anywhere}
.net-account-rate{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:8px 0 14px;font-size:12px;color:#586d88}.net-account-rate b{font-size:16px;color:var(--ink);overflow-wrap:anywhere}
.asset-card .net-account-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.net-account-metrics>div{min-width:0}.net-account-metrics span{display:block;font-size:12px;color:#586d88}.net-account-metrics b{display:block;font-size:18px;line-height:27px;overflow-wrap:anywhere}
.asset-card .net-account-metrics b.profit-negative{color:#087657}.asset-card .net-account-metrics b.profit-positive{color:#b8313d}

.ms-shell{background:#fff;color:#172b4d;border:1px solid #e4eaf2;border-radius:16px;padding:22px;min-width:0}
.ms-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.ms-head h2{font-size:20px;margin:0 0 5px;font-weight:700}.ms-head p,.ms-updated{font-size:12px;color:#718096;margin:0}.ms-state{font-size:12px;border-radius:20px;padding:6px 11px;white-space:nowrap}.ms-live{color:#16734a;background:#e9f6ee}.ms-offline{color:#a56b12;background:#fff5df}
.ms-disclaimer{font-size:13px;line-height:1.7;color:#65758b;background:#f4f7fb;border-radius:9px;padding:11px 13px;margin:16px 0 10px}.ms-group{margin-top:22px}.ms-group h3{font-size:14px;font-weight:650;margin:0 0 11px;color:#40536c}.ms-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.ms-card{padding:16px;border:1px solid #e5eaf2;border-radius:12px;background:#fcfdff;min-width:0}.ms-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.ms-card-top b{font-size:14px}.ms-card-top span{font-size:11px;border-radius:4px;background:#ecf2fb;color:#486582;padding:3px 6px;white-space:nowrap}.ms-value{font-size:27px;font-weight:700;font-variant-numeric:tabular-nums;margin:13px 0;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.ms-value small{font-size:11px;font-weight:400;color:#718096}.ms-up{color:#d33c48}.ms-down{color:#168765}.ms-flat{color:#203650}.ms-details{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:12px;color:#6a7c91;min-height:19px}.ms-details b{font-weight:600;font-variant-numeric:tabular-nums;color:#3d526b}.ms-source{font-size:10px;color:#8a97a7;overflow-wrap:anywhere;margin:12px 0 4px}.ms-time{font-size:11px;color:#8391a4;margin:0}.ms-unavailable{background:#fafafa}.ms-unavailable .ms-value{color:#9a7a4c;font-size:22px}.ms-unavailable .ms-details{opacity:.5}.market-sources-page{padding:0}.quote-page .ms-shell{margin-top:8px}
@media(max-width:600px){.ms-shell{padding:16px;border-radius:13px}.ms-head h2{font-size:18px}.ms-grid{grid-template-columns:1fr;gap:10px}.ms-card{padding:14px}.ms-value{font-size:25px;margin:10px 0}.ms-disclaimer{font-size:12px}.ms-group{margin-top:18px}}

/* Compact, readable reference board; quote calculation and refresh stay intact. */
.ms-shell{border:0;border-radius:14px;padding:24px;background:#fff;color:#243247}
.ms-head h2{font-size:21px;font-weight:650}
.ms-head p,.ms-updated{font-size:12px;color:#5e6e83;line-height:1.7}
.ms-disclaimer{background:#f4f7fb;border-radius:8px;color:#53647a;font-size:12px;margin:18px 0 10px;padding:12px 14px}
.ms-group{margin-top:24px}
.ms-group h3{font-size:15px;color:#243247;font-weight:650;margin-bottom:12px}
.ms-grid{grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:14px}
.ms-card{border-radius:10px;padding:16px;background:#fff;border:1px solid #e1e7ef}
.ms-card-top{align-items:flex-start}
.ms-card-top b{font-size:14px;line-height:1.6}
.ms-card-top span{color:#50647f;background:#f0f4f9;font-size:11px}
.ms-value{font-size:26px;line-height:1.4;margin:12px 0;font-weight:650;gap:6px}
.ms-value small{font-size:11px;color:#5e6e83}
.ms-details{font-size:12px;gap:5px 12px;color:#5e6e83}
.ms-details b{font-weight:550;color:#354b66}
.ms-source,.ms-time{font-size:11px;color:#5e6e83;line-height:1.6}
.ms-source{margin-top:12px}
.ms-flat{color:#243247}.ms-up{color:#bc3446}.ms-down{color:#15704c}
.ms-live{color:#126843;background:#edf8f1}.ms-offline{color:#81550f;background:#fff4dd}
@media(min-width:1200px){.ms-shell{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.ms-head,.ms-disclaimer,.ms-updated,.ms-group:has(.ms-card:nth-child(4)){grid-column:1/-1}}
@media(max-width:600px){
 .ms-shell{padding:18px;border-radius:14px}
 .ms-grid{grid-template-columns:1fr;gap:0;border:1px solid #e1e7ef;border-radius:10px;overflow:hidden}
 .ms-head h2{font-size:18px}.ms-group h3{font-size:14px}
 .ms-head p{font-size:11px}.ms-state{font-size:11px;padding:5px 8px}
 .ms-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;border:0;border-bottom:1px solid #e1e7ef;border-radius:0;padding:14px}
 .ms-card:last-child{border-bottom:0}
 .ms-card-top{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
 .ms-card-top b{font-size:13px}.ms-card-top span{font-size:10px;padding:1px 5px}
 .ms-value{font-size:22px;margin:0;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
 .ms-value small{font-size:10px}
 .ms-details{grid-column:1/-1;min-height:0;font-size:12px}
 .ms-source{grid-column:1;align-self:end;margin:0;font-size:10px}
 .ms-time{grid-column:2;align-self:end;text-align:right;margin:0;font-size:10px}
 .ms-disclaimer{font-size:11px;line-height:1.8}
}

/* Mobile refinement: existing flow, actions and financial semantics are preserved. */
:root {
  --blue:#0866e9;--blue-deep:#0757c7;--blue-light:#3280ed;--navy:#18334f;
  --ink:#10213b;--sub:#637188;--line:#d6e4f6;--bg:#f6f9fe;--soft:#eaf3ff;
  --softer:#f7f9fc;--up:#d6383d;--down:#198252;--gold:#86642b;
  --gold-accent:#c6a15a;--control-border:#c8d3e2;--surface-hover:#e7effb;
}
html {color-scheme:light;scroll-padding-block:80px}
body {background:var(--bg);color:var(--ink);font-family:"Microsoft YaHei","PingFang SC",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
::selection {background:#dce8fa;color:#193e73}
button,a,input,select,textarea {touch-action:manipulation;-webkit-tap-highlight-color:#205bb21f}
input,textarea {caret-color:var(--blue)}
button,input,select,textarea {font-family:inherit}
button {cursor:pointer}
button:disabled {cursor:not-allowed}
:where(button,a,input,textarea,select,[tabindex]):focus-visible {outline:3px solid var(--blue);outline-offset:3px}
#phone {max-width:768px;background:var(--bg);box-shadow:none;min-height:100dvh}
#app {padding-bottom:calc(88px + env(safe-area-inset-bottom));min-height:100dvh}
.page {--page-gutter:16px;padding:16px var(--page-gutter) 24px;animation:none}
.page.fidelity-stack {padding:16px var(--page-gutter) 24px}
.fidelity-stack {gap:16px}
.qz-head {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;height:auto;min-height:68px;background:var(--bg);border:0;padding:12px 16px;box-shadow:none}
.qz-head h1 {font-size:20px;line-height:1.4;font-weight:700;color:var(--ink);text-align:center;min-width:0;overflow-wrap:anywhere}
.qz-head .brand-logo {object-fit:contain}
.qz-head > img[data-mobile-brand] {width:42px;height:42px;object-fit:contain}
.auth-sub[data-mobile-login-brand] {overflow-wrap:anywhere}
.qz-head>button {width:44px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink)}
.qz-head>.head-more {width:44px;height:44px}
/* Existing head-more spans have no action; retain spacing, remove fake-menu marks. */
.head-more {visibility:hidden}
h1,h2,h3 {text-wrap:balance}
.card {border-radius:14px;border:0;box-shadow:none;padding:20px;background:#fff}
.card.fidelity-stack {display:block;padding:20px}
.card h2 {font-size:18px;line-height:1.4;font-weight:700;color:var(--ink);margin-bottom:16px}
.card h3,.fidelity-stack .card>h3 {font-size:16px;line-height:1.5;font-weight:700;color:var(--ink);margin-bottom:12px}
.card .card {box-shadow:none;border:0;padding:0;border-radius:0}
.form-help,.policy-copy,.muted {color:var(--sub);line-height:1.7}
.form-help,.muted {font-size:13px;margin:8px 0}
.policy-copy {font-size:14px;margin:8px 0}
.info-row {align-items:baseline;gap:16px;line-height:1.55;padding:12px 0;font-size:14px;border-bottom:1px solid #e9eff8}
.info-row:last-child {border-bottom:0}
.info-row>span {color:var(--sub);flex:1 1 36%;min-width:0;overflow-wrap:anywhere}
.info-row>b {flex:0 1 auto;max-width:64%;font-size:14px;line-height:1.55;font-weight:700;text-align:right;min-width:0;overflow-wrap:anywhere}
.field>label,.fidelity-stack .field>label {font-size:14px;font-weight:500;line-height:22px;color:var(--ink);margin-bottom:8px}
input,select,textarea {background:#fff;border:1px solid #c8d3e2;border-radius:9px;font-size:16px;line-height:24px;min-height:48px;padding:11px 12px}
.fidelity-stack input:not([type=checkbox]):not([type=radio]),.fidelity-stack select {font-size:16px;line-height:24px;padding:11px 12px}
textarea {min-height:110px;resize:vertical}
input::placeholder,textarea::placeholder {color:var(--sub);opacity:1}
.fidelity-stack input::placeholder,.fidelity-stack textarea::placeholder,.auth-login input::placeholder {color:var(--sub);opacity:1}
input:focus,select:focus,textarea:focus {border-color:var(--blue)}
button:disabled {opacity:.6}
.btn {min-height:48px;padding:12px 16px;border-radius:10px;background:var(--blue);box-shadow:none;font-size:16px;font-weight:600;line-height:24px}
.btn.ghost {background:#fff;color:#135cbf;border:1px solid #b8d0ef;box-shadow:none}
.btn.danger {background:var(--up);box-shadow:none}
.btn-row {gap:12px;flex-wrap:wrap}
.btn-row .btn {min-width:110px}
.tag {border-radius:5px;padding:4px 8px;font-size:12px;font-weight:500}
.tag.ok {color:#126843;background:#edf8f1}
.tag.warn {color:#81550f;background:#fff4dd}
.tag.bad {color:#b62e42;background:#fff0f2}
.home-brandbar {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:74px;padding:16px 16px 8px;background:#f7faff}
.home-brandbar>img {display:block;width:166px;height:auto;aspect-ratio:80/21;object-fit:contain;object-position:left center;flex:0 0 auto}
.home-client-type {display:flex;align-items:center;gap:6px;max-width:146px;padding:6px 10px;border-radius:22px;background:#e5f0ff;color:#064eae;font-size:13px;font-weight:600;line-height:20px}
.home-client-type>span {overflow-wrap:anywhere;min-width:0}.home-client-type>svg {flex:0 0 auto}
#app:has(.home-page) {background:linear-gradient(125deg,#f7faff,#f4f8ff)}
.page.home-page {padding:12px 11px calc(100px + env(safe-area-inset-bottom));gap:12px}
.home-page .home-head {display:block;padding:0 5px 5px;margin:0;background:none;color:#10213b}
.home-greeting {font-size:34px;font-weight:800;line-height:1.25;overflow-wrap:anywhere;text-wrap:pretty}
.home-page .home-intro {font-size:17px;line-height:26px;margin:4px 0 0;color:#687588}
.home-notice {border-radius:12px;background:#fff;border:0;padding:10px 12px;min-height:48px;color:var(--sub);display:flex;align-items:center;gap:10px;text-align:left}
.home-notice>.home-notice-icon {width:28px;flex:0 0 28px;color:#0670ee;display:flex;align-items:center;justify-content:center}
.home-notice>b {font-size:16px;font-weight:700;line-height:24px;color:#152b4b;white-space:nowrap;padding-right:10px;border-right:1px solid #d5deeb}
.home-notice>span:not(.home-notice-icon) {font-size:14px;line-height:24px;color:#687588;min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.home-notice>svg {flex:0 0 auto}
.home-mall {position:relative;border:0;border-radius:11px;overflow:hidden;background:var(--navy);box-shadow:none}
.home-mall>img {width:100%;height:auto;aspect-ratio:804/420;object-fit:cover;display:block;border-radius:0}
.home-mall-info {position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;padding:20px 16px;text-align:left}
.home-mall-info>span:first-child {flex:0}
.home-mall-info b {font-size:32px;line-height:1.4;color:#fff;font-weight:800}
.home-mall-info small {display:block;margin-top:4px;font-size:14px;line-height:22px;color:#f1f5fc}
.mall-cta {font-size:15px;line-height:22px;font-weight:600;color:#fff;background:linear-gradient(110deg,#1474eb,#084fab);border:1px solid #77aaff;border-radius:24px;padding:6px 14px;gap:10px}
.banner-controls {display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:6px 10px;background:#fff}
.banner-controls button {min-height:36px;border:0;background:#fff;color:var(--blue);font-size:11px;padding:6px}
.banner-controls span {font-size:11px;color:var(--sub)}
/* Register35: hide only the old home marketing carousel, not notices or mall art. */
.home-page .banner-box {display:none}
.home-services.card.fidelity-stack {padding:0 2px;border:0;background:transparent;box-shadow:none;gap:10px;margin-top:10px}
.home-services-heading {padding:0 3px 10px;position:relative}
.home-services-heading::after {content:'';position:absolute;bottom:0;left:3px;width:22px;height:3px;border-radius:2px;background:#c9a44b}
.home-services h2 {font-size:26px;line-height:36px;margin:0;color:#11233d;font-weight:800}
.home-services-heading p {font-size:14px;line-height:23px;color:#687588;margin-top:1px}
.home-album-entry {display:flex;align-items:center;gap:12px;padding:14px 16px;text-decoration:none;color:var(--ink)}
.home-album-entry>img {flex:0 0 40px;object-fit:contain}
.home-album-copy {flex:1;min-width:0}
.home-album-copy b {display:block;font-size:16px;line-height:24px;font-weight:600}
.home-album-copy small {display:block;font-size:13px;line-height:20px;color:var(--sub)}
.home-album-entry:active {background:var(--soft)}
.home-service-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.home-service-grid>button {min-height:120px;min-width:0;border:1px solid #d1e4ff;border-radius:9px;padding:10px 3px;background:linear-gradient(135deg,#fbfdff,#eaf4ff);text-align:center;gap:4px;flex-direction:column;justify-content:center}
.home-service-grid b {font-size:16px;font-weight:750;color:#10243f;line-height:22px}
.home-service-grid small {display:block;font-size:12px;font-weight:400;color:#687588;margin-top:0;line-height:18px}
.home-service-icon {width:48px;height:48px;border-radius:0;background:transparent;color:#0963d5;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.home-service-icon svg {width:44px;height:44px}
.home-service-icon img,.home-notice-icon img,.home-client-type img {display:block;width:100%;height:100%;object-fit:contain}
.home-client-type>img {width:20px;height:20px;flex:0 0 20px}
.home-service-grid>button>span:nth-child(2) {min-width:0}
.home-asset.card,.asset-page .asset-card {background:var(--navy);border:0;color:#fff;border-radius:14px;height:auto;min-height:0;padding:24px;margin-top:0}
.home-asset .bal,.asset-page .asset-card .bal {font-size:34px;line-height:1.3;font-weight:650;letter-spacing:0;overflow-wrap:anywhere}
.home-asset .asset-metrics {padding-block:16px;border-color:#ffffff30}
.home-asset .asset-metrics b {font-size:19px;font-weight:550;color:#fff}
.home-asset .home-balance-label,.home-asset .asset-metrics span,.home-asset .home-account-meta,.asset-page .asset-card .form-help {color:#d4dfec}
.home-asset .btn {background:#fff;color:var(--navy)}
.home-asset .btn.ghost {background:#ffffff1f;color:#fff}
.me-page .me-avatar {width:44px;height:44px;background:var(--soft);color:var(--blue);border-radius:10px}
.me-page .me-name {font-size:21px;line-height:1.5}
.me-page .fidelity-link {min-height:58px;padding-block:12px}
/* M02-v11/v12: compact presentation; all account values and existing actions remain. */
.me-page,.asset-page {--blue:#0866e9;--ink:#10213b;--sub:#637188;--line:#d6e4f6;padding-top:8px;gap:12px}
.me-page .card,.asset-page .card {display:block;padding:14px 16px;border:0}
.me-page .card h2,.me-page .card h3,.asset-page .card h2,.asset-page .card h3 {font-size:16px;margin-bottom:4px}
.me-page .home-asset.card,.asset-page .asset-card {background:#eaf3ff;color:var(--ink);padding:14px 16px}
.me-page .me-balance {gap:8px}
.me-page .home-asset .bal,.asset-page .asset-card .bal {font-size:28px;line-height:1.3;margin:4px 0 10px;font-weight:700}
.me-page .asset-metrics {padding-block:0;border:0;margin:8px 0;gap:16px}
.me-page .asset-metrics b {font-size:15px;line-height:22px;font-weight:700;color:var(--ink);margin-top:0}
.me-page .home-balance-label,.asset-page .home-balance-label {color:var(--ink);min-height:44px;font-size:14px;line-height:22px;padding-right:44px}
.me-page .asset-metrics span,.me-page .home-account-meta,.asset-page .asset-card .form-help {color:#586d88}
.me-page .home-account-meta {gap:16px;flex-wrap:wrap;margin:6px 0;font-size:12px}
.me-page .home-balance-label .icon-button,.asset-page .home-balance-label .icon-button {top:0;right:0;color:var(--ink);min-width:44px;min-height:44px;padding:8px}
.me-page .btn-row {gap:8px}
.me-page .me-balance .btn {min-height:44px;font-size:15px;line-height:24px;margin:8px 0 0;padding:8px;background:var(--blue);color:#fff}
.me-page .me-balance .btn.ghost {background:#fff;color:#135cbf;border:1px solid #b8d0ef}
.me-page .fidelity-link {min-height:48px;padding:10px 0}
.me-page .card .fidelity-link b {font-size:14px}
.me-page .me-head {gap:10px}
.me-page .me-head>div:nth-child(2) {flex:1;min-width:0;overflow-wrap:anywhere}
.me-page .me-head .tag {flex:0 0 auto;white-space:nowrap}
.me-page .me-avatar {flex:0 0 44px;background:transparent;color:var(--blue)}
.me-page .me-name {font-size:16px}
.me-page .muted {margin:3px 0;font-size:12px}
.fidelity-link {min-height:44px;padding:16px 0;border-bottom:1px solid #e9eff8;border-radius:0}
.fidelity-link b {font-size:14px;line-height:1.55;font-weight:700}
.me-page .fidelity-link b {font-size:14px;font-weight:550}
.fidelity-link small {font-size:12px;line-height:1.55;margin-top:0;color:var(--sub)}
.trade-page .seg,.seg {padding:4px;gap:4px;border:0;border-radius:10px;background:#eaf1fb}
.seg>button {background:transparent;min-height:44px;padding:8px 12px;font-size:14px;font-weight:400;border-radius:8px;color:#586d88}
.seg>button.on {background:#fff;color:var(--blue);font-weight:700;box-shadow:none}
.trade-policy {margin:8px 0 16px}
.trade-policy button {min-height:44px;font-size:12px;color:var(--blue)}
.trade-form .spec-chips {flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:16px 0}
.trade-form .spec-chip {min-width:52px;min-height:44px;padding:6px 8px;border:1px solid var(--line);font-size:12px;border-radius:8px;background:#fff}
.trade-form .spec-chip.on {border-color:var(--blue);color:var(--blue);background:var(--soft)}
.trade-form .spec-chip::after,.trade-policy button::after {display:none}
.trade-form .field+.form-help {margin-top:8px}
.trade-page #estimateBox .info-row,.trade-page #fundsBox .info-row {padding:12px 0}
.trade-page #estimateBox h3,.trade-page #fundsBox h3 {font-size:16px;font-weight:700;margin:0 0 12px}
.trade-page #estimateBox .form-help {margin:8px 0}
.trade-page>.btn {margin-top:8px}
.quote-card {padding:18px}
/* Register33: reference display only; data ingestion and normal trading quotes stay. */
.quote-page #marketSourcesBoard {display:none}
.quote-status {font-size:11px;gap:8px;flex-wrap:wrap}
.quote-heading {font-size:12px;padding:12px 0;color:var(--sub);border-bottom:1px solid var(--line)}
.quote-heading,.quote-row.price-row {grid-template-columns:minmax(50px,.85fr) minmax(0,1fr) minmax(0,1fr) minmax(46px,.8fr);gap:8px}
.quote-row.price-row {padding:16px 0;border-bottom:1px solid var(--line);min-height:88px;align-items:center}
.quote-row:last-child {border-bottom:0}
.quote-metal b {font-size:14px;font-weight:650}
.quote-row .quote-price {font-size:18px;line-height:1.4;font-weight:650}
.quote-change,.quote-metal small,.quote-range {font-size:11px}
.quote-range {line-height:1.8}
.quote-range .range-high,.quote-range .range-low {display:block}
/* M01-v11 quote layout; all quote values, feed indicators and trade actions stay. */
.quote-page .quote-card {display:block;padding:16px 12px;border:0;box-shadow:none}
.quote-page .quote-card h2 {font-size:18px;line-height:1.4;font-weight:700;margin:0 0 16px}
.quote-page .quote-status {font-size:12px;line-height:1.55;margin-bottom:16px}
.quote-page .quote-status>span:last-child {font-size:12px;line-height:1.55}
.quote-page .quote-status .tag {font-size:12px;line-height:1.55;font-weight:400;padding:4px 8px}
.quote-page .quote-heading,.quote-page .quote-row.price-row {grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;text-align:right}
.quote-page .quote-heading {padding:10px 4px;background:#edf4fd;color:#586d88;border:0;font-size:12px;line-height:1.55}
.quote-page .quote-row.price-row {min-height:90px;padding:16px 4px;border-bottom:1px solid #e7eef8;box-shadow:none;font:inherit}
.quote-page .quote-metal {text-align:left}
.quote-page .quote-metal b {font-size:14px;font-weight:700}
.quote-page .quote-change {font-size:14px;line-height:1.55}
.quote-page .quote-metal small {font-size:10px;color:var(--sub)}
.quote-page .quote-row .quote-price {font-size:15px;font-weight:700;white-space:normal;overflow-wrap:anywhere}
.quote-page .quote-range,.quote-page .quote-range span {font-size:12px;line-height:1.55;color:var(--ink)}
.order-card {border-radius:14px;box-shadow:none}
.order-card-head {align-items:flex-start;gap:12px}
.order-card h3 {font-size:16px}
.order-card-amount {font-weight:650;font-variant-numeric:tabular-nums}
.order-card-meta {line-height:1.7;overflow-wrap:anywhere}
/* M02-v11 order cards: retain every status, estimate and confirmation action. */
[data-order-live-status]:empty {display:none}
.orders-page .order-card {display:block;padding:20px;border:0;box-shadow:none}
.orders-page .order-card-tags {gap:8px;margin-bottom:12px}
.orders-page .order-card .tag {font-size:12px;line-height:1.55;font-weight:400;padding:4px 8px}
.orders-page .order-card-title {font-size:20px;line-height:1.4;font-weight:700;min-height:44px;margin-bottom:12px;color:var(--ink)}
.orders-page .order-card .info-row {padding:12px 0;border-bottom:1px solid #e9eff8;font-size:14px;line-height:1.55}
.orders-page .order-card .info-row b {font-size:14px;line-height:1.55;font-weight:700}
.orders-page .order-card-meta {font-size:13px;line-height:1.7;margin:8px 0;color:var(--sub)}
.orders-page .order-card-actions {gap:12px;margin:0;padding:0;border:0;justify-content:flex-start}
.orders-page .order-card-actions .btn-mini {flex:0 1 auto;min-height:44px;margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:8px;box-shadow:none;background:#fff;color:var(--blue);font:inherit}
.orders-page .order-card-actions .btn-mini.danger {color:var(--up)}
.orders-page .seg>button {min-height:44px;font-size:14px}
.orders-page .seg>button.on {font-weight:700}
@media(hover:hover) {.orders-page .order-card-actions .btn-mini:not(:disabled):hover {background:var(--soft)}.orders-page .order-card-actions .btn-mini.danger:not(:disabled):hover {background:#fff0f2}}
.qz-banner {border-radius:14px;box-shadow:none;overflow:hidden}
.qz-banner img {display:block;width:100%;height:auto;aspect-ratio:5/2;object-fit:cover}
.shop-head {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;min-height:68px;align-items:center;margin-bottom:16px;background:var(--bg)}
.shop-head h1 {font-size:20px;line-height:1.4;color:var(--ink);font-weight:700;text-align:center;min-width:0;overflow-wrap:anywhere}
.shop-head .shop-quiet {min-width:44px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink)}
#phone .shop-head {height:auto;min-height:68px;padding:12px 16px;margin:-16px calc(-1 * var(--page-gutter,16px)) 16px;gap:12px;background:var(--bg)}
#phone .shop-head h1 {font-size:20px;line-height:1.4;font-weight:700}
#phone .shop-head button {width:44px;height:44px;min-width:44px;min-height:44px;padding:0;display:flex;align-items:center;justify-content:center}
#phone .shop-search-input>input {font-size:16px;border-color:var(--control-border);padding-left:40px}
.shop-categories {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:20px 0 24px}
.shop-categories button {display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;min-height:76px;padding:4px 0;border:0;background:transparent;font-size:12px;color:var(--ink);line-height:1.5}
.shop-categories .ic {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--soft);color:var(--blue)}
.shop-home-page .qz-banner img {aspect-ratio:1732/908;object-fit:contain}
.shop-home-page .shop-categories .ic {background:#e9f2ff;flex:0 0 44px}
.shop-home-page .shop-categories img {display:block;width:44px;height:44px;object-fit:contain}
.shop-select-row {align-items:center;gap:8px;margin:18px 0 14px}
.shop-select-row .sec-title {font-size:18px;font-weight:650;margin:0;color:var(--ink)}
.shop-select-row .shop-quiet {min-height:44px;color:var(--blue);font-size:13px}
.shop-grid {gap:12px}
.shop-product {border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:none;overflow:hidden;min-width:0}
.shop-product img {aspect-ratio:1/1;object-fit:contain}
#phone .shop-info {padding:12px;text-align:left}
#phone .shop-info h3 {font-size:15px;color:var(--ink);line-height:1.5}
#phone .shop-stock {font-size:11px;color:var(--sub);line-height:1.7}
#phone .shop-price {color:var(--ink);font-variant-numeric:tabular-nums}
.shop-qty button {min-width:40px;min-height:44px}
.shop-sidebar button {min-height:48px;font-size:13px}
.shop-sidebar button.on {background:var(--soft);color:var(--blue);font-weight:600}
/* Category/filter reference: controls above a full-width product grid. */
#phone .shop-category-layout {display:block;min-width:0}
#phone .shop-category-layout .shop-sidebar {display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;margin:20px 0 16px}
#phone .shop-category-layout .shop-sidebar button {min-width:54px;min-height:44px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:8px 12px;font-size:14px}
#phone .shop-category-layout .shop-sidebar button.on {color:var(--blue);font-weight:700}
#phone .shop-category-title {font-size:18px;line-height:1.4;font-weight:700;color:var(--ink);margin:0 0 16px}
#phone .shop-category-layout .shop-cover,#phone .shop-category-layout .shop-cover-empty {height:166px}
#phone .shop-product>.shop-cover-empty {background:var(--soft);color:#4083ca}
#phone .shop-category-layout .shop-info {padding:16px 12px}
#phone .shop-category-layout .shop-price {font-size:20px;color:var(--ink)}
#phone .shop-filter-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#phone .shop-filter-grid button {display:flex;flex-direction:row;gap:6px;min-height:44px;padding:8px 6px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14px;line-height:1.55}
#phone .shop-filter-grid button.on {color:var(--blue);font-weight:700;border-color:var(--line);box-shadow:none}
#phone .shop-filter-grid svg {flex:0 0 22px;color:inherit}
#phone .shop-filter-metals {gap:6px;background:transparent;padding:0}
#phone .shop-filter-metals button {flex:0 1 auto;min-width:54px;min-height:44px;padding:8px 12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14px}
#phone .shop-filter-metals button.on {color:var(--blue);font-weight:700}
.shop-filter-grid button {background:#fff;border-color:var(--line);color:var(--ink)}
.shop-filter-grid button.on {border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.shop-filter-grid svg {color:var(--blue)}
.shop-empty {padding:56px 20px;line-height:1.8;color:var(--sub)}
.shop-price {color:var(--ink);font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}
#phone .shop-row {align-items:baseline;gap:16px;margin:0;padding:12px 0;border-bottom:1px solid #e9eff8;font-size:14px;line-height:1.55}
#phone .shop-row:last-child {border-bottom:0}
#phone .shop-row>span {font-size:14px;flex:1 1 36%;min-width:0;overflow-wrap:anywhere}
#phone .shop-row>b {flex:0 1 auto;max-width:64%;min-width:0;font-size:14px;font-weight:700;overflow-wrap:anywhere}
#phone .shop-product-page .shop-product-title {font-size:18px;line-height:1.4;color:var(--ink);font-weight:700}
#phone .shop-product-page .shop-price {font-size:20px;line-height:1.55;font-weight:700;color:var(--ink);margin:0}
#phone .shop-product-page .shop-gallery {height:240px;margin:0;background:var(--soft);border-radius:12px}
#phone .shop-product-page .shop-gallery img,#phone .shop-product-page .shop-gallery .shop-cover,#phone .shop-product-page .shop-gallery .shop-cover-empty {height:240px;max-height:240px;min-height:0;padding:0;object-fit:contain;background:var(--soft)}
#phone .shop-product-page .shop-row {font-size:14px;line-height:1.55;margin:0;padding:12px 0;gap:16px}
#phone .shop-product-page .shop-row>b {font-size:14px;font-weight:700}
#phone .shop-qty {gap:8px;flex-wrap:nowrap}
#phone .shop-qty button {width:44px;min-width:44px;min-height:44px;padding:6px;border-radius:8px;background:#fff;color:var(--ink)}
#phone .shop-qty input {width:64px;min-height:46px;padding:10px 8px;border-color:#b9cce5}
#phone .shop-cart-page .shop-cart-caption {font-size:18px;font-weight:700;line-height:1.4;margin:0 0 16px}
#phone .shop-cart-page .shop-cart-line {display:flex;align-items:flex-start;gap:16px;padding:16px;margin:16px 0;border:0;border-radius:12px;background:#fff}
#phone .shop-cart-page .shop-cart-line>div:last-child {display:block;flex:1;min-width:0}
#phone .shop-cart-page .shop-cart-line>img,#phone .shop-cart-page .shop-cart-line>.shop-cover-empty {width:80px;height:80px;flex:0 0 80px;object-fit:contain;border-radius:0;background:var(--soft)}
#phone .shop-cart-page .shop-selected-name {padding:0;min-height:44px}
#phone .shop-cart-page .shop-selected-name b {font-size:14px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}
#phone .shop-cart-page .shop-selected-name .qz-check {margin:0;align-items:center;gap:8px}
#phone .shop-cart-page .shop-cart-line>div:last-child>.muted {font-size:13px;margin:8px 0;line-height:1.7;overflow-wrap:anywhere}
#phone .shop-cart-page .shop-cart-line .shop-row {padding:12px 0;gap:12px;align-items:center}
#phone .shop-cart-page .shop-cart-line .shop-quiet {position:static;min-height:44px;min-width:44px;padding:4px;font-size:13px}
#phone .shop-cart-page .shop-cart-line .shop-qty {justify-content:flex-start;gap:8px;flex-wrap:wrap}
#phone .shop-cart-page .shop-qty input {width:64px}
#phone .shop-cart-page .shop-price {font-size:20px;font-weight:700;color:var(--ink);white-space:normal;overflow-wrap:anywhere}
#phone .shop-cart-page input[type=checkbox] {width:20px;height:20px;min-height:20px;accent-color:var(--blue)}
#phone .shop-cart-page .shop-summary-bar {width:min(calc(100% - 32px),736px);border:0;box-shadow:none}
#phone .shop-summary-bar [data-shop-total] {color:var(--ink);font-size:18px;font-weight:700}
#phone .shop-order-card {padding:20px;margin-bottom:16px;border:0;border-radius:12px}
#phone .page:has(>.shop-order-filters) {display:block;width:100%;min-width:0}
#phone .shop-order-card>.shop-row:first-child {align-items:flex-start}
#phone .shop-order-card>.shop-row:first-child>b {flex:1;max-width:none;text-align:left}
#phone .shop-order-card>.shop-row:first-child>.tag {flex:0 0 auto;white-space:nowrap}
#phone .shop-order-filters button {min-height:44px;padding:8px 12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:12px;border-radius:8px}
#phone .shop-order-filters button.on {background:var(--soft);color:var(--blue);border-color:var(--blue)}
#phone .shop-checkout-page .card>h3 {font-size:16px;font-weight:700;line-height:1.5;color:var(--ink);margin:0 0 12px}
#phone .shop-checkout-page .shop-stats {justify-content:flex-start;gap:8px;padding:0;margin:12px 0 18px;border-radius:0;background:transparent}
#phone .shop-checkout-page .shop-chip {flex:0 1 auto;min-width:54px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:14px;line-height:1.55}
#phone .shop-checkout-page .shop-chip.on {background:#fff;color:var(--blue);font-weight:700;box-shadow:none}
#phone .shop-checkout-page .shop-cart-line {display:flex;align-items:flex-start;gap:16px;padding:16px;margin:0;border:0;border-radius:0;background:transparent}
#phone .shop-checkout-page .shop-cart-line>div:last-child {display:block;flex:1;min-width:0}
#phone .shop-checkout-page .shop-cart-line>img,#phone .shop-checkout-page .shop-cart-line>.shop-cover-empty {width:80px;height:80px;flex:0 0 80px;object-fit:contain;border-radius:0;background:var(--soft)}
#phone .shop-checkout-page .shop-cart-line .shop-selected-name {min-height:0;margin:0 0 8px;font-size:14px;line-height:1.55}
#phone .shop-checkout-page .shop-cart-line .shop-price {font-size:20px;color:var(--ink)}
.shop-note,.qz-note {border-radius:10px;color:#536783;background:var(--soft);font-size:13px;line-height:1.7;padding:14px;gap:8px}
#phone .shop-note {color:#536783}
.shop-cart-page .shop-note {color:#536783}
.shop-cover-empty {color:#586d88}
.agent-balance .bal-label {color:var(--ink)}
.agent-date-filter {margin-bottom:12px}
.agent-date-filter label {display:grid;gap:8px;font-size:14px;line-height:22px;color:var(--ink)}
.sheet .estimate .muted[style*="var(--up)"],.sheet>.muted[style*="var(--up)"] {color:#b62e42}
.qz-note>svg {color:inherit;margin-top:3px}
.shop-nav {border-top:1px solid var(--line);background:#fff;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
.shop-nav button {min-height:52px}
#phone .shop-nav {width:min(100%,768px)}
#phone .shop-nav button {color:var(--sub);font-size:11px;min-height:52px;border-radius:9px}
#phone .shop-nav button.on {color:var(--blue);font-weight:650;background:var(--soft)}
.tabbar {height:auto;min-height:64px;max-width:768px;padding:8px 4px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #ecf1f8;background:#fff;gap:8px;box-shadow:none}
.tabbar .tab-item {display:flex;flex:1;min-width:0;min-height:48px;flex-direction:column;align-items:center;justify-content:center;padding:4px;border:0;border-radius:8px;gap:4px;color:#6b7789;background:transparent}
.tabbar .tab-item.on {color:var(--blue);background:transparent}
.tabbar .t {font-size:12px;font-weight:400;line-height:1.55;margin:0;white-space:nowrap}
.tabbar .ic,.tabbar .ic svg {height:23px;width:23px}
.tabbar .tab-item.on .t {font-weight:650}
.mask {overscroll-behavior:contain;background:#152c4766}
.sheet {border-radius:16px 16px 0 0;padding:20px 18px calc(24px + env(safe-area-inset-bottom));gap:18px;max-width:768px;background:var(--bg);box-shadow:none;animation:qzSheetIn .18s cubic-bezier(.16,1,.3,1)}
@keyframes qzSheetIn {from {transform:translateY(8px)}to {transform:none}}
.qz-sheet-head {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;margin:-20px -18px 0;height:auto;min-height:68px;padding:12px 18px;border:0;background:var(--bg);color:var(--ink)}
.qz-sheet-head h1,.inner-header h1 {font-size:20px;line-height:1.4;font-weight:700;text-align:center;min-width:0;overflow-wrap:anywhere}
.qz-sheet-head button,.inner-header button {width:44px;min-height:44px;border-radius:8px;color:var(--ink)}
.qz-sheet-head button::after,.inner-header button::after {display:none}
.inner-header {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;margin:0;padding:0 0 16px;height:auto;min-height:60px;background:var(--bg);color:var(--ink)}
.inner-header>.head-more,.qz-sheet-head>.head-more {width:44px;height:44px}
.auth-wrap {background:var(--bg);min-height:100dvh}
.auth-content {display:block;padding:16px;max-width:768px;margin:auto}
.auth-content .auth-card {border:0;border-radius:14px;box-shadow:none;padding:20px;background:#fff;margin:0 0 16px}
.auth-content .card {margin-bottom:16px}
.auth-content .field,.card.fidelity-stack>.field {margin-bottom:18px}
.auth-content .field:last-child,.card.fidelity-stack>.field:last-child {margin-bottom:0}
.sheet .card.fidelity-stack>.field {margin-bottom:18px}
.sheet .card.fidelity-stack>.field:last-child {margin-bottom:0}
.auth-login .auth-card h3 {font-size:16px;line-height:1.55;font-weight:700;margin:0 0 12px}
.auth-login .auth-welcome {font-size:30px;line-height:1.3;font-weight:700;color:var(--ink);margin:20px 0 8px}
.auth-login .auth-sub {font-size:14px;line-height:1.55;margin:0 0 24px;text-align:left;color:var(--sub)}
.auth-login .btn {font-size:16px;font-weight:600;margin:8px 0}
.auth-login .qz-note {margin:16px 0}
.auth-wrap.auth-register>.qz-head,.auth-wrap.auth-login>.qz-head {height:auto;min-height:68px;padding:12px 16px}
.auth-wrap.auth-login>.qz-head>img {width:42px;height:42px;object-fit:contain}
.auth-content .field>label {font-size:14px;line-height:1.55;font-weight:500;margin:0 0 8px;color:var(--ink)}
.qz-password {position:relative;display:flex;align-items:center}
.qz-password input {padding-right:52px}
.qz-password>button {position:absolute;right:4px;top:50%;transform:translateY(-50%);min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink)}
.qz-input-icon>span {color:var(--ink)}
.customer-page .customer-summary {background:var(--soft);color:var(--ink);margin-top:0}
.customer-summary,.credit-summary,.agent-balance {--sub:#586d88}
.customer-page .customer-summary .form-help {color:#586d88}
.customer-page .customer-summary .form-balance {color:var(--ink)}
.customer-summary .form-balance {font-size:32px;line-height:1.5;font-weight:700;margin:8px 0}
.ledger-heading {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;overflow-wrap:anywhere}
.ledger-heading>span {min-width:0;flex:1}.ledger-heading>b {text-align:right;min-width:0;max-width:64%;overflow-wrap:anywhere}
.contract-body {white-space:pre-wrap;line-height:1.9;margin-top:20px;overflow-wrap:anywhere}
/* Connected support v14: keep the original DOM, polling and composer events. */
#phone .support-mobile #supportRoot {border:0;border-radius:0;overflow:visible;background:transparent}
#phone .support-mobile .support-status {padding:0;margin:0 0 14px;border:0;background:transparent;font-size:13px;line-height:1.7;color:var(--sub)}
#phone .support-mobile .support-greeting {padding:14px 16px;margin:0 0 12px;border-radius:12px;background:var(--soft);color:var(--ink);font-size:14px;line-height:1.7}
#phone .support-mobile .support-greeting:empty {display:none}
#phone .support-mobile .support-faqs {flex-direction:row;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 16px}
#phone .support-mobile .support-faqs:empty {display:none}
#phone .support-mobile .support-faqs button {min-height:44px;padding:9px 12px;font-size:13px;color:var(--blue);border-color:var(--line);border-radius:8px}
#phone .support-mobile .support-older {min-height:44px;border:0;margin:0 0 12px;padding:8px;background:transparent;font-size:13px;color:var(--blue)}
#phone .support-mobile .support-chat-log {padding:16px;background:#fff;border:1px solid #e1eafa;border-radius:12px;margin:0 0 16px;max-height:420px}
#phone .support-mobile .support-chat-log:empty {height:120px;min-height:120px}
#phone .support-mobile .support-message {margin-bottom:16px}
#phone .support-mobile .support-message:last-child {margin-bottom:0}
#phone .support-mobile .support-message-meta {font-size:12px;color:var(--sub);margin-bottom:4px}
#phone .support-mobile .support-message p {max-width:90%;padding:10px 12px;border:0;border-radius:10px;background:var(--soft);color:var(--ink);font-size:14px;line-height:1.7}
#phone .support-mobile .support-message.from-customer p {border-radius:10px;background:var(--blue);color:#fff}
#phone .support-mobile .support-message.from-auto p {color:#455870;background:#edf2f8}
#phone .support-mobile .support-composer {border:0;border-radius:12px;padding:16px;background:#fff}
#phone .support-mobile .support-composer label {font-size:14px;line-height:1.55;font-weight:500;color:var(--ink);margin-bottom:8px}
#phone .support-mobile .support-composer textarea {min-height:112px;font-size:16px;line-height:1.7;color:var(--ink)}
#phone .support-mobile .support-composer .support-help {font-size:12px;line-height:1.7;color:var(--sub);margin:10px 0}
#phone .support-mobile .support-composer .btn {margin:4px 0 0}
#phone .support-mobile .support-error:not(:empty) {padding:12px 14px;margin-bottom:16px;border-radius:8px;background:#fff0f2;color:#a92b3e;font-size:13px}
.auth-content .qz-auth-intro h2 {font-size:24px;font-weight:650}
.auth-login .auth-brand {display:block;height:auto;min-height:0;padding:0;margin:20px 0;background:transparent;border-radius:0}
.auth-login .auth-brand img {display:block;width:100%;height:auto;max-width:100%;aspect-ratio:80/21;object-fit:contain}
.invite-brand-card .invite-brand {width:280px;height:auto;aspect-ratio:80/21;max-width:100%;object-fit:contain}
.invite-brand-card {min-height:100px}
.empty {padding:56px 16px;color:#60718a;font-size:15px;line-height:1.55}
.sheet .asset-card,.agent-share-page .agent-balance {margin-top:0;background:var(--soft);color:var(--ink)}
.sheet .asset-card .bal,.agent-share-page .agent-balance .bal {font-size:32px;line-height:1.5;font-weight:700;margin:8px 0}
.sheet .asset-card .asset-metrics span,.agent-share-page .agent-balance .asset-metrics span {color:#586d88}
.sheet .asset-card .asset-metrics b,.agent-share-page .agent-balance .asset-metrics b {color:var(--ink);font-size:15px;font-weight:700}
.sheet .credit-summary .bal-label {font-size:14px;line-height:1.55;color:var(--ink)}
.icon-button,.copy-invite {min-width:44px;min-height:44px}
.kyc-upload {border:1px dashed #a7c3ec;border-radius:10px;margin-bottom:12px}
.kyc-upload>label {display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:112px;padding:16px;border-radius:9px}
.kyc-upload>label>svg {color:var(--ink)}
.kyc-upload b {font-size:14px;font-weight:700;line-height:1.55}
.kyc-upload small {font-size:12px;line-height:1.7;color:var(--sub)}
.kyc-upload input[type=file] {position:static;opacity:1;width:100%;height:auto;min-height:44px;padding:8px 0;border:0;border-radius:0;font-size:14px;cursor:pointer}
button:active:not(:disabled) {filter:brightness(.97)}
@media(hover:hover) {.btn:not(.danger):not(.ghost):not(:disabled):hover {background:var(--blue-deep)}.btn.ghost:not(:disabled):hover,.home-service-grid>button:hover,.shop-categories button:hover,.fidelity-link:hover {background:var(--surface-hover)}.home-service-grid>button:hover {border-color:#b6cdec}.shop-product:hover {border-color:#a8c0e3}}
@media(hover:hover) {.home-asset .btn:not(.danger):not(.ghost):not(:disabled):hover {background:#eaf1fb;color:var(--navy)}.home-asset .btn.ghost:not(:disabled):hover {background:#ffffff30;color:#fff}}
@media(prefers-reduced-motion:no-preference) {.btn,.home-service-grid>button,.shop-product,.shop-nav button,.fidelity-link {transition:border-color .18s ease}}
@media(min-width:680px) {body {padding:0}#phone {border:0;border-radius:0;overflow:visible}.qz-head {border-radius:0}}
@media(max-width:360px) {
  .page {--page-gutter:14px;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}.page.home-page {--page-gutter:11px}.card {padding:16px}
  .quote-row .quote-price {font-size:16px}.quote-heading,.quote-row.price-row {gap:5px}
  .home-service-grid>button {padding:10px;gap:8px}
}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {animation:none;transition:none;scroll-behavior:auto}}

/* M01–M08 fidelity review: original native controls and states, presentation only. */
:root {--control-border:#bfd2ef}
input,select,textarea {border-color:var(--control-border);color:var(--ink)}
.field>label,.fidelity-stack .field>label {display:block}
.inner-header,.qz-sheet-head {flex-shrink:0}
.sheet {max-height:calc(100dvh - 16px);overflow-y:auto;scroll-padding-block:16px 28px}
.sheet>.card,.page>.card,.auth-content>.card {min-width:0}
.sheet input,.sheet select,.sheet textarea {scroll-margin-block:88px 28px}
.card>.form-help:last-child,.card>.muted:last-child {margin-bottom:0}
.card>.form-help:first-child {margin-top:0}
.qz-result {text-align:center}
.auth-register .qz-result {text-align:center}
.qz-result .result-icon,.auth-register .qz-result .result-icon,.shop-pending-page .qz-result .result-icon {display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:4px auto 20px;border-radius:50%;background:#e5f1ff;color:var(--blue);font-size:32px;line-height:1}
.qz-result .result-icon svg {width:36px;height:36px}
.qz-result h2,.auth-register .qz-result h2,.shop-pending-page .qz-result h2 {font-size:22px;line-height:1.45;margin:0 0 12px;color:var(--ink)}
.qz-result>.info-row,.qz-result>.shop-row {text-align:left}
.qz-result>.tag {display:inline-flex;margin-top:8px}
.invite-code-row .invite-code {font-weight:500;letter-spacing:1px;color:var(--ink);font-size:28px}
.copy-invite {background:#fff;border:1px solid var(--line);color:var(--ink)}
#phone .shop-row>.tag {flex:0 0 auto;max-width:100%;font-size:12px;padding:4px 8px;line-height:1.55}
#phone .shop-order-card>.shop-row:first-child {border-bottom:0;padding-top:0}
#phone .shop-cart-line>div {min-width:0}
#phone .shop-cart-line b,#phone .shop-order-card b {overflow-wrap:anywhere}
#phone .shop-order-filters {display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px}
#phone .shop-order-filters button {flex:0 0 auto;font-size:13px}
.shop-product-page h2,.shop-product-page h3,.contract-title {overflow-wrap:anywhere}
.shop-checkout-page .card>.field {margin-bottom:18px}
.shop-checkout-page .card>.field:last-child {margin-bottom:0}
.shop-checkout-page .shop-stats {margin-bottom:16px}
.shop-checkout-page .shop-chip {min-height:44px}
.support-mobile .support-message p {overflow-wrap:anywhere}
.support-mobile .support-composer textarea {scroll-margin-bottom:110px}
.shop-summary-bar {padding-bottom:max(12px,env(safe-area-inset-bottom))}
@media(min-width:601px) {.sheet {max-height:calc(100dvh - 24px);border-radius:16px 16px 0 0}}
@media(max-width:360px) {.btn-row .btn {min-width:0;flex:1 1 120px}.seg>button {padding-inline:8px}.home-brandbar {gap:8px}.home-brandbar>img {width:156px}.home-client-type {max-width:126px;padding-inline:8px}}


.support-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 20px}.support-title h1{font-size:24px;font-weight:650;color:#243247;margin:0}.support-title p,.support-help{font-size:12px;line-height:1.8;color:#5e6e83;margin:6px 0 0}.support-alert{margin-bottom:16px}.support-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:600px;height:calc(100dvh - 240px);background:#fff;border:1px solid #e1e7ef;border-radius:14px;overflow:hidden}.support-inbox{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e1e7ef}.support-search{display:flex;flex-wrap:wrap;align-items:center;padding:16px;gap:8px;border-bottom:1px solid #e1e7ef}.support-search>.el-input{flex:1;min-width:120px}.support-search .el-checkbox{width:100%;margin:0}.support-thread-list{flex:1;min-height:0;overflow:auto}.support-thread{display:flex;flex-direction:column;width:100%;gap:5px;text-align:left;border:0;border-bottom:1px solid #edf1f6;background:#fff;padding:16px;cursor:pointer;color:#243247;font:inherit}.support-thread:hover,.support-thread.selected{background:#edf3fc}.support-thread-title{display:flex;align-items:center;gap:8px;width:100%}.support-thread-title b{font-size:14px;font-weight:650;flex:1;min-width:0;overflow-wrap:anywhere}.support-thread-title small{color:#5e6e83;font-size:10px;flex-shrink:0}.support-thread-phone,.support-preview{font-size:12px;color:#5e6e83;line-height:1.7}.support-preview{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.support-unread,.support-waiting{font-size:10px;border-radius:4px;padding:2px 5px;color:#9a273a;background:#fff0f2;white-space:nowrap}.support-waiting{color:#81550f;background:#fff4dd;align-self:flex-start}.support-conversation{display:flex;flex-direction:column;min-height:0;position:relative;min-width:0}.support-conversation>.el-empty{margin:auto}.support-conversation-head{padding:16px 24px;border-bottom:1px solid #e1e7ef}.support-conversation-head h2{font-size:17px;margin:0;color:#243247}.support-conversation-head>span{font-size:12px;color:#5e6e83}.support-chat-log{flex:1;min-height:0;overflow-y:auto;padding:24px;background:#f7f9fc;overscroll-behavior:contain;scroll-padding:12px}.support-message{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px;min-width:0}.support-message-meta{font-size:11px;line-height:1.8;color:#5e6e83;margin-bottom:6px}.support-message p{max-width:85%;margin:0;padding:12px 16px;border:1px solid #dde5ef;border-radius:0 10px 10px 10px;background:#fff;color:#243247;line-height:1.8;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.support-admin .from-staff,.support-mobile .from-customer{align-items:flex-end}.support-admin .from-staff p,.support-mobile .from-customer p{border:0;border-radius:10px 0 10px 10px;background:#205bb2;color:#fff}.support-message.from-auto p{background:#edf2f8;color:#455870;border-style:dashed}.support-composer{background:#fff;border-top:1px solid #e1e7ef;padding:16px 24px}.support-composer label{font-size:13px;font-weight:550;color:#243247;display:block;margin-bottom:8px}.support-composer textarea{display:block;box-sizing:border-box;width:100%;resize:vertical;min-height:80px;max-height:200px;border:1px solid #c8d3e2;border-radius:8px;padding:10px 12px;font:inherit;line-height:1.7;color:#243247;background:#fff}.support-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.support-composer textarea:disabled{background:#f4f6f9}.support-text-action{font:inherit;font-size:12px;color:#205bb2;border:0;background:transparent;cursor:pointer;padding:8px}.support-new{position:absolute;bottom:190px;right:24px;border:1px solid #a7bfdf;background:#fff;color:#205bb2;padding:8px 12px;border-radius:7px;cursor:pointer}.support-setting-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 16px}.support-setting-head h2{font-size:17px;margin:0}.support-settings{max-width:920px}.support-faq-editor{border:1px solid #e1e7ef;border-radius:10px;padding:16px;margin:0 0 16px}.support-faq-editor legend{font-size:13px;padding:0 6px;font-weight:600}.support-mobile #supportRoot{border:1px solid #e1e7ef;border-radius:14px;overflow:hidden;background:#fff}.support-mobile .support-status{font-size:12px;padding:12px 16px;border-bottom:1px solid #e1e7ef;color:#455870;background:#fff}.support-greeting{font-size:14px;line-height:1.8;color:#243247;padding:16px 16px 0;white-space:pre-wrap}.support-faqs{display:flex;flex-direction:column;gap:8px;padding:16px}.support-faqs button{padding:10px 12px;border:1px solid #d2ddeb;border-radius:8px;background:#fff;color:#205bb2;text-align:left;line-height:1.7;font:inherit;font-size:13px;min-height:44px}.support-mobile .support-chat-log{height:320px;max-height:48dvh;min-height:160px;padding:16px}.support-mobile .support-message p{max-width:92%;font-size:14px;padding:10px 12px}.support-mobile .support-composer{padding:16px}.support-mobile .support-composer textarea{font-size:16px}.support-mobile .support-composer .btn{margin-top:12px}.support-error{color:#a92b3e;background:#fff;font-size:12px;padding:0 16px;line-height:1.7;overflow-wrap:anywhere}.support-error:empty{display:none}.support-older{width:100%;border-bottom:1px solid #e1e7ef}.support-mobile [hidden]{display:none}
@media(max-width:900px){.support-workspace{grid-template-columns:240px minmax(0,1fr)}.support-conversation-head,.support-composer{padding:16px}.support-chat-log{padding:16px}}
@media(max-width:600px){.support-title{align-items:flex-start}.support-title h1{font-size:21px}.support-workspace{display:flex;flex-direction:column;height:auto;min-height:0}.support-inbox{border-right:0;border-bottom:1px solid #e1e7ef;max-height:280px}.support-thread-list{min-height:100px}.support-search{padding:12px}.support-conversation{min-height:500px}.support-chat-log{max-height:48dvh;min-height:220px}.support-message p{max-width:95%}.support-composer>div{align-items:flex-end}.support-title p{max-width:30ch}}
@media(prefers-reduced-motion:reduce){.support-chat-log{scroll-behavior:auto}}
.support-notifications{display:flex;align-items:center;flex-shrink:0}.support-notification-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.support-notification-trigger.icon-btn{position:relative;width:44px;height:44px}.el-notification.support-toast{max-width:calc(100vw - 24px)}.support-connection-dot{position:absolute;right:5px;top:5px;width:7px;height:7px;border-radius:50%;background:#a8640e}.support-notification-popper{max-width:calc(100vw - 24px)}.support-notification-menu{width:340px;max-width:calc(100vw - 26px);max-height:min(480px,70dvh);overflow-y:auto}.support-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;color:#243247}.support-notification-heading>b{font-size:14px}.support-notification-heading>span{font-size:12px;color:#5e6e83}.support-notification-menu .el-dropdown-menu__item{white-space:normal;min-height:44px}.support-notification-row{width:100%;padding:8px 0;line-height:1.7;min-width:0}.support-notification-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.support-notification-row strong{font-size:14px;color:#243247;overflow-wrap:anywhere}.support-notification-row b{color:#a92b3e;font-size:12px;white-space:nowrap}.support-notification-row>span{display:block;font-size:12px;color:#5e6e83}.support-notification-row .support-notification-action{color:#205bb2;margin-top:4px}.support-conversation-head h2:focus-visible{outline:2px solid #205bb2;outline-offset:5px;border-radius:2px}

.contract-signing h3{font-size:17px;margin:28px 0 12px;color:#162b49}.contract-signing .field{margin:16px 0}.contract-type{display:flex;gap:10px}.contract-type .btn{flex:1;min-width:0;padding:12px 8px;font-size:15px}.contract-signing input,.contract-signing select{font-size:16px;min-height:46px;max-width:100%}.contract-canvas{display:block;width:100%;height:auto;aspect-ratio:18/7;border:1px solid #8a9fbb;border-radius:12px;background:#fff;touch-action:none}.contract-pad-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 24px}.contract-pad-tools .btn{width:auto;margin:0;font-size:14px;padding:8px 14px}.contract-photo{margin:20px 0}.contract-photo label{display:block;font-weight:600;margin-bottom:10px;color:#162b49}.contract-photo img{display:block;max-width:100%;max-height:180px;object-fit:contain;margin:8px 0 12px;border-radius:8px}.contract-photo input{width:100%;min-height:44px;color:#425b7c}.contract-photo .form-help{display:block}.contract-bank{margin:24px 0;border-top:1px solid #d6e2ef;border-bottom:1px solid #d6e2ef;padding:16px 0}.contract-bank summary{cursor:pointer;font-weight:600;color:#294e7a;min-height:28px}.contract-signing .qz-check{align-items:flex-start;line-height:1.6;margin:18px 0}.contract-signing .qz-check input{min-height:22px;flex:none}.contract-evidence p{display:flex;gap:12px;justify-content:space-between;overflow-wrap:anywhere}.contract-evidence p span{color:#586d88;flex-shrink:0}.contract-evidence p strong{text-align:right;font-weight:500}.contract-evidence .form-help{display:block;font-size:12px}.contract-signature-image{display:block;width:100%;height:auto;background:#fff}.contract-seal-image{display:block;max-width:100%;max-height:200px}.contract-signing button:focus-visible,.contract-bank summary:focus-visible{outline:3px solid #2878dc;outline-offset:3px}
.contract-pending{display:flex;align-items:center;gap:12px;justify-content:space-between;color:#294e7a;font-size:14px;line-height:1.5}.contract-pending .btn{flex:none;width:auto;margin:0;padding:10px 14px;min-height:44px}
.contract-final-review{padding:16px;background:#eef5fd;color:#162b49;border-radius:12px;margin:20px 0;overflow-wrap:anywhere}.contract-final-review h3{margin-top:0}.contract-final-review p{font-size:15px;line-height:1.6}
.contract-evidence{margin-top:24px}.contract-evidence p{margin:0;padding:10px 0;border-bottom:1px solid #e1eaf4;font-size:14px;line-height:1.6}.contract-evidence h3{margin:24px 0 12px}.contract-evidence p.form-help{border:0;padding-top:20px}

}
@layer previousSample {
/* V4 homepage + pickup: distinct presentation components, no business rule overrides. */
html body #phone#phone#phone #app>.qz4-home{padding:12px 18px 23px;background:#f3f6f8;max-width:100%;display:block}
.qz4-home *, .qz4-pickup *{box-sizing:border-box}.qz4-home svg,.qz4-pickup svg{flex-shrink:0}.qz4-home button{font:inherit}
.qz4-brand{display:flex;justify-content:space-between;align-items:center;height:43px}.qz4-brand>img{width:169px;max-width:57%;height:auto;margin-left:-5px}.qz4-brand>span{font-size:10px;display:flex;align-items:center;gap:4px;color:#678095;border:1px solid #d6e0e7;border-radius:20px;padding:6px 8px}
.qz4-greeting{display:flex;align-items:center;justify-content:space-between;padding:19px 0 18px}.qz4-greeting p{font-size:10px;letter-spacing:1px;color:#8a9aab;margin-bottom:5px}.qz4-greeting h1{font-size:23px;letter-spacing:.5px;font-weight:650;line-height:1.4}.qz4-greeting button{border:1px solid #dce5ec;width:42px;height:42px;border-radius:50%;background:#fff;color:#3a6387;display:grid;place-items:center}
.qz4-capital{position:relative;padding:19px 18px 17px;border:1px solid #1f4462;border-radius:19px;background:linear-gradient(135deg,#14344e 0%,#254d6c 100%);color:#fff;box-shadow:0 12px 28px #1f3b561c;isolation:isolate;overflow:hidden}.qz4-capital:after{content:'';position:absolute;z-index:-1;right:-65px;top:-105px;width:245px;height:245px;border:1px solid #d0e3f30d;border-radius:50%;box-shadow:0 0 0 28px #dae7f505,0 0 0 57px #dae7f503}
.qz4-capital-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.6px;color:#c2d3e1}.qz4-private{display:flex;align-items:center;gap:5px;color:#b7a681;font-size:10px}.qz4-stock{display:flex;align-items:baseline;gap:9px;border:0;background:none;padding:13px 0 1px;color:#fff;width:100%;text-align:left}.qz4-stock strong{font-size:40px;letter-spacing:-.7px;font-weight:550;font-variant-numeric:tabular-nums;line-height:1.2;font-family:Arial,sans-serif}.qz4-stock span{font-size:12px;color:#b1c5d5}.qz4-stock svg{margin-left:auto;align-self:center;color:#a9c0d2}.qz4-capital>p{font-size:9px;color:#90adc4;margin:7px 0 20px;letter-spacing:.3px}
.qz4-trade-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qz4-trade-pair button{border-radius:10px;padding:13px 10px;display:flex;align-items:center;gap:7px;border:1px solid #ffffff38;min-height:48px;font-size:13px;font-weight:600}.qz4-trade-pair button svg:last-child{margin-left:auto}.qz4-primary{background:#f6f9fc;color:#214b71;border-color:#f6f9fc}.qz4-secondary{background:#ffffff0c;color:#eff6fc}
.qz4-notices{margin:13px 0 21px}.qz4-notices .home-notice{display:flex;align-items:center;gap:7px;background:transparent;border:0;padding:0 1px;min-height:28px;box-shadow:none}.qz4-notices .home-notice-icon{display:none}.qz4-notices .home-notice b{font-size:10px;color:#657d91;white-space:nowrap}.qz4-notices .home-notice>span:not(.home-notice-icon){font-size:10px;border-left:1px solid #d6e0e7;padding-left:9px;color:#94a1ae}.qz4-notices .home-notice:before{content:'';width:4px;height:4px;border-radius:50%;background:#b9a16c}.qz4-marquee{font-size:11px;color:#6c7d8d;margin-bottom:14px}
.qz4-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.qz4-section-heading h2{font-size:18px;line-height:1.5;font-weight:650}.qz4-section-heading>span{font-size:10px;color:#94a2af}
.qz4-pickup-card{display:flex;align-items:center;gap:12px;width:100%;border:1px solid #cfdfea;background:linear-gradient(100deg,#e5eef6,#edf4f9);border-radius:15px;padding:17px 14px;text-align:left;color:#244866}.qz4-pickup-symbol{width:44px;height:48px;display:grid;place-items:center;border-radius:12px;background:#d7e6f2;color:#3b719b}.qz4-pickup-card b{font-size:17px;font-weight:650;display:block}.qz4-pickup-card small{font-size:10px;color:#7a8fa2;display:block;margin-top:5px}.qz4-pickup-card em{font-style:normal;font-size:9px;letter-spacing:.4px;color:#547994;display:inline-block;margin-top:9px}.qz4-round-arrow{margin-left:auto;width:29px;height:29px;border:1px solid #c4d7e6;border-radius:50%;display:grid;place-items:center;flex:none}
.qz4-two-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.qz4-two-actions button{position:relative;min-height:89px;border:1px solid #e0e7ed;background:#fff;border-radius:14px;text-align:left;padding:14px 13px 13px 48px;color:#28455e}.qz4-small-symbol{position:absolute;left:13px;top:17px;display:flex;color:#7594ae}.qz4-two-actions b{font-size:13px;font-weight:600;display:block}.qz4-two-actions small{font-size:10px;color:#94a2af;display:block;margin-top:7px}.qz4-two-actions button>svg{position:absolute;right:12px;bottom:14px;color:#a7bac9;width:10px;height:10px}
.qz4-shop{position:relative;display:flex;width:100%;height:125px;overflow:hidden;margin-top:20px;border:1px solid #e0e0db;border-radius:16px;background:#efefea;text-align:left;isolation:isolate}.qz4-shop>span{display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1;padding:16px;width:66%;background:linear-gradient(90deg,#efefea 65%,transparent)}.qz4-shop small{font-size:8px;letter-spacing:2px;color:#9b8e71}.qz4-shop b{font-size:21px;font-weight:500;color:#454b50;margin:6px 0 10px}.qz4-shop em{display:flex;align-items:center;gap:8px;font-size:10px;font-style:normal;color:#8b8d85;white-space:nowrap}.qz4-shop>img{position:absolute;right:-28px;top:0;height:100%;width:auto;max-width:none;filter:saturate(.6)}
.qz4-album{display:flex;align-items:center;justify-content:space-between;color:#637d93;text-decoration:none;font-size:11px;min-height:48px;margin-top:5px}.qz4-album>span,.qz4-album small{display:flex;align-items:center;gap:7px}.qz4-album small{font-size:9px;color:#92a2b0}
.qz4-home button:active{transform:scale(.985);filter:brightness(.97)}
/* Full-screen pickup, isolated from legacy generic sheet/card selectors. */
html body #phone#phone#phone .mask[data-visual-sheet="pickup"]:has(.qz4-pickup){position:fixed;inset:0;left:50%;transform:translateX(-50%);width:min(100%,430px);max-width:430px;height:100dvh;max-height:100dvh;padding:0;overflow:auto;background:#f3f6f8;display:block;z-index:100;border:0;backdrop-filter:none}
html body #phone#phone#phone .mask[data-visual-sheet="pickup"]:has(.qz4-pickup)>.sheet{position:relative;inset:auto;transform:none;max-height:none;min-height:100%;height:auto;max-width:none;width:100%;margin:0;padding:0;background:#f3f6f8;border:0;border-radius:0;box-shadow:none;overflow:visible}
html body #phone#phone#phone .qz4-pickup{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#20394e;background:#f3f6f8;padding:0 0 114px;min-height:100dvh}
html body #phone#phone#phone .qz4-pickup [hidden]{display:none}
html body #phone#phone#phone .qz4-pickup button{font-family:inherit;cursor:pointer;line-height:1.4}
.qz4-pickup-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:7px 13px;background:#f3f6f8f5;backdrop-filter:blur(18px);border-bottom:1px solid #e3e9ee}
html body #phone#phone#phone .qz4-pickup-header h1{font-size:17px;font-weight:600;line-height:1.4;margin:0;padding:0;color:#20394e}
.qz4-pickup-header button{border:0;background:none;min-width:44px;min-height:44px;padding:5px;display:flex;align-items:center;justify-content:center;color:#3d637f;font-size:12px}.qz4-preview-note{text-align:center;font-size:9px;color:#92a0ad;letter-spacing:.3px;padding:9px 12px 0}
.qz4-progress{display:flex;align-items:center;justify-content:center;gap:17px;padding:22px 18px 23px;margin:0;list-style:none;font-size:11px;color:#9cabb7}.qz4-progress li{display:flex;align-items:center;gap:7px}.qz4-progress li>span{width:22px;height:22px;border-radius:50%;border:1px solid #d9e2e9;display:grid;place-items:center;font-size:10px;background:#fff}.qz4-progress i{width:48px;height:1px;background:#dae3ea}.qz4-progress [aria-current=step]{color:#294f72;font-weight:600}.qz4-progress [aria-current=step]>span{color:#fff;background:#244c70;border-color:#244c70}
.qz4-edit-panel,.qz4-review-panel{padding:0 17px}.qz4-form-card{padding:19px 16px;margin-bottom:14px;border:1px solid #e1e8ed;border-radius:17px;background:#fff;box-shadow:0 3px 12px #23425d03}
.qz4-card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:8px}
html body #phone#phone#phone .qz4-card-heading h2{font-size:17px;font-weight:600;line-height:1.4;margin:0;padding:0;border:0;color:#233d53}
.qz4-card-heading>span{color:#a1aeb9;font-size:9px;letter-spacing:.5px}.qz4-metal-row{display:flex;justify-content:space-between;align-items:flex-end;gap:13px}.qz4-metal-row>.qz4-field{width:42%;margin:0}.qz4-available{text-align:right;padding-bottom:6px}.qz4-available>span{font-size:10px;color:#8a9cab;display:block;margin-bottom:6px}.qz4-available>b{font-size:15px;font-weight:500;color:#355b7b;font-variant-numeric:tabular-nums}
html body #phone#phone#phone .qz4-pickup .qz4-field,html body #phone#phone#phone .qz4-delivery-detail>.field{display:block;margin:0 0 13px;padding:0;background:none;border:0;box-shadow:none}
html body #phone#phone#phone .qz4-pickup :is(.qz4-field,.qz4-weight-field,.field)>label{display:block;font-size:11px;font-weight:400;color:#7f91a0;margin:0 0 8px;line-height:1.5}
html body #phone#phone#phone .qz4-pickup :is(.qz4-field,.field)>:is(select,input,textarea){display:block;width:100%;min-height:46px;padding:11px 12px;border:1px solid #dce6ed;border-radius:9px;background:#f8fafc;font-size:13px;line-height:1.7;color:#2c4b64;box-shadow:none;font-family:inherit}
.qz4-weight-field{padding:21px 0 0;margin-top:17px;border-top:1px solid #e8edf2}.qz4-weight-field>div{display:flex;align-items:center;border-bottom:1px solid #c4d2de;padding:0 0 10px;gap:15px}.qz4-weight-field>div>span{font-size:14px;color:#7992a5}
html body #phone#phone#phone .qz4-weight-field input{font-family:Arial,sans-serif;font-variant-numeric:tabular-nums;font-size:36px;line-height:1.25;height:49px;min-height:49px;color:#244966;background:transparent;border:0;box-shadow:none;padding:0;border-radius:0;width:100%;min-width:0;font-weight:500;appearance:textfield}.qz4-weight-field input::-webkit-inner-spin-button{appearance:none}.qz4-weight-field input::placeholder{color:#c0ceda}.qz4-weight-field p{font-size:10px;color:#9aa8b4;margin:10px 0 0;line-height:1.5}
.qz4-delivery-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.qz4-delivery-options>button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:112px;border:1px solid #dfe7ed;border-radius:12px;padding:14px 12px;background:#fff;color:#8598a7;text-align:left}.qz4-delivery-options>button>b{font-size:13px;color:#416078;font-weight:500}.qz4-delivery-options>button>small{font-size:9px;color:#9aabb8}.qz4-delivery-options>button.on{border-color:#7196b5;background:#edf4fa;color:#3b6f96;box-shadow:inset 0 0 0 .3px #7196b5}.qz4-delivery-options>button.on>b{color:#285172}.qz4-radio-dot{position:absolute;right:12px;top:14px;width:13px;height:13px;border:1px solid #cddbe5;border-radius:50%;background:white}.on>.qz4-radio-dot{border:4px solid #537f9f}
html body #phone#phone#phone .qz4-delivery-detail .btn.ghost{display:block;width:auto;min-height:42px;background:none;border:0;color:#5e829f;padding:8px 0;margin:2px 0 0 auto;font-size:11px;box-shadow:none;font-weight:400}.qz4-retain-hint{font-size:9px;color:#9aabb8;line-height:1.6;margin:5px 0 0}.qz4-rule-note{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.8;color:#8c9ba7;margin:3px 5px}.qz4-rule-note>svg{margin-top:2px;color:#9bb0c0}
.qz4-pickup-footer{position:fixed;z-index:8;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);padding:12px 18px max(15px,env(safe-area-inset-bottom));border-top:1px solid #e0e8ee;background:#ffffffed;backdrop-filter:blur(18px)}.qz4-edit-cta{display:flex;align-items:center;gap:16px}.qz4-edit-cta>span{font-size:10px;color:#8a9eae;white-space:nowrap}.qz4-edit-cta>button,.qz4-review-cta>button{display:flex;justify-content:center;align-items:center;gap:12px;border:0;border-radius:11px;background:#214e72;color:#f5f9fd;padding:14px 12px;min-height:48px;font-size:13px;font-weight:500;flex:1}.qz4-review-cta{display:flex;gap:11px}.qz4-review-cta>.qz4-edit-button{background:#eaf0f5;color:#55778f;flex:0 0 74px}
.qz4-review-card{border:1px solid #dce5ec;border-radius:18px;padding:25px 18px 15px;background:#fff;text-align:center}.qz4-review-mark{display:grid;place-items:center;width:53px;height:53px;border:1px solid #d8e5ee;background:#eef5fa;border-radius:16px;margin:0 auto 18px;color:#507e9e}html body #phone#phone#phone .qz4-review-card h2{font-size:21px;font-weight:500;padding:0;border:0;margin:0 0 8px;color:#2b4c66}.qz4-review-card>p{font-size:11px;color:#99a8b5;margin:0 0 25px}.qz4-review-card dl{margin:0;text-align:left;border-top:1px dashed #dce5ec;padding-top:8px}.qz4-review-card dl>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eff3f6;font-size:12px;line-height:1.7}.qz4-review-card dt{color:#8e9eac;flex:none}.qz4-review-card dd{margin:0;color:#2f516c;text-align:right;overflow-wrap:anywhere}.qz4-review-card dd.missing{color:#a27f51}.qz4-review-card>button{border:0;background:none;color:#708fa7;font-size:11px;min-height:44px;margin-top:9px;display:inline-flex;align-items:center;gap:7px}.qz4-review-safety{padding:18px 5px 0;color:#8b9cab;font-size:10px;line-height:1.8}.qz4-review-safety b{font-weight:500;color:#6e899f}.qz4-review-safety p{margin:5px 0 0}#qz4-submit-result:not(:empty){font-size:11px;line-height:1.8;background:#e8f0f6;padding:14px;border-radius:11px;color:#4b6d86;margin-top:16px}
.qz4-pickup button:disabled{opacity:.55;cursor:wait}.qz4-pickup input:focus-visible,.qz4-pickup select:focus-visible{outline:2px solid #82a7c4;outline-offset:2px}.qz4-pickup button:active{filter:brightness(.96)}
@media(max-width:350px){html body #phone#phone#phone #app>.qz4-home{padding-left:13px;padding-right:13px}.qz4-brand>img{width:155px}.qz4-greeting h1{font-size:21px}.qz4-capital{padding:17px 14px}.qz4-trade-pair button{padding:12px 8px;font-size:12px;gap:5px}.qz4-pickup-card{gap:9px;padding:16px 11px}.qz4-pickup-card small{font-size:9px}.qz4-two-actions button{padding-left:43px;padding-right:8px}.qz4-small-symbol{left:11px}.qz4-two-actions b{font-size:12px}.qz4-two-actions small{font-size:9px}.qz4-edit-panel,.qz4-review-panel{padding:0 13px}.qz4-form-card{padding:17px 13px}.qz4-card-heading>span{font-size:8px}.qz4-edit-cta{gap:10px}.qz4-edit-cta>span{font-size:9px}}
/* Critical supporting text remains readable, decorative eyebrow text stays subdued. */
.qz4-capital-top{font-size:12px}.qz4-capital>p{font-size:10px;color:#adc3d4}.qz4-trade-pair button{font-size:14px}.qz4-pickup-card small{color:#526f85;font-size:11px}.qz4-pickup-card em{color:#526f85;font-size:10px}.qz4-two-actions small{color:#60798d;font-size:11px}.qz4-two-actions b{font-size:14px}.qz4-shop em{color:#6f756f;font-size:11px}.qz4-album small{color:#637d91;font-size:10px}
html body #phone#phone#phone .qz4-pickup :is(.qz4-field,.qz4-weight-field,.field)>label{font-size:12px;color:#526878}.qz4-card-heading>span{color:#6d8496;font-size:10px}.qz4-available>span{font-size:11px;color:#637c8f}.qz4-weight-field p{font-size:11px;color:#657e90}.qz4-delivery-options>button>b{font-size:14px}.qz4-delivery-options>button>small{font-size:10px;color:#637f95}.qz4-retain-hint{font-size:11px;color:#637d91}.qz4-rule-note{font-size:11px;color:#5c7488}.qz4-preview-note{color:#667e90;font-size:10px}.qz4-progress{font-size:12px;color:#72889b}.qz4-review-card>p{font-size:12px;color:#687f92}.qz4-review-card dl>div{font-size:13px}.qz4-review-card dt{color:#637b8e}.qz4-review-safety{font-size:11px;color:#5f788c}.qz4-review-safety b{font-size:12px;color:#466780}.qz4-edit-cta>span{color:#5e788d;font-size:11px}.qz4-edit-cta>button,.qz4-review-cta>button{font-size:14px}
@media(max-width:350px){.qz4-trade-pair button{font-size:12px}.qz4-pickup-card small{font-size:10px}.qz4-two-actions small{font-size:10px}.qz4-two-actions b{font-size:12px}.qz4-edit-cta>span{font-size:10px}.qz4-edit-cta>button{font-size:12px}}

}

/* QZ UI specification 1.2. Separate semantic tokens even where values coincide. */
:root {
 --qz-brand-primary:#17334d;--qz-brand-deep:#14344e;--qz-background-page:#f3f6f8;--qz-background-surface:#fff;
 --qz-text-primary:#20364a;--qz-text-secondary:#526878;--qz-text-disabled:#7e8e9c;--qz-accent-gold:#b9a16c;
 --qz-border-subtle:#dee5ea;--qz-border-control:#7e8e9c;
 --qz-quote-up:#a9313a;--qz-quote-down:#19704a;--qz-quote-flat:#526878;
 --qz-pnl-positive:#a9313a;--qz-pnl-negative:#19704a;--qz-pnl-zero:#526878;
 --qz-feedback-error:#a9313a;--qz-feedback-success:#19704a;--qz-feedback-unknown:#96520b;
 --qz-workflow-pending:#96520b;--qz-workflow-pending-bg:#fff2e4;--qz-workflow-completed:#19704a;--qz-workflow-completed-bg:#edf7f1;
 --qz-workflow-rejected:#a9313a;--qz-workflow-rejected-bg:#fef1f2;--qz-workflow-cancelled:#a9313a;--qz-workflow-cancelled-bg:#fef1f2;
 --qz-workflow-neutral:#526878;--qz-workflow-neutral-bg:#eef2f5;--qz-risk-warning:#96520b;--qz-risk-error:#a9313a;--qz-attention-unread:#a9313a;
 --qz-action-link:#2459a0;--qz-action-destructive:#a9313a;--qz-focus-inner:#fff;--qz-focus-outer:#17334d;
 --qz-radius-card:16px;--qz-radius-control:12px;--qz-radius-tag:8px;--qz-space-module:24px;--qz-space-card:16px;
 --blue:var(--qz-brand-primary);--blue-deep:var(--qz-brand-deep);--blue-light:#385d7d;--navy:var(--qz-brand-deep);--ink:var(--qz-text-primary);--sub:var(--qz-text-secondary);--line:var(--qz-border-subtle);--bg:var(--qz-background-page);--up:var(--qz-quote-up);--down:var(--qz-quote-down);--gold:var(--qz-accent-gold);--soft:#edf2f6;--softer:#f6f8fa;--control-border:var(--qz-border-control);--grad:var(--qz-brand-primary);
}

/* Shared mobile presentation. Original controllers and state remain authoritative. */
html{font-size:16px;color-scheme:light;scroll-padding-block:80px}body{margin:0;background:var(--qz-background-page);color:var(--qz-text-primary);font:400 16px/1.5 system-ui,-apple-system,"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}*,*::before,*::after{box-sizing:border-box}svg{flex-shrink:0}img{max-width:100%}button,a{color:inherit}button{white-space:normal}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:22px;line-height:30px;font-weight:600}h2{font-size:17px;line-height:24px;font-weight:600}h3{font-size:16px;line-height:24px;font-weight:600}
#phone{max-width:480px;min-height:100dvh;background:var(--qz-background-page);margin:0 auto;box-shadow:none}#app{min-height:100dvh;padding-bottom:calc(80px + env(safe-area-inset-bottom))}.page,.page.fidelity-stack{padding:16px 16px 24px;animation:none}.fidelity-stack{display:flex;flex-direction:column;gap:16px}.fidelity-stack>*{margin-top:0;margin-bottom:0}.card,.card.fidelity-stack{background:var(--qz-background-surface);padding:16px;border:1px solid var(--qz-border-subtle);border-radius:16px;box-shadow:none}.card .card{border:0;box-shadow:none;padding:0}.card h2{font-size:17px;line-height:24px;color:var(--qz-text-primary);font-weight:600;margin:0 0 16px}.card h3{font-size:16px;line-height:24px;color:var(--qz-text-primary);margin:0 0 12px}.sec-title,.section-title{font-size:17px;line-height:24px;font-weight:600;margin:24px 0 12px;color:var(--qz-text-primary)}
.qz-head{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;min-height:56px;height:auto;padding:4px 12px;background:var(--qz-background-page);border-bottom:1px solid var(--qz-border-subtle);box-shadow:none}.qz-head h1{margin:0;padding:0;min-width:0;font-size:22px;line-height:30px;font-weight:600;color:var(--qz-text-primary);text-align:center}.qz-head>button,.qz-head .icon-button{width:48px;height:48px;min-height:48px;border:0;background:transparent;color:var(--qz-brand-primary);padding:12px}.qz-head>img[data-mobile-brand]{width:48px;height:36px;object-fit:contain}.qz-head>.head-more{width:48px;visibility:hidden}#app:has(.qz4-home)>header{display:none}
:is(.btn,.btn-mini,.btn.small){min-height:48px;border:1px solid transparent;border-radius:12px;background:var(--qz-brand-primary);color:#fff;font-size:16px;line-height:24px;font-weight:600;padding:11px 16px;box-shadow:none;transition:background .18s,transform .18s}.btn{width:100%}.btn:hover{background:#244b6b}.btn:active{background:#10283e;transform:translateY(1px)}.btn.ghost,.btn.small.ghost{background:#fff;color:var(--qz-brand-primary);border-color:var(--qz-border-control);font-weight:500;box-shadow:none}.btn.ghost:hover{background:#f0f4f7}.btn.ghost:active{background:#e4ecf2}.btn:disabled,.btn-mini:disabled{background:#e8edf1;color:#647685;border-color:#d0dbe3;opacity:1;box-shadow:none;transform:none}.btn-row{display:flex;gap:12px;align-items:stretch}.btn-row>.btn{min-width:0;flex:1}.icon-button{min-width:48px;min-height:48px;border:0;background:transparent;padding:12px;color:var(--qz-brand-primary)}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{display:block;width:100%;min-height:48px;font-size:16px;line-height:24px;color:var(--qz-text-primary);background:#fff;border:1px solid var(--qz-border-control);border-radius:12px;padding:11px 12px;box-shadow:none;font-weight:400;min-width:0}textarea{min-height:112px;resize:vertical}input::placeholder,textarea::placeholder{color:var(--qz-text-secondary);opacity:1}input:disabled,select:disabled,textarea:disabled{background:#edf1f4;color:#647685;border-color:#b6c4ce;opacity:1}.field,.fidelity-stack .field{margin-bottom:16px}.field:last-child{margin-bottom:0}.field>label,.fidelity-stack .field>label{display:block;font-size:14px;line-height:20px;font-weight:500;color:var(--qz-text-secondary);margin:0 0 8px}.qz-password button{min-width:44px;min-height:44px;color:var(--qz-text-secondary)}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-width:20px;accent-color:var(--qz-brand-primary)}
.muted,.form-help,.policy-copy,.compact-note{font-size:14px;line-height:20px;color:var(--qz-text-secondary)}.form-help{margin:8px 0}.policy-copy{margin:12px 0;line-height:24px}.qz-note{display:flex;align-items:flex-start;gap:8px;padding:12px;border:1px solid var(--qz-border-subtle);background:#edf3f7;border-radius:12px;font-size:14px;line-height:20px;color:var(--qz-text-secondary)}.qz-note>svg{margin-top:2px;color:var(--qz-text-secondary)}.info-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--qz-border-subtle);font-size:14px;line-height:22px}.info-row:last-child{border-bottom:0}.info-row>span{color:var(--qz-text-secondary);flex:1 1 45%;min-width:0;overflow-wrap:anywhere}.info-row>b{color:var(--qz-text-primary);font-size:16px;line-height:24px;font-weight:500;text-align:right;max-width:65%;min-width:0;overflow-wrap:anywhere}.num,.bal,.form-balance{font-variant-numeric:tabular-nums}.form-balance{font-size:32px;line-height:40px;font-weight:600;color:var(--qz-brand-primary);overflow-wrap:anywhere}
.seg{display:flex;gap:4px;padding:4px;background:#e8eef3;border:1px solid #d5e0e8;border-radius:14px;box-shadow:none}.seg>button{flex:1;min-width:0;min-height:48px;padding:10px 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--qz-text-secondary);font-size:14px;line-height:20px;font-weight:500}.seg>button.on{background:#fff;border-color:#c2d0dc;color:var(--qz-brand-primary);box-shadow:0 1px 3px #17334d0b}.seg>button:disabled{opacity:1;color:#7e8e9c;background:#eef2f5}.chip-row{gap:8px;flex-wrap:wrap}.chip-row>button,.chips>button{min-height:44px;min-width:44px;border-radius:10px;border:1px solid #aebfcd;background:#fff;color:var(--qz-brand-primary);padding:8px 12px;font-size:14px}
.tag{font-size:13px;line-height:20px;font-weight:500;padding:3px 8px;border-radius:8px;white-space:normal;display:inline-flex;align-items:center;max-width:100%;background:var(--qz-workflow-neutral-bg);color:var(--qz-workflow-neutral);vertical-align:middle}.tag.warn{color:var(--qz-workflow-pending);background:var(--qz-workflow-pending-bg)}.tag.ok{color:var(--qz-workflow-completed);background:var(--qz-workflow-completed-bg)}.tag.bad{color:var(--qz-workflow-rejected);background:var(--qz-workflow-rejected-bg)}
.fidelity-link,.nav-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:64px;border:0;border-bottom:1px solid var(--qz-border-subtle);border-radius:0;background:transparent;text-align:left;padding:12px 0;color:var(--qz-text-primary)}.fidelity-link>span{min-width:0}.fidelity-link b{display:block;font-size:16px;line-height:24px;font-weight:500;color:var(--qz-text-primary)}.fidelity-link small{display:block;font-size:14px;line-height:20px;color:var(--qz-text-secondary);margin-top:4px}.fidelity-link>svg{color:var(--qz-action-link)}.fidelity-link:active{background:#edf3f7}.card.fidelity-link{padding:16px;border:1px solid var(--qz-border-subtle);border-radius:16px}.empty{font-size:14px;line-height:22px;color:var(--qz-text-secondary);padding:32px 20px;text-align:center}.toast{z-index:120;max-width:min(400px,calc(100% - 32px));font-size:14px;line-height:22px;border-radius:12px;padding:12px 16px;background:#17334df5;color:white;animation:none;box-shadow:0 8px 24px #17334d24}
.mask{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;padding:48px 0 0;background:#132b4166;overflow:auto}.mask>.sheet{position:relative;inset:auto;transform:none;width:min(100%,480px);max-width:480px;max-height:calc(100dvh - 48px);height:auto;min-height:0;margin:0;padding:16px 16px calc(24px + env(safe-area-inset-bottom));border:1px solid #d3dee6;border-radius:24px 24px 0 0;background:var(--qz-background-page);box-shadow:0 -12px 40px #132b4120;overflow:auto}.sheet>h3{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:22px;line-height:30px;font-weight:600;color:var(--qz-text-primary);padding:0 0 16px;margin:0}.sheet .x{display:inline-flex;justify-content:center;align-items:center;min-height:48px;min-width:48px;font-size:22px;border:0;background:transparent;color:var(--qz-brand-primary);margin:-8px -8px -8px 0}.sheet>.card{margin-bottom:16px}.sheet>.btn{margin-top:16px}.sheet .fidelity-stack{gap:16px}.sheet h2{font-size:17px;line-height:24px;font-weight:600}.sheet .info-row{font-size:14px}.sheet .qz-head{margin:-16px -16px 16px;border-radius:24px 24px 0 0;padding:8px 12px}.sheet .qz-result{padding:16px;font-size:16px;line-height:24px}
#phone .tabbar{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:480px;min-height:calc(56px + env(safe-area-inset-bottom));height:auto;padding:4px 8px calc(4px + env(safe-area-inset-bottom));display:flex;align-items:stretch;gap:0;border:0;border-top:1px solid var(--qz-border-subtle);border-radius:0;background:#fffffffa;backdrop-filter:blur(16px);box-shadow:none;z-index:50}#phone .tabbar .tab-item{position:relative;display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:2px 0;min-width:0;min-height:48px;border:0;border-radius:0;background:transparent;color:var(--qz-text-secondary);font-weight:500}#phone .tabbar .tab-item.on{color:var(--qz-brand-primary);background:transparent}#phone .tabbar .tab-item.on:before{content:'';position:absolute;top:-4px;left:50%;width:20px;height:2px;transform:translateX(-50%);background:var(--qz-brand-primary);border-radius:2px}#phone .tabbar .t{font-size:12px;line-height:18px}#phone .tabbar .ic,#phone .tabbar .ic svg{width:22px;height:22px}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--qz-focus-outer);outline-offset:2px;box-shadow:0 0 0 2px var(--qz-focus-inner)}[hidden]{display:none!important}[aria-invalid=true]{border-color:var(--qz-feedback-error)}
@media(max-width:360px){.form-balance{font-size:28px;line-height:36px}.info-row{gap:12px}.btn-row{flex-wrap:wrap}.btn-row>.btn{flex-basis:130px}.seg>button{padding-inline:6px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid Highlight;box-shadow:none}}
/* Sheet headers no longer inherit negative-width legacy offsets. */
.sheet .qz-sheet-head{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;position:sticky;top:0;left:auto;right:auto;transform:none;width:auto;min-width:0;max-width:100%;height:auto;min-height:56px;margin:0 0 16px;padding:4px 0;border:0;background:var(--qz-background-page);z-index:2}.qz-sheet-head h1{margin:0;padding:0;font-size:22px;line-height:30px;font-weight:600;text-align:center;color:var(--qz-text-primary);min-width:0;overflow-wrap:anywhere}.qz-sheet-head>button{width:48px;height:48px;min-width:48px;min-height:48px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:var(--qz-brand-primary);padding:12px}.qz-sheet-head>.head-more{width:48px;visibility:hidden}.qz-sheet-head>button>svg{width:24px;height:24px}

/* Preserve original one-step pickup DOM and submission; style its existing groups only. */
.mask[data-visual-sheet=pickup]:not(:has(.qz4-pickup))>.sheet{display:block}.mask[data-visual-sheet=pickup]:not(:has(.qz4-pickup)) .btn.ghost{margin-top:8px}

/* V4 information hierarchy, normalized to specification 1.2 dimensions and contrast. */
#app>.qz4-home{padding:16px 16px 24px;background:var(--qz-background-page);min-height:calc(100dvh - 80px)}.qz4-brand{min-height:48px;height:auto;gap:12px}.qz4-brand>img{width:176px;height:auto;max-width:58%;margin:0;object-fit:contain}.qz4-brand>span{font-size:12px;line-height:18px;color:var(--qz-text-secondary);padding:6px 8px;border-color:#b8c7d2}.qz4-greeting{padding:24px 0}.qz4-greeting p{font-size:12px;line-height:18px;color:var(--qz-text-secondary);letter-spacing:.5px;margin-bottom:4px}.qz4-greeting h1{font-size:22px;line-height:30px;font-weight:600;letter-spacing:0}.qz4-greeting button{width:48px;height:48px;min-width:48px;border:1px solid var(--qz-border-control);color:var(--qz-brand-primary)}
.qz4-capital{border-radius:16px;padding:20px 16px 16px;box-shadow:none;background:linear-gradient(125deg,#14344e,#234b6b);border:0;color:white}.qz4-capital-top{font-size:14px;line-height:20px;color:#d3e0e9;letter-spacing:0}.qz4-private{font-size:12px;color:#d3c29d}.qz4-stock{padding:12px 0 4px;min-height:52px}.qz4-stock strong{font:600 32px/40px system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0;overflow-wrap:anywhere}.qz4-stock span{font-size:14px;line-height:20px;color:#c5d6e3}.qz4-capital>p{font-size:12px;line-height:18px;color:#bdcfdd;margin:4px 0 20px;letter-spacing:0}.qz4-trade-pair{gap:12px}.qz4-trade-pair button{min-height:48px;line-height:24px;font-size:16px;font-weight:600;padding:12px 10px;border-radius:12px;gap:8px}.qz4-primary{background:#fff;color:#17334d}.qz4-secondary{background:#ffffff0b;color:#fff;border-color:#9bb4c8}.qz4-trade-pair svg:last-child{width:12px}
.qz4-notices{margin:16px 0 24px}.qz4-notices .home-notice{display:flex;gap:8px;background:transparent;border:0;box-shadow:none;padding:0;min-height:44px}.qz4-notices .home-notice b,.qz4-notices .home-notice>span:not(.home-notice-icon){font-size:12px;line-height:18px;color:var(--qz-text-secondary)}.qz4-notices .home-notice-icon{display:none}.qz4-marquee{font-size:14px;line-height:20px;color:var(--qz-text-secondary)}.qz4-section-heading{margin-bottom:12px}.qz4-section-heading h2{font-size:17px;line-height:24px;font-weight:600}.qz4-section-heading>span{font-size:12px;line-height:18px;color:var(--qz-text-secondary)}
.qz4-pickup-card{padding:16px;gap:12px;border-radius:16px;min-height:120px;border:1px solid #b2c7d8;background:#e9f1f7}.qz4-pickup-symbol{width:44px;min-width:44px;height:48px;color:#376488;background:#dce8f1}.qz4-pickup-card b{font-size:17px;line-height:24px;font-weight:600}.qz4-pickup-card small{font-size:14px;line-height:20px;color:var(--qz-text-secondary);margin-top:4px}.qz4-pickup-card em{font-size:12px;line-height:18px;color:var(--qz-text-secondary);margin-top:8px}.qz4-round-arrow{width:28px;min-width:28px;height:28px;color:#376488;border-color:#9eb5c7}.qz4-two-actions{gap:12px;margin-top:16px}.qz4-two-actions button{min-height:112px;border-radius:16px;border:1px solid var(--qz-border-subtle);padding:16px 12px 16px 44px}.qz4-small-symbol{left:12px;top:18px;color:#56778f}.qz4-small-symbol>svg{width:22px}.qz4-two-actions b{font-size:14px;line-height:20px;white-space:normal;font-weight:600}.qz4-two-actions small{font-size:12px;line-height:18px;color:var(--qz-text-secondary);white-space:normal;margin-top:8px}.qz4-two-actions button>svg{bottom:12px;right:12px;color:#56778f}
.qz4-shop{height:144px;margin-top:24px;border-radius:16px}.qz4-shop>span{padding:16px}.qz4-shop small{font-size:12px;line-height:18px;color:#74664b;letter-spacing:1px}.qz4-shop b{font-size:22px;line-height:30px;font-weight:600;margin:4px 0 8px}.qz4-shop em{font-size:12px;line-height:18px;color:#52605f}.qz4-album{font-size:14px;line-height:20px;min-height:52px;gap:12px;flex-wrap:wrap;color:var(--qz-action-link)}.qz4-album small{font-size:12px;line-height:18px;color:var(--qz-text-secondary)}
#phone .mask[data-visual-sheet=pickup]:has(.qz4-pickup){position:fixed;inset:0;left:50%;transform:translateX(-50%);width:min(100%,480px);max-width:480px;height:100dvh;max-height:100dvh;padding:0;overflow:auto;background:var(--qz-background-page);display:block;z-index:100;border:0;backdrop-filter:none}#phone .mask[data-visual-sheet=pickup]:has(.qz4-pickup)>.sheet{position:relative;inset:auto;transform:none;max-height:none;min-height:100%;height:auto;max-width:none;width:100%;margin:0;padding:0;background:var(--qz-background-page);border:0;border-radius:0;box-shadow:none;overflow:visible}.qz4-pickup{font-family:inherit;color:var(--qz-text-primary);padding:0 0 calc(96px + env(safe-area-inset-bottom));background:var(--qz-background-page);min-height:100dvh}.qz4-pickup-header{min-height:56px;padding:4px 12px;background:#f3f6f8f8;border-bottom:1px solid var(--qz-border-subtle)}.qz4-pickup-header h1{font-size:22px;line-height:30px;font-weight:600;color:var(--qz-text-primary);margin:0}.qz4-pickup-header button{min-height:48px;min-width:48px;color:var(--qz-action-link);font-size:14px}.qz4-progress{font-size:14px;line-height:20px;color:var(--qz-text-secondary);padding:24px 16px;gap:16px}.qz4-progress li>span{font-size:12px;min-width:24px;width:24px;height:24px;border-color:#a5b8c7}.qz4-progress i{width:32px}.qz4-progress [aria-current=step]{color:var(--qz-brand-primary)}.qz4-progress [aria-current=step]>span{background:var(--qz-brand-primary);border-color:var(--qz-brand-primary)}
.qz4-edit-panel,.qz4-review-panel{padding:0 16px}.qz4-form-card{border:1px solid var(--qz-border-subtle);border-radius:16px;padding:16px;margin-bottom:16px;box-shadow:none}.qz4-card-heading{margin-bottom:20px;gap:12px}.qz4-card-heading h2{font-size:17px;line-height:24px;color:var(--qz-text-primary);font-weight:600;margin:0;padding:0}.qz4-card-heading>span{font-size:12px;line-height:18px;color:var(--qz-text-secondary)}.qz4-metal-row{gap:12px}.qz4-metal-row>.qz4-field{width:42%;margin:0}.qz4-available{padding-bottom:4px}.qz4-available>span{font-size:12px;line-height:18px;color:var(--qz-text-secondary)}.qz4-available>b{font-size:16px;line-height:24px;color:var(--qz-text-primary);font-weight:600}.qz4-pickup :is(.qz4-field,.qz4-weight-field,.field)>label{font-size:14px;line-height:20px;font-weight:500;color:var(--qz-text-secondary);margin-bottom:8px}.qz4-pickup :is(.qz4-field,.field)>:is(select,input,textarea){font-size:16px;line-height:24px;min-height:48px;padding:11px 12px;background:#fff;border:1px solid var(--qz-border-control);border-radius:12px;color:var(--qz-text-primary);font-family:inherit}.qz4-weight-field{margin-top:20px;padding-top:20px}.qz4-weight-field>div{padding-bottom:12px;border-color:var(--qz-border-control)}.qz4-weight-field input{font-size:32px;line-height:40px;min-height:48px;height:48px;padding:0;background:none;border:0;border-radius:0;font-family:inherit;font-weight:600;color:var(--qz-brand-primary);font-variant-numeric:tabular-nums;box-shadow:none}.qz4-weight-field>div>span{font-size:16px;color:var(--qz-text-secondary)}.qz4-weight-field p{font-size:14px;line-height:20px;color:var(--qz-text-secondary);margin-top:8px}.qz4-weight-field input::placeholder{color:#7e8e9c}
.qz4-delivery-options{gap:12px;margin-bottom:20px}.qz4-delivery-options>button{min-height:136px;padding:16px 12px;border:1px solid var(--qz-border-control);border-radius:12px;gap:8px;color:#526878}.qz4-delivery-options>button>b{font-size:16px;line-height:24px;font-weight:500;color:var(--qz-text-primary)}.qz4-delivery-options>button>small{font-size:12px;line-height:18px;color:var(--qz-text-secondary)}.qz4-delivery-options>button.on{border:2px solid #365c7b;padding:15px 11px;background:#edf3f8;color:#365c7b;box-shadow:none}.qz4-radio-dot{border-color:var(--qz-border-control);width:16px;height:16px;right:12px;top:16px}.on>.qz4-radio-dot{border:5px solid #365c7b}.qz4-delivery-detail>.field,.qz4-delivery-detail>.qz4-field{margin:0 0 16px;display:block}.qz4-delivery-detail .btn.ghost{border:0;background:transparent;color:var(--qz-action-link);font-size:14px;line-height:20px;min-height:44px;padding:8px 0;width:auto;margin-left:auto;text-decoration:underline;text-underline-offset:3px}.qz4-retain-hint{font-size:12px;line-height:18px;color:var(--qz-text-secondary);margin-top:8px}.qz4-rule-note{font-size:14px;line-height:20px;color:var(--qz-text-secondary);margin:8px 0 0;gap:8px}
.qz4-pickup-footer{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,480px);min-height:calc(64px + env(safe-area-inset-bottom));padding:6px 16px calc(6px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--qz-border-subtle);z-index:10}.qz4-edit-cta{gap:12px}.qz4-edit-cta>span{font-size:12px;line-height:18px;color:var(--qz-text-secondary);white-space:normal;max-width:70px}.qz4-edit-cta>button,.qz4-review-cta>button{min-height:52px;padding:13px 12px;font-size:16px;line-height:24px;font-weight:600;border-radius:12px;background:var(--qz-brand-primary);color:white}.qz4-review-cta>.qz4-edit-button{flex-basis:68px;background:#fff;color:var(--qz-brand-primary);border:1px solid var(--qz-border-control)}.qz4-review-card{padding:24px 16px 16px;border-radius:16px;border:1px solid var(--qz-border-subtle)}.qz4-review-card h2{font-size:22px;line-height:30px;color:var(--qz-text-primary);font-weight:600;margin:0 0 8px}.qz4-review-card>p{font-size:14px;line-height:20px;color:var(--qz-text-secondary);margin:0 0 24px}.qz4-review-card dl>div{font-size:16px;line-height:24px;padding:12px 0;gap:16px}.qz4-review-card dt{font-size:14px;line-height:24px;color:var(--qz-text-secondary)}.qz4-review-card dd{color:var(--qz-text-primary);min-width:0}.qz4-review-card dd.missing{color:var(--qz-workflow-pending)}.qz4-review-card>button{font-size:14px;min-height:48px;color:var(--qz-action-link);text-decoration:underline;text-underline-offset:3px}.qz4-review-safety{font-size:14px;line-height:20px;color:var(--qz-text-secondary);padding:20px 0 0}.qz4-review-safety b{font-size:14px;color:var(--qz-text-primary);font-weight:600}.qz4-review-safety p{margin-top:8px}
@media(max-width:360px){.qz4-brand>img{width:156px}.qz4-brand>span{font-size:11px}.qz4-stock strong{font-size:28px;line-height:36px}.qz4-trade-pair{gap:8px}.qz4-trade-pair button{font-size:14px;gap:5px;padding:11px 8px}.qz4-trade-pair svg:first-child{width:16px}.qz4-pickup-card{padding:16px 12px;gap:10px}.qz4-pickup-card small{font-size:12px;line-height:18px}.qz4-pickup-symbol{width:36px;min-width:36px}.qz4-two-actions{gap:12px}.qz4-two-actions button{padding:16px 12px 16px 40px}.qz4-small-symbol{left:10px}.qz4-small-symbol>svg{width:20px}.qz4-two-actions small{font-size:12px;line-height:18px}.qz4-card-heading{align-items:flex-start}.qz4-card-heading>span{font-size:12px;max-width:100px;text-align:right}.qz4-progress{gap:12px;font-size:13px}.qz4-progress i{width:20px}.qz4-edit-cta>span{font-size:12px}.qz4-edit-cta>button,.qz4-review-cta>button{font-size:14px}.qz4-review-card dl>div{gap:12px}.qz4-review-card dt{max-width:35%}}

/* Account and catalog surfaces. Financial values remain neutral unless explicitly marked. */
.asset-card,.me-balance{padding:20px 16px;border-radius:16px;background:var(--qz-brand-deep);color:#fff;border:0;box-shadow:none}.asset-card .home-balance-label{display:flex;align-items:center;justify-content:space-between;color:#d0deea;font-size:14px;line-height:20px;padding:0;gap:8px}.asset-card .icon-button{color:#e6eef5}.asset-card .bal{font-size:32px;line-height:40px;font-weight:600;color:white;letter-spacing:0;margin:8px 0 16px;overflow-wrap:anywhere}.asset-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:#fff;padding:16px;border-radius:12px;margin:16px 0;color:var(--qz-text-primary);border:1px solid var(--qz-border-subtle)}.asset-metrics>div{min-width:0}.asset-metrics span{display:block;font-size:14px;line-height:20px;color:var(--qz-text-secondary)}.asset-metrics b{display:block;margin-top:4px;font-size:18px;line-height:26px;color:var(--qz-text-primary);overflow-wrap:anywhere;font-weight:600}.net-account-rate{font-size:14px;line-height:20px;color:#d1dfeb}.net-account-rate b{color:white;font-size:16px}.me-balance .btn-row{margin-top:20px}.me-balance .btn{background:white;color:var(--qz-brand-primary);border-color:white}.me-balance .btn.ghost{background:transparent;color:white;border-color:#a2b9cb}.me-balance .btn:active{background:#dfeaf3;color:var(--qz-brand-primary)}.me-page{gap:24px}.me-navgroup h2{margin-bottom:8px}.me-visual-link{min-height:64px;padding:12px 0;gap:12px}.me-visual-link>span:nth-child(2){flex:1}.me-nav-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;color:#56778f}.me-nav-icon img{height:28px;width:28px;object-fit:contain;content:normal}.me-visual-link b{font-size:16px;line-height:24px;font-weight:500}.me-visual-chevron{width:7px;height:7px;border-right:1.5px solid var(--qz-action-link);border-top:1.5px solid var(--qz-action-link);transform:rotate(45deg);margin-right:4px}
.profile-page .card{padding:16px}.profile-page .info-row{align-items:baseline}.profile-page .info-row>b{font-size:16px}.ledger-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:16px;line-height:24px;flex-wrap:wrap}.ledger-heading>span{font-size:14px;color:var(--qz-text-secondary)}.ledger-heading>b{font-size:18px;font-weight:600;min-width:0;overflow-wrap:anywhere;margin-left:auto}.record-summary{padding:16px 0;border-bottom:1px solid var(--qz-border-subtle);gap:12px}.record-summary:last-child{border-bottom:0}.record-summary .fidelity-link{min-height:48px}.customer-page h3,.commissions-page h3{font-size:17px;line-height:24px}.contract-body{font-size:16px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}.contracts-page .contract-title{font-size:22px;line-height:30px;color:var(--qz-text-primary);font-weight:600}.contracts-page .qz-check{font-size:14px;line-height:22px;gap:12px}.kyc-upload b{font-size:16px;line-height:24px}.kyc-upload small{font-size:14px;line-height:20px;color:var(--qz-text-secondary)}.kyc-upload>label{min-height:80px;padding:16px;gap:12px}.credit-summary{background:var(--qz-brand-primary);padding:16px;border-radius:16px}.credit-summary .bal{font-size:32px;line-height:40px;color:white}.credit-summary .bal-label{font-size:14px;line-height:20px;color:#d0deea}.credit-summary .asset-metrics b{color:var(--qz-text-primary)}.credit-summary .asset-metrics span{font-size:14px;color:var(--qz-text-secondary)}
.shop-head{min-height:56px;padding:4px 0;gap:12px}.shop-head h1{font-size:22px;line-height:30px;color:var(--qz-text-primary);font-weight:600}.shop-head button{min-width:44px;min-height:48px;font-size:14px;color:var(--qz-action-link)}.shop-head+.field{margin-top:12px}.shop-home-page,.shop-category-page,.shop-filter-page,.shop-product-page,.shop-cart-page,.shop-checkout-page,.shop-pending-page{padding:16px 16px calc(96px + env(safe-area-inset-bottom));gap:24px}.shop-hero,.shop-banner{border-radius:16px;overflow:hidden}.shop-section-title{font-size:17px;line-height:24px}.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shop-card{border:1px solid var(--qz-border-subtle);border-radius:16px;background:white;overflow:hidden;box-shadow:none;text-align:left;padding:0;min-width:0}.shop-card h3{font-size:16px;line-height:24px;font-weight:500;color:var(--qz-text-primary);white-space:normal}.shop-card .shop-meta{font-size:12px;line-height:18px;color:var(--qz-text-secondary);white-space:normal}.shop-price,[data-shop-price]{font-size:22px;line-height:30px;font-weight:600;color:var(--qz-text-primary);font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}.shop-card :is(.shop-price,[data-shop-price]){font-size:18px;line-height:26px}.shop-card img{aspect-ratio:1/1;object-fit:contain;background:#f5f7f8;width:100%;height:auto}.shop-card .shop-body{padding:12px}.shop-quiet,.shop-text-action{font-size:14px;line-height:20px;color:var(--qz-action-link);min-height:44px;text-decoration:underline;text-underline-offset:3px}.shop-nav{max-width:480px;min-height:calc(56px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--qz-border-subtle);background:white}.shop-nav button{min-height:56px;font-size:12px;line-height:18px;color:var(--qz-text-secondary)}.shop-nav button.on{color:var(--qz-brand-primary)}.shop-bottom,.shop-cart-bottom,.shop-checkout-bottom{max-width:480px;background:#fffffff8;border-top:1px solid var(--qz-border-subtle);padding:8px 16px calc(8px + env(safe-area-inset-bottom));gap:12px}.shop-bottom .btn,.shop-cart-bottom .btn,.shop-checkout-bottom .btn{min-height:52px;font-size:16px}.shop-row,.shop-summary-row{font-size:14px;line-height:22px;gap:12px}.shop-row b,.shop-summary-row b{font-size:16px;line-height:24px;font-weight:500;color:var(--qz-text-primary);overflow-wrap:anywhere}.shop-order-card{border:1px solid var(--qz-border-subtle);border-radius:16px;padding:16px;background:white;box-shadow:none}.shop-order-card .muted{font-size:14px;line-height:20px}.shop-error{font-size:14px;line-height:22px;color:var(--qz-text-secondary);background:#f7f3eb;border:1px solid #d8c3a2;border-radius:12px;padding:12px}
.auth-login .auth-content,.auth-register .auth-content{padding:16px;gap:24px}.auth-login .auth-brand{padding:16px;min-height:140px;height:auto;border-radius:16px;border:1px solid var(--qz-border-subtle)}.auth-login .auth-brand img{width:200px;height:auto;max-height:100px;object-fit:contain}.auth-login .auth-welcome{font-size:26px;line-height:34px;font-weight:600;color:var(--qz-brand-primary)}.auth-login .auth-sub{font-size:14px;line-height:22px;color:var(--qz-text-secondary)}.auth-login .auth-card,.auth-register .auth-card{padding:20px 16px;background:white;border:1px solid var(--qz-border-subtle);border-radius:16px;box-shadow:none}.auth-login .field label,.auth-register .field label{font-size:14px;line-height:20px;color:var(--qz-text-secondary);font-weight:500}.auth-login input,.auth-register input{font-size:16px;line-height:24px;min-height:48px;height:auto;border:1px solid var(--qz-border-control);border-radius:12px}.auth-register .qz-check{font-size:14px;line-height:22px}.auth-register .qz-result h2{font-size:22px;line-height:30px}.auth-login .qz-input-icon>span{height:48px;top:auto;bottom:0;transform:none}.auth-sub[data-mobile-login-brand]{font-size:14px;line-height:22px}
@media(max-width:360px){.asset-card .bal,.credit-summary .bal{font-size:28px;line-height:36px}.asset-metrics{gap:12px;padding:12px}.asset-metrics b{font-size:16px;line-height:24px}.shop-grid{gap:12px}.shop-card .shop-price{font-size:16px;line-height:24px}.shop-card h3{font-size:14px;line-height:20px}}

/* Account-specific structure must win over shared card and link primitives. */
.card.asset-card,.card.me-balance{background:var(--qz-brand-deep);color:#fff;border:0;padding:20px 16px;gap:0}.me-balance>.bal{margin:8px 0 0}.me-balance>.asset-metrics{margin:16px 0 0}.me-balance>.btn-row{margin:20px 0 0}.me-visual-link>.me-nav-icon{flex:0 0 32px;width:32px;min-width:32px;height:32px}.me-visual-link>.me-visual-chevron{flex:0 0 7px;width:7px;min-width:7px;height:7px}.me-visual-link>span:nth-child(2){flex:1;min-width:0}.me-header-identity{min-width:0}.me-header-identity strong{display:block;font-size:16px;line-height:24px;font-weight:600}.me-header-identity p{font-size:12px;line-height:18px;color:var(--qz-text-secondary);margin:0;overflow-wrap:anywhere}.me-visual-head h1{font-size:22px;line-height:30px}

/* Current catalog DOM uses shop-product / shop-info rather than legacy shop-card. */
.shop-head{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;position:relative;left:auto;right:auto;top:auto;width:auto;max-width:100%;height:auto;min-height:56px;margin:0 0 16px;padding:4px 0;gap:8px}.shop-head h1{margin:0;text-align:center;min-width:0;font-size:22px;line-height:30px}.shop-head>button{width:48px;min-width:48px;height:48px;min-height:48px;padding:12px;border:0;background:transparent;display:grid;place-items:center}.shop-head>button::after{content:none}.shop-search-input>input{padding-left:40px}.shop-search-input>span{height:48px}.shop-product{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid var(--qz-border-subtle);border-radius:16px;overflow:hidden;background:white;box-shadow:none;text-align:left}.shop-product>.shop-cover{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#f2f5f7}.shop-product>.shop-info{padding:12px;min-width:0}.shop-product h3{font-size:16px;line-height:24px;font-weight:500;color:var(--qz-text-primary);margin:0 0 4px;white-space:normal;overflow:visible}.shop-product .muted,.shop-product .shop-stock{font-size:12px;line-height:18px;color:var(--qz-text-secondary);white-space:normal;overflow-wrap:anywhere}.shop-product .shop-price,.shop-product [data-shop-price]{font-size:20px;line-height:28px;color:var(--qz-text-primary);font-weight:600;margin:8px 0;overflow-wrap:anywhere}.shop-categories>button{min-width:64px;min-height:72px;font-size:14px;line-height:20px;color:var(--qz-text-primary);padding:8px}.shop-categories .ic{width:40px;height:40px;display:grid;place-items:center;color:#526f85;background:#e9eff4;border-radius:12px;margin:0 auto 4px}.shop-categories .ic>img{width:32px;height:32px;object-fit:contain}.shop-categories .ic>svg{width:24px;height:24px}.shop-category-layout{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px}.shop-category-layout .shop-grid{grid-template-columns:1fr}.shop-sidebar>button{min-height:48px;font-size:14px;line-height:20px;padding:12px 8px}.shop-gallery{border-radius:16px;overflow:hidden}.shop-gallery img{object-fit:contain;background:#f3f6f8}
@media(max-width:360px){.shop-product h3{font-size:14px;line-height:20px}.shop-product>.shop-info{padding:10px}.shop-product .shop-price,.shop-product [data-shop-price]{font-size:18px;line-height:26px}}

#app .shop-search-input>input{padding-left:40px}.shop-product>.shop-cover{padding:0}
.auth-register .auth-content{display:flex;flex-direction:column;gap:16px}.auth-register .auth-content>*{margin-top:0;margin-bottom:0}.auth-register .qz-head>button{font-size:28px;line-height:1}

/* QZ UI 1.2: quote, trade and order presentation only.
 * Load after tokens.css and the generated @layer legacy bundle.
 * Business values, action handlers, quote directions and status text stay in m.js.
 * Deliberately no global .market-* / .profit-* color mapping. */

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 16px;
  background: var(--qz-background-page);
  color: var(--qz-text-primary);
  font-size: 16px;
  line-height: 1.5;
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page).fidelity-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) .card {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--qz-border-subtle);
  border-radius: var(--qz-radius-card);
  background: var(--qz-background-surface);
  box-shadow: none;
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) .card.fidelity-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) .card > :is(h2, h3) {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--qz-text-primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: normal;
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) .card > :is(h2, h3)::after {
  content: none;
}

:where(.trade-page, .orders-page, .order-detail-page) .info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  line-height: 20px;
}

:where(.trade-page, .orders-page, .order-detail-page) .info-row > span {
  min-width: 0;
  color: var(--qz-text-secondary);
  overflow-wrap: anywhere;
}

:where(.trade-page, .orders-page, .order-detail-page) .info-row > b {
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

/* These unclassified amounts are ordinary balances, fees and quantities.
 * The common semantic layer owns ambiguous .profit-* and .market-* elements. */
:where(.trade-page, .orders-page, .order-detail-page) .info-row > b:not(.profit-positive, .profit-negative, .market-up, .market-down, .market-flat) {
  color: var(--qz-text-primary);
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) :is(.form-help, .policy-copy, .compact-note) {
  margin: 0;
  color: var(--qz-text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: normal;
  overflow-wrap: anywhere;
}

:where(.trade-page, .orders-page, .order-detail-page) .qz-note {
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--qz-border-subtle);
  border-radius: 12px;
  background: #edf2f6;
}

:where(.trade-page, .orders-page, .order-detail-page) .qz-note > :is(svg, .ic) {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 0;
  color: var(--qz-text-secondary);
}

/* Quotes: the original four-column data becomes a readable two-price card.
 * Repeat existing column labels at each value; do not invent new data labels. */
.quote-page .quote-card {
  position: relative;
  gap: 16px;
}

.quote-page .quote-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0;
  color: var(--qz-text-secondary);
}

.quote-page .quote-status > :last-child {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  white-space: normal;
}

.quote-page .quote-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.quote-page .quote-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.quote-page .quote-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--qz-border-subtle);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--qz-text-primary);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.quote-page .quote-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quote-page .quote-metal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-column: 1 / -1;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
  text-align: left;
}

.quote-page .quote-metal b {
  display: block;
  min-width: 0;
  color: var(--qz-text-primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.quote-page .quote-change {
  display: block;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.quote-page .quote-metal small {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  color: var(--qz-text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.quote-page .quote-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  font-variant-numeric: tabular-nums;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.quote-page .quote-price::before {
  color: var(--qz-text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.quote-page [data-price-buyback]::before { content: "回购价"; }
.quote-page [data-price-sale]::before { content: "售价"; }

.quote-page .quote-range {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  min-width: 0;
  color: var(--qz-text-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.quote-page .quote-range > span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.quote-page .range-high::before { content: "高 "; }
.quote-page .range-low::before { content: "低 "; }

.quote-page .qz-quote-category {
  margin: 0;
  padding: 8px 0 0;
  color: var(--qz-text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

/* Source-proven quotation nodes only. Credit movements use the same old
 * market-* names elsewhere and must not be recolored by these rules. */
.quote-page :is(.quote-price, .quote-change).market-up,
.trade-page [data-trade-current-price].market-up {
  color: var(--qz-quote-up);
}

.quote-page :is(.quote-price, .quote-change).market-down,
.trade-page [data-trade-current-price].market-down {
  color: var(--qz-quote-down);
}

.quote-page :is(.quote-price, .quote-change).market-flat,
.trade-page [data-trade-current-price].market-flat {
  color: var(--qz-quote-flat);
}

/* The market-sources component has its own verified quote direction classes. */
.quote-page .ms-shell {
  display: block;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--qz-border-subtle);
  border-radius: 16px;
  background: var(--qz-background-surface);
  color: var(--qz-text-primary);
}

.quote-page .ms-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quote-page .ms-head h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
}

.quote-page :is(.ms-head p, .ms-updated, .ms-source, .ms-time) {
  color: var(--qz-text-secondary);
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.quote-page .ms-state {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  white-space: normal;
}

.quote-page .ms-live {
  color: var(--qz-feedback-success);
  background: var(--qz-workflow-completed-bg);
}

.quote-page .ms-offline {
  color: var(--qz-feedback-unknown);
  background: var(--qz-workflow-pending-bg);
}

.quote-page .ms-disclaimer {
  margin: 16px 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--qz-background-page);
  color: var(--qz-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.quote-page .ms-group { margin-top: 24px; }
.quote-page .ms-group h3 {
  margin: 0 0 12px;
  color: var(--qz-text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.quote-page .ms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.quote-page .ms-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--qz-border-subtle);
  border-radius: 0;
  background: var(--qz-background-surface);
}

.quote-page .ms-card:last-child { border-bottom: 0; padding-bottom: 0; }
.quote-page .ms-card-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.quote-page .ms-card-top b { font-size: 16px; line-height: 24px; font-weight: 600; }
.quote-page .ms-card-top span {
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--qz-workflow-neutral-bg);
  color: var(--qz-text-secondary);
  font-size: 12px;
  line-height: 18px;
  white-space: normal;
}

.quote-page .ms-value {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.quote-page .ms-value small {
  color: var(--qz-text-secondary);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
}

.quote-page .ms-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px 8px;
  min-height: 0;
  color: var(--qz-text-secondary);
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.quote-page .ms-details b { color: var(--qz-text-primary); font-weight: 500; text-align: right; }
.quote-page :is(.ms-source, .ms-time) { grid-column: 1 / -1; margin: 0; text-align: left; }
.quote-page .ms-value.ms-up { color: var(--qz-quote-up); }
.quote-page .ms-value.ms-down { color: var(--qz-quote-down); }
.quote-page .ms-value.ms-flat { color: var(--qz-quote-flat); }
.quote-page .ms-unavailable .ms-value { color: var(--qz-text-secondary); font-size: 24px; }
.quote-page .ms-unavailable .ms-details { opacity: 1; }

/* Trade and order filters: neutral action colors, persistent field labels. */
:where(.trade-page, .orders-page) .seg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--qz-border-subtle);
  border-radius: 16px;
  background: #e8eef3;
}

:where(.trade-page, .orders-page) .seg > button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--qz-text-secondary);
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

:where(.trade-page, .orders-page) .seg > button.on {
  border-color: var(--qz-brand-primary);
  background: var(--qz-brand-primary);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

:where(.trade-page, .orders-page) .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

:where(.trade-page, .orders-page) .field > label {
  display: block;
  margin: 0;
  color: var(--qz-text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

:where(.trade-page, .orders-page) :is(input, select) {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--qz-border-control);
  border-radius: 12px;
  background-color: var(--qz-background-surface);
  color: var(--qz-text-primary);
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: normal;
  scroll-margin: 80px 0 24px;
}

:where(.trade-page, .orders-page) input::placeholder { color: var(--qz-text-secondary); opacity: 1; }
.trade-page .trade-form .field + .form-help { margin: 0; }
.trade-page .trade-form { gap: 16px; }
.trade-page .trade-policy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.trade-page .trade-policy button {
  min-height: 44px;
  margin-left: auto;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--qz-action-link);
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trade-page .trade-policy button::after,
.trade-page .spec-chip::after { content: none; }
.trade-page .spec-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.trade-page .spec-chip {
  flex: 1 1 76px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 6px;
  border: 1px solid var(--qz-border-control);
  border-radius: 12px;
  background: var(--qz-background-surface);
  color: var(--qz-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.trade-page .spec-chip.on {
  border-color: var(--qz-brand-primary);
  background: #edf2f6;
  box-shadow: inset 0 0 0 1px var(--qz-brand-primary);
  color: var(--qz-brand-primary);
  font-weight: 600;
}

.trade-page .trade-form .info-row:has([data-trade-current-price]) {
  padding-top: 16px;
  border-top: 1px solid var(--qz-border-subtle);
}

.trade-page [data-trade-current-price] { font-size: 24px; line-height: 32px; font-weight: 600; }
.trade-page [data-trade-at] { font-size: 12px; line-height: 18px; }
.trade-page :is(#estimateBox, #fundsBox) { gap: 12px; }
.trade-page #estimateBox .info-row:has(.strong) {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--qz-border-subtle);
}

.trade-page #estimateBox .strong { font-size: 24px; font-weight: 600; line-height: 32px; }
.trade-page #tradeSubmit { min-height: 52px; margin: 0; }
.trade-page #tradeActionReason { color: var(--qz-text-primary); }

/* Source-proven classification labels, not an inferred workflow status. */
.trade-page .trade-form > .tag.warn,
.orders-page .order-card > .order-card-tags > .tag:first-child,
.order-detail-page > .card > .order-card-tags > .tag:first-child,
[data-visual-sheet="tradeConfirm"] .order-card-tags > .tag,
[data-visual-sheet="tradeConfirm"] .sheet > .card:not([role="alert"]) > .tag.warn {
  color: var(--qz-workflow-neutral);
  background: var(--qz-workflow-neutral-bg);
  border-color: var(--qz-border-subtle);
}

/* Order list and details keep all reference numbers and financial rows. */
.orders-page .order-card { gap: 12px; }
.orders-page .order-card + .order-card { margin-top: -8px; }
:where(.orders-page, .order-detail-page) .order-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.orders-page .order-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 4px 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--qz-action-link);
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
}

.orders-page .order-card-title > span { min-width: 0; overflow-wrap: anywhere; }
.orders-page .order-card-title svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--qz-action-link); }
.orders-page .order-card-meta { font-size: 12px; line-height: 18px; }
.order-detail-page .card > .order-detail-title { font-size: 22px; font-weight: 600; line-height: 30px; }

:where(.orders-page, .order-detail-page) [data-order-estimate]:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--qz-border-subtle);
}

/* The integration adds this presentation-only marker at audited true-PnL
 * infoRow calls. Never infer PnL from row position or the reused class alone. */
:where(.orders-page, .order-detail-page) [data-ui-kind="pnl"] > .profit-positive {
  color: var(--qz-pnl-positive);
}

:where(.orders-page, .order-detail-page) [data-ui-kind="pnl"] > .profit-negative {
  color: var(--qz-pnl-negative);
}

:where(.orders-page, .order-detail-page) .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.orders-page .order-card-actions { padding-top: 16px; border-top: 1px solid var(--qz-border-subtle); }
:where(.orders-page, .order-detail-page) .btn-row > :is(.btn, .btn-mini) {
  flex: 1 1 120px;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--qz-brand-primary);
  border-radius: 12px;
  background: var(--qz-brand-primary);
  color: #fff;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Existing close/settlement action remains an explicitly named secondary
 * action; no buy/sell red-green button encoding. */
:where(.orders-page, .order-detail-page) .btn-row > [data-order-action="close"] {
  border-color: var(--qz-border-control);
  background: var(--qz-background-surface);
  color: var(--qz-brand-primary);
  font-weight: 500;
}

/* Confirmation panels use the existing data-visual-sheet identity. */
[data-visual-sheet="tradeConfirm"] .sheet > .card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--qz-border-subtle);
  border-radius: 16px;
  background: var(--qz-background-surface);
  box-shadow: none;
}

[data-visual-sheet="tradeConfirm"] .form-balance { font-size: 32px; font-weight: 600; line-height: 40px; color: var(--qz-text-primary); overflow-wrap: anywhere; }
[data-visual-sheet="tradeConfirm"] .info-row > .strong { color: var(--qz-text-primary); font-size: 24px; font-weight: 600; line-height: 32px; }
[data-visual-sheet="tradeConfirm"] .order-card-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }

/* Keyboard focus and disabled styling do not change availability decisions. */
:where(.quote-page, .trade-page, .orders-page, .order-detail-page) :is(button, input, select):focus-visible {
  outline: 2px solid var(--qz-focus-outer);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--qz-focus-inner);
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) button:active:not(:disabled) { filter: brightness(.95); }
:where(.trade-page, .orders-page, .order-detail-page) button:disabled {
  opacity: 1;
  cursor: not-allowed;
  border-color: var(--qz-border-subtle);
  background: #e6ecf0;
  color: var(--qz-text-secondary);
  box-shadow: none;
}

:where(.quote-page, .trade-page, .orders-page, .order-detail-page) [hidden] { display: none; }

@media (max-width: 360px) {
  .quote-page .quote-price,
  .quote-page .ms-value,
  .quote-page .ms-unavailable .ms-value { font-size: 22px; line-height: 28px; }
  .quote-page .quote-metal { grid-template-columns: minmax(0, 1fr); }
  .quote-page .quote-metal small { grid-column: auto; }
  .trade-page .seg > button { flex-basis: 100%; }
  :where(.orders-page, .order-detail-page) .btn-row > :is(.btn, .btn-mini) { flex-basis: 100%; }
  [data-visual-sheet="tradeConfirm"] .form-balance { font-size: 28px; line-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  :where(.quote-page, .trade-page, .orders-page, .order-detail-page) button { transition: none; }
}

@media (forced-colors: active) {
  :where(.quote-page, .trade-page, .orders-page, .order-detail-page) :is(button, input, select):focus-visible {
    outline: 2px solid Highlight;
    box-shadow: none;
  }
}

@media(max-width:360px){.trade-page .spec-chips{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Whitelist-only semantics: inherited generic classes alone are not financial evidence. */
#app :is(.profit-positive,.profit-negative,.market-up,.market-down,.market-flat){color:var(--qz-text-primary)}
#app [data-ui-kind=pnl]>.profit-positive,#app .net-account-metrics .profit-positive,#app .agent-share-page .market-up{color:var(--qz-pnl-positive)}
#app [data-ui-kind=pnl]>.profit-negative,#app .net-account-metrics .profit-negative,#app .agent-share-page .market-down{color:var(--qz-pnl-negative)}
#app .quote-row :is([data-price-sale],[data-price-buyback]).market-up,#app .quote-change.market-up,#app .price-chip [data-price-sale].market-up{color:var(--qz-quote-up)}
#app .quote-row :is([data-price-sale],[data-price-buyback]).market-down,#app .quote-change.market-down,#app .price-chip [data-price-sale].market-down{color:var(--qz-quote-down)}
#app .quote-row :is([data-price-sale],[data-price-buyback]).market-flat,#app .quote-change.market-flat,#app .price-chip [data-price-sale].market-flat{color:var(--qz-quote-flat)}
#marketSourcesBoard .ms-value.ms-up{color:var(--qz-quote-up)}#marketSourcesBoard .ms-value.ms-down{color:var(--qz-quote-down)}#marketSourcesBoard .ms-value.ms-flat{color:var(--qz-quote-flat)}
#app .quote-range :is(.range-high,.range-low){color:var(--qz-text-secondary)}
#app .tag.warn:not([data-ui-state]):not([data-quote-state]){color:var(--qz-workflow-neutral);background:var(--qz-workflow-neutral-bg)}
#app .tag[data-ui-state].warn{color:var(--qz-workflow-pending);background:var(--qz-workflow-pending-bg)}#app .tag[data-ui-state].ok{color:var(--qz-workflow-completed);background:var(--qz-workflow-completed-bg)}#app .tag[data-ui-state].bad{color:var(--qz-workflow-rejected);background:var(--qz-workflow-rejected-bg)}#app .tag[data-ui-state="已取消"]{color:var(--qz-workflow-cancelled);background:var(--qz-workflow-cancelled-bg)}
#app [data-quote-state].warn{color:var(--qz-feedback-unknown);background:#fff2e4}#app [data-quote-state].ok{color:var(--qz-text-secondary);background:#eef2f5}
#app .qz-result[data-ui-result=unknown] .result-icon{color:var(--qz-feedback-unknown);background:#fff2e4}#app .qz-result[data-ui-result=accepted] .result-icon{color:var(--qz-feedback-success);background:#edf7f1}
#app [data-ui-kind=read-error]{border-color:#cc8b90;background:#fef1f2}#app [data-ui-kind=read-error]>h2{color:var(--qz-feedback-error)}
#app a[href]:not(.qz4-album){color:var(--qz-action-link);text-decoration:underline;text-underline-offset:3px}
#app .btn.danger{background:var(--qz-brand-primary);color:white;border-color:var(--qz-brand-primary);box-shadow:none}

@font-face{font-family:QZReferenceSerif;src:url('/m/qz-art-20261109/qz-serif.woff') format('woff');font-style:normal;font-weight:400 900;font-display:swap}
/* Reference-faithful homepage. Business pages/controllers are untouched. */
body:has(.qz6-home) .ui-review-banner{display:none}
#phone{container-type:inline-size}
#app:has(>.qz6-home)>header{display:none}
#phone#phone #app:has(>.qz6-home){padding-top:0;background:#f9f6f2}
#phone#phone .qz6-home{color:#171716;background:#f9f6f2;padding:0 0 15.222772cqw;min-height:100dvh;font-family:system-ui,sans-serif;line-height:1.35;overflow:hidden}
.qz6-home *{box-sizing:border-box}.qz6-home h1,.qz6-home h2,.qz6-home p{margin:0}
#phone .qz6-home button,#phone .qz6-home a{font:inherit;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;min-height:0;color:inherit;transition:filter .14s,transform .14s}
#phone .qz6-home button:active,#phone .qz6-home a:active{filter:brightness(.96);transform:translateY(1px)}
#phone .qz6-home :focus-visible{outline:2px solid #17334d;outline-offset:3px;box-shadow:0 0 0 2px #fff}
.qz6-home .r6-chevron{font-family:Arial,sans-serif;font-style:normal;font-weight:400;font-size:5.569307cqw;line-height:1;display:inline-flex;align-items:center}
.r6-hero{height:38.985149cqw;position:relative;background:linear-gradient(120deg,#292f40 0,#151a24 65%,#242630);color:white;overflow:hidden}
.r6-hero:before{content:'';position:absolute;inset:0 44.3% 0 0;background:url('/m/qz-art-20261109/header-top-background.png') top/100% 4.455446cqw no-repeat,url('/m/qz-art-20261109/header-bottom-ribbon.png') bottom 2.475248cqw left/100% 8.663366cqw no-repeat}
.r6-hero-art{position:absolute;right:0;top:0;width:44.306931cqw;height:36.509901cqw;mask-image:linear-gradient(to right,transparent,#000 7%)}
.r6-brand{position:absolute;top:4.950495cqw;left:5.445545cqw;display:flex;align-items:center;gap:2.722772cqw;height:6.930693cqw}
.r6-brand>img{width:11.138614cqw;height:6.930693cqw;object-fit:contain}.r6-brand>span{width:1px;height:4.084158cqw;background:#c7c4c3}
.r6-brand>b{font-size:4.207921cqw;letter-spacing:0.247525cqw;font-weight:500;white-space:nowrap}
.r6-welcome{position:absolute;left:4.331683cqw;top:17.821782cqw;display:flex;align-items:flex-start;gap:2.351485cqw}
.r6-welcome>img{width:8.539604cqw;height:8.292079cqw;object-fit:contain}
.r6-welcome h1{font:700 4.331683cqw/1.35 QZReferenceSerif,serif;letter-spacing:0.037129cqw;color:#fff}
.r6-welcome p{font-size:3.094059cqw;margin-top:0.990099cqw;color:#f1f0f1;letter-spacing:0.024752cqw}
.r6-customer-type{position:absolute;left:15.222772cqw;top:29.579208cqw;font-size:max(11px,1.856436cqw);color:#d6c7a5}
.r6-body{position:relative;margin-top:-2.475248cqw;padding:3.589109cqw 2.970297cqw 0;background:linear-gradient(#fbf8f4,#f7f3ef);border-radius:4.455446cqw 4.455446cqw 0 0;min-height:185.024752cqw}
.r6-market-heading{display:flex;align-items:center;justify-content:space-between;padding:0 2.722772cqw;height:8.539604cqw;margin-bottom:0}
.r6-market-heading h2{font:700 4.207921cqw/1.4 QZReferenceSerif,serif;white-space:nowrap;color:#141413}
.r6-market-heading h2 small{font:400 2.846535cqw/1.4 system-ui;color:#747476;margin-left:0.49505cqw}.r6-market-heading>span{font-size:2.970297cqw;color:#6d6d70;white-space:nowrap}
.r6-quotes{display:grid;gap:1.856436cqw}
#phone .qz6-home .r6-quote{height:14.356436cqw;display:grid;grid-template-columns:36% 32% 32%;align-items:center;border:0;border-radius:2.475248cqw;background:linear-gradient(110deg,#f8f2e9,#f3eae1);width:100%;padding:0 1.856436cqw;text-align:left}
.r6-metal{display:flex;align-items:center;gap:2.59901cqw}.r6-metal img{width:11.757426cqw;height:9.405941cqw;object-fit:contain;mix-blend-mode:multiply}
.r6-metal b{border-left:1px solid #d5b682;padding-left:2.475248cqw;font:700 3.836634cqw/1 QZReferenceSerif,serif;white-space:nowrap}
.r6-price{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-left:1.980198cqw}.r6-price:last-child{border-left:1px solid #e9d4b6;padding-left:6.559406cqw;height:7.673267cqw}
.r6-price small{font-size:2.846535cqw;line-height:1.45;color:#333946}.r6-price b{font:700 5.816832cqw/1.08 Georgia,'Times New Roman',serif;letter-spacing:-0.074257cqw;color:#343744}
.r6-quote[data-home-price-metal="黄金"] .r6-price b{color:#ab7318;text-shadow:0 1px #fff}
.r6-quote-time{font-size:2.227723cqw;color:#6b675c;padding-top:0.990099cqw}
.r6-actions{display:grid;grid-template-columns:1.11fr 1fr;gap:1.980198cqw;margin-top:3.094059cqw}
#phone .qz6-home .r6-actions button{position:relative;display:flex;align-items:center;justify-content:center;gap:2.846535cqw;height:13.861386cqw;border:1px solid #dfcba9;border-radius:2.722772cqw;background:linear-gradient(110deg,#f6ebda,#ecdec8);padding:0;color:#111;box-shadow:0 1.113861cqw 1.856436cqw #b2a58c18;overflow:hidden}
#phone .qz6-home .r6-actions button:first-child{border-color:#79849d;color:#fff2d6;background:url('/m/qz-art-20261109/buy-banner-ribbon.png') bottom left/100% 3.589109cqw no-repeat,linear-gradient(115deg,#394359,#111721)}
.r6-actions button>img{width:7.425743cqw;height:6.806931cqw;object-fit:contain}.r6-actions b{font:700 4.826733cqw/1.2 QZReferenceSerif,serif;white-space:nowrap}
.r6-actions .r6-chevron{font-size:6.064356cqw;margin-left:1.485149cqw}
#phone .qz6-home .r6-stock{display:block;position:relative;text-align:left;height:25.247525cqw;width:100%;overflow:hidden;margin-top:3.960396cqw;border:1px solid white;border-radius:2.722772cqw;background:linear-gradient(120deg,#f4dfbd,#fbf0d9 61%,#efcb8f);padding:2.227723cqw 4.826733cqw;color:#171711}
.r6-stock-art{position:absolute;right:0;top:0;width:43.811881cqw;height:25.123762cqw;mask-image:linear-gradient(to right,transparent,#000 12%)}
.r6-stock h2{position:relative;font:700 3.836634cqw/1.5 QZReferenceSerif,serif;display:flex;gap:2.227723cqw;align-items:center}
.r6-stock h2:before{content:'';display:block;width:0.866337cqw;height:3.712871cqw;background:linear-gradient(#eab640,#b97800);border-radius:0.618812cqw}
.r6-stock-value{position:relative;display:flex;align-items:baseline;gap:1.732673cqw;margin-top:0.990099cqw}.r6-stock-value b{font:700 7.920792cqw/1.2 Georgia,serif;color:#a16a11;letter-spacing:-0.185644cqw;text-shadow:0 1px white}.r6-stock-value>span{font:700 3.712871cqw QZReferenceSerif,serif;color:#432e13}
.r6-stock>small{position:relative;display:inline-block;font-size:2.475248cqw;background:#eddbb96b;color:#766f60;border-radius:2.475248cqw;padding:0.371287cqw 2.227723cqw;margin-top:0.990099cqw;line-height:1.35}
#phone .qz6-home .r6-shop{position:relative;display:flex;align-items:center;gap:3.960396cqw;height:17.450495cqw;width:100%;margin-top:2.722772cqw;padding:0 5.569307cqw;border:0;border-radius:2.59901cqw;overflow:hidden;color:#fff1cf;background:url('/m/qz-art-20261109/jewelry-bottom-ribbon.png') bottom left/53.341584cqw 5.321782cqw no-repeat,linear-gradient(110deg,#343b50,#191c25)}
.r6-shop-art{position:absolute;right:0;top:0;width:42.574257cqw;height:17.574257cqw;mask-image:linear-gradient(to right,transparent,#000 12%)}
.r6-shop-icon{position:relative;width:6.930693cqw;height:7.425743cqw;object-fit:contain}.r6-shop b{position:relative;font:700 5.321782cqw/1.4 QZReferenceSerif,serif;white-space:nowrap}.r6-shop .r6-chevron{position:relative;font-size:5.940594cqw;margin-left:0}
#phone .qz6-home .r6-album{position:relative;display:flex;align-items:center;gap:2.846535cqw;height:13.118812cqw;width:100%;margin-top:2.722772cqw;padding:0 5.445545cqw;border:1px solid #eddbbd;border-radius:2.475248cqw;overflow:hidden;background:linear-gradient(110deg,#fbefd9,#f1e3cd 70%,#dfc9aa)}
.r6-album-art{position:absolute;left:60.891089cqw;top:0;width:23.514851cqw;height:12.871287cqw;mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent)}
.r6-album-icon{position:relative;width:7.79703cqw;height:7.054455cqw;object-fit:contain}.r6-album b{position:relative;font:700 4.826733cqw/1.4 QZReferenceSerif,serif;white-space:nowrap}.r6-album small{position:relative;font-size:2.59901cqw;color:white;background:linear-gradient(#bc8e39,#a36816);border-radius:3.712871cqw;padding:0.371287cqw 1.856436cqw;white-space:nowrap}.r6-album .r6-chevron{margin-left:auto;color:#775017}
.r6-services{display:grid;grid-template-columns:repeat(3,1fr);padding:1.361386cqw 3.465347cqw 2.970297cqw;border:1px solid #fff;border-radius:2.846535cqw;background:#ffffff40;margin-top:2.59901cqw;box-shadow:0 1.485149cqw 3.712871cqw #b9aa9208}
#phone .qz6-home .r6-services button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:none;border:0;padding:0 0 1.980198cqw;height:15.717822cqw;border-right:1px solid #e8dfd5;border-bottom:1px solid #e8dfd5;gap:1.113861cqw}
#phone .qz6-home .r6-services button:nth-child(3n){border-right:0}#phone .qz6-home .r6-services button:nth-child(n+4){border-bottom:0;padding-top:1.485149cqw;padding-bottom:0}
.r6-services button>img{width:9.90099cqw;height:8.415842cqw;object-fit:contain}.r6-services button>span{display:flex;gap:1.608911cqw;align-items:center}.r6-services b{font:700 3.341584cqw/1.2 QZReferenceSerif,serif;white-space:nowrap}.r6-services .r6-chevron{font-size:4.207921cqw}
.r6-notices{margin-top:2.59901cqw;border:1px solid #fff;border-radius:2.722772cqw;background:#ffffff4f;padding:1.732673cqw 3.712871cqw 1.485149cqw;min-height:22.40099cqw;box-shadow:0 1.485149cqw 3.712871cqw #b9aa9210}
.r6-notices header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ece4db;height:6.188119cqw;padding-bottom:1.485149cqw}
.r6-notices h2{font:700 3.836634cqw/1.2 QZReferenceSerif,serif;display:flex;align-items:center;gap:1.361386cqw}.r6-notices h2 img{width:5.445545cqw;height:4.331683cqw;object-fit:contain}
#phone .qz6-home .r6-notices header button{border:0;background:none;display:flex;align-items:center;gap:1.608911cqw;padding:0;font-size:2.722772cqw;color:#727275}
.r6-notices header .r6-chevron{font-size:4.207921cqw}
#phone .qz6-home .r6-notice-row{display:flex;align-items:center;gap:1.732673cqw;width:100%;padding:1.485149cqw 0 0.618812cqw;background:none;border:0;font-size:2.846535cqw;text-align:left}
.r6-notice-row:before{content:'';flex:none;width:1.237624cqw;height:1.237624cqw;background:#ffc842;border:1px solid #f6bb32;border-radius:50%}
.r6-notice-row>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.r6-notice-row>time{font:2.722772cqw/1.2 Arial,sans-serif;color:#737374;white-space:nowrap}
.r6-notice-empty{font-size:2.970297cqw;color:#777;padding:2.970297cqw 0}
.r6-disclaimer{height:3.836634cqw;display:flex;align-items:center;justify-content:center;font:1.732673cqw/1.3 system-ui;color:#8b8071}
.r6-marquee{padding:12px;font-size:12px;color:#746a5d}.r6-body .qz-campaign{margin:8px 0 14px}
#phone#phone #app:has(>.qz6-home) .tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:15.222772cqw;min-height:57px;border-radius:4.70297cqw 4.70297cqw 0 0;background:#fbf8f5ed;border-top:1px solid #fff;backdrop-filter:blur(12px);padding:1.485149cqw 1.980198cqw 3.217822cqw;box-shadow:none;display:flex;gap:0}
#phone#phone #app:has(>.qz6-home) .tab-item{color:#25262b;padding:0;gap:0;background:none;border:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:1;min-width:0}
#phone#phone #app:has(>.qz6-home) .tab-item .ic{width:6.683168cqw;height:5.940594cqw;margin:0 0 0.49505cqw;display:flex;align-items:center;justify-content:center;background:none;border:0;box-shadow:none}
#phone#phone #app:has(>.qz6-home) .tab-item .ic img{width:auto;height:5.693069cqw;max-width:6.683168cqw;object-fit:contain}
#phone#phone #app:has(>.qz6-home) .tab-item .t{font:2.970297cqw/1.3 system-ui;color:inherit;white-space:nowrap}
#phone#phone #app:has(>.qz6-home) .tab-item.on{color:#a97015}
#phone#phone #app:has(>.qz6-home) .tab-item.on .t{font-weight:600}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(1) img{content:url('/m/qz-art-20261109/nav-home-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(2) img{content:url('/m/qz-art-20261109/nav-market-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(3) img{content:url('/m/qz-art-20261109/nav-trade-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(4) img{content:url('/m/qz-art-20261109/nav-orders-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(5) img{content:url('/m/qz-art-20261109/nav-profile-alpha.png')}
@media(prefers-reduced-motion:reduce){.qz6-home *{transition:none!important}}
/* Match reference geometry while retaining runtime numeric precision. */
#phone#phone #app:has(>.qz6-home){padding-bottom:0}
#phone .qz6-home .r6-quote{grid-template-columns:38% 31% 31%}
.r6-price b{font-size:6.188119cqw}
#phone .qz6-home [data-home-price-metal="黄金"] .r6-price .market-flat{color:#ab7318!important}
#phone .qz6-home [data-home-price-metal="白银"] .r6-price .market-flat{color:#343744!important}
.r6-metal img{mask-image:radial-gradient(ellipse at center,#000 55%,transparent 75%)}
#phone .qz6-home .r6-album{color:#171716!important;text-decoration:none!important}
#phone .qz6-home .r6-services button{height:14.727723cqw}
/* Fixed navigation must remain attached to the viewport, not the size container. */
#phone{container-type:normal}
.qz6-home{container-type:inline-size}
#phone#phone #app:has(>.qz6-home) .tabbar{height:calc(min(100vw,480px)*123/808);padding:calc(min(100vw,480px)*12/808) calc(min(100vw,480px)*16/808) calc(min(100vw,480px)*26/808);border-radius:18px 18px 0 0}
#phone#phone #app:has(>.qz6-home) .tab-item .ic{width:calc(min(100vw,480px)*54/808);height:calc(min(100vw,480px)*48/808);margin-bottom:2px}
#phone#phone #app:has(>.qz6-home) .tab-item .ic img{height:calc(min(100vw,480px)*46/808);max-width:calc(min(100vw,480px)*54/808)}
#phone#phone #app:has(>.qz6-home) .tab-item .t{font-size:calc(min(100vw,480px)*24/808)}
#phone#phone .qz6-home{padding-bottom:calc(min(100vw,480px)*123/808)}
#phone#phone #app:has(>.qz6-home) .tab-item .ic>*{display:none}
#phone#phone #app:has(>.qz6-home) .tab-item .ic:before{content:'';display:block;width:100%;height:100%;background:var(--nav-art) center/contain no-repeat}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(1){--nav-art:url('/m/qz-art-20261109/nav-home-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(2){--nav-art:url('/m/qz-art-20261109/nav-market-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(3){--nav-art:url('/m/qz-art-20261109/nav-trade-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(4){--nav-art:url('/m/qz-art-20261109/nav-orders-alpha.png')}
#phone#phone #app:has(>.qz6-home) .tab-item:nth-child(5){--nav-art:url('/m/qz-art-20261109/nav-profile-alpha.png')}
.r6-hero:before{background:url('/m/qz-art-20261109/header-top-background.png') top/100% 4.455446cqw no-repeat}
.r6-hero:after{content:'';position:absolute;pointer-events:none;top:27.846535cqw;left:0;width:55.693069cqw;height:8.663366cqw;background:url('/m/qz-art-20261109/header-bottom-ribbon.png') center/100% 100% no-repeat;mask-image:linear-gradient(to bottom,transparent,#000 32%);z-index:0}
.r6-brand,.r6-welcome,.r6-customer-type{z-index:1}
/* Adjacent source strips already share pixels; avoid fading a seam to the base color. */
.r6-hero-art,.r6-shop-art{mask-image:none}
.r6-hero{background:linear-gradient(120deg,#293140,#171c26 65%,#1b1d25)}

.r6-stock-value b{font-size:8.663366cqw;letter-spacing:-0.061881cqw}
#phone .qz6-home .r6-stock{padding-top:1.237624cqw}
.r6-stock h2{line-height:1.35}
.r6-stock-value{margin-top:0.371287cqw}
.r6-stock-value b{font-size:8.910891cqw;letter-spacing:0}
.r6-stock>small{margin-top:0.742574cqw}
#phone .qz6-home .r6-shop{background:url('/m/qz-art-20261109/jewelry-bottom-ribbon.png') bottom left/53.341584cqw 5.321782cqw no-repeat,linear-gradient(110deg,#343b50,#1c212b 53%,#1c212b)}
.r6-hero{background:linear-gradient(120deg,#293140,#161e2b 55%,#171e2c)}
/* Full-width text-free original strips join the artwork without rectangular seams. */
.r6-hero-art{mask-image:linear-gradient(to right,transparent,#000 22%)}
.r6-hero:after{width:100.0cqw;background-image:url('/m/qz-art-20261109/header-full-ribbon.png');mask-image:linear-gradient(to bottom,transparent,#000 32%)}
#phone .qz6-home .r6-shop{background:url('/m/qz-art-20261109/jewelry-full-ribbon.png') bottom left/100% 5.445545cqw no-repeat,linear-gradient(110deg,#343b50,#1c212b 53%,#1c212b)}
.r6-shop-art{height:17.326733cqw;mask-image:linear-gradient(to right,transparent,#000 24%)}
/* Stable bundled lining numerals: never depend on device Georgia old-style digits. */
@font-face{font-family:QZNumbers;src:url('/m/qz-art-20261109/qz-numbers.woff') format('woff');font-style:normal;font-weight:700;font-display:swap}
#phone .qz6-home .r6-price b,#phone .qz6-home .r6-stock-value b{font-family:QZNumbers,Arial,sans-serif;font-weight:700;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:'lnum' 1,'tnum' 1,'onum' 0;font-kerning:none;font-synthesis:none;letter-spacing:0;white-space:nowrap;text-shadow:none}
#phone .qz6-home .r6-price b{font-size:min(6.188119cqw,calc(34.90099cqw / var(--price-chars,6)));line-height:1.2;min-width:0;max-width:100%}
#phone .qz6-home .r6-price{min-width:0}
#phone .qz6-home .r6-price:last-child{padding-left:4.950495cqw}
#phone .qz6-home .r6-stock-value b{font-size:8.168317cqw}
html.qa-font-fallback #phone .qz6-home .r6-price b,html.qa-font-fallback #phone .qz6-home .r6-stock-value b{font-family:Arial,sans-serif!important}

/* Approved QZ mobile visual language. Presentation only; controllers stay authoritative. */
@font-face{font-family:QZSerif;src:url('/m/qz-art-20261109/qz-page-serif.woff') format('woff');font-style:normal;font-weight:700;font-display:swap}
:root{--qz-brand-primary:#202b3b;--qz-brand-deep:#192331;--qz-background-page:#f7f4ee;--qz-background-surface:#fffdfa;--qz-text-primary:#25282e;--qz-text-secondary:#69655e;--qz-text-disabled:#8a8174;--qz-accent-gold:#a57b2e;--qz-border-subtle:#e6ddd0;--qz-border-control:#a69a87;--qz-quote-flat:#69655e;--qz-pnl-zero:#69655e;--qz-workflow-neutral:#69655e;--qz-workflow-neutral-bg:#eee9e0;--qz-action-link:#2459a0;--qz-focus-outer:#202b3b;--soft:#f1ece3;--softer:#fbf8f3;--blue-light:#5e625f;--grad:linear-gradient(115deg,#354052,#192331)}
body{background:#e9e4dc}#phone{background:var(--qz-background-page)}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)){color:var(--qz-text-primary)}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .page{padding:18px 16px 28px}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .fidelity-stack{gap:18px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .card{background:var(--qz-background-surface);border-color:var(--qz-border-subtle);border-radius:12px;box-shadow:none}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(h1,h2,.sec-title,.section-title){font-family:QZSerif,"Noto Serif CJK SC",serif;font-weight:700;letter-spacing:.015em}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(h3,.btn,input,select,textarea){font-family:system-ui,-apple-system,"PingFang SC","Noto Sans CJK SC",sans-serif}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .card>h2{display:flex;align-items:center;gap:9px;font-size:17px;margin-bottom:12px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .card>h2:before{content:'';width:3px;height:16px;border-radius:2px;background:var(--qz-accent-gold);flex:none}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.qz-head,.inner-header,.shop-head){display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:66px;height:auto;border:0;border-bottom:1px solid #bf9b5a66;background:linear-gradient(110deg,#303b4d,#1a2331);color:#fff2d8;box-shadow:none;padding:9px 12px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap))>.qz-head{position:sticky;top:0;z-index:30;left:auto;right:auto;width:100%;transform:none;margin:0}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.inner-header,.shop-head){position:relative;inset:auto;transform:none;width:calc(100% + 32px);max-width:none;margin:-18px -16px 20px;border-radius:0}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.qz-head,.inner-header,.shop-head)>h1{font:700 22px/30px QZSerif,serif;color:#fff2d8;text-align:center;margin:0;padding:0;min-width:0}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.qz-head,.inner-header,.shop-head)>button{display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:10px;border:1px solid #d4bc8c33;border-radius:50%;background:#ffffff06;color:#f1dfbd}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.qz-head,.inner-header,.shop-head)>button:hover{background:#ffffff12}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.qz-head,.inner-header,.shop-head) .head-more{visibility:hidden;min-width:44px;width:44px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .qz-head>img[data-mobile-brand]{width:44px;height:38px;object-fit:contain}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .btn{border-radius:10px;background:linear-gradient(115deg,#354052,#192331);border:1px solid #465166;color:#fff2d8;min-height:48px;padding:11px 16px;box-shadow:0 2px 0 #1923310d}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .btn:hover{filter:brightness(1.08)}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .btn:active{filter:brightness(.94);transform:translateY(1px)}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .btn.ghost{background:linear-gradient(110deg,#fcf6e9,#f1e6d2);border-color:#d7c5a4;color:#3e3423;box-shadow:none}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .btn:disabled{background:#e8e3da;border-color:#d6ccbd;color:#777064;filter:none;transform:none;box-shadow:none}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border-color:#b6a994;background:#fffefc;border-radius:9px;caret-color:#8c661e}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(input,select,textarea):disabled{background:#eeeae3;color:#7c756a;border-color:#cec5b7}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(input,select,textarea):focus-visible{outline:2px solid #202b3b;outline-offset:2px;box-shadow:0 0 0 2px #fff}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .seg{background:#eae4d9;border-color:#ded3c1;border-radius:11px;padding:4px;gap:4px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .seg>button{border-radius:8px;color:#6d6251;min-height:44px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .seg>button.on{background:#fffdf9;color:#3c3324;border-color:#c9b68f;box-shadow:0 2px 4px #5442220c}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.chip-row,.chips)>button{background:#fffdf8;border-color:#cbbda6;color:#504331;border-radius:8px;min-height:44px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .qz-note{background:#f2ecdf;border-color:#e0d3bc;color:#665c4d;border-radius:10px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .qz-note>svg{color:#97712f}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .fidelity-link:active{background:#f4eddf}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .info-row{border-color:#eae2d6;padding:12px 0}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .num{font-family:Arial,"Noto Sans CJK SC",sans-serif;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:'lnum' 1,'tnum' 1;letter-spacing:0}
#app .mask{background:#161c28a6;backdrop-filter:blur(3px)}
#app .mask>.sheet{border-color:#d3c2a3;background:#f9f6ef;border-radius:22px 22px 0 0;padding:18px 16px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -12px 36px #141c2b26}
#app .mask .qz-sheet-head{background:#f9f6ef;border-bottom:1px solid #d9c8a7;padding-bottom:12px;margin-bottom:18px}
#app .mask .qz-sheet-head h1{font:700 21px/30px QZSerif,serif;color:#282b32}
#app .mask .qz-sheet-head>button{border:1px solid #ddd0bc;border-radius:50%;background:#fffaf0;color:#745a2e;width:44px;height:44px;min-width:44px;min-height:44px}
#app .mask .field>label{color:#615c52}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar{background:#fdfaf5f5;border-color:#e6dbc7;border-radius:18px 18px 0 0;min-height:64px;padding:5px 8px calc(6px + env(safe-area-inset-bottom))}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item{color:#403e3a;gap:3px;min-height:48px}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item.on{color:#986a1e}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item.on:before{display:none}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .ic{width:24px;height:24px}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .ic>*{display:none}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .ic:before{content:'';display:block;width:100%;height:100%;background:var(--nav-art) center/contain no-repeat}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item:nth-child(1){--nav-art:url('/m/qz-art-20261109/nav-home-alpha.png')}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item:nth-child(2){--nav-art:url('/m/qz-art-20261109/nav-market-alpha.png')}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item:nth-child(3){--nav-art:url('/m/qz-art-20261109/nav-trade-alpha.png')}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item:nth-child(4){--nav-art:url('/m/qz-art-20261109/nav-orders-alpha.png')}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item:nth-child(5){--nav-art:url('/m/qz-art-20261109/nav-profile-alpha.png')}
#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item:not(.on) .ic{filter:grayscale(1) brightness(.6)}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .tabbar .tab-item.on .ic{filter:sepia(1) saturate(1.3)}
.access-block-mobile{font-family:system-ui,sans-serif;background:#f7f4ee;color:#25282e}.access-block-mobile input,.access-block-mobile textarea{border-color:#a69a87;border-radius:9px}.access-block-mobile button{border-radius:9px;background:#202b3b;color:#fff2d8;min-height:44px}
.profile-ui-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#f2e7d1;color:#a57b2e;border-radius:8px}.profile-ui-icon>svg{width:24px;height:24px}
@media(max-width:360px){#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .page{padding-inline:12px}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.inner-header,.shop-head){margin-inline:-12px;width:calc(100% + 24px)}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) .card{padding:14px}#app:is(:not([data-ui-view=home]),:has(.auth-wrap)) :is(.qz-head,.inner-header,.shop-head)>h1{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Same control language in overlays opened from the homepage. */

#app .mask :is(h1,h2,.sec-title,.section-title){font-family:QZSerif,"Noto Serif CJK SC",serif;font-weight:700;letter-spacing:.015em}

#app .mask :is(h3,.btn,input,select,textarea){font-family:system-ui,-apple-system,"PingFang SC","Noto Sans CJK SC",sans-serif}

#app .mask .card>h2{display:flex;align-items:center;gap:9px;font-size:17px;margin-bottom:12px}

#app .mask .card>h2:before{content:'';width:3px;height:16px;border-radius:2px;background:var(--qz-accent-gold);flex:none}

#app .mask .btn{border-radius:10px;background:linear-gradient(115deg,#354052,#192331);border:1px solid #465166;color:#fff2d8;min-height:48px;padding:11px 16px;box-shadow:0 2px 0 #1923310d}

#app .mask .btn:hover{filter:brightness(1.08)}
#app .mask .btn:active{filter:brightness(.94);transform:translateY(1px)}

#app .mask .btn.ghost{background:linear-gradient(110deg,#fcf6e9,#f1e6d2);border-color:#d7c5a4;color:#3e3423;box-shadow:none}

#app .mask .btn:disabled{background:#e8e3da;border-color:#d6ccbd;color:#777064;filter:none;transform:none;box-shadow:none}

#app .mask :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border-color:#b6a994;background:#fffefc;border-radius:9px;caret-color:#8c661e}

#app .mask :is(input,select,textarea):disabled{background:#eeeae3;color:#7c756a;border-color:#cec5b7}

#app .mask :is(input,select,textarea):focus-visible{outline:2px solid #202b3b;outline-offset:2px;box-shadow:0 0 0 2px #fff}

#app .mask .seg{background:#eae4d9;border-color:#ded3c1;border-radius:11px;padding:4px;gap:4px}

#app .mask .seg>button{border-radius:8px;color:#6d6251;min-height:44px}

#app .mask .seg>button.on{background:#fffdf9;color:#3c3324;border-color:#c9b68f;box-shadow:0 2px 4px #5442220c}

#app .mask .qz-note{background:#f2ecdf;border-color:#e0d3bc;color:#665c4d;border-radius:10px}

#app .mask .qz-note>svg{color:#97712f}

#app .mask .info-row{border-color:#eae2d6;padding:12px 0}

/* QZ mobile · trading presentation · 2026-11-09
 * Append after the shared theme and legacy/candidate styles.
 * Only existing view/sheet markers are targeted. No business data, labels,
 * availability decisions, handlers, order, or visible fields are changed.
 * Quote/PnL/workflow semantic colours remain distinct from brand gold.
 */

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]),
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) {
  --qt-bg: #f7f4ee;
  --qt-paper: #fffdfa;
  --qt-ink: #25282e;
  --qt-sub: #69655e;
  --qt-navy: #202b3b;
  --qt-gold: #a57b2e;
  --qt-line: #e6ddd0;
  --qt-control: #a69a87;
  --qt-tint: #f1eade;
  --qt-num: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) > .page {
  width: 100%;
  min-width: 0;
  margin: 0;
  --qt-page-gutter: 14px;
  padding: 16px var(--qt-page-gutter) 20px;
  background: var(--qt-bg);
  color: var(--qt-ink);
}

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) > .page.fidelity-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .card,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .sheet > .card {
  min-width: 0;
  margin: 0;
  padding: 17px 16px;
  border: 1px solid var(--qt-line);
  border-radius: 12px;
  background: var(--qt-paper);
  color: var(--qt-ink);
  box-shadow: none;
}

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .card.fidelity-stack,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .sheet > .card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .card > :is(h2, h3),
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .card > :is(h2, h3) {
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  color: var(--qt-navy);
  font-family: QZSerif, "Noto Serif CJK SC", "Songti SC", STSong, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .2px;
}

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .card > :is(h2, h3)::after,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .card > :is(h2, h3)::after { content: none; }

/* Financial text always uses tabular system sans, including mixed CJK amounts. */
#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) :is(.num, .info-row > b, .order-card-title, .order-detail-title, .kv > strong, input[type="number"]),
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) :is(.num, .info-row > b, .row > b, .form-balance, .order-detail-title, input[type="number"]) {
  font-family: var(--qt-num);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: 0;
}

#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .info-row,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) :is(.info-row, .row) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  line-height: 1.6;
}

#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .info-row > span,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) :is(.info-row, .row) > span {
  min-width: 0;
  color: var(--qt-sub);
  overflow-wrap: anywhere;
}

#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .info-row > b,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) :is(.info-row, .row) > b {
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) :is(.form-help, .policy-copy, .compact-note),
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) :is(.form-help, .policy-copy, .compact-note) {
  margin: 0;
  color: var(--qt-sub);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

#app:is([data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .qz-note,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .qz-note {
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid var(--qt-line);
  border-radius: 10px;
  background: #f2ece2;
}

#app:is([data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .qz-note > :is(svg, .ic),
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .qz-note > :is(svg, .ic) {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--qt-gold);
}

/* Quote board: a compact four-column ledger. All original column headings,
 * configured groups, price times, highs/lows and first-comparison states stay visible. */
#app[data-ui-view="quote"] .quote-card { gap: 13px; padding: 16px 12px 7px; }
#app[data-ui-view="quote"] .quote-card > h2 { padding: 0 3px; }
#app[data-ui-view="quote"] .quote-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 3px;
}
#app[data-ui-view="quote"] .quote-status > :last-child { color: var(--qt-sub); font: 11px/1.5 var(--qt-num); }
#app[data-ui-view="quote"] .quote-heading {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) repeat(2, minmax(0, 1.08fr)) minmax(0, .86fr);
  gap: 5px;
  width: auto;
  height: auto;
  margin: 0 -12px;
  padding: 10px 12px;
  border: 0;
  background: #f1ebdf;
  color: #70644f;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  white-space: normal;
  overflow: visible;
  clip-path: none;
}
#app[data-ui-view="quote"] .quote-heading > :first-child { text-align: left; }
#app[data-ui-view="quote"] .quote-rows { display: flex; flex-direction: column; gap: 0; }
#app[data-ui-view="quote"] .quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) repeat(2, minmax(0, 1.08fr)) minmax(0, .86fr);
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 92px;
  margin: 0;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--qt-line);
  border-radius: 0;
  background: transparent;
  color: var(--qt-ink);
  box-shadow: none;
  text-align: right;
}
#app[data-ui-view="quote"] .quote-row:last-child { padding-bottom: 13px; border-bottom: 0; }
#app[data-ui-view="quote"] .quote-row:active { background: #f7f0e4; }
#app[data-ui-view="quote"] .quote-metal { display: flex; flex-direction: column; grid-column: auto; align-items: flex-start; gap: 4px; min-width: 0; text-align: left; }
#app[data-ui-view="quote"] .quote-metal b { color: var(--qt-navy); font-family: QZSerif, "Songti SC", STSong, serif; font-size: 17px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
#app[data-ui-view="quote"] .quote-change { margin: 0; font: 11px/1.4 var(--qt-num); }
#app[data-ui-view="quote"] .quote-metal small { margin: 0; font: 10px/1.45 var(--qt-num); color: var(--qt-sub); white-space: normal; overflow-wrap: anywhere; }
#app[data-ui-view="quote"] .quote-price { display: block; min-width: 0; font-family: var(--qt-num); font-size: clamp(17px, 5.1vw, 21px); font-weight: 650; line-height: 1.5; text-align: right; white-space: normal; overflow-wrap: anywhere; }
#app[data-ui-view="quote"] .quote-price::before { content: none; }
#app[data-ui-view="quote"] .quote-range { display: flex; grid-column: auto; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; font: 11px/1.5 var(--qt-num); color: var(--qt-sub); text-align: right; overflow-wrap: anywhere; }
#app[data-ui-view="quote"] .range-high::before { content: "高 "; color: #8b7a5f; font-size: 10px; }
#app[data-ui-view="quote"] .range-low::before { content: "低 "; color: #8b7a5f; font-size: 10px; }
#app[data-ui-view="quote"] .qz-quote-category { margin: 0 -12px; padding: 9px 12px; border-bottom: 1px solid var(--qt-line); background: #f9f5ee; color: #78623d; font-size: 12px; line-height: 1.5; font-weight: 600; }

/* Full-source board stays available, with every detail/source/time retained. */
#app[data-ui-view="quote"] #marketSourcesBoard { display: block; min-width: 0; }
#app[data-ui-view="quote"] .ms-shell { display: block; margin: 0; padding: 17px 15px; border: 1px solid var(--qt-line); border-radius: 12px; background: var(--qt-paper); color: var(--qt-ink); }
#app[data-ui-view="quote"] .ms-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#app[data-ui-view="quote"] .ms-head h2 { margin: 0 0 5px; color: var(--qt-navy); font: 600 19px/1.5 QZSerif, "Songti SC", STSong, serif; }
#app[data-ui-view="quote"] :is(.ms-head p, .ms-source, .ms-time, .ms-updated) { color: var(--qt-sub); font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
#app[data-ui-view="quote"] .ms-state { padding: 5px 8px; font-size: 11px; line-height: 1.5; border-radius: 6px; white-space: normal; }
#app[data-ui-view="quote"] .ms-disclaimer { margin: 14px 0 5px; padding: 11px 12px; border: 1px solid var(--qt-line); border-radius: 8px; background: #f7f2e9; color: var(--qt-sub); font-size: 11px; line-height: 1.75; }
#app[data-ui-view="quote"] .ms-group { margin-top: 20px; }
#app[data-ui-view="quote"] .ms-group h3 { margin: 0 0 10px; padding-left: 9px; border-left: 2px solid var(--qt-gold); color: var(--qt-navy); font-size: 14px; font-weight: 600; line-height: 1.5; }
#app[data-ui-view="quote"] .ms-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--qt-line); border-radius: 9px; overflow: visible; }
#app[data-ui-view="quote"] .ms-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 8px 12px; min-width: 0; padding: 13px 12px; border: 0; border-bottom: 1px solid var(--qt-line); border-radius: 0; background: transparent; }
#app[data-ui-view="quote"] .ms-card:last-child { padding-bottom: 13px; border-bottom: 0; }
#app[data-ui-view="quote"] .ms-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#app[data-ui-view="quote"] .ms-card-top b { color: var(--qt-navy); font-size: 14px; line-height: 1.5; font-weight: 600; }
#app[data-ui-view="quote"] .ms-card-top span { padding: 2px 5px; border-radius: 4px; background: #f0e9dc; color: #736447; font-size: 10px; line-height: 1.5; white-space: normal; }
#app[data-ui-view="quote"] .ms-value { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; margin: 0; font: 650 23px/1.4 var(--qt-num); text-align: right; overflow-wrap: anywhere; }
#app[data-ui-view="quote"] .ms-value small { color: var(--qt-sub); font: 11px/1.5 var(--qt-num); }
#app[data-ui-view="quote"] .ms-details { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5px 9px; min-height: 0; color: var(--qt-sub); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
#app[data-ui-view="quote"] .ms-details b { color: var(--qt-ink); font-family: var(--qt-num); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
#app[data-ui-view="quote"] .ms-source { grid-column: 1 / -1; margin: 2px 0 0; text-align: left; }
#app[data-ui-view="quote"] .ms-time { grid-column: 1 / -1; margin: -4px 0 0; text-align: left; }
#app[data-ui-view="quote"] .ms-unavailable { background: #f8f5f0; }
#app[data-ui-view="quote"] .ms-unavailable .ms-value { color: var(--qt-sub); font-size: 20px; }
#app[data-ui-view="quote"] .ms-unavailable .ms-details { opacity: 1; }
#app[data-ui-view="quote"] .ms-updated { margin-top: 14px; }

/* Modes and existing form fields. Three modes remain side-by-side at 320px. */
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="orders"]) .seg { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; padding: 4px; border: 1px solid #ddd2bf; border-radius: 11px; background: #eee7da; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="orders"]) .seg > button { flex: 1 1 0; min-width: 0; min-height: 46px; height: auto; padding: 10px 5px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #6c624f; font-size: 14px; line-height: 1.5; font-weight: 500; white-space: normal; box-shadow: none; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="orders"]) .seg > button.on { border-color: var(--qt-navy); background: var(--qt-navy); color: #fff9ec; box-shadow: none; font-weight: 600; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"]) .field,
#app .mask[data-visual-sheet="depositAdd"] .field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"]) .field > label,
#app .mask[data-visual-sheet="depositAdd"] .field > label { margin: 0; color: var(--qt-sub); font-size: 13px; font-weight: 500; line-height: 1.5; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"]) :is(input, select),
#app .mask[data-visual-sheet="depositAdd"] input { width: 100%; min-width: 0; max-width: 100%; min-height: 48px; height: auto; margin: 0; padding: 11px 12px; border: 1px solid var(--qt-control); border-radius: 9px; background-color: var(--qt-paper); color: var(--qt-ink); box-shadow: none; font-size: 16px; line-height: 1.5; scroll-margin-block: 90px 30px; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .trade-form { gap: 14px; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .trade-policy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .trade-policy > .tag { align-self: center; font-size: 11px; line-height: 1.6; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .trade-policy button { min-height: 44px; margin-left: auto; padding: 9px 0 9px 10px; border: 0; background: none; color: #86611f; font-size: 13px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .spec-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .spec-chip { min-width: 0; min-height: 44px; padding: 9px 4px; border: 1px solid #d3c4ac; border-radius: 8px; background: #faf6ee; color: #675233; font: 500 13px/1.5 var(--qt-num); white-space: normal; overflow-wrap: anywhere; box-shadow: none; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .spec-chip.on { border-color: var(--qt-navy); background: var(--qt-navy); color: #ffefc8; box-shadow: none; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) #f_weight { min-height: 58px; font-size: 25px; font-weight: 600; background: #fffcf6; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) #f_weight::placeholder { font-family: var(--qt-num); font-size: 15px; font-weight: 400; color: #827867; opacity: 1; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .trade-form .info-row:has([data-trade-current-price]) { margin-top: 2px; padding-top: 15px; border-top: 1px solid var(--qt-line); }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) [data-trade-current-price] { font-size: 28px; font-weight: 650; line-height: 1.25; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) [data-trade-at] { margin-top: -6px; font-size: 11px; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) :is(#estimateBox, #fundsBox) { gap: 12px; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) #estimateBox .info-row:has(.strong),
#app .mask[data-visual-sheet="tradeConfirm"] .info-row:has(.strong) { margin: 2px -4px; padding: 12px 10px; border: 1px solid #e1d1b3; border-radius: 8px; background: linear-gradient(110deg, #f8f0de, #f3e7cf); }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) #estimateBox .info-row:has(.strong) > span,
#app .mask[data-visual-sheet="tradeConfirm"] .info-row:has(.strong) > span { color: #74581f; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) #estimateBox .strong,
#app .mask[data-visual-sheet="tradeConfirm"] .info-row > .strong { color: #815d17; font-size: 25px; font-weight: 650; line-height: 1.3; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) #tradeSubmit { min-height: 52px; margin: 0; }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) #tradeActionReason { color: var(--qz-risk-warning, #96520b); border-color: #dfc99e; background: #fbf0db; }

/* These tags identify a type/policy, not completion, pending, gain or loss. */
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .trade-form > .tag.warn,
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) [data-trade-mode],
#app[data-ui-view="orders"] .order-card-tags > .tag:first-child,
#app[data-ui-view="order"] .order-card-tags > .tag:first-child,
#app .mask[data-visual-sheet="tradeConfirm"] .order-card-tags > .tag,
#app .mask[data-visual-sheet="tradeConfirm"] .sheet > .card:not([role="alert"]) > .tag.warn { border: 1px solid #e1d7c6; background: #f3eee4; color: #786448; }

/* Order ledger and detail. No collapsed rows or hidden fees. */
#app[data-ui-view="orders"] .orders-page > .field { padding: 1px 0 2px; }
#app[data-ui-view="orders"] .order-card { gap: 11px; }
#app[data-ui-view="orders"] .order-card + .order-card { margin-top: 0; }
#app:is([data-ui-view="orders"], [data-ui-view="order"]) .order-card-tags { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
#app:is([data-ui-view="orders"], [data-ui-view="order"]) .order-card-tags .tag { max-width: 100%; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; white-space: normal; }
#app[data-ui-view="orders"] .order-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 4px 0 8px; border: 0; border-radius: 0; background: transparent; color: var(--qt-navy); font-size: 21px; font-weight: 600; line-height: 1.5; text-align: left; }
#app[data-ui-view="orders"] .order-card-title > span { min-width: 0; overflow-wrap: anywhere; }
#app[data-ui-view="orders"] .order-card-title svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--qt-gold); }
#app[data-ui-view="orders"] .order-card-meta { padding-top: 2px; font-size: 11px; line-height: 1.8; color: #7a7368; }
#app[data-ui-view="order"] .card > .order-detail-title { font-family: var(--qt-num); font-size: 24px; line-height: 1.45; font-weight: 600; }
#app:is([data-ui-view="orders"], [data-ui-view="order"]) [data-order-estimate]:not([hidden]),
#app .mask:is([data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) [data-order-estimate]:not([hidden]) { display: flex; flex-direction: column; gap: 11px; margin-top: 2px; padding-top: 13px; border-top: 1px solid var(--qt-line); }
#app:is([data-ui-view="orders"], [data-ui-view="order"]) .btn-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; }
#app[data-ui-view="orders"] .order-card-actions { padding-top: 13px; border-top: 1px solid var(--qt-line); }
#app:is([data-ui-view="orders"], [data-ui-view="order"]) .btn-row > :is(.btn, .btn-mini) { flex: 1 1 110px; min-width: 0; min-height: 46px; margin: 0; padding: 11px 8px; border: 1px solid var(--qt-navy); border-radius: 9px; background: var(--qt-navy); color: #fff9ef; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; box-shadow: none; }
#app:is([data-ui-view="orders"], [data-ui-view="order"]) .btn-row > [data-order-action="close"] { border-color: var(--qt-control); background: var(--qt-paper); color: var(--qt-navy); font-weight: 500; }

/* Policy keeps the live policy selector and all read-only risk/fee rows. */
#app[data-ui-view="policy"] .card > .policy-copy { font-size: 13px; line-height: 1.85; }
#app[data-ui-view="policy"] .card > .tag { align-self: flex-start; }

/* Existing confirmation sheets: warm paper, clear quantities, explicit alerts. */
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .sheet { display: flex; flex-direction: column; gap: 15px; background: var(--qt-bg); color: var(--qt-ink); scroll-padding-bottom: 30px; }
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .sheet > h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin: 0; padding: 0; color: var(--qt-navy); font: 600 22px/1.4 QZSerif, "Songti SC", STSong, serif; }
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .sheet > h3 .x { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; margin: 0 -8px 0 0; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--qt-navy); font: 26px/1 var(--qt-num); }
#app .mask[data-visual-sheet="tradeConfirm"] .form-balance { margin: 1px 0 5px; color: var(--qt-navy); font-size: 34px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
#app .mask[data-visual-sheet="tradeConfirm"] .order-card-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
#app .mask[data-visual-sheet="tradeConfirm"] .card[role="alert"] { border-color: #d6b578; background: #fff5df; }
#app .mask[data-visual-sheet="tradeConfirm"] .card[role="alert"] > h2 { color: #825810; }
#app .mask:is([data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .order-detail-title { color: var(--qt-navy); font-size: 23px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
#app .mask[data-visual-sheet="depositAdd"] #s_damount { min-height: 56px; font-size: 24px; font-weight: 600; background: #fffcf6; }
#app .mask[data-visual-sheet="depositAdd"] #s_damount::placeholder { font-size: 14px; font-weight: 400; color: #827867; }
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .sheet > .btn { margin: 0; min-height: 48px; }

/* Trend: presentation of the existing real-data renderer only. The chart,
 * sample counts, failure messages and validity decisions are not synthesized. */
#app[data-ui-view="trend"] .card { padding: 17px 16px; }
#app[data-ui-view="trend"] .card p { margin: 10px 0; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
#app[data-ui-view="trend"] .card .muted { color: var(--qt-sub); font-size: 12px; line-height: 1.75; }
#app[data-ui-view="trend"] .kv { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--qt-line); color: var(--qt-sub); font-size: 13px; line-height: 1.6; }
#app[data-ui-view="trend"] .kv > :last-child { min-width: 0; max-width: 100%; margin-left: auto; color: var(--qt-ink); text-align: right; overflow-wrap: anywhere; }
#app[data-ui-view="trend"] .kv > strong { font-size: 15px; font-weight: 600; }
#app[data-ui-view="trend"] .trend-chart { margin: 12px 0 7px; padding: 10px 4px 1px; border: 1px solid var(--qt-line); border-radius: 8px; background: #faf6ee; color: var(--qt-sub); }
#app[data-ui-view="trend"] .trend-chart-labels { flex-wrap: wrap; }
#app[data-ui-view="trend"] .trend-chart-labels > :last-child { margin-left: auto; text-align: right; }
#app[data-ui-view="trend"] .trend-result { border-top: 3px solid #c0a066; }
#app[data-ui-view="trend"] .trend-result h3 { font-size: 18px; line-height: 1.5; }
#app[data-ui-view="trend"] .trend-result .red { color: var(--qz-quote-up, #a9313a); }
#app[data-ui-view="trend"] .trend-result .green { color: var(--qz-quote-down, #19704a); }
#app[data-ui-view="trend"] [data-trend-refresh] { min-height: 44px; min-width: 74px; flex-shrink: 0; padding: 9px 12px; border-radius: 8px; font-size: 13px; }
#app[data-ui-view="trend"] .trend-risk { background: #f3ede2; }

/* Preserve state and keyboard access. Hidden is only the application's own
 * hidden attribute; no content/field/button selector is removed from layout. */
#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) [hidden],
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) [hidden] { display: none; }
#app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) :is(button, input, select):focus-visible,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) :is(button, input):focus-visible { outline: 2px solid var(--qt-navy); outline-offset: 3px; box-shadow: 0 0 0 2px var(--qt-paper); }
#app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="orders"], [data-ui-view="order"], [data-ui-view="trend"]) button:disabled,
#app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) button:disabled { border-color: #ded7cb; background: #e9e3d8; color: #797064; opacity: 1; box-shadow: none; cursor: not-allowed; }

@media (max-width: 359px) {
  #app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) > .page { --qt-page-gutter: 11px; padding-inline: var(--qt-page-gutter); }
  #app:is([data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) .card { padding-inline: 13px; }
  #app[data-ui-view="quote"] .quote-card { padding-inline: 10px; }
  #app[data-ui-view="quote"] :is(.quote-heading, .qz-quote-category) { margin-inline: -10px; padding-inline: 10px; }
  #app[data-ui-view="quote"] .quote-price { font-size: 17px; }
  #app[data-ui-view="quote"] .quote-metal b { font-size: 16px; }
  #app[data-ui-view="quote"] .quote-range { font-size: 10px; }
  #app[data-ui-view="quote"] .ms-shell { padding-inline: 12px; }
  #app[data-ui-view="quote"] .ms-card { padding-inline: 10px; gap: 8px; }
  #app[data-ui-view="quote"] .ms-value { font-size: 21px; }
  #app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .seg > button { flex: 1 1 0; font-size: 13px; }
  #app:is([data-ui-view="trade"], [data-ui-view="vaultSale"]) .spec-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app:is([data-ui-view="orders"], [data-ui-view="order"]) .btn-row > :is(.btn, .btn-mini) { flex: 1 1 105px; font-size: 13px; }
  #app .mask[data-visual-sheet="tradeConfirm"] .form-balance { font-size: 30px; }
  #app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) .sheet > .card { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  #app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) button { transition: none; }
}
@media (forced-colors: active) {
  #app:is([data-ui-view="quote"], [data-ui-view="trend"], [data-ui-view="trade"], [data-ui-view="vaultSale"], [data-ui-view="policy"], [data-ui-view="orders"], [data-ui-view="order"]) :is(button, input, select):focus-visible,
  #app .mask:is([data-visual-sheet="tradeConfirm"], [data-visual-sheet="settle"], [data-visual-sheet="settleClose"], [data-visual-sheet="depositAdd"]) :is(button, input):focus-visible { outline: 2px solid Highlight; box-shadow: none; }
}

/* Full-bleed subpage headers use the page's own gutter token. Auto width
 * stretches between both negative margins, without a second width calculation.
 * 320px uses 11px gutters; 375/390/430px use 14px. No clipping workaround. */
#app:is([data-ui-view="trend"], [data-ui-view="policy"], [data-ui-view="order"]) > .page > .inner-header {
  box-sizing: border-box;
  align-self: stretch;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: -16px calc(0px - var(--qt-page-gutter)) 3px;
}
/* Visual QA: keep short reference status beside its compact refresh control. */
#app[data-ui-view="trend"] .trend-result [data-trend-refresh]{width:auto;max-width:90px;flex:0 0 auto}
#app[data-ui-view="trend"] .trend-result>div>h3{min-width:0;flex:1;word-break:normal;font-size:15px}

/* QZ assets, account and one-step forms.
 * Presentation only. Append after the legacy/account-commerce styles.
 * data-ui-view is the existing view key; data-visual-sheet is the original sheet key.
 * No business controls, conditional fields, status labels or receipts are hidden.
 */

/* Numeric content never inherits the editorial title face. */
#app:is([data-ui-view="asset"], [data-ui-view="vault"], [data-ui-view="vaultSale"], [data-ui-view="cashLog"], [data-ui-view="vaultLog"], [data-ui-view="sales"], [data-ui-view="me"], [data-ui-view="profile"], [data-ui-view="kyc"], [data-ui-view="contracts"], [data-ui-view="contractHistory"], [data-ui-view="contractRead"], :has(.auth-login), :has(.auth-register)),
.mask:is([data-visual-sheet="recharge"], [data-visual-sheet="withdraw"], [data-visual-sheet="withdrawConfirm"], [data-visual-sheet="credit"], [data-visual-sheet="creditApply"], [data-visual-sheet="creditRepay"], [data-visual-sheet="pickup"], [data-visual-sheet="deposit"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"], [data-visual-sheet="bank"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="records"], [data-visual-sheet="recordDetail"], [data-visual-sheet="submissionResult"], [data-visual-sheet="pwd"], [data-visual-sheet="logoutConfirm"]) {
  --qza-sans: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --qza-ivory: #F7F4EE;
  --qza-paper: #FFFDFA;
  --qza-ink: #25282E;
  --qza-muted: #69655E;
  --qza-navy: #202B3B;
  --qza-gold: #A57B2E;
  --qza-line: #E6DDD0;
  --qza-control: #A69A87;
}

#app:is([data-ui-view="asset"], [data-ui-view="vault"], [data-ui-view="vaultSale"], [data-ui-view="cashLog"], [data-ui-view="vaultLog"], [data-ui-view="sales"], [data-ui-view="me"], [data-ui-view="profile"], [data-ui-view="kyc"], [data-ui-view="contracts"], [data-ui-view="contractHistory"], [data-ui-view="contractRead"], :has(.auth-login), :has(.auth-register)) :is(.num, .bal, .form-balance, .asset-metrics b, input, select, textarea),
.mask:is([data-visual-sheet="recharge"], [data-visual-sheet="withdraw"], [data-visual-sheet="withdrawConfirm"], [data-visual-sheet="credit"], [data-visual-sheet="creditApply"], [data-visual-sheet="creditRepay"], [data-visual-sheet="pickup"], [data-visual-sheet="deposit"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"], [data-visual-sheet="bank"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="records"], [data-visual-sheet="recordDetail"], [data-visual-sheet="submissionResult"], [data-visual-sheet="pwd"], [data-visual-sheet="logoutConfirm"]) :is(.num, .bal, .form-balance, .asset-metrics b, input, select, textarea) {
  font-family: var(--qza-sans);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0;
}

/* A quiet account card: navy, a fine gold keyline and an ivory metrics inset. */
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .card.asset-card,
.mask[data-visual-sheet="credit"] .card.credit-summary {
  position: relative;
  padding: 20px 18px;
  gap: 0;
  border: 1px solid #364051;
  border-top: 2px solid #B69558;
  border-radius: 14px;
  background: var(--qza-navy);
  color: var(--qza-paper);
  box-shadow: none;
  isolation: isolate;
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-card .home-balance-label,
.mask[data-visual-sheet="credit"] .credit-summary .bal-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 0;
  font-size: 13px;
  line-height: 20px;
  color: #E4DDCF;
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-card .icon-button {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: -8px -8px -8px 0;
  padding: 12px;
  color: #E4DDCF;
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-card > .bal,
.mask[data-visual-sheet="credit"] .credit-summary > .bal {
  margin: 10px 0 4px;
  font-size: clamp(28px, 8.2vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  color: #FFFCF4;
  overflow-wrap: anywhere;
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-card .me-quote-waiting {
  font-size: 28px;
  line-height: 38px;
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-metrics,
.mask[data-visual-sheet="credit"] .asset-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid #E1D8C8;
  border-radius: 10px;
  background: var(--qza-paper);
  color: var(--qza-ink);
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-metrics > div,
.mask[data-visual-sheet="credit"] .asset-metrics > div { min-width: 0; }
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-metrics span,
.mask[data-visual-sheet="credit"] .asset-metrics span {
  display: block;
  color: var(--qza-muted);
  font-size: 12px;
  line-height: 19px;
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-metrics b,
.mask[data-visual-sheet="credit"] .asset-metrics b {
  display: block;
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 25px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
/* Neutral numbers only: explicit financial tones remain governed by semantics. */
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-metrics b:not(.profit-positive):not(.profit-negative):not(.market-up):not(.market-down),
.mask[data-visual-sheet="credit"] .asset-metrics b:not(.profit-positive):not(.profit-negative) { color: var(--qza-ink); }
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .net-account-metrics > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--qza-line);
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .net-account-rate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #53606D;
  color: #E4DDCF;
  font-size: 12px;
  line-height: 20px;
}
#app:is([data-ui-view="asset"], [data-ui-view="me"]) .net-account-rate b { color: #FFFCF4; font-size: 16px; }
#app[data-ui-view="me"] .me-balance > .btn-row { margin: 18px 0 0; gap: 10px; }
#app[data-ui-view="me"] .me-balance .btn:not(.ghost) {
  background: #F3E7CD;
  color: #342C1C;
  border-color: #D7BE8B;
}
#app[data-ui-view="me"] .me-balance .btn.ghost { color: #FFFCF4; background: transparent; border-color: #B9AB8E; }
#app[data-ui-view="me"] .me-balance .btn:active { background: #E9D8B6; color: #342C1C; }

/* Gold is an accent for holdings, not a substitute for up/down/error states. */
#app[data-ui-view="vault"] .vault-page > .card:first-child {
  border-color: #DCC7A3;
  border-top: 2px solid #B69558;
  background: #F5EBD8;
}
#app[data-ui-view="vault"] .vault-page > .card:first-child .info-row { padding: 15px 0; border-color: #DED0B6; }
#app[data-ui-view="vault"] .vault-page > .card:first-child .info-row > span { color: #655B49; }
#app[data-ui-view="vault"] .vault-page > .card:first-child .info-row > b { font-size: 24px; line-height: 32px; color: #73551E; }
#app:is([data-ui-view="asset"], [data-ui-view="vault"]) .fidelity-link:last-child { border-bottom: 0; }
#app[data-ui-view="asset"] .asset-page > .btn-row { gap: 10px; }

/* Ledgers stay readable with unusually long references and pending values. */
#app:is([data-ui-view="cashLog"], [data-ui-view="vaultLog"]) .ledger-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 10px 0 4px;
}
#app:is([data-ui-view="cashLog"], [data-ui-view="vaultLog"]) .ledger-heading > span {
  flex: 1 1 110px;
  min-width: 0;
  color: var(--qza-ink);
  font-size: 14px;
  line-height: 22px;
}
#app:is([data-ui-view="cashLog"], [data-ui-view="vaultLog"]) .ledger-heading > b {
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  font-size: 21px;
  line-height: 29px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
#app:is([data-ui-view="cashLog"], [data-ui-view="vaultLog"]) .card .form-help { margin: 5px 0 0; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
#app[data-ui-view="cashLog"] [data-ledger-kind="credit"] > .form-help:first-of-type {
  padding: 10px 12px;
  border-radius: 8px;
  background: #F2EEE6;
  color: #615B50;
}
#app:is([data-ui-view="cashLog"], [data-ui-view="vaultLog"]) .card > .info-row,
#app[data-ui-view="cashLog"] [data-ledger-kind] > .info-row { margin-top: 6px; }
#app[data-ui-view="sales"] .page > .field:first-child {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--qza-line);
  border-radius: 12px;
  background: var(--qza-paper);
}

/* My account uses the same thin rules and restrained service icons as home. */
#app[data-ui-view="me"] .me-page { gap: 14px; }
#app[data-ui-view="me"] .me-navgroup { gap: 0; }
#app[data-ui-view="me"] .me-navgroup > h2 { margin: 0 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--qza-line); }
#app[data-ui-view="me"] .me-visual-link { min-height: 62px; padding: 12px 0; gap: 12px; }
#app[data-ui-view="me"] .me-visual-link:last-child { border-bottom: 0; }
#app[data-ui-view="me"] .me-visual-link > .me-nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #F5EFE2;
  color: var(--qza-gold);
}
#app[data-ui-view="me"] .me-nav-icon img { width: 28px; height: 28px; object-fit: contain; }
#app[data-ui-view="me"] .me-visual-link > span:nth-child(2) { flex: 1; min-width: 0; }
#app[data-ui-view="me"] .me-visual-link b { font-size: 15px; line-height: 23px; font-weight: 500; }
#app[data-ui-view="me"] .me-visual-link > .me-visual-chevron { flex: 0 0 7px; width: 7px; min-width: 7px; height: 7px; color: var(--qza-gold); border-color: #A69A87; }
#app[data-ui-view="me"] .me-security { padding-top: 3px; padding-bottom: 3px; }
#app[data-ui-view="me"] > .qz-head { grid-template-columns: 44px minmax(0, 1fr) 62px; }
#app[data-ui-view="me"] > .qz-head > h1 { white-space: nowrap; font-size: 20px; }
#app[data-ui-view="me"] .me-header-identity { min-width: 0; }
#app[data-ui-view="me"] .me-header-identity strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 16px; line-height: 24px; }
#app[data-ui-view="me"] .me-header-identity p { margin: 3px 0 0; font-size: 11px; line-height: 18px; color: #E4DDCF; overflow-wrap: anywhere; }
#app[data-ui-view="me"] .me-header-identity .tag { font-size: 11px; line-height: 16px; padding: 2px 6px; }

/* Profile groups remain actual cards, with full values allowed to wrap. */
#app[data-ui-view="profile"] > .inner-header { width: 100%; max-width: 100%; margin: 0; padding: 9px 12px; }
#app[data-ui-view="profile"] .profile-group { padding: 16px; gap: 0; }
#app[data-ui-view="profile"] .profile-group > h2 { margin: 0 0 8px; }
#app[data-ui-view="profile"] .profile-white-card { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
#app[data-ui-view="profile"] .profile-white-card .fidelity-link:last-child { border-bottom: 0; }
#app[data-ui-view="profile"] .profile-entry-icon { flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; }
#app[data-ui-view="profile"] .profile-white-card .fidelity-link > span { flex: 1; }
#app[data-ui-view="profile"] .profile-basic .info-row > b { font-family: var(--qza-sans); font-variant-numeric: tabular-nums; }
#app[data-ui-view="profile"] .profile-record > .btn { margin-top: 12px; }

/* Original sheet fields, grouping and order are retained. */
.mask:is([data-visual-sheet="recharge"], [data-visual-sheet="withdraw"], [data-visual-sheet="withdrawConfirm"], [data-visual-sheet="credit"], [data-visual-sheet="creditApply"], [data-visual-sheet="creditRepay"], [data-visual-sheet="pickup"], [data-visual-sheet="deposit"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"], [data-visual-sheet="bank"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="records"], [data-visual-sheet="recordDetail"], [data-visual-sheet="submissionResult"], [data-visual-sheet="pwd"], [data-visual-sheet="logoutConfirm"]) .sheet {
  color: var(--qza-ink);
  background: var(--qza-ivory);
  overscroll-behavior: contain;
}
.mask:is([data-visual-sheet="recharge"], [data-visual-sheet="withdraw"], [data-visual-sheet="creditApply"], [data-visual-sheet="creditRepay"], [data-visual-sheet="pickup"], [data-visual-sheet="deposit"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"], [data-visual-sheet="bank"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="pwd"]) .card.fidelity-stack {
  gap: 14px;
  border-radius: 12px;
}
.mask:is([data-visual-sheet="recharge"], [data-visual-sheet="withdraw"], [data-visual-sheet="creditApply"], [data-visual-sheet="creditRepay"], [data-visual-sheet="pickup"], [data-visual-sheet="deposit"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"], [data-visual-sheet="bank"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="pwd"]) .card.fidelity-stack > .field { margin: 0; }
.mask:is([data-visual-sheet="pickup"], [data-visual-sheet="deposit"]) .field > label { line-height: 21px; }
.mask[data-visual-sheet="pickup"] .info-row:has([data-pickup-available]) {
  margin: 0;
  padding: 12px;
  border: 1px solid #E2D3B9;
  border-radius: 9px;
  background: #F7EFDF;
}
.mask[data-visual-sheet="pickup"] [data-pickup-available] { font-size: 20px; line-height: 28px; color: #73551E; }
.mask[data-visual-sheet="pickup"] :is([data-pickup-courier], [data-pickup-self]) { gap: 14px; }
.mask[data-visual-sheet="pickup"] :is([data-pickup-courier], [data-pickup-self]) > .field { margin: 0; }
.mask[data-visual-sheet="pickup"] .field > .btn.ghost { margin-top: 10px; }
.mask:is([data-visual-sheet="pickup"], [data-visual-sheet="deposit"], [data-visual-sheet="withdraw"]) .sheet > .card.fidelity-link { gap: 12px; padding: 14px 16px; }
.mask:is([data-visual-sheet="withdraw"], [data-visual-sheet="withdrawConfirm"]) :is(.form-balance, .qz-confirm > h2) {
  margin: 2px 0 8px;
  font-family: var(--qza-sans);
  font-variant-numeric: tabular-nums;
  font-size: clamp(27px, 8vw, 34px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--qza-navy);
  overflow-wrap: anywhere;
}
.mask[data-visual-sheet="withdrawConfirm"] .qz-confirm { border-top: 2px solid #B69558; text-align: left; }
.mask[data-visual-sheet="creditRepay"] #repay-preview:not(:empty) { padding-top: 10px; border-top: 1px solid var(--qza-line); gap: 0; }

/* Platform account information and all copy actions remain accessible. */
.mask[data-visual-sheet="recharge"] .pay-account-list { border: 0; padding: 0; background: transparent; }
.mask[data-visual-sheet="recharge"] .pay-account {
  padding: 12px;
  border: 1px solid #DED1B9;
  border-radius: 10px;
  background: #F8F1E4;
  box-shadow: none;
}
.mask[data-visual-sheet="recharge"] .pay-account + .pay-account { margin-top: 12px; }
.mask[data-visual-sheet="recharge"] .pay-account-line {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  line-height: 21px;
}
.mask[data-visual-sheet="recharge"] .pay-account-line > span { color: var(--qza-muted); }
.mask[data-visual-sheet="recharge"] .pay-account-line > b { min-width: 0; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--qza-ink); overflow-wrap: anywhere; }
.mask[data-visual-sheet="recharge"] .pay-account button {
  min-width: 44px;
  min-height: 44px;
  padding: 9px 8px;
  border: 1px solid #C9B994;
  border-radius: 8px;
  background: var(--qza-paper);
  color: #72551F;
  font-family: var(--qza-sans);
  font-size: 13px;
  line-height: 20px;
  box-shadow: none;
}
.mask[data-visual-sheet="recharge"] .pay-account .copy-account-all { width: 100%; margin-top: 10px; }
.mask[data-visual-sheet="recharge"] #voucherPrev:has(img) { margin-top: 10px; padding: 10px; background: #F2EEE6; border: 1px solid var(--qza-line); border-radius: 10px; }
.mask[data-visual-sheet="recharge"] #voucherPrev img { display: block; object-fit: contain; margin-inline: auto; }

/* Bank numbers are masked by the source, never by visual replacement. */
.mask[data-visual-sheet="bank"] .bank-account {
  padding: 16px;
  gap: 8px;
  border: 1px solid #DDD0B7;
  border-radius: 10px;
  background: #F7EFDF;
}
.mask[data-visual-sheet="bank"] .bank-account + .bank-account { margin-top: 12px; padding-top: 16px; }
.mask[data-visual-sheet="bank"] .bank-account .order-card-tags { justify-content: space-between; gap: 8px; }
.mask[data-visual-sheet="bank"] .bank-account .order-card-tags > span:first-child { color: var(--qza-navy); font-size: 14px; line-height: 22px; }
.mask[data-visual-sheet="bank"] .bank-account .form-help { margin: 0; }
.mask[data-visual-sheet="bank"] .bank-card-number { margin-top: 3px; color: var(--qza-navy); font-size: 21px; line-height: 30px; letter-spacing: 1px; overflow-wrap: anywhere; }
.mask[data-visual-sheet="bank"] .bank-application { gap: 8px; }
.mask[data-visual-sheet="bank"] .bank-application + .bank-application { padding-top: 14px; border-color: var(--qza-line); }

/* Upload hit targets keep their source file input and visible replacement label. */
#app:has(.auth-register) .kyc-upload,
.mask:is([data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"]) .kyc-upload {
  border: 1px solid #C9B994;
  border-radius: 10px;
  background: #FAF7F0;
  overflow: hidden;
}
#app:has(.auth-register) .kyc-upload > label,
.mask:is([data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"]) .kyc-upload > label { min-height: 94px; padding: 16px 12px; gap: 12px; }
#app:has(.auth-register) .kyc-upload > label > svg,
.mask:is([data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"]) .kyc-upload > label > svg { color: var(--qza-gold); }
#app:has(.auth-register) .kyc-upload b,
.mask:is([data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"]) .kyc-upload b { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--qza-ink); }
#app:has(.auth-register) .kyc-upload small,
.mask:is([data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"]) .kyc-upload small { font-size: 12px; line-height: 19px; color: var(--qza-muted); }
#app:has(.auth-register) .kyc-upload img,
.mask:is([data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"]) .kyc-upload img { max-height: 180px; max-width: calc(100% - 24px); margin: 0 auto 12px; border-radius: 6px; object-fit: contain; }

/* Business records, identity audit records and real results share spacing only. */
#app[data-ui-view="kyc"] .record-summary,
.mask:is([data-visual-sheet="records"], [data-visual-sheet="credit"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"]) .record-summary {
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--qza-line);
}
#app[data-ui-view="kyc"] .record-summary:last-child,
.mask:is([data-visual-sheet="records"], [data-visual-sheet="credit"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"]) .record-summary:last-child { padding-bottom: 0; border-bottom: 0; }
#app[data-ui-view="kyc"] .record-summary:first-of-type,
.mask:is([data-visual-sheet="records"], [data-visual-sheet="credit"], [data-visual-sheet="kycLicense"], [data-visual-sheet="kycId"], [data-visual-sheet="fulfillmentAddress"], [data-visual-sheet="fulfillmentPerson"]) .record-summary:first-of-type { padding-top: 0; }
.mask:is([data-visual-sheet="records"], [data-visual-sheet="credit"]) .record-summary .order-card-tags { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mask:is([data-visual-sheet="records"], [data-visual-sheet="credit"]) .record-summary .order-card-tags > b { min-width: 0; max-width: 100%; margin-left: auto; font-size: 18px; line-height: 26px; font-weight: 600; overflow-wrap: anywhere; }
.mask[data-visual-sheet="records"] .record-summary .fidelity-link { min-height: 56px; padding: 10px 0 0; border-top: 1px solid var(--qza-line); border-bottom: 0; }
.mask[data-visual-sheet="records"] .record-summary .fidelity-link b { font-size: 14px; }
.mask[data-visual-sheet="records"] .record-summary .fidelity-link small { font-size: 12px; line-height: 19px; }
.mask[data-visual-sheet="records"] .record-type-filter { margin-bottom: 16px; padding: 14px 16px; border: 1px solid var(--qza-line); border-radius: 12px; background: var(--qza-paper); }
.mask[data-visual-sheet="recordDetail"] .info-row > b { font-family: var(--qza-sans); font-variant-numeric: tabular-nums; }
.mask[data-visual-sheet="submissionResult"] .qz-result,
#app:has(.auth-register) .qz-result { padding: 24px 18px; text-align: center; border-top: 2px solid #B69558; }
.mask[data-visual-sheet="submissionResult"] .qz-result > .result-icon,
#app:has(.auth-register) .qz-result > .result-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border: 1px solid #DBC69F;
  border-radius: 50%;
  color: #806026;
  background: #F7EFDF;
  font-family: var(--qza-sans);
  font-size: 28px;
  line-height: 1;
}
.mask[data-visual-sheet="submissionResult"] .qz-result > h2,
#app:has(.auth-register) .qz-result > h2 { margin: 0 0 12px; font-size: 22px; line-height: 31px; }
.mask[data-visual-sheet="submissionResult"] .qz-result > .muted { margin: 0 0 16px; line-height: 23px; }
.mask[data-visual-sheet="submissionResult"] .qz-result .row,
#app:has(.auth-register) .qz-result .info-row { text-align: left; }
.mask:is([data-visual-sheet="submissionResult"], [data-visual-sheet="withdrawConfirm"]) .row > b { min-width: 0; font-family: var(--qza-sans); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Contracts: generous reading measure, intact signature/review controls. */
#app:is([data-ui-view="contracts"], [data-ui-view="contractHistory"], [data-ui-view="contractRead"]) .contract-title { font-size: 22px; line-height: 32px; margin: 4px 0 12px; color: var(--qza-navy); }
#app[data-ui-view="contractRead"] .contract-body { font-size: 16px; line-height: 1.9; color: var(--qza-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
#app[data-ui-view="contractRead"] .card > h3 { margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--qza-line); }
#app[data-ui-view="contracts"] .contract-signing > h3 { margin: 24px 0 12px; font-size: 17px; line-height: 25px; color: var(--qza-navy); }
#app[data-ui-view="contracts"] .contract-signing > h3:first-child { margin-top: 0; }
#app[data-ui-view="contracts"] .contract-type { gap: 8px; }
#app[data-ui-view="contracts"] .contract-type .btn { min-height: 48px; padding: 11px 8px; font-size: 14px; line-height: 22px; }
#app[data-ui-view="contracts"] .contract-signing .field { margin: 16px 0; }
#app[data-ui-view="contracts"] .contract-photo { margin: 18px 0; padding: 14px 12px; border: 1px solid #D8CCB7; border-radius: 10px; background: #FAF7F0; }
#app[data-ui-view="contracts"] .contract-photo > label { font-size: 14px; line-height: 22px; color: var(--qza-ink); font-weight: 500; }
#app[data-ui-view="contracts"] .contract-photo .form-help { margin: 8px 0 0; color: var(--qza-muted); }
#app[data-ui-view="contracts"] .contract-photo img { max-height: 180px; margin-inline: auto; object-fit: contain; }
#app[data-ui-view="contracts"] .contract-bank { margin: 22px 0; padding: 8px 0; border-color: var(--qza-line); }
#app[data-ui-view="contracts"] .contract-bank summary { min-height: 44px; padding: 11px 0; color: var(--qza-navy); font-size: 14px; line-height: 22px; }
#app[data-ui-view="contracts"] .contract-canvas { max-width: 100%; border: 1px solid var(--qza-control); border-radius: 10px; background: #fff; }
#app[data-ui-view="contracts"] .contract-pad-tools { gap: 10px; margin: 10px 0 22px; }
#app[data-ui-view="contracts"] .contract-pad-tools .btn { flex: 0 0 auto; min-height: 44px; font-size: 13px; line-height: 21px; padding: 10px 12px; }
#app[data-ui-view="contracts"] .qz-check { min-height: 44px; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 24px; }
#app[data-ui-view="contracts"] .qz-check input { flex: 0 0 20px; margin-top: 2px; }
#app[data-ui-view="contracts"] .contract-final-review { margin: 20px 0; padding: 16px; border: 1px solid #D4BE93; border-radius: 10px; background: #F7EFDF; color: var(--qza-ink); }
#app[data-ui-view="contracts"] .contract-final-review h3 { color: var(--qza-navy); margin: 0 0 12px; }
#app[data-ui-view="contractRead"] .contract-evidence { margin-top: 24px; }
#app[data-ui-view="contractRead"] .contract-evidence p { border-color: var(--qza-line); gap: 12px; }
#app[data-ui-view="contractRead"] .contract-evidence p span { color: var(--qza-muted); }
#app[data-ui-view="contractRead"] .contract-evidence p strong { min-width: 0; font-family: var(--qza-sans); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#app[data-ui-view="contractRead"] :is(.contract-signature-image, .contract-seal-image) { border: 1px solid var(--qza-line); border-radius: 8px; }

/* Authentication keeps the full registration and review receipt intact. */
#app:is(:has(.auth-login), :has(.auth-register)) .auth-content { gap: 16px; padding: 20px 16px 32px; }
#app:has(.auth-login) .auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 122px;
  padding: 20px;
  border: 1px solid #DED0B6;
  border-radius: 12px;
  background: #F1E8D6;
  box-shadow: none;
}
#app:has(.auth-login) .auth-brand img { display: block; width: 220px; max-width: 100%; height: auto; max-height: 82px; object-fit: contain; }
#app:has(.auth-login) .auth-welcome { margin: 8px 0 -7px; font-size: 28px; line-height: 38px; color: var(--qza-navy); font-weight: 600; }
#app:has(.auth-login) .auth-sub { margin: 0; font-size: 13px; line-height: 22px; color: var(--qza-muted); }
#app:has(.auth-login) .auth-card { gap: 16px; margin: 4px 0 0; padding: 20px 16px; border: 1px solid var(--qza-line); border-radius: 12px; background: var(--qza-paper); box-shadow: none; }
#app:has(.auth-login) .auth-card > h3 { margin: 0; color: var(--qza-navy); font-size: 18px; line-height: 28px; }
#app:has(.auth-login) .auth-card > .field { margin: 0; }
#app:has(.auth-login) .qz-input-icon > input { padding-left: 40px; }
#app:has(.auth-login) .qz-input-icon > span { display: grid; place-items: center; height: 48px; width: 40px; left: 0; top: 0; bottom: auto; transform: none; color: var(--qza-gold); pointer-events: none; }
#app:has(.auth-register) .auth-content > .card { padding: 16px; border-radius: 12px; gap: 14px; }
#app:has(.auth-register) .auth-content .card > .field { margin: 0; }
#app:has(.auth-register) .auth-content > .form-help { margin: 0; }

/* Source file controls remain visible and keyboard-operable where not an upload tile. */
#app[data-ui-view="contracts"] .contract-photo input[type="file"],
.mask[data-visual-sheet="recharge"] input[type="file"] { display: block; width: 100%; max-width: 100%; min-height: 44px; font-size: 13px; line-height: 22px; color: var(--qza-muted); }
#app[data-ui-view="contracts"] .contract-photo input[type="file"]::file-selector-button,
.mask[data-visual-sheet="recharge"] input[type="file"]::file-selector-button { min-height: 44px; padding: 10px 12px; margin-right: 10px; border: 1px solid var(--qza-control); border-radius: 8px; background: var(--qza-paper); color: var(--qza-navy); font: inherit; cursor: pointer; }

@media (max-width: 360px) {
  #app:is([data-ui-view="asset"], [data-ui-view="me"]) .card.asset-card,
  .mask[data-visual-sheet="credit"] .card.credit-summary { padding: 18px 14px; }
  #app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-metrics,
  .mask[data-visual-sheet="credit"] .asset-metrics { padding: 12px; gap: 14px 10px; }
  #app:is([data-ui-view="asset"], [data-ui-view="me"]) .asset-metrics b,
  .mask[data-visual-sheet="credit"] .asset-metrics b { font-size: 16px; line-height: 23px; }
  #app:is([data-ui-view="asset"], [data-ui-view="me"]) .btn-row { flex-wrap: nowrap; }
  #app:is([data-ui-view="asset"], [data-ui-view="me"]) .btn-row > .btn { flex-basis: 0; min-width: 0; padding-inline: 8px; font-size: 14px; }
  #app[data-ui-view="vault"] .vault-page > .card:first-child .info-row > b { font-size: 21px; line-height: 29px; }
  #app:is([data-ui-view="cashLog"], [data-ui-view="vaultLog"]) .ledger-heading > b { font-size: 19px; line-height: 27px; }
  .mask[data-visual-sheet="recharge"] .pay-account { padding: 10px; }
  .mask[data-visual-sheet="recharge"] .pay-account-line { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 6px; }
  .mask[data-visual-sheet="bank"] .bank-card-number { font-size: 18px; letter-spacing: .5px; }
  #app[data-ui-view="contracts"] .contract-type { flex-wrap: wrap; }
  #app[data-ui-view="contracts"] .contract-type > .btn { flex: 1 1 110px; }
}
/* Visual QA: icon spans must not inherit the flexible text column. */
#app[data-ui-view="profile"] .profile-white-card .fidelity-link>.profile-ui-icon{flex:0 0 32px;width:32px;min-width:32px;max-width:32px;height:32px}

/* Existing shop and service flows, unified with the approved home. */
#app[data-ui-view^=shop] .page{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
#app[data-ui-view^=shop] .shop-home-page>.qz-banner{border-radius:12px;overflow:hidden;border:1px solid #ddc49b;background:#202b3b;margin:0 0 18px;box-shadow:none}
#app[data-ui-view^=shop] .shop-search-field{margin-bottom:18px}#app[data-ui-view^=shop] .shop-search-input>input{border-radius:24px;background:#fffcf6;border-color:#dbceb9}
#app[data-ui-view^=shop] .shop-categories{gap:8px;padding:0 0 18px;border-bottom:1px solid #e3d8c6;justify-content:flex-start;overflow-x:auto}
#app[data-ui-view^=shop] .shop-categories>button{min-width:64px;min-height:76px;color:#53452f;background:none;border:0}
#app[data-ui-view^=shop] .shop-categories .ic{background:linear-gradient(125deg,#f6eddb,#e9d9b9);color:#99722c;border:1px solid #e5d1aa;border-radius:50%;width:44px;height:44px}
#app[data-ui-view^=shop] .shop-select-row{align-items:center;gap:12px;margin:16px 0}#app[data-ui-view^=shop] .shop-select-row h2{margin:0;flex:1;font-size:20px}
#app[data-ui-view^=shop] .shop-grid{gap:14px}#app[data-ui-view^=shop] .shop-product{border:0;border-radius:8px;background:#fffcf7;box-shadow:0 0 0 1px #e8ddcc}
#app[data-ui-view^=shop] .shop-product>.shop-cover{background:#eee4d2;aspect-ratio:1;object-fit:contain}
#app[data-ui-view^=shop] .shop-info{padding:13px 11px 15px}#app[data-ui-view^=shop] .shop-product h3{font-size:15px;font-weight:600;line-height:22px;color:#2c2d30}
#app[data-ui-view^=shop] :is(.shop-price,[data-shop-price]){font-family:Arial,sans-serif;font-variant-numeric:tabular-nums;color:#866321;font-weight:600;letter-spacing:0}
#app[data-ui-view^=shop] .shop-product .shop-price{font-size:22px;margin:9px 0 5px;line-height:28px}#app[data-ui-view^=shop] .shop-product .shop-stock{font-size:11px;color:#70695e;line-height:18px}
#app[data-ui-view^=shop] .shop-nav{background:#fffcf7f5;border-color:#dfd3bf;backdrop-filter:blur(12px);padding-top:4px;max-width:480px}
#app[data-ui-view^=shop] .shop-nav button{color:#6c6252;min-height:56px}#app[data-ui-view^=shop] .shop-nav button.on{color:#997029;font-weight:600}
#app[data-ui-view^=shop] .shop-nav .ic{color:inherit;background:none}
#app[data-ui-view^=shop] :is(.shop-quiet,.shop-text-action){color:#785a29;font-size:13px;text-decoration:underline;text-underline-offset:3px}
#app[data-ui-view^=shop] .shop-sidebar{border:0;background:#eee7db;border-radius:9px;overflow:hidden}#app[data-ui-view^=shop] .shop-sidebar button{background:transparent;color:#6e6250;border:0;border-bottom:1px solid #dfd3c0;width:100%;min-height:48px}
#app[data-ui-view^=shop] .shop-sidebar button.on{background:#202b3b;color:#f9e9c6;border-left:3px solid #c4a260}
#app[data-ui-view^=shop] .shop-category-title{font-size:17px;margin:0 0 12px}
#app[data-ui-view^=shop] :is(.shop-filter-grid,.shop-filter-metals){gap:10px}#app[data-ui-view^=shop] :is(.shop-filter-grid,.shop-filter-metals)>button{border:1px solid #d7c7aa;border-radius:10px;background:#fffcf5;color:#77603a;min-height:48px;padding:10px}
#app[data-ui-view^=shop] :is(.shop-filter-grid,.shop-filter-metals)>button.on{background:#202b3b;color:#f6e6c5;border-color:#202b3b}
#app[data-ui-view^=shop] .shop-gallery{border-radius:12px;border:1px solid #e2d4bf;background:#f0e7d8;margin-bottom:18px}#app[data-ui-view^=shop] .shop-gallery img{background:#eee4d2;object-fit:contain}
#app[data-ui-view^=shop] .shop-product-title{font:700 23px/1.5 QZSerif,serif}#app[data-ui-view^=shop] .shop-description{font-size:14px;line-height:24px;color:#645b4e;white-space:pre-wrap;overflow-wrap:anywhere}
#app[data-ui-view^=shop] .shop-variants{flex-wrap:wrap}#app[data-ui-view^=shop] .shop-variants>button{flex:1 1 110px}
#app[data-ui-view^=shop] .shop-row{gap:12px;padding:10px 0;border-color:#e8ddcc;align-items:baseline}#app[data-ui-view^=shop] .shop-row>span{color:#696154;min-width:0}#app[data-ui-view^=shop] .shop-row>b{min-width:0;max-width:66%;overflow-wrap:anywhere;text-align:right}
#app[data-ui-view^=shop] .shop-qty{display:flex;align-items:center;gap:0;border:1px solid #d1bea0;border-radius:9px;background:#fffaf0;overflow:hidden;max-width:170px;min-width:132px}
#app[data-ui-view^=shop] .shop-qty>button{min-width:44px;min-height:44px;background:transparent;color:#785c2f;border:0;font-size:22px;flex:none}
#app[data-ui-view^=shop] .shop-qty>input{border:0!important;border-radius:0;background:#fffdf8;text-align:center;min-height:44px;min-width:42px;width:58px;padding:4px;font:600 17px/24px Arial,sans-serif}
#app[data-ui-view^=shop] .shop-qty>button:disabled{color:#9f9686;background:#ece6dc}
#app[data-ui-view^=shop] .shop-cart-line{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid #e8ddcc;align-items:start}
#app[data-ui-view^=shop] .shop-cart-line>img{width:76px;height:92px;object-fit:contain;border-radius:8px;background:#eee4d2}
#app[data-ui-view^=shop] .shop-cart-line>div{min-width:0}#app[data-ui-view^=shop] .shop-cart-line:last-child{border-bottom:0}
#app[data-ui-view^=shop] .shop-cart-line .shop-price{font-size:20px;line-height:28px}#app[data-ui-view^=shop] .shop-cart-line .muted{font-size:12px;line-height:19px;margin:6px 0}
#app[data-ui-view^=shop] .shop-summary-bar{background:#fffaf0;border:1px solid #dac8a6;border-radius:12px;padding:12px;margin-top:18px}
#app[data-ui-view^=shop] .shop-summary-bar .shop-select-row{margin:0 0 12px}#app[data-ui-view^=shop] .shop-summary-bar [data-shop-total]{font:600 22px/30px Arial,sans-serif;color:#876420}
#app[data-ui-view^=shop] :is(.shop-note,.shop-error){padding:12px 14px;background:#f3ecdf;color:#6d5b3c;border:1px solid #dfcfb0;border-radius:10px;font-size:13px;line-height:22px;margin:14px 0;overflow-wrap:anywhere}
#app[data-ui-view^=shop] .shop-stats{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}#app[data-ui-view^=shop] .shop-chip{min-height:44px;padding:10px 24px;border:1px solid #d4c09a;background:#fffaf0;color:#655337;border-radius:8px}#app[data-ui-view^=shop] .shop-chip.on{background:#202b3b;border-color:#202b3b;color:#f5e5c4}
#app[data-ui-view^=shop] .shop-order-filters{display:flex;overflow-x:auto;gap:8px;padding:0 0 14px;margin-bottom:6px}#app[data-ui-view^=shop] .shop-order-filters>button{flex:none;min-height:44px;border:1px solid #ddceb3;border-radius:22px;background:#fffaf0;padding:9px 16px;color:#6e6049}#app[data-ui-view^=shop] .shop-order-filters>button.on{background:#202b3b;color:#f9eac9;border-color:#202b3b}
#app[data-ui-view^=shop] .shop-order-card{margin-bottom:16px;border:1px solid #e2d5c0;border-radius:12px;padding:16px;background:#fffdf8}
#app[data-ui-view=support] #supportRoot{border:1px solid #e2d5c0;border-radius:12px;background:#fffcf6;padding:16px;min-width:0}
#app[data-ui-view=support] .support-status{color:#735c33;font-size:13px;line-height:22px;padding:8px 12px;border-radius:8px;background:#f4ead6}
#app[data-ui-view=support] .support-greeting{color:#2d3036;font-size:17px;line-height:28px;margin:18px 0}
#app[data-ui-view=support] .support-faqs{display:flex;flex-wrap:wrap;gap:8px}#app[data-ui-view=support] .support-faqs button{min-height:44px;border:1px solid #d8c6a4;border-radius:22px;padding:10px 14px;background:#fff9ec;color:#765a2b}
#app[data-ui-view=support] .support-chat-log{background:#f6f0e6;border:0;border-radius:10px;padding:12px;margin:18px 0;max-height:360px;overflow:auto}
#app[data-ui-view=support] .support-message{max-width:90%;padding:10px 12px;margin:10px 0;background:#fffdf9;border:1px solid #e7dbc7;border-radius:12px 12px 12px 2px;color:#343434}
#app[data-ui-view=support] .support-message.from-customer{margin-left:auto;background:#e9dfcc;border-color:#d8c6a4;border-radius:12px 12px 2px 12px}
#app[data-ui-view=support] .support-message-meta{font-size:11px;color:#7a6e5d}.support-message p{font-size:14px;line-height:22px;overflow-wrap:anywhere}
#app[data-ui-view=support] .support-composer label{font-size:14px;color:#635b4d;display:block;margin-bottom:8px}#app[data-ui-view=support] .support-help{font-size:12px;line-height:20px;color:#726758}#app[data-ui-view=support] .support-error{font-size:13px;color:var(--qz-feedback-error)}
#app:is([data-ui-view=customers],[data-ui-view=customer],[data-ui-view=commissions],[data-ui-view=agentShare],[data-ui-view=agentShareDetail]) .asset-card{background:linear-gradient(115deg,#354052,#192331);color:#fff0cf;border-color:#566074}
#app:is([data-ui-view=customers],[data-ui-view=customer],[data-ui-view=agentShare]) .asset-card :is(.form-balance,.bal){color:#f0d49c}#app:is([data-ui-view=customers],[data-ui-view=customer],[data-ui-view=agentShare]) .asset-card .form-help{color:#d1c5ae}
#app .agent-date-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#app .agent-date-filter>label{min-width:0;font-size:13px;color:#6b604f}#app .agent-date-filter input{min-width:0;margin-top:8px;max-width:100%}
#app .mask:is([data-visual-sheet=notices],[data-visual-sheet=notice],[data-visual-sheet=helpCenter],[data-visual-sheet=campaigns],[data-visual-sheet=campaignPopup],[data-visual-sheet=invite]) .sheet{background:#faf6ed}
#app .mask:is([data-visual-sheet=notices],[data-visual-sheet=notice],[data-visual-sheet=helpCenter],[data-visual-sheet=campaigns],[data-visual-sheet=campaignPopup],[data-visual-sheet=invite]) .card{border-color:#e4d6bc;background:#fffdf7;border-radius:12px}
@media(max-width:360px){#app[data-ui-view^=shop] .shop-grid{gap:10px}#app[data-ui-view^=shop] .shop-info{padding:10px}#app[data-ui-view^=shop] .shop-product h3{font-size:14px}#app[data-ui-view^=shop] .shop-product .shop-price{font-size:19px}#app[data-ui-view^=shop] .shop-cart-line{grid-template-columns:60px minmax(0,1fr);gap:9px}#app[data-ui-view^=shop] .shop-cart-line>img{width:60px;height:78px}#app .agent-date-filter{grid-template-columns:1fr}}
/* Keep category navigation compact even when the product column is tall. */
#app[data-ui-view^=shop] .shop-sidebar{align-self:start;display:flex;flex-direction:column;height:auto}
#app[data-ui-view^=shop] .shop-sidebar>button{flex:0 0 48px;height:48px}
#app[data-ui-view^=shop] .qz-result .ic{background:#f2e8d4;color:#8c6a2c}

/* Literal composition of the approved 941 x 1672 quote reference; data stays live HTML. */
#app[data-ui-view=quote]:has(.rq-page)>.qz-head{display:none}
#app[data-ui-view=quote]>.rq-page{padding:0 0 calc(66px + env(safe-area-inset-bottom));gap:8px;background:#f7f3ed;display:flex;flex-direction:column}
#app[data-ui-view=quote] .rq-hero{height:108px;min-height:108px;position:relative;background:linear-gradient(90deg,transparent,rgba(0,0,0,.25) 37%,rgba(0,0,0,.38)),linear-gradient(180deg,#374051,#31384d 17%,#242e3f 51%,#1f2839);overflow:hidden;margin:0 0 -22px}
#app[data-ui-view=quote] .rq-hero:before{content:'';position:absolute;inset:0;background:url('/m/qz-art-20261109/quote/header-artwork.png') center top/100% auto no-repeat}
#app[data-ui-view=quote] .rq-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px;padding:18px 21px;color:#fffdf9}
#app[data-ui-view=quote] .rq-brand>img{width:50px;height:36px;object-fit:contain}
#app[data-ui-view=quote] .rq-brand>i{height:24px;width:1px;background:#efeee4bb}
#app[data-ui-view=quote] .rq-brand>h1{font:700 23px/1.25 QZSerif,serif;letter-spacing:1px;color:#fffefb;margin:0}
#app[data-ui-view=quote] .rq-quote{position:relative;z-index:2;margin:0;padding:14px 11px 11px;border:1px solid #fff;border-radius:18px;background:linear-gradient(115deg,#fdfbf8,#f8f5f0);gap:0;box-shadow:none}
#app[data-ui-view=quote] .rq-title{display:flex;align-items:center;gap:12px;padding:0 9px}
#app[data-ui-view=quote] .rq-title>h2{font:700 19px/1.4 QZSerif,serif;color:#171717;margin:0;letter-spacing:.015em}
#app[data-ui-view=quote] .rq-title>h2:before,#app[data-ui-view=quote] .rq-title>h2:after{content:none}
#app[data-ui-view=quote] .rq-title>[data-quote-state]{border:1px solid #fff3dc;border-radius:20px;padding:2px 9px;background:linear-gradient(100deg,#f5e6cc,#e4c394);color:#80591f;font:500 11px/1.6 system-ui;white-space:nowrap}
#app[data-ui-view=quote] .rq-title>[data-quote-state].warn{background:#fff1d9;color:#96520b;border-color:#ecd5ac}
#app[data-ui-view=quote] .rq-meta{display:flex;align-items:baseline;justify-content:space-between;gap:6px;font:11px/1.6 system-ui;color:#5a5c63;margin:4px 3px 9px;padding:0 6px 9px;border-bottom:1px solid #ddc3a0}
#app[data-ui-view=quote] .rq-meta>span:last-child{white-space:nowrap}
#app[data-ui-view=quote] .rq-quote .quote-rows{gap:9px}
#app[data-ui-view=quote] .rq-quote .quote-row{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:8px 12px 9px;margin:0;min-height:99px;border:0;border-radius:10px;background:linear-gradient(110deg,#f2ece3,#f9f5ef 57%,#f1eae2);box-shadow:none;text-align:left;color:#24262c}
#app[data-ui-view=quote] .rq-quote .quote-row:last-child{padding-bottom:9px}
#app[data-ui-view=quote] .rq-quote .quote-row:hover{box-shadow:inset 0 0 0 1px #ddc39a}
#app[data-ui-view=quote] .rq-quote .quote-row:active{filter:brightness(.97);transform:translateY(1px)}
#app[data-ui-view=quote] .rq-row-top{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,.9fr) minmax(0,.88fr);align-items:center;gap:8px;padding:0 0 6px;border-bottom:1px solid #e5d5bf88}
#app[data-ui-view=quote] .rq-quote .quote-metal{gap:2px;min-width:0;display:flex;align-items:stretch;flex-direction:column}
#app[data-ui-view=quote] .rq-metal-title{display:flex;align-items:center;gap:8px;height:27px}
#app[data-ui-view=quote] .rq-metal-title>img{width:34px;height:29px;object-fit:contain}
#app[data-ui-view=quote] .rq-metal-title>b{font:700 18px/1.2 QZSerif,serif;color:#171717;white-space:nowrap;border-left:1px solid #c9a363;padding-left:8px}
#app[data-ui-view=quote] .rq-quote .quote-metal>small{padding:1px 5px;background:#eee5db99;border-radius:12px;color:#66656a;font:9px/1.4 Arial,system-ui;white-space:normal;overflow-wrap:anywhere}
#app[data-ui-view=quote] .rq-change{display:flex;flex-direction:column;gap:2px;padding-left:8px;min-width:0;border-left:1px solid #d9bc9299}
#app[data-ui-view=quote] .rq-change>small{font:11px/1.4 system-ui;color:#35363b}
#app[data-ui-view=quote] .rq-change .quote-change{font:700 16px/1.4 QZNumbers,Georgia,serif;white-space:nowrap}
#app[data-ui-view=quote] .rq-change .market-flat{font:12px/1.4 system-ui;color:#66646a}
#app[data-ui-view=quote] .rq-go{display:flex;align-items:center;justify-content:center;gap:4px;min-height:31px;padding:3px 7px;border-radius:12px;background:#293449;color:#f7e9c4;box-shadow:0 2px 2px #a27c3b29;border:1px solid #354359;font:700 13px/1.4 QZSerif,serif;position:relative;overflow:hidden;isolation:isolate;white-space:nowrap}
#app[data-ui-view=quote] .rq-go:before{content:'';position:absolute;z-index:-1;inset:auto 0 0;height:10px;background:url('/m/qz-art-20261109/quote/trade-ribbon.png') center bottom/100% 100% no-repeat}
#app[data-ui-view=quote] .rq-go>span{font:24px/20px system-ui;color:#e7c980}
#app[data-ui-view=quote] .rq-row-bottom{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,1.45fr);align-items:end;padding-top:5px;gap:10px}
#app[data-ui-view=quote] .rq-side{display:flex;flex-direction:column;gap:0;min-width:0}
#app[data-ui-view=quote] .rq-side:nth-child(2){border-left:1px solid #dbc29e;padding-left:10px}
#app[data-ui-view=quote] .rq-side>small{color:#34363e;font:11px/1.3 system-ui}
#app[data-ui-view=quote] .rq-quote .quote-price{font:700 clamp(20px,6.2vw,27px)/1.2 QZNumbers,Georgia,serif;text-align:left;color:#a36d13;white-space:nowrap;letter-spacing:-.3px;overflow-wrap:normal;font-variant-numeric:lining-nums tabular-nums}
#app[data-ui-view=quote] .rq-silver .quote-price{color:#3d4350}
#app[data-ui-view=quote] .rq-quote .quote-range{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:8px;text-align:center;font:700 16px/1.2 QZNumbers,Georgia,serif;color:#54565d}
#app[data-ui-view=quote] .rq-quote .quote-range>span:before{display:block;color:#34363e;font:11px/1.3 system-ui;margin-bottom:2px}
#app[data-ui-view=quote] .qz-quote-category{font:12px/1.4 system-ui;background:transparent;border:0;margin:0;padding:2px 8px;color:#7b633d}
#app[data-ui-view=quote] #marketSourcesBoard{display:block;margin:0;min-height:0}
#app[data-ui-view=quote] .rq-sources{position:relative;border:1px solid #fff;border-radius:17px;background:linear-gradient(110deg,#fdfbf8,#f7f3ef);padding:10px 10px 6px;margin:0;box-shadow:none}
#app[data-ui-view=quote] .rq-sources .ms-head{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:0 9px}
#app[data-ui-view=quote] .rq-sources .ms-head h2{font:700 19px/1.5 QZSerif,serif;color:#171717;margin:0}
#app[data-ui-view=quote] .rq-sources .ms-head p{font:11px/1.5 system-ui;color:#55575f;margin:0}
#app[data-ui-view=quote] .rq-sources .ms-state{font:9px/1.5 system-ui;background:#f3ead8;color:#80602c;padding:2px 5px;border-radius:12px}
#app[data-ui-view=quote] .rq-sources .ms-disclaimer{border:0;background:transparent;margin:4px 7px 7px;padding:0;color:#6c604e;font:10px/1.5 system-ui}
#app[data-ui-view=quote] .rq-sources .ms-disclaimer>summary{cursor:pointer;background:#eee2cf;border:1px solid #fff7e8;border-radius:20px;display:inline-flex;padding:2px 8px;list-style:none}
#app[data-ui-view=quote] .rq-sources .ms-disclaimer>summary:before{content:'ⓘ';font:12px/1.3 system-ui;color:#a87421;margin-right:4px}
#app[data-ui-view=quote] .rq-sources .ms-disclaimer>p{padding:6px 2px;line-height:1.7}
#app[data-ui-view=quote] .rq-source-columns,#app[data-ui-view=quote] .rq-source-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.9fr) minmax(0,.6fr) minmax(0,1fr);align-items:center;gap:8px}
#app[data-ui-view=quote] .rq-source-columns{background:linear-gradient(100deg,#f3e8d6,#eee2cf);border-radius:7px;padding:7px 9px;color:#3f4249;font:11px/1.3 system-ui;text-align:center}
#app[data-ui-view=quote] .rq-source-columns>:first-child{text-align:left}
#app[data-ui-view=quote] .rq-sources .ms-group{margin:0}
#app[data-ui-view=quote] .rq-sources .ms-group>h3{display:none}
#app[data-ui-view=quote] .rq-sources .ms-grid{display:block;border:0;border-radius:0;background:transparent}
#app[data-ui-view=quote] .rq-sources .ms-card{display:block;padding:8px 8px 5px;border:0;border-bottom:1px solid #e8dccc;background:transparent;border-radius:0}
#app[data-ui-view=quote] .rq-sources .ms-card:last-child{border-bottom:1px solid #e8dccc;padding-bottom:5px}
#app[data-ui-view=quote] .rq-sources .ms-card-top{display:flex;flex-direction:row;align-items:center;gap:6px}
#app[data-ui-view=quote] .rq-sources .ms-card-top>img{width:19px;height:22px;object-fit:contain;flex:none}
#app[data-ui-view=quote] .rq-sources .ms-card-top>b{font:700 13px/1.35 QZSerif,serif;color:#1e2025;overflow-wrap:anywhere}
#app[data-ui-view=quote] .rq-sources .ms-value{display:block;text-align:center;font:700 21px/1.2 QZNumbers,Georgia,serif;color:#a16d14;overflow-wrap:normal;white-space:nowrap}
#app[data-ui-view=quote] .rq-sources .rq-source-unit{font:11px/1.3 system-ui;text-align:center;color:#35373d}
#app[data-ui-view=quote] .rq-sources .ms-time{font:9px/1.3 Arial,system-ui;text-align:center;color:#64646c;white-space:normal;overflow-wrap:anywhere;margin:0}
#app[data-ui-view=quote] .rq-source-detail{margin:3px 0 0 25px;font:10px/1.45 system-ui;color:#70675a}
#app[data-ui-view=quote] .rq-source-detail summary{cursor:pointer;color:#80602c;list-style:none}
#app[data-ui-view=quote] .rq-source-detail summary:after{content:' ›';font-size:12px}
#app[data-ui-view=quote] .rq-source-detail[open] summary:after{content:' ⌄'}
#app[data-ui-view=quote] .rq-source-detail .ms-details{display:grid;grid-template-columns:1fr auto;font:10px/1.5 system-ui;padding:4px 0;gap:4px 8px}
#app[data-ui-view=quote] .rq-source-detail :is(p,.ms-source){font:10px/1.5 system-ui;margin:2px 0;overflow-wrap:anywhere}
#app[data-ui-view=quote] .rq-sources .ms-updated{font:9px/1.5 system-ui;color:#756b5e;padding:5px 8px 0;margin:0}
#app[data-ui-view=quote] .rq-notice:empty{display:none}
#app[data-ui-view=quote] .rq-notice{padding:0 10px;margin:0;font-size:11px}
#app[data-ui-view=quote] .rq-notice .home-notice{min-height:38px}
#app[data-ui-view=quote] .rq-quote :is(button,summary):focus-visible,#app[data-ui-view=quote] .rq-sources summary:focus-visible{outline:2px solid #20334d;outline-offset:3px;box-shadow:0 0 0 2px #fff}
@media(min-width:400px){#app[data-ui-view=quote] .rq-hero{height:120px;min-height:120px}#app[data-ui-view=quote] .rq-quote .quote-row{min-height:110px}#app[data-ui-view=quote] .rq-row-top{padding-bottom:9px}#app[data-ui-view=quote] .rq-row-bottom{padding-top:8px}}
@media(max-width:359px){#app[data-ui-view=quote] .rq-quote{padding:11px 8px}#app[data-ui-view=quote] .rq-meta{font-size:9px;gap:3px}#app[data-ui-view=quote] .rq-quote .quote-row{padding-inline:8px}#app[data-ui-view=quote] .rq-row-top{gap:5px;grid-template-columns:minmax(0,1.5fr) minmax(0,.85fr) minmax(0,.85fr)}#app[data-ui-view=quote] .rq-metal-title>b{font-size:16px;padding-left:5px}#app[data-ui-view=quote] .rq-metal-title>img{width:28px}#app[data-ui-view=quote] .rq-row-bottom{gap:5px}#app[data-ui-view=quote] .rq-side:nth-child(2){padding-left:6px}#app[data-ui-view=quote] .rq-quote .quote-price{font-size:21px}#app[data-ui-view=quote] .rq-go{font-size:11px;padding-inline:4px}#app[data-ui-view=quote] .rq-change .quote-change{font-size:13px}#app[data-ui-view=quote] .rq-source-columns,#app[data-ui-view=quote] .rq-source-main{gap:4px}#app[data-ui-view=quote] .rq-sources .ms-value{font-size:18px}#app[data-ui-view=quote] .rq-sources .ms-card-top>b{font-size:11px}}

#app[data-ui-view=quote] .rq-sources:before{content:'';position:absolute;right:8px;top:37px;width:55%;height:20px;background:url('/m/qz-art-20261109/quote/gold-divider-wave.png') center/contain no-repeat;pointer-events:none;opacity:.7}
/* Measured 375px alignment against the approved reference, not generic card spacing. */
#app[data-ui-view=quote] .rq-quote{padding-top:12px}
#app[data-ui-view=quote] .rq-meta{padding-bottom:6px;margin-bottom:5px}
#app[data-ui-view=quote] .rq-quote .quote-row,#app[data-ui-view=quote] .rq-quote .quote-row:last-child{padding-bottom:8px}
#app[data-ui-view=quote] .rq-metal-title{height:25px}
#app[data-ui-view=quote] .rq-metal-title>b{font-size:19px}
#app[data-ui-view=quote] .rq-quote .quote-metal{gap:0}
#app[data-ui-view=quote] .rq-quote .quote-metal>small{padding-block:0}
#app[data-ui-view=quote] .rq-row-top{padding-bottom:4px}
#app[data-ui-view=quote] .rq-side>small{font-size:10px;line-height:1.1}
#app[data-ui-view=quote] .rq-quote .quote-price{line-height:1.1}
#app[data-ui-view=quote] .rq-source-main>.ms-card-top{grid-column:1;grid-row:1}
#app[data-ui-view=quote] .rq-source-main>.ms-value{grid-column:2;grid-row:1}
#app[data-ui-view=quote] .rq-source-main>.rq-source-unit{grid-column:3;grid-row:1}
#app[data-ui-view=quote] .rq-source-main>.ms-time{grid-column:4;grid-row:1}
#app[data-ui-view=quote] .rq-sources .ms-head{padding-bottom:10px}
#app[data-ui-view=quote] .rq-sources .ms-state{position:absolute;top:47px;right:15px;font-size:8px;padding:1px 5px}
#app[data-ui-view=quote] .rq-sources .ms-disclaimer{margin:0;padding:0}
#app[data-ui-view=quote] .rq-sources .ms-disclaimer>summary{position:absolute;top:15px;right:12px;font-size:8px;padding:3px 5px;max-width:48%}
#app[data-ui-view=quote] .rq-sources .ms-disclaimer>p{font-size:11px;padding:8px;border:1px solid #dec9a5;border-radius:8px;background:#fffaf0;margin:3px 0 8px}
#app[data-ui-view=quote] .rq-sources .ms-card{padding:7px 8px;border-bottom:1px solid #e8dccc}
#app[data-ui-view=quote] .rq-sources .ms-card:last-child{padding-bottom:7px}
#app[data-ui-view=quote] .rq-source-detail{margin:0;padding:0}
#app[data-ui-view=quote] .rq-source-detail>summary{list-style:none}
#app[data-ui-view=quote] .rq-source-detail>summary:after{content:none}
#app[data-ui-view=quote] .rq-source-extra{margin:6px 0 0 25px;padding:6px 0;border-top:1px solid #e7d6bc}
#app[data-ui-view=quote] .rq-source-detail>summary::-webkit-details-marker{display:none}
#app[data-ui-view=quote] .rq-sources .ms-card-top{flex-wrap:nowrap}
#app[data-ui-view=quote] .rq-sources .ms-card-top>b{min-width:0}
#app[data-ui-view=quote] .rq-sources .ms-head{padding-bottom:4px}
#app[data-ui-view=quote] .rq-quote .quote-price{font-size:clamp(12px,calc(37.2vw / var(--quote-chars,6)),27px)}
#app[data-ui-view=quote] .rq-sources .ms-value.ms-up{color:var(--qz-quote-up,#a9313a)}
#app[data-ui-view=quote] .rq-sources .ms-value.ms-down{color:var(--qz-quote-down,#19704a)}
#app[data-ui-view=quote] .rq-quote .quote-price{font-size:clamp(12px,calc(37.2vw / var(--quote-chars,6)),min(6.2vw,27px))}
#app[data-ui-view=quote] .rq-long-value .rq-row-bottom{grid-template-columns:1fr 1fr}
#app[data-ui-view=quote] .rq-long-value .quote-range{grid-column:1/-1;padding-top:7px;border-top:1px solid #e6d7bd;margin-top:3px}
#app[data-ui-view=quote] .rq-hero{height:calc(24.97vw + 14px);min-height:0;max-height:134px}
#app[data-ui-view=quote] .rq-long-value .rq-row-top{grid-template-columns:minmax(0,1fr) 85px}
#app[data-ui-view=quote] .rq-long-value .rq-change{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;gap:8px;align-items:baseline;border:0;padding:0}
#app[data-ui-view=quote] .rq-long-value .rq-go{grid-column:2;grid-row:1}
#app[data-ui-view=quote] .rq-long-value .quote-price{font-size:clamp(14px,calc(60vw / var(--quote-chars,6)),24px)}
/* Reference gold/gray is the flat state only; actual quote direction remains semantic. */
#app[data-ui-view=quote] .rq-quote .quote-price.market-up{color:var(--qz-quote-up,#a9313a)}
#app[data-ui-view=quote] .rq-quote .quote-price.market-down{color:var(--qz-quote-down,#19704a)}
#app[data-ui-view=quote] .rq-title>h2,#app[data-ui-view=quote] .rq-sources .ms-head h2{font-size:18px}
#app[data-ui-view=quote] .rq-metal-title>b{font-size:17.5px}
#app[data-ui-view=quote] .rq-sources .ms-card-top>b{font-size:11.5px}
#app[data-ui-view=quote] .rq-quote .quote-price{font-size:clamp(12px,calc(35.4vw / var(--quote-chars,6)),min(5.9vw,25.4px))}
#app[data-ui-view=quote] .rq-long-value .quote-price{font-size:clamp(14px,calc(60vw / var(--quote-chars,6)),24px)}
#app[data-ui-view=quote] .tabbar .tab-item:nth-child(1){--nav-art:url('/m/qz-art-20261109/quote/quote-nav-home.png')}
#app[data-ui-view=quote] .tabbar .tab-item:nth-child(2){--nav-art:url('/m/qz-art-20261109/quote/quote-nav-market.png')}
#app[data-ui-view=quote] .tabbar .tab-item:nth-child(3){--nav-art:url('/m/qz-art-20261109/quote/quote-nav-trade.png')}
#app[data-ui-view=quote] .tabbar .tab-item:nth-child(4){--nav-art:url('/m/qz-art-20261109/quote/quote-nav-orders.png')}
#app[data-ui-view=quote] .tabbar .tab-item:nth-child(5){--nav-art:url('/m/qz-art-20261109/quote/quote-nav-profile.png')}
#app[data-ui-view=quote] .tabbar .tab-item .ic{filter:none;width:23px;height:23px}
#app[data-ui-view=quote] .tabbar .tab-item{font-size:12px;line-height:16px}
/* 2026-11-09 measured typography correction. Retain reference card rhythm;
   remove inherited 12px range values and space-between source-name drift. */
@font-face{font-family:QZQuoteNumbers;src:url('/m/qz-art-20261109/quote/quote-numerals.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
#app[data-ui-view=quote] .rq-quote .quote-row,#app[data-ui-view=quote] .rq-quote .quote-row:last-child{padding:8px 16px 6px;min-height:100px}
#app[data-ui-view=quote] .rq-meta{margin-bottom:5px}
#app[data-ui-view=quote] .rq-quote .quote-rows{gap:10px}
#app[data-ui-view=quote] .rq-metal-title>b{font-size:17.5px;line-height:21px}
#app[data-ui-view=quote] .rq-quote .quote-metal>small{font-size:11px;line-height:14px;min-height:28px;padding:0 2px;white-space:normal;letter-spacing:0}
#app[data-ui-view=quote] .rq-row-top{grid-template-columns:minmax(0,1.7fr) minmax(0,.95fr) minmax(0,.85fr);gap:8px;padding-bottom:4px;border-bottom:0}
#app[data-ui-view=quote] .rq-row-bottom{grid-template-columns:minmax(0,30%) minmax(0,35%) minmax(0,35%);gap:0;padding-top:3px;align-items:end}
#app[data-ui-view=quote] .rq-side{gap:1px;position:relative}
#app[data-ui-view=quote] .rq-side:nth-child(2){border-left:0;padding-left:0}
#app[data-ui-view=quote] .rq-side:nth-child(2):before{content:'';position:absolute;left:-14px;top:4px;height:28px;width:1px;background:#dfc9aa99}
#app[data-ui-view=quote] .rq-side>small{font-size:11px;line-height:14px}
#app[data-ui-view=quote] .rq-quote .quote-price{font-family:QZQuoteNumbers,'Times New Roman',serif;font-size:clamp(15px,calc(39vw / var(--quote-chars,6)),26px);line-height:26px;letter-spacing:0;font-synthesis:none;font-kerning:none}
#app[data-ui-view=quote] .rq-quote .quote-range{grid-template-columns:minmax(0,55%) minmax(0,45%);gap:0;line-height:19px;text-align:left}
#app[data-ui-view=quote] .rq-quote .quote-range>span{font:700 clamp(12px,4.1vw,17px)/26px QZQuoteNumbers,'Times New Roman',serif;white-space:nowrap;overflow-wrap:normal}
#app[data-ui-view=quote] .rq-quote .quote-range>span:before{font:11px/14px system-ui;margin-bottom:1px}
#app[data-ui-view=quote] .rq-change .quote-change{font-family:QZQuoteNumbers,'Times New Roman',serif;font-size:16px}
#app[data-ui-view=quote] .rq-change .market-flat{font:12px/1.4 system-ui}
#app[data-ui-view=quote] .rq-go{min-height:29px;font-size:12px;padding:3px 5px}
#app[data-ui-view=quote] .rq-sources .ms-head p{font-size:12px;line-height:18px}
#app[data-ui-view=quote] .rq-sources .ms-head{padding-bottom:5px}
#app[data-ui-view=quote] .rq-sources .ms-state{top:48px;font-size:9px}
#app[data-ui-view=quote] .rq-sources .ms-card-top{justify-content:flex-start;gap:8px}
#app[data-ui-view=quote] .rq-sources .ms-card-top>b{font-size:12px;line-height:17px}
#app[data-ui-view=quote] .rq-sources .ms-value{font-family:QZQuoteNumbers,'Times New Roman',serif;font-size:20px;line-height:25px;margin:0}
#app[data-ui-view=quote] .rq-sources .ms-time{font-size:11px;line-height:14px}
#app[data-ui-view=quote] .rq-source-columns,#app[data-ui-view=quote] .rq-source-main{grid-template-columns:minmax(0,1.6fr) minmax(0,.85fr) minmax(0,.6fr) minmax(0,1fr)}
#app[data-ui-view=quote] .rq-sources .ms-card{padding:7px 8px 6px}
#app[data-ui-view=quote] .rq-sources .ms-updated{font-size:10px;line-height:15px;padding-top:6px}
#app[data-ui-view=quote] .rq-long-value .rq-row-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
#app[data-ui-view=quote] .rq-long-value .quote-range{grid-column:1/-1;grid-template-columns:1fr 1fr;padding-top:7px;border-top:1px solid #e6d7bd}
#app[data-ui-view=quote] .rq-long-value .quote-range>span{font-size:16px}
#app[data-ui-view=quote] .rq-long-value .quote-price{font-size:clamp(14px,calc(60vw / var(--quote-chars,6)),24px)}
#app[data-ui-view=quote] .rq-long-value .rq-side:nth-child(2):before{content:none}
@media(max-width:359px){#app[data-ui-view=quote] .rq-quote .quote-row{padding-inline:10px}#app[data-ui-view=quote] .rq-meta{font-size:10px}#app[data-ui-view=quote] .rq-quote .quote-metal>small{font-size:11px;white-space:normal}#app[data-ui-view=quote] .rq-row-top{gap:5px;grid-template-columns:minmax(0,1.65fr) minmax(0,.9fr) minmax(0,.85fr)}#app[data-ui-view=quote] .rq-go{font-size:10.5px}#app[data-ui-view=quote] .rq-side:nth-child(2):before{left:-9px}#app[data-ui-view=quote] .rq-sources .ms-card-top>b{font-size:11px;line-height:15px}#app[data-ui-view=quote] .rq-sources .ms-value{font-size:20px}#app[data-ui-view=quote] .rq-sources .ms-time{font-size:11px}}

#app[data-ui-view=quote] .rq-source-columns{padding-block:5px}
#app[data-ui-view=quote] .rq-quote .quote-range>span.range-low{padding-left:5px}
#app[data-ui-view=quote] .rq-row-top{grid-template-columns:minmax(0,1fr) 28% 20%;margin-left:-4px;margin-right:-9px}
@media(max-width:359px){#app[data-ui-view=quote] .rq-row-top{margin-left:0;margin-right:0;grid-template-columns:minmax(0,1.65fr) minmax(0,.9fr) minmax(0,.85fr)}}

/* Keep complete source/reception timestamps readable on 320px screens.
   The extra timestamp line is a documented content-driven difference from the reference. */
#app[data-ui-view=quote] .rq-quote .quote-metal>small{display:block;overflow:visible;overflow-wrap:normal;text-align:left}
#app[data-ui-view=quote] .rq-quote .quote-metal>small time{display:block;white-space:normal;font-variant-numeric:tabular-nums}
#app[data-ui-view=quote] .rq-sources .ms-time{white-space:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}

/* Measured, scoped visual layer for 13 generated QZ baselines.
   Baseline 948 px -> target 390 px scale 0.41139. See VISUAL-MEASUREMENTS.md.
   No data, submit conditions, handlers, API calls or status strings are changed. */
#phone #app{--qzt-ink:#282b32;--qzt-gold:#9d6a14;--qzt-line:#decdb8;--qzt-paper:#fbf8f4;--qzt-soft:#f1e8dc;--qzt-serif:QZSerif,"Noto Serif CJK SC","Songti SC",serif}
#phone #app .qzt-hero{position:relative;top:auto;left:auto;right:auto;transform:none;display:flex;align-items:flex-start;gap:10px;isolation:isolate;min-height:108px;height:auto;padding:26px 18px 34px;margin:0;width:100%;border:0;border-radius:0;background:#1b2433;color:#fff9ed;overflow:hidden;box-shadow:none}
#phone #app .qzt-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:var(--qzt-hero-bottom) center bottom/100% 40px no-repeat,var(--qzt-hero-top) center top/100% 100% no-repeat;pointer-events:none}
#phone #app .qzt-hero:after{content:"";position:absolute;z-index:-1;right:0;top:0;width:38%;height:100%;background:var(--qzt-hero-right) right top/auto 100% no-repeat;pointer-events:none}
#phone #app .qzt-hero>h1{position:relative;flex:0 1 auto;text-align:left;min-width:0;max-width:65%;margin:0;padding:0 0 0 9px;border-left:1px solid #e7d6b3a3;color:#fff9ed;font:700 21px/1.35 var(--qzt-serif);letter-spacing:.02em;overflow-wrap:anywhere;text-shadow:0 1px 2px #15203099}
#phone #app .qzt-hero>button{position:absolute;left:4px;top:18px;flex:none;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;background:none;border:0;color:#fff8e9;border-radius:8px}
#phone #app .qzt-hero>img{flex:none;width:44px;height:31px;object-fit:contain;margin:0;padding:0}
#phone #app .qzt-hero .head-more{display:none}
#phone #app .qzt-page{position:relative;display:flex;flex-direction:column;gap:18px;min-width:0;margin:0;padding:18px 14px 28px;background:var(--qzt-paper);color:var(--qzt-ink);border-radius:20px 20px 0 0}
#phone #app>.qzt-hero+.qzt-page{margin-top:-14px}
#phone #app .qzt-page>.qzt-hero{width:calc(100% + 28px);max-width:none;margin:-18px -14px 0;border-radius:0}
#phone #app .qzt-page>.qzt-hero+.card{margin-top:-28px;position:relative}
#phone #app .qzt-page:has(>.qzt-hero){padding-top:18px;border-radius:0}
#phone #app .qzt-page>.card,#phone #app .qzt-sheet>.card{display:flex;flex-direction:column;gap:0;margin:0;padding:18px 16px;border:1px solid #e4d0b5;border-radius:14px;background:linear-gradient(115deg,#fffcf8,#f8f2ec);box-shadow:0 2px 6px #51381405;min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) :is(h2,h3){font:700 20px/1.45 var(--qzt-serif);color:#191b1f;margin:0 0 12px;padding:0;letter-spacing:.01em}
#phone #app :is(.qzt-page,.qzt-sheet) .card>h2:before{display:none}
#phone #app :is(.qzt-page,.qzt-sheet) .card>:is(h2,h3){padding-bottom:10px;border-bottom:1px solid #d9bd91}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.info-row,.row,.kv){display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:5px 12px;padding:10px 0;margin:0;border:0;border-bottom:1px solid #e8ddd0;font-size:14px;line-height:1.6;min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.info-row,.row,.kv)>span{color:#535157;min-width:0;overflow-wrap:anywhere}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.info-row,.row,.kv)>:is(b,strong){font:700 19px/1.35 QZQuoteNumbers,Georgia,"Times New Roman",var(--qzt-serif);font-variant-numeric:lining-nums tabular-nums;letter-spacing:0;min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:right;color:var(--qzt-ink)}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.info-row,.row,.kv):last-child{border-bottom:0}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.form-help,.policy-copy,.muted){margin:8px 0 0;font:400 12px/1.7 system-ui,"PingFang SC",sans-serif;color:#6a6662;overflow-wrap:anywhere}
#phone #app :is(.qzt-page,.qzt-sheet) .policy-copy{font-size:14px;line-height:1.9}
#phone #app :is(.qzt-page,.qzt-sheet) .qz-note{display:flex;gap:8px;padding:11px 12px;border:1px solid #e8dac4;border-radius:11px;background:#f4eddf;color:#68615a;font:400 12px/1.75 system-ui;min-width:0;overflow-wrap:anywhere}
#phone #app :is(.qzt-page,.qzt-sheet) .qz-note[hidden]{display:none}
#phone #app :is(.qzt-page,.qzt-sheet) .qz-note>svg{flex:none;margin-top:3px;color:#ab7929}
#phone #app :is(.qzt-page,.qzt-sheet) .field{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;padding:9px 0;min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) .field>label{flex:1 1 115px;min-width:0;margin:0;color:#38383a;font:500 14px/1.6 system-ui}
#phone #app :is(.qzt-page,.qzt-sheet) .field>:is(input,select,textarea){flex:1.6 1 170px;min-width:0;max-width:100%;width:100%;min-height:44px;height:auto;margin:0;padding:9px 12px;border:1px solid #cbb18d;border-radius:10px;background:#fffcf8;color:#30333b;font:500 16px/1.4 system-ui}
#phone #app :is(.qzt-page,.qzt-sheet) .field>input[type=number]{font:700 23px/1.4 QZQuoteNumbers,Georgia,"Times New Roman",serif}
#phone #app :is(.qzt-page,.qzt-sheet) :is(button,input,select,textarea):focus-visible{outline:2px solid #1c2e48;outline-offset:3px}
#phone #app :is(.qzt-page,.qzt-sheet) .seg{display:flex;gap:6px;padding:0 0 10px;margin:0;border:0;border-bottom:1px solid #d7bd96;border-radius:0;background:transparent;min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) .seg>button{flex:1;min-width:0;min-height:44px;padding:8px 4px;border:1px solid transparent;border-radius:10px;background:#eee8e1;color:#514c46;font:700 15px/1.4 var(--qzt-serif);white-space:normal}
#phone #app :is(.qzt-page,.qzt-sheet) .seg>button.on{background:linear-gradient(110deg,#f0ddbd,#f8edde);color:#8e601e;border-color:#e5c18c;box-shadow:none}
#phone #app :is(.qzt-page,.qzt-sheet) .tag{display:inline-flex;align-items:center;align-self:flex-start;max-width:100%;padding:4px 9px;border-radius:20px;font:500 12px/1.5 system-ui;white-space:normal}
#phone #app :is(.qzt-page,.qzt-sheet) .tag.warn{background:#f4e3c5;color:#825817;border-color:#ead2aa}
#phone #app :is(.qzt-page,.qzt-sheet) .tag.ok{background:#e8efdf;color:#3c6844;border-color:#ccd9bf}
#phone #app :is(.qzt-page,.qzt-sheet) .tag.bad{background:#f8e7e5;color:#a43a36;border-color:#e6c8c3}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.btn,.btn-mini){display:flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px 14px;border:1px solid #263348;border-radius:12px;background:url('/m/qz-art-20261109/trade-orders/button-ribbon.png') center bottom/100% 12px no-repeat,linear-gradient(110deg,#35415a,#192330);color:#fff1d1;font:700 18px/1.4 var(--qzt-serif);box-shadow:0 2px 4px #1b263418;white-space:normal}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.btn.ghost,.btn-mini.danger){background:linear-gradient(115deg,#fffdf8,#f7eddb);border-color:#b98b42;color:#83571b;box-shadow:none}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.btn,.btn-mini):disabled{background:#e5e0d7;color:#827b70;border-color:#d1c6b6;box-shadow:none;opacity:1}
#phone #app :is(.qzt-page,.qzt-sheet) .btn-row{display:flex;gap:10px;margin:0;min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) .btn-row>*{flex:1;min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) .info-row:has(>.strong){padding:12px 10px;margin:4px -7px;border:1px solid #fffdf6;border-radius:11px;background:linear-gradient(100deg,#f5e7ce,#f6eee3)}
#phone #app :is(.qzt-page,.qzt-sheet) .info-row>.strong{font-size:27px;color:#96600b}
#phone #app :is(.qzt-page,.qzt-sheet) .fidelity-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;min-height:48px;color:#59462b;background:transparent;border:0;text-align:left;min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) .fidelity-link span{min-width:0}
#phone #app :is(.qzt-page,.qzt-sheet) .fidelity-link b{font:700 18px/1.5 var(--qzt-serif)}
#phone #app :is(.qzt-page,.qzt-sheet) .fidelity-link small{display:block;margin-top:4px;font:400 12px/1.6 system-ui;color:#777069}
#phone #app :is(.qzt-page,.qzt-sheet) .fidelity-link>svg{flex:none;color:#a77827}
/* Buy/sell editor: distinct selection, quote, totals and funding regions. */
#phone #app .qzt-page .trade-policy{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0 12px}
#phone #app .qzt-page .trade-policy>button{min-height:44px;padding:8px;background:transparent;border:0;color:#865d24;font-size:13px}
#phone #app .qzt-page .spec-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
#phone #app .qzt-page .spec-chip{flex:1;min-height:44px;min-width:70px;padding:8px;border:1px solid #d4bc98;background:#fffaf1;border-radius:8px;color:#655238;font-size:14px}
#phone #app .qzt-page .spec-chip.on{background:#ead3aa;border-color:#b88a3c;color:#6d4610}
#phone #app .qzt-page .qzt-price-panel{padding:10px 13px;margin:14px -16px 10px;border-block:1px solid #ead7ba;background:linear-gradient(105deg,#fff7e9,#efe2cc)}
#phone #app .qzt-page .qzt-price-panel .info-row{border:0;padding:0;gap:10px;align-items:center}
#phone #app .qzt-page .qzt-price-panel .info-row>span{font-size:14px;color:#5a5145}
#phone #app .qzt-page .qzt-price-panel [data-trade-current-price]{font:700 35px/1.15 QZQuoteNumbers,Georgia,serif;color:#99670f}
#phone #app .qzt-page .qzt-price-panel .form-help{font-size:12px;margin-top:5px}
#phone #app .qzt-page #fundsBox{background:#fbf8f2}
/* Order-list metrics: same grouping as baseline, responsive when amounts are long. */
#phone #app .qzt-page .order-card{padding:15px 14px;gap:12px}
#phone #app .qzt-page .order-card-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}
#phone #app .qzt-page .order-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:4px 0 10px;border:0;border-bottom:1px solid #ddcbb3;background:transparent;color:#202126;font:700 22px/1.4 var(--qzt-serif);text-align:left}
#phone #app .qzt-page .order-card-title>span{min-width:0;overflow-wrap:anywhere}
#phone #app .qzt-page .order-card-title>svg{flex:none;color:#a57621}
#phone #app .qzt-page .qzt-order-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
#phone #app .qzt-page .qzt-order-metrics .info-row{display:flex;align-items:flex-start;flex-direction:column;justify-content:flex-start;gap:4px;padding:10px 8px;min-width:0;border-bottom:1px solid #e4d9cb}
#phone #app .qzt-page .qzt-order-metrics .info-row:nth-child(even){border-left:1px solid #e4d9cb}
#phone #app .qzt-page .qzt-order-metrics .info-row>span{font-size:13px}
#phone #app .qzt-page .qzt-order-metrics .info-row>b{font-size:21px;max-width:100%;text-align:left}
#phone #app .qzt-page .qzt-order-metrics>p{grid-column:1/-1}
#phone #app .qzt-page .order-card-meta{padding:0;margin:0;font:400 12px/1.8 system-ui;color:#746e65}
#phone #app .qzt-page .order-detail-title{font:700 25px/1.45 var(--qzt-serif);color:#25272c;margin:8px 0}
#phone #app .qzt-page .ledger-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:14px 0 9px;margin:0;border-bottom:1px solid #decdb8}
#phone #app .qzt-page .ledger-heading>span{font:700 18px/1.5 var(--qzt-serif)}
#phone #app .qzt-page .ledger-heading>b{font:700 23px/1.4 QZQuoteNumbers,Georgia,var(--qzt-serif);overflow-wrap:anywhere;max-width:100%;text-align:right}
#phone #app .qzt-page .trend-chart{margin:14px 0;background:linear-gradient(180deg,#fcf9f4,#f2e5d0);border-radius:9px}
#phone #app .qzt-page .trend-chart polyline{stroke:#aa7b30}
#phone #app .qzt-page .trend-chart-labels{font-size:12px}
#phone #app .qzt-page .trend-result h3{font-size:18px}
#phone #app .qzt-page .trend-result .small{font-size:14px;min-height:44px}
/* Sheet frames reuse original focus trap, Back, mask dismissal and submit guards. */
#phone #app .mask>.qzt-sheet{max-height:100dvh;display:flex;flex-direction:column;gap:18px;padding:0 14px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:18px 18px 0 0;background:var(--qzt-paper);overflow:auto;scroll-padding:20px}
#phone #app .qzt-sheet>.qzt-hero{position:relative;flex:none;width:calc(100% + 28px);min-height:108px;padding:26px 14px 34px;margin:0 -14px -2px;border:0}
#phone #app .qzt-sheet .qzt-hero>h1{font-size:20px}
#phone #app .qzt-sheet .form-balance{font:700 34px/1.35 QZQuoteNumbers,Georgia,var(--qzt-serif);color:#976413;padding:12px 0;margin:0}
#phone #app .qzt-sheet>.card:first-of-type{position:relative;margin-top:-16px}
#phone #app .qzt-sheet>.btn{flex:none;width:100%}
/* Business meanings retain words and independent red/green semantics. */
#phone #app :is(.qzt-page,.qzt-sheet) :is(.market-up,.profit-positive,.red){color:#b63333!important}
#phone #app :is(.qzt-page,.qzt-sheet) :is(.market-down,.profit-negative,.green){color:#3b7e42!important}
#phone #app :is(.qzt-page,.qzt-sheet) .market-flat{color:#99670f}
#phone #app :is(.qzt-page,.qzt-sheet) .empty{padding:32px 18px;text-align:center;font-size:14px;line-height:1.8}
@media(min-width:390px){#phone #app .qzt-page .qzt-order-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}#phone #app .qzt-page .qzt-order-metrics .info-row:nth-child(even){border-left:0}#phone #app .qzt-page .qzt-order-metrics .info-row:not(:nth-child(3n+1)){border-left:1px solid #e4d9cb}#phone #app .qzt-page .qzt-order-metrics .info-row>b{font-size:19px}}
@media(max-width:360px){#phone #app .qzt-hero{gap:7px;padding-inline:12px}#phone #app .qzt-hero>h1{font-size:18px}#phone #app .qzt-hero>img{width:38px}#phone #app .qzt-page{padding-inline:12px}#phone #app .qzt-page>.qzt-hero{margin-inline:-12px;width:calc(100% + 24px)}#phone #app :is(.qzt-page,.qzt-sheet) .btn-row{flex-wrap:wrap}#phone #app :is(.qzt-page,.qzt-sheet) .btn-row>*{flex-basis:120px}}

#phone #app [data-qzt-art="trade"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/trade-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/trade-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/trade-hero-right.png");}
#phone #app [data-qzt-art="orders"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/orders-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/orders-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/orders-hero-right.png");}
#phone #app [data-qzt-art="order"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/order-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/order-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/order-hero-right.png");}
#phone #app [data-qzt-art="policy"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/policy-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/policy-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/policy-hero-right.png");}
#phone #app [data-qzt-art="vaultSale"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/vaultSale-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/vaultSale-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/vaultSale-hero-right.png");}
#phone #app [data-qzt-art="cashLog"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/cashLog-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/cashLog-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/cashLog-hero-right.png");}
#phone #app [data-qzt-art="vaultLog"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/vaultLog-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/vaultLog-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/vaultLog-hero-right.png");}
#phone #app [data-qzt-art="sales"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/sales-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/sales-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/sales-hero-right.png");}
#phone #app [data-qzt-art="trend"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/trend-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/trend-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/trend-hero-right.png");}
#phone #app [data-qzt-art="tradeConfirm"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/tradeConfirm-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/tradeConfirm-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/tradeConfirm-hero-right.png");}
#phone #app [data-qzt-art="settle"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/settle-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/settle-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/settle-hero-right.png");}
#phone #app [data-qzt-art="settleClose"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/settleClose-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/settleClose-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/settleClose-hero-right.png");}
#phone #app [data-qzt-art="depositAdd"]{--qzt-hero-top:url("/m/qz-art-20261109/trade-orders/depositAdd-hero-top.png");--qzt-hero-bottom:url("/m/qz-art-20261109/trade-orders/depositAdd-hero-bottom.png");--qzt-hero-right:url("/m/qz-art-20261109/trade-orders/depositAdd-hero-right.png");}
/* Browser self-check fix 1: legacy form fields used column flex. Explicit row layout
   prevents the horizontal flex-basis becoming 115/170px vertical blank space. */
#phone #app :is(.qzt-page,.qzt-sheet) .field{flex-direction:row;align-content:start}
#phone#phone #app .qzt-hero{top:auto;z-index:auto}
#phone#phone #app .qzt-hero>h1{z-index:1;max-width:56%;font-size:20px}
#phone #app .qzt-page .qzt-order-metrics>[data-order-estimate]{display:contents}
#phone #app .qzt-page .qzt-order-metrics>[data-order-estimate][hidden]{display:none}
#phone #app .qzt-page .qzt-order-metrics>[data-order-quote-note]{grid-column:1/-1}
/* Blend the adjoining direct crops without painting over any live text. */
#phone #app .qzt-hero:after{mask-image:linear-gradient(90deg,transparent 0%,#000 14%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 14%)}
/* Amounts and longer identifiers may wrap; hidden estimates always stay hidden. */
#phone #app :is(.qzt-page,.qzt-sheet) [hidden]{display:none!important}
/* Browser self-check fix 2: remove legacy child flex-bases inside metric columns.
   Otherwise wrap-to-a-new-column can place value beside label and overflow. */
#phone #app .qzt-page .qzt-order-metrics .info-row{flex-wrap:nowrap;align-content:stretch}
#phone #app .qzt-page .qzt-order-metrics .info-row>:is(span,b){flex:none;width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Browser self-check fix 3: test-banner offset and legacy header max-width. */
#phone#phone #app:not([data-ui-view=home])>.qzt-hero{top:0}
#phone #app .qzt-sheet>.qzt-hero{max-width:none}
/* Integration review: keep the complete live title readable over bright gold art.
   Soft fading navy protection, not an opaque title rectangle. */
#phone #app .qzt-hero>h1{isolation:isolate;text-shadow:0 1px 2px #0c1425,0 0 7px #0c142580}
#phone #app .qzt-hero>h1:before{content:"";position:absolute;z-index:-1;inset:-5px -15px -6px -9px;border-radius:12px;background:linear-gradient(90deg,#1c2637de 0%,#1c2637c7 65%,#1c263700 100%);filter:blur(4px);pointer-events:none}
/* Soften the cut seam between the two unaltered background slices. */
#phone #app .qzt-hero{background:var(--qzt-hero-top) center top/100% 100% no-repeat,#1b2433}
#phone #app .qzt-hero:before{inset:auto 0 0;height:40px;background:var(--qzt-hero-bottom) center bottom/100% 40px no-repeat;mask-image:linear-gradient(180deg,transparent,#000 28%);-webkit-mask-image:linear-gradient(180deg,transparent,#000 28%)}

/* V2 full scroll form baselines. Source pixels/measurements in V2-REVIEW.md.
   Scope deliberately limited to trade and its confirmation. */
#phone #app [data-qzt-art="trade"]{--qzt-hero-top:url('/m/qz-art-20261109/trade-orders/trade-hero-top-v2.png');--qzt-hero-bottom:url('/m/qz-art-20261109/trade-orders/trade-hero-bottom-v2.png');--qzt-hero-right:url('/m/qz-art-20261109/trade-orders/trade-hero-right-v2.png')}
#phone #app [data-qzt-art="tradeConfirm"]{--qzt-hero-top:url('/m/qz-art-20261109/trade-orders/tradeConfirm-hero-top-v2.png');--qzt-hero-bottom:url('/m/qz-art-20261109/trade-orders/tradeConfirm-hero-bottom-v2.png');--qzt-hero-right:url('/m/qz-art-20261109/trade-orders/tradeConfirm-hero-right-v2.png')}
#phone #app[data-ui-view="trade"]>.qzt-hero{min-height:134px;padding-top:27px}
#phone #app[data-ui-view="trade"]>.qzt-hero:before{height:44px;background-size:100% 44px}
#phone #app[data-ui-view="trade"]>.qzt-hero:after{width:36%}
#phone #app[data-ui-view="trade"]>.qzt-page>.seg{padding-bottom:0;border:1px solid #d7b980;border-radius:13px;background:#fffaf4;gap:0;overflow:hidden}
#phone #app[data-ui-view="trade"]>.qzt-page>.seg>button{min-height:56px;border-radius:0;font-size:17px}
#phone #app[data-ui-view="trade"]>.qzt-page>.seg>button.on{background:linear-gradient(115deg,#f6dfb0,#e1bc70);border:0;border-radius:11px}
#phone #app[data-ui-view="trade"] .trade-form{padding-block:21px}
#phone #app[data-ui-view="trade"] .trade-form>h2{font-size:23px;border:0;margin-bottom:14px;padding:0}
#phone #app[data-ui-view="trade"] .trade-form .field>label{font-size:16px;flex-basis:115px}
#phone #app[data-ui-view="trade"] .trade-form .field>:is(input,select){min-height:49px}
#phone #app[data-ui-view="trade"] .trade-form .spec-chip{min-height:62px;min-width:0;padding:8px 4px;white-space:nowrap;overflow-wrap:normal;font:700 clamp(16px,4.8cqw,18px)/1.4 QZQuoteNumbers,Georgia,var(--qzt-serif)}
#phone #app[data-ui-view="trade"] .trade-form .form-help{font-size:13px;line-height:1.65}
#phone #app[data-ui-view="trade"] .trade-form .qzt-price-panel{padding:0;margin:16px 0 12px;border:0;background:none}
#phone #app[data-ui-view="trade"] .trade-form .qzt-price-panel .info-row{min-height:70px;padding:10px 12px;border:0;border-radius:13px;background:url('/m/qz-art-20261109/trade-orders/trade-quote-ribbon-v2.png') center bottom/100% 16px no-repeat,linear-gradient(105deg,#fcf0dc,#f6e7cc);gap:8px}
#phone #app[data-ui-view="trade"] .trade-form .qzt-price-panel [data-trade-current-price]{font-size:38px}
#phone #app[data-ui-view="trade"] .trade-form .qzt-price-panel .form-help{margin-top:12px}
#phone #app[data-ui-view="trade"] .trade-form .tag{font-size:13px}
#phone #app[data-ui-view="trade"] :is(#estimateBox,#fundsBox)>.info-row>span{font-size:16px;line-height:1.6}
#phone #app[data-ui-view="trade"] #fundsBox{padding-block:16px}
#phone #app[data-ui-view="trade"] #fundsBox>h3{font-size:23px;margin-bottom:8px;padding:0;border:0}
#phone #app[data-ui-view="trade"] #fundsBox>.info-row{padding-block:7px}
#phone #app[data-ui-view="trade"] #estimateBox>.form-help{font-size:13px;line-height:1.7}
#phone #app[data-ui-view="trade"] #tradeSubmit{min-height:54px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"]){gap:14px}
#phone #app .qzt-sheet>[data-qzt-art="tradeConfirm"]{min-height:128px;padding-top:30px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:16px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.order-card-tags{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.form-balance{grid-column:1/-1;font:700 32px/1.4 QZQuoteNumbers,Georgia,var(--qzt-serif);padding:4px 0 10px;margin:0;border-bottom:1px solid #decbb0;white-space:normal;overflow-wrap:anywhere}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row{flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;border:0;padding:8px 0;gap:7px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row:last-child{border-left:1px solid #dfcbb0;padding-left:12px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>:is(span,b){flex:none;width:100%;max-width:100%;text-align:left;overflow-wrap:anywhere}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>span{font-size:13px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>b{font-size:21px;color:#986411;white-space:normal}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2){padding:16px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2)>h2{font-size:23px;padding:0;border:0;margin-bottom:8px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2)>.info-row{padding-block:8px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2)>.info-row:has(>.strong){padding-block:10px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.btn{min-height:54px;background-image:url('/m/qz-art-20261109/trade-orders/tradeConfirm-button-ribbon-v2.png'),linear-gradient(110deg,#35415a,#192330)}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.btn.ghost{background:linear-gradient(115deg,#fffdf8,#f7eddb)}
@media(max-width:360px){#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>b{font-size:19px}#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>span{font-size:12px}}
/* V2 measured reconciliation: first card527px, estimate394px, funds188px at375. */
#phone #app[data-ui-view="trade"] .trade-form{padding-block:18px}
#phone #app[data-ui-view="trade"] .trade-form>h2{margin-bottom:8px}
#phone #app[data-ui-view="trade"] .trade-form .trade-policy{margin-block:6px 8px}
#phone #app[data-ui-view="trade"] .trade-form .field{padding-block:7px}
#phone #app[data-ui-view="trade"] #estimateBox>h3,#phone #app[data-ui-view="trade"] #fundsBox>h3{font-size:22px;line-height:1.4;padding:0;border:0;margin-bottom:8px}
#phone #app[data-ui-view="trade"] #estimateBox>.info-row{padding-block:9px}
#phone #app[data-ui-view="trade"] #estimateBox>.info-row:has(>.strong){padding-block:12px}
#phone #app[data-ui-view="trade"] #estimateBox>.form-help{line-height:1.5}
#phone #app[data-ui-view="trade"] #fundsBox>.info-row{padding-block:6px}
/* Complete touch targets and baseline-aligned confirmation hierarchy. */
#phone #app[data-ui-view="trade"]>.qzt-hero>button,#phone #app .qzt-sheet>[data-qzt-art="tradeConfirm"]>button{width:44px;min-width:44px;min-height:44px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags){gap:6px 12px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags) .tag{font-size:16px;line-height:1.3}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags) .tag+ .tag{font-size:20px;padding-inline:5px;background:transparent;border:0;color:#222}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.form-balance{font-size:36px;line-height:1.2;padding:3px 0 6px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>span{font-size:15px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2)>.info-row>span{font-size:16px}
@media(max-width:360px){#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>span{font-size:12px}}
/* Keep the 44px Back target without pushing the complete title onto the metal. */
#phone #app .qzt-sheet>[data-qzt-art="tradeConfirm"]>button{position:absolute;left:4px;top:22px;margin:0;z-index:2}
#phone #app .qzt-sheet>[data-qzt-art="tradeConfirm"]>img{margin-left:34px}
/* Comparison-board reconciliation: readable data rows are not touch targets. */
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2){padding:14px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2)>.info-row{padding-block:5px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2)>.info-row:has(>.strong){padding-block:10px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>h2)>.form-help{line-height:1.5}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>b{font-size:26px}
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.form-balance{font-size:38px}
#phone #app[data-ui-view="trade"] #estimateBox>.info-row:has(>.strong)>span,#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card>.info-row:has(>.strong)>span{font:700 23px/1.4 var(--qzt-serif);color:#96600b}
@media(max-width:360px){#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags)>.info-row>b{font-size:19px}}

#phone #app[data-ui-view="trade"] #tradeSubmit{background-image:url('/m/qz-art-20261109/trade-orders/trade-button-ribbon-v2.png'),linear-gradient(110deg,#35415a,#192330)}
/* V2 summary sits below the hero rather than overlapping it; same next-card anchor. */
#phone #app .qzt-sheet:has(>[data-qzt-art="tradeConfirm"])>.card:has(>.order-card-tags){margin-top:0;padding:10px;gap:4px 12px}

/* Every owned Back target is44x44. Preserve the original logo/title anchor. */
#phone #app .qzt-hero:has(>button)>img{margin-left:34px}

/* User-requested removal: trade and order-list decorative heroes only. Keep their headings available to assistive technology; primary navigation remains unchanged. */
#phone #app .qzt-hero:is([data-qzt-art="trade"],[data-qzt-art="orders"]){position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;background:none;pointer-events:none}
#phone #app .qzt-hero:is([data-qzt-art="trade"],[data-qzt-art="orders"])::before,#phone #app .qzt-hero:is([data-qzt-art="trade"],[data-qzt-art="orders"])::after,#phone #app .qzt-hero:is([data-qzt-art="trade"],[data-qzt-art="orders"])>:is(button,img){display:none}
#phone #app:is([data-ui-view="trade"],[data-ui-view="orders"])>.qzt-page{margin-top:0;padding-top:16px;border-radius:0}

/* Eight generated page baselines, direct crop implementation. Append after existing styles.
   Assets are relative to this stylesheet. All dynamic text and policy/status semantics remain HTML.
   Scope is strictly 8 owned views + 15 owned sheets. No CSS hidden business content. */
#phone#phone #app[data-qza-page], #phone#phone #app .mask[data-qza-sheet]{--qa-ink:#252830;--qa-muted:#62616a;--qa-gold:#996814;--qa-line:#e5d7c3;--qa-paper:#fbf8f4;--qa-serif:QZSerif,"Noto Serif CJK SC",serif;--qa-number:QZQuoteNumbers,Georgia,"Times New Roman",QZSerif,serif;color:var(--qa-ink);font-size:14px;line-height:1.6}
#app[data-qza-page=asset]{--qa-header:url('/m/qz-art-20261109/asset-account/asset-header.png')}
#app[data-qza-page=vault]{--qa-header:url('/m/qz-art-20261109/asset-account/vault-header.png')}
#app[data-qza-page=me]{--qa-header:url('/m/qz-art-20261109/asset-account/me-header.png')}
#app[data-qza-page=profile]{--qa-header:url('/m/qz-art-20261109/asset-account/profile-header.png')}
#app[data-qza-page=kyc]{--qa-header:url('/m/qz-art-20261109/asset-account/kyc-header.png')}
#app[data-qza-page=contracts]{--qa-header:url('/m/qz-art-20261109/asset-account/contracts-header.png')}
#app[data-qza-page=contractHistory]{--qa-header:url('/m/qz-art-20261109/asset-account/contractHistory-header.png')}
#app[data-qza-page=contractRead]{--qa-header:url('/m/qz-art-20261109/asset-account/contractRead-header.png')}
/* Hero composition follows the image: navy ribbon, original mark, title, then rounded ivory body.
   Existing back controls are retained although the artboard omitted them. */
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header){position:relative;inset:auto;transform:none;z-index:1;display:grid;grid-template-columns:36px 44px minmax(0,1fr);align-items:start;gap:8px;min-height:104px;width:100%;margin:0;border:0;border-radius:0;padding:20px 14px 30px;background-color:#202938;background-image:var(--qa-header),linear-gradient(115deg,#303a4c,#17202d);background-position:right bottom,center;background-size:auto 100%,cover;background-repeat:no-repeat;color:#fffaf0}
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header)>.head-more{display:none}
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header)>h1{font:700 21px/32px var(--qa-serif);text-align:left;letter-spacing:.02em;color:#fffaf0;align-self:start;min-width:0;margin:3px 0 0;padding-left:10px;border-left:1px solid #d7cfbd80}
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header)>button{width:36px;min-width:36px;height:44px;min-height:44px;padding:10px 6px;margin-top:-2px;border:0;border-radius:8px;background:transparent;color:#f8ead0}
#phone#phone #app[data-qza-page] :is(.qza-original-mark,img[data-mobile-brand]){display:block;width:44px;height:40px;object-fit:contain;align-self:start}
#phone#phone #app[data-qza-page]>.page.qza-page{position:relative;padding:0 12px 28px;gap:12px;margin:0}
#phone#phone #app[data-qza-page]>.page.qza-page>.inner-header{width:calc(100% + 24px);margin:0 -12px 0}
#phone#phone #app[data-qza-page]>.page.qza-page>.inner-header+.card{margin-top:-16px;position:relative}
#phone#phone #app[data-qza-page]:is([data-ui-view=asset],[data-ui-view=vault],[data-ui-view=profile],[data-ui-view=me])>:is(.qz-head,.inner-header)+.page.qza-page{padding-top:0;margin-top:-16px;z-index:2}
#phone#phone #app[data-qza-page] .card{padding:18px 16px;background:linear-gradient(120deg,#fffdfa,#f8f3ee);border:1px solid #fff;border-radius:18px;box-shadow:0 5px 22px #89745208;margin:0;gap:0}
#phone#phone #app[data-qza-page] .card>h2{font:700 21px/30px var(--qa-serif);letter-spacing:.01em;margin:0 0 16px;padding:0 0 10px;border-bottom:1px solid var(--qa-line);color:#171a1d;gap:0}
#phone#phone #app[data-qza-page] .card>h2::before{display:none}
#phone#phone #app[data-qza-page] .info-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px solid var(--qa-line);font-size:14px;line-height:23px}
#phone#phone #app[data-qza-page] .info-row:last-child{border-bottom:0}
#phone#phone #app[data-qza-page] .info-row>span{color:var(--qa-muted);min-width:0;flex:1 1 auto}
#phone#phone #app[data-qza-page] .info-row>b{font-family:var(--qa-number);font-size:18px;font-weight:700;line-height:24px;text-align:right;min-width:0;max-width:63%;overflow-wrap:anywhere}
#phone#phone #app[data-qza-page] :is(.num,.bal,.form-balance){font-family:var(--qa-number);font-variant-numeric:lining-nums tabular-nums;font-feature-settings:'lnum' 1,'tnum' 1;letter-spacing:0}
#phone#phone #app[data-qza-page] .fidelity-link{display:flex;align-items:center;gap:12px;min-height:68px;padding:14px 0;border-color:var(--qa-line);text-align:left;background:transparent;overflow:visible}
#phone#phone #app[data-qza-page] .fidelity-link>span:not(.qza-service-icon):not(.profile-ui-icon):not(.me-nav-icon):not(.me-visual-chevron){min-width:0;flex:1}
#phone#phone #app[data-qza-page] .fidelity-link b{font:700 17px/26px var(--qa-serif);color:#202126}
#phone#phone #app[data-qza-page] .fidelity-link small{display:block;margin:3px 0 0;font:400 12px/20px system-ui,sans-serif;color:var(--qa-muted);white-space:normal}
#phone#phone #app[data-qza-page] .fidelity-link>svg{color:var(--qa-gold);width:16px;height:16px;flex:none}
#phone#phone #app[data-qza-page] :is(.qza-service-icon,.profile-ui-icon,.me-nav-icon){display:grid;place-items:center;flex:0 0 30px;width:30px;min-width:30px;height:36px;color:#b48639;background:transparent;border-radius:0}
#phone#phone #app[data-qza-page] :is(.qza-service-icon,.profile-ui-icon,.me-nav-icon)>svg{width:26px;height:26px;display:block}
#phone#phone #app[data-qza-page] :is(.form-help,.muted){font-family:system-ui,sans-serif;font-size:12px;line-height:21px;color:var(--qa-muted);margin:8px 0}
#phone#phone #app[data-qza-page] .btn{min-height:48px;padding:12px 14px;border:1px solid #3d485c;border-radius:11px;background:#202939 url('/m/qz-art-20261109/asset-account/button-ribbon.png') right bottom/auto 100% no-repeat;color:#fff2d8;font:700 16px/24px var(--qa-serif);box-shadow:0 3px 9px #6b4c2214;white-space:normal;overflow-wrap:anywhere}
#phone#phone #app[data-qza-page] .btn.ghost{background:linear-gradient(130deg,#fdf9f2,#efdfc6);border-color:#dcc6a1;color:#30291e}
#phone#phone #app[data-qza-page] .btn:disabled{background:#e2e0df;border-color:#d6d1ca;color:#76716a;box-shadow:none;opacity:1;cursor:not-allowed}
#phone#phone #app[data-qza-page] .qz-note{margin:0;padding:13px 14px;border:1px solid #fff;border-radius:12px;background:#f2e9da;color:#655c50;font-size:12px;line-height:21px}
#phone#phone #app[data-qza-page] .tag{font-family:system-ui,sans-serif;font-size:12px;line-height:19px;padding:3px 9px;border-radius:20px}
/* Asset lead: exact cropped bullion at lower right. Live money never rendered into artwork. */
#phone#phone #app[data-qza-page=asset] .asset-card,#phone#phone #app[data-qza-page=me] .asset-card{isolation:isolate;position:relative;overflow:hidden;border:1px solid #fff;border-radius:18px;background:#f8eedf;color:var(--qa-ink);padding:18px 16px;min-height:146px;box-shadow:0 5px 18px #9171420c}
#phone#phone #app[data-qza-page=asset] .asset-card::before,#phone#phone #app[data-qza-page=me] .asset-card::before{content:'';position:absolute;right:0;top:32px;width:45%;height:112px;background:url('/m/qz-art-20261109/asset-account/asset-balance.png') right bottom/auto 100% no-repeat;z-index:-1;pointer-events:none;opacity:.88}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-card .home-balance-label{color:#302b24;font-family:var(--qa-serif);font-size:17px;font-weight:700;line-height:26px;justify-content:space-between;min-height:28px}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-card .icon-button{color:#464340;width:44px;min-width:44px;min-height:44px;margin:-8px -8px -8px 0}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-card>.bal{color:#94630e;font:700 clamp(33px,10vw,45px)/1.18 var(--qa-number);letter-spacing:-.025em;margin:14px 0 25px;overflow-wrap:anywhere;padding-right:0;position:relative;text-shadow:0 1px #fff8}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-card .asset-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;border:0;border-top:1px solid #decaad;border-radius:0;background:#faf6eff0;margin:16px -16px 0;padding:14px 16px;color:var(--qa-ink)}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-metrics span{font-size:12px;line-height:20px;color:var(--qa-muted)}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-metrics b{font:700 22px/30px var(--qa-number);margin-top:4px;overflow-wrap:anywhere}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-card .net-account-rate{border-color:#dbcaaa;color:#625849;background:#fbf5eae0;flex-wrap:wrap;gap:8px}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .net-account-rate b{color:#272a30}
#phone#phone #app[data-qza-page=asset] .asset-page>.btn-row{gap:10px;margin-top:2px}
/* Vault metal ledger: clear weight cells with one restrained direct gold crop. */
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child{background:#f6e8d4 url('/m/qz-art-20261109/asset-account/vault-gold.png') right bottom/auto 140px no-repeat;border:1px solid #fff;padding:18px 16px}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child>h2{border-bottom:0;margin-bottom:6px}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row{align-items:center;gap:10px;padding:17px 0;background:linear-gradient(90deg,#fbf4eac0,#fbf4ea90 72%,transparent)}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row>span{font:700 18px/28px var(--qa-serif);color:#211f1b}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row>b{color:#916316;font:700 26px/32px var(--qa-number);max-width:72%;padding-right:8px}
/* Me: identity header plus original conditional entry groups; grid changes presentation only. */
#phone#phone #app[data-qza-page=me]>.me-visual-head{grid-template-columns:44px minmax(0,1fr);min-height:154px;padding:18px 20px 30px;gap:12px}
#phone#phone #app[data-qza-page=me] .me-visual-head>h1{grid-column:2;grid-row:1;font-size:22px}
#phone#phone #app[data-qza-page=me] .me-header-identity{grid-row:2;grid-column:1/-1;padding:0;margin:0;max-width:100%;color:#fffcf4}
#phone#phone #app[data-qza-page=me] .me-header-identity strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font:700 20px/29px var(--qa-serif);color:#fff}
#phone#phone #app[data-qza-page=me] .me-header-identity p{color:#eee8dd;font:400 12px/21px system-ui;margin:3px 0}
#phone#phone #app[data-qza-page=me] .me-header-identity .tag{font-size:11px;color:#79531c;background:#f7e2bc;padding:1px 8px}
#phone#phone #app[data-qza-page=me] .asset-card::before{background-image:url('/m/qz-art-20261109/asset-account/me-balance.png');top:8px;height:116px}
#phone#phone #app[data-qza-page=me] .me-balance>.btn-row{margin-top:12px;gap:8px}
#phone#phone #app[data-qza-page=me] .me-balance .btn:not(.ghost){background:#202939 url('/m/qz-art-20261109/asset-account/button-ribbon.png') right bottom/auto 100% no-repeat;color:#fff2d8;border-color:#3d485c}
#phone#phone #app[data-qza-page=me] .me-balance .btn.ghost{background:#f1e3cd;color:#3a2f1e;border-color:#dec7a3}
#phone#phone #app[data-qza-page=me] .me-navgroup>h2{background:url('/m/qz-art-20261109/asset-account/section-wave.png') right bottom/62% auto no-repeat;border-bottom:0;padding-bottom:9px}
#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2)>h2{grid-column:1/-1}
#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2) .fidelity-link{gap:7px;min-height:64px;padding:12px 0}
#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2) .fidelity-link b{font-size:15px;line-height:24px}
#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2) .me-nav-icon{flex-basis:25px;width:25px;min-width:25px}
#phone#phone #app[data-qza-page=me] .me-visual-chevron{flex:0 0 7px;width:7px;height:7px;border-top:1.5px solid #5f5141;border-right:1.5px solid #5f5141;transform:rotate(45deg);margin-right:2px}
/* Profile dossier and KYC review states stay distinct from completed verification. */
#phone#phone #app[data-qza-page=profile] .profile-group{padding:18px 16px}
#phone#phone #app[data-qza-page=profile] .profile-group>h2{background:url('/m/qz-art-20261109/asset-account/section-wave.png') right bottom/60% auto no-repeat;border-bottom:0}
#phone#phone #app[data-qza-page=profile] .profile-white-card{padding:0;margin:0;border:0;border-radius:0;background:transparent}
#phone#phone #app[data-qza-page=profile] .profile-white-card .info-row>b{font-size:16px;line-height:24px;font-family:system-ui,sans-serif;font-weight:500}
#phone#phone #app[data-qza-page=profile] .profile-white-card .fidelity-link{padding:13px 10px;margin:9px 0;border:1px solid #ddccb1;border-radius:10px;background:#f5ecdf}
#phone#phone #app[data-qza-page=profile] .profile-record>.btn{margin-top:12px}
#phone#phone #app[data-qza-page=kyc] .qza-page>.card:nth-of-type(2) .fidelity-link{background:#f4eee6;border:1px solid #fff;border-radius:11px;margin:8px -5px;padding:13px 10px}
#phone#phone #app[data-qza-page] .record-summary{margin:12px 0 0;padding:14px;background:#f4eee6;border:1px solid #fff;border-radius:11px;gap:7px}
#phone#phone #app[data-qza-page] .record-summary .form-help{margin:2px 0}
/* Contracts: document hierarchy, generous actual body, unchanged signature controls/canvas. */
#phone#phone #app:is([data-qza-page=contracts],[data-qza-page=contractHistory],[data-qza-page=contractRead]) .contract-title{font:700 20px/31px var(--qa-serif);color:#1c1e21;margin:14px 0;letter-spacing:0;overflow-wrap:anywhere}
#phone#phone #app:is([data-qza-page=contracts],[data-qza-page=contractHistory],[data-qza-page=contractRead]) .card>.btn{margin-top:15px}
#phone#phone #app:is([data-qza-page=contracts],[data-qza-page=contractHistory]) .card>.btn.ghost{background:#202939 url('/m/qz-art-20261109/asset-account/button-ribbon.png') right bottom/auto 100% no-repeat;color:#fff2d8;border-color:#3d485c}
#phone#phone #app[data-qza-page=contractRead] .contract-body{font:400 14px/1.95 system-ui,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;background:#fcf9f5;border:1px solid #ede2d2;border-radius:12px;padding:18px 14px;margin:16px 0;color:#373b43;max-height:none;overflow:visible}
#phone#phone #app[data-qza-page=contractRead] .card>h3{font:500 14px/24px system-ui,sans-serif;margin:15px 0 6px;color:#62616a}
#phone#phone #app[data-qza-page=contracts] .field{margin:16px 0}
#phone#phone #app[data-qza-page=contracts] .field>label{font:400 14px/24px system-ui,sans-serif;margin-bottom:8px;color:#48443e}
#phone#phone #app[data-qza-page=contracts] .qz-check{min-height:44px;display:flex;align-items:flex-start;gap:10px;margin:13px 0;font:400 14px/24px system-ui,sans-serif}
#phone#phone #app[data-qza-page=contracts] .qz-check>input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:#986b24}
#phone#phone #app[data-qza-page=contracts] .contract-signing>h3{font:700 17px/27px var(--qa-serif);margin:24px 0 12px;padding-bottom:9px;border-bottom:1px solid var(--qa-line)}
#phone#phone #app[data-qza-page=contracts] .contract-signing>h3:first-child{margin-top:0}
#phone#phone #app[data-qza-page=contracts] .contract-type{display:flex;gap:10px}
#phone#phone #app[data-qza-page=contracts] .contract-type>.btn{flex:1;min-width:0;font-family:system-ui;font-size:14px}
#phone#phone #app[data-qza-page=contracts] .contract-photo{padding:14px;border:1px dashed #c8ae82;border-radius:12px;background:#f8f0e4;margin:18px 0}
#phone#phone #app[data-qza-page=contracts] .contract-photo>label{font:500 14px/24px system-ui;color:#48443e}
#phone#phone #app[data-qza-page=contracts] .contract-photo img{max-width:100%;max-height:180px;object-fit:contain}
#phone#phone #app[data-qza-page=contracts] .contract-canvas{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:18/7;border:1px solid #bca681;border-radius:12px;background:#fff;touch-action:none}
#phone#phone #app[data-qza-page=contracts] .contract-final-review{padding:18px 14px;background:#fff0d3;border:1px solid #b48d48;border-radius:12px;margin:20px 0;color:#342b20}
#phone#phone #app[data-qza-page=contracts] .contract-final-review h3{font:700 18px/28px var(--qa-serif);margin-bottom:10px}
#phone#phone #app[data-qza-page=contractRead] .contract-evidence{margin-top:22px;border-top:1px solid var(--qa-line);padding-top:16px}
#phone#phone #app[data-qza-page=contractRead] .contract-evidence p{gap:12px;overflow-wrap:anywhere}
#phone#phone #app[data-qza-page=contractRead] .contract-evidence img{max-width:100%;height:auto;border:1px solid var(--qa-line);border-radius:8px}
/* Owned sheets retain original single-step fields, original review steps and native confirmations. */
#phone#phone #app .mask[data-qza-sheet]{background:#101726a6;backdrop-filter:blur(4px)}
#phone#phone #app .mask[data-qza-sheet]>.sheet{background:#f8f4ef;border:1px solid #d6c5a8;border-radius:23px 23px 0 0;padding:0 14px calc(24px + env(safe-area-inset-bottom));max-height:94dvh;overflow-y:auto;overscroll-behavior:contain}
#phone#phone #app .mask[data-qza-sheet] .qz-sheet-head{position:relative;background:#202939 url('/m/qz-art-20261109/asset-account/contracts-header.png') right bottom/auto 100% no-repeat;margin:0 -14px 18px;padding:15px 14px;border:0;border-radius:22px 22px 0 0;min-height:73px}
#phone#phone #app .mask[data-qza-sheet] .qz-sheet-head h1{font:700 20px/30px var(--qa-serif);color:#fff7e6}
#phone#phone #app .mask[data-qza-sheet] .qz-sheet-head>button{width:44px;height:44px;background:#ffffff09;color:#f8e8c8;border:1px solid #efdab745;border-radius:50%}
#phone#phone #app .mask[data-qza-sheet] .card{padding:17px 15px;border:1px solid #fff;border-radius:15px;background:#fffcf8;margin:0 0 16px;box-shadow:0 4px 15px #80613406;gap:12px}
#phone#phone #app .mask[data-qza-sheet] .card>h2{font:700 18px/28px var(--qa-serif);margin:0 0 13px;padding-bottom:10px;border-bottom:1px solid var(--qa-line)}
#phone#phone #app .mask[data-qza-sheet] .card>h2:before{display:none}
#phone#phone #app .mask[data-qza-sheet] :is(.field>label,.kyc-upload label){font:500 14px/24px system-ui,sans-serif;color:#46413a}
#phone#phone #app .mask[data-qza-sheet] .field{margin:0 0 17px}
#phone#phone #app .mask[data-qza-sheet] .field:last-child{margin-bottom:0}
#phone#phone #app .mask[data-qza-sheet] :is(input:not([type=checkbox]):not([type=file]),select,textarea),#phone#phone #app[data-qza-page=contracts] :is(input:not([type=checkbox]):not([type=file]),select,textarea){font:400 16px/24px system-ui,sans-serif;min-height:48px;border:1px solid #c7b391;border-radius:10px;background:#fffdfa;color:#282c33;padding:11px 12px;max-width:100%;min-width:0}
#phone#phone #app .mask[data-qza-sheet] .btn{min-height:48px;padding:12px 14px;margin-top:12px;border-radius:11px;background:#202939 url('/m/qz-art-20261109/asset-account/button-ribbon.png') right bottom/auto 100% no-repeat;color:#fff2d8;border:1px solid #3d485c;font:700 16px/24px var(--qa-serif);white-space:normal}
#phone#phone #app .mask[data-qza-sheet] .btn.ghost{background:#f2e6d1;color:#49371e;border-color:#d8c09a}
#phone#phone #app .mask[data-qza-sheet] .btn:disabled{background:#e6e1d8;color:#797165;border-color:#d4ccbe;opacity:1;box-shadow:none}
#phone#phone #app .mask[data-qza-sheet] :is(.form-help,.muted){font:400 12px/21px system-ui,sans-serif;color:#686158;margin:8px 0}
#phone#phone #app .mask[data-qza-sheet] .qz-note{padding:13px 14px;border-radius:11px;background:#f1e7d7;border:1px solid #fff;font:400 12px/21px system-ui;color:#665a49;margin:14px 0}
#phone#phone #app .mask[data-qza-sheet] .info-row,#phone#phone #app .mask[data-qza-sheet] .row{gap:12px;padding:12px 0;border-color:var(--qa-line);align-items:baseline;font-size:14px;line-height:23px}
#phone#phone #app .mask[data-qza-sheet] :is(.info-row,.row)>b{font:700 17px/25px var(--qa-number);min-width:0;overflow-wrap:anywhere;max-width:65%;text-align:right}
#phone#phone #app .mask[data-qza-sheet] .form-balance,#phone#phone #app .mask[data-qza-sheet] .bal{font:700 36px/44px var(--qa-number);color:#986814;margin:10px 0}
#phone#phone #app .mask[data-qza-sheet] .seg{margin:5px 0 16px;padding:4px;border:1px solid #dfcfb6;border-radius:11px;background:#eee4d5;gap:5px}
#phone#phone #app .mask[data-qza-sheet] .seg>button{font:500 14px/22px system-ui;min-height:44px;border-radius:8px;padding:9px;color:#71614a}
#phone#phone #app .mask[data-qza-sheet] .seg>button.on,#phone#phone #app .mask[data-qza-sheet] .seg>button[aria-checked=true]{background:#fffaf0;color:#7c591d;box-shadow:0 2px 5px #8c6b2220}
#phone#phone #app .mask[data-qza-sheet] .fidelity-link{padding:14px 10px;min-height:64px;gap:12px;border-radius:12px;background:#fbf6eb}
#phone#phone #app .mask[data-qza-sheet] .fidelity-link b{font:700 16px/25px var(--qa-serif)}
#phone#phone #app .mask[data-qza-sheet] .fidelity-link small{font:400 12px/20px system-ui;margin-top:4px}
#phone#phone #app .mask[data-qza-sheet=credit] .credit-summary{background:#fbefd9;border:1px solid #e1c79a;color:#29251f}
#phone#phone #app .mask[data-qza-sheet=credit] .credit-summary .bal-label{color:#665843;font-size:14px}
#phone#phone #app .mask[data-qza-sheet=credit] .credit-summary .asset-metrics{padding:14px 0 0;border:0;border-top:1px solid #decaab;border-radius:0;background:transparent;gap:16px}
#phone#phone #app .mask[data-qza-sheet=credit] .asset-metrics b{font:700 24px/32px var(--qa-number)}
#phone#phone #app .mask[data-qza-sheet=bank] .bank-account{background:#202939 url('/m/qz-art-20261109/asset-account/asset-header.png') right bottom/auto 100% no-repeat;border:1px solid #405069;border-radius:13px;padding:16px;color:#fff1d6;margin-bottom:12px}
#phone#phone #app .mask[data-qza-sheet=bank] .bank-account .form-help{color:#e7dac6}
#phone#phone #app .mask[data-qza-sheet=bank] .bank-card-number{font:400 21px/32px var(--qa-number);letter-spacing:1px;color:#fff5e0;overflow-wrap:anywhere}
#phone#phone #app .mask[data-qza-sheet] .kyc-upload{background:#f7efe2;border:1px dashed #b99a64;border-radius:12px;padding:14px;margin:14px 0}
#phone#phone #app .mask[data-qza-sheet] .kyc-upload small{font:400 12px/20px system-ui;color:#786950}
#phone#phone #app .mask[data-qza-sheet] .pay-account{background:#f5eddf;border:1px solid #e2d1b4;border-radius:10px;padding:12px;margin-top:12px}
#phone#phone #app .mask[data-qza-sheet] .pay-account-line{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:start;padding:7px 0}
#phone#phone #app .mask[data-qza-sheet] .pay-account-line>b{overflow-wrap:anywhere;min-width:0;font:500 14px/23px system-ui}
#phone#phone #app .mask[data-qza-sheet] .pay-account button{min-height:44px;padding:8px;color:#6d4a13;background:#fffaf2;border:1px solid #d6c097;border-radius:8px}
#phone#phone #app .mask[data-qza-sheet] .qz-password>button{height:48px;min-width:44px;color:#856324}
#phone#phone #app .mask[data-qza-sheet] input[type=file],#phone#phone #app[data-qza-page=contracts] input[type=file]{display:block;max-width:100%;font:400 12px/22px system-ui;min-height:44px;margin-top:8px;color:#696157}
#phone#phone #app .mask[data-qza-sheet] input[type=file]::file-selector-button,#phone#phone #app[data-qza-page=contracts] input[type=file]::file-selector-button{min-height:44px;border:1px solid #cab089;border-radius:8px;background:#fffaf0;color:#6e521e;padding:8px 12px;margin-right:8px;font:inherit}
/* Semantic colors are never recolored to gold, including within ivory account metrics. */
#phone#phone #app[data-qza-page] .profit-positive,#phone#phone #app .mask[data-qza-sheet] .profit-positive{color:var(--qz-pnl-positive,#c63a36)}
#phone#phone #app[data-qza-page] .profit-negative,#phone#phone #app .mask[data-qza-sheet] .profit-negative{color:var(--qz-pnl-negative,#2b7c4c)}
@media(max-width:360px){#phone#phone #app[data-qza-page] .card{padding:16px 13px}#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header){padding-inline:10px;gap:6px;grid-template-columns:32px 38px minmax(0,1fr)}#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header)>h1{font-size:19px}#phone#phone #app[data-qza-page] .qza-original-mark{width:38px}#phone#phone #app[data-qza-page] .info-row>b{font-size:16px}#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2){column-gap:8px}#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2) .fidelity-link{gap:5px}#phone#phone #app[data-qza-page=me] .me-navgroup:nth-of-type(2) .fidelity-link b{font-size:14px}#phone#phone #app[data-qza-page=me]>.me-visual-head{grid-template-columns:44px 1fr}#phone#phone #app[data-qza-page] .contract-type{flex-wrap:wrap}}
/* Visual self-check refinement: blend the untouched crop edge into the ivory card. */
#phone#phone #app[data-qza-page=asset] .asset-card::before,#phone#phone #app[data-qza-page=me] .asset-card::before{-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 22%);mask-image:linear-gradient(to right,transparent 0%,#000 22%)}
#phone#phone #app[data-qza-page=profile] .profile-group>h2,#phone#phone #app[data-qza-page=me] .me-navgroup>h2{position:relative;background:none}
#phone#phone #app[data-qza-page=profile] .profile-group>h2::after,#phone#phone #app[data-qza-page=me] .me-navgroup>h2::after{content:'';position:absolute;right:0;bottom:0;width:60%;height:15px;background:url('/m/qz-art-20261109/asset-account/section-wave.png') center/100% auto no-repeat;mask-image:linear-gradient(to right,transparent,#000 20%,#000 82%,transparent);pointer-events:none}
/* Visual self-check refinement: no hard seam at the crop boundary; digits remain on light paper. */
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header){background-image:linear-gradient(90deg,#253041 0%,#253041f5 24%,#25304100 70%),var(--qa-header);background-size:100% 100%,auto 100%;background-position:center,right bottom}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row{background:linear-gradient(90deg,#fbf4ea 0%,#fbf4eaf2 70%,#fbf4ea9c 100%)}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row>b{text-shadow:0 1px #fff,0 -1px #fff}

/* Original back affordance retains a full 44 px target at every width. */
#phone#phone #app[data-qza-page]:not([data-qza-page=me]) :is(.qz-head,.inner-header){grid-template-columns:44px 40px minmax(0,1fr);gap:7px}
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header)>button{width:44px;min-width:44px}
/* Final artwork boundary and compact status-pill refinement after screenshot review. */
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header){isolation:isolate;background-image:linear-gradient(110deg,#2c3648,#17202c);background-size:cover}
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header)::before{content:'';position:absolute;inset:0 0 0 24%;background:var(--qa-header) right bottom/auto 100% no-repeat;mask-image:linear-gradient(to right,transparent 0%,#000 36%);z-index:-1;pointer-events:none}
#phone#phone #app[data-qza-page] .card>.tag{align-self:flex-start;width:auto;max-width:100%}
#phone#phone #app[data-qza-page]>.page.qza-page>.inner-header+.card{margin-top:-16px;position:relative;z-index:2}
/* Baseline-specific document action and two-column verification summary. */
#phone#phone #app[data-qza-page=contractRead] .qza-page>.btn.ghost{background:#202939 url('/m/qz-art-20261109/asset-account/button-ribbon.png') right bottom/auto 100% no-repeat;color:#fff2d8;border-color:#3d485c}
#phone#phone #app[data-qza-page=profile] .profile-white-card>.fidelity-link:first-of-type{background:#202939 url('/m/qz-art-20261109/asset-account/button-ribbon.png') right bottom/auto 100% no-repeat;border-color:#3d485c}
#phone#phone #app[data-qza-page=profile] .profile-white-card>.fidelity-link:first-of-type :is(b,small,.profile-ui-icon){color:#fff0d3}
#phone#phone #app[data-qza-page=kyc] .qza-page>.card:first-of-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#phone#phone #app[data-qza-page=kyc] .qza-page>.card:first-of-type>h2{grid-column:1/-1;margin-bottom:3px}
#phone#phone #app[data-qza-page=kyc] .qza-page>.card:first-of-type>.info-row{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:0;border-radius:10px;padding:13px 12px;background:#f5ebdd}
#phone#phone #app[data-qza-page=kyc] .qza-page>.card:first-of-type>.info-row>b{max-width:100%;font-size:17px;text-align:left;color:#67502c}
#phone#phone #app[data-qza-page=kyc] .qza-page>.card:first-of-type>.info-row:nth-of-type(n+3){grid-column:1/-1;flex-direction:row;justify-content:space-between}
/* Final fresh-tab screenshot correction: artwork fills its masked box, with no contained-image edge. */
#phone#phone #app[data-qza-page] :is(.qz-head,.inner-header)::before{background-size:cover;mask-image:linear-gradient(to right,transparent 0%,#000 66%)}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row{background:#fbf4ea}
#phone#phone #app[data-qza-page=profile] .profile-group>h2::after,#phone#phone #app[data-qza-page=me] .me-navgroup>h2::after{mask-image:radial-gradient(ellipse at center,#000 10%,rgba(0,0,0,.69) 40%,transparent 72%)}
/* Sheet-family baselines: each structure has its own generated reference and direct crops. */
#phone#phone #app .mask:is([data-qza-sheet=recharge],[data-qza-sheet=withdraw],[data-qza-sheet=withdrawConfirm]){--qa-sheet-art:url('/m/qz-art-20261109/asset-account/sheet-money-header.png');--qa-sheet-button:url('/m/qz-art-20261109/asset-account/sheet-money-button.png')}
#phone#phone #app .mask:is([data-qza-sheet=credit],[data-qza-sheet=creditApply],[data-qza-sheet=creditRepay]){--qa-sheet-art:url('/m/qz-art-20261109/asset-account/sheet-credit-header.png');--qa-sheet-button:url('/m/qz-art-20261109/asset-account/sheet-credit-button.png')}
#phone#phone #app .mask:is([data-qza-sheet=pickup],[data-qza-sheet=deposit],[data-qza-sheet=fulfillmentAddress],[data-qza-sheet=fulfillmentPerson]){--qa-sheet-art:url('/m/qz-art-20261109/asset-account/sheet-fulfillment-header.png');--qa-sheet-button:url('/m/qz-art-20261109/asset-account/sheet-fulfillment-button.png')}
#phone#phone #app .mask:is([data-qza-sheet=bank],[data-qza-sheet=kycLicense],[data-qza-sheet=kycId]){--qa-sheet-art:url('/m/qz-art-20261109/asset-account/sheet-identity-header.png');--qa-sheet-button:url('/m/qz-art-20261109/asset-account/sheet-identity-button.png')}
#phone#phone #app .mask:is([data-qza-sheet=pwd],[data-qza-sheet=logoutConfirm]){--qa-sheet-art:url('/m/qz-art-20261109/asset-account/sheet-security-header.png');--qa-sheet-button:url('/m/qz-art-20261109/asset-account/sheet-security-button.png')}
#phone#phone #app .mask[data-qza-sheet] .qz-sheet-head{isolation:isolate;background:linear-gradient(115deg,#303b50,#17202d);overflow:hidden}
#phone#phone #app .mask[data-qza-sheet] .qz-sheet-head::before{content:'';position:absolute;inset:0 0 0 40%;z-index:-1;background:var(--qa-sheet-art) right bottom/cover no-repeat;mask-image:linear-gradient(to right,transparent,#000 80%);pointer-events:none}
#phone#phone #app .mask[data-qza-sheet] .btn:not(.ghost):not(:disabled){background-image:var(--qa-sheet-button);background-position:right bottom;background-size:auto 100%;background-repeat:no-repeat}
#phone#phone #app .mask[data-qza-sheet=withdrawConfirm] .qz-confirm>h2{font:700 38px/1.3 var(--qa-number);color:#976813;padding:20px 0;margin:0 0 18px!important;border-bottom:1px solid var(--qa-line);text-align:center}
#phone#phone #app .mask[data-qza-sheet] .seg>button.on,#phone#phone #app .mask[data-qza-sheet] .seg>button[aria-pressed=true]{background:#273144;color:#f5dfad;box-shadow:0 2px 5px #8c6b2220}
#phone#phone #app .mask[data-qza-sheet] .card{border-color:#e8d8bd}
#phone#phone #app .mask[data-qza-sheet=bank] .bank-account{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(130deg,#3b465b,#202a3c)}
#phone#phone #app .mask[data-qza-sheet=bank] .bank-account::before{content:'';position:absolute;inset:0 0 0 45%;z-index:-1;background:var(--qa-sheet-art) right bottom/cover no-repeat;mask-image:linear-gradient(to right,transparent,#000 90%);opacity:.6}
#phone#phone #app .mask[data-qza-sheet] .policy-copy{font:400 14px/1.85 system-ui,sans-serif;margin:8px 0 0}
#phone#phone #app[data-qza-page=contracts] .contract-final-review{background:#fff9ee;border-color:#d3b47f;box-shadow:0 5px 16px #7c531209}
#phone#phone #app[data-qza-page=contracts] .contract-final-review h3{padding:12px;margin:-4px -1px 16px;border:1px solid #f1d8a7;border-radius:10px;background:#fff0d6;color:#77521a}
#phone#phone #app[data-qza-page=contracts] .contract-final-review p{font:400 14px/1.8 system-ui,sans-serif;padding:9px 0;margin:0;border-bottom:1px solid #e7d7be;overflow-wrap:anywhere}
#phone#phone #app[data-qza-page=contracts] .contract-final-review~.btn:not(:disabled){background-image:url('/m/qz-art-20261109/asset-account/contract-review-ribbon.png')}
/* Match baseline vertical rhythm without inherited double gaps; preserve every form control. */
#phone#phone #app .mask[data-qza-sheet]>.sheet{gap:0}
#phone#phone #app .mask[data-qza-sheet] .qz-sheet-head{width:calc(100% + 28px);flex-shrink:0;margin-bottom:18px}
#phone#phone #app .mask[data-qza-sheet] .card{gap:0;margin-bottom:14px;flex-shrink:0}
#phone#phone #app .mask[data-qza-sheet] .btn{flex-shrink:0}
#phone#phone #app .mask[data-qza-sheet] .card .field>label{display:block;margin-bottom:8px}
#phone#phone #app .mask[data-qza-sheet] .card>.form-help:last-child{margin-bottom:0}
/* Explicitly override the base sheet max-width clamp, keep dark account labels readable. */
#phone#phone #app .mask[data-qza-sheet] .qz-sheet-head{max-width:none}
#phone#phone #app .mask[data-qza-sheet] .btn:not(.ghost):not(:disabled){background-image:linear-gradient(90deg,#20293900,#20293933),var(--qa-sheet-button);background-position:center,right bottom;background-size:cover,auto 48%;background-repeat:no-repeat}
#phone#phone #app .mask[data-qza-sheet=bank] .bank-account .order-card-tags>span:not(.tag){color:#fff2d8}
/* Vault baseline reserves a right artwork column; no rectangular mask over live numerals. */
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#fcf3e7,#f5e7d3)}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child::after{content:'';position:absolute;right:0;bottom:0;width:27%;height:146px;z-index:-1;background:url('/m/qz-art-20261109/asset-account/vault-gold.png') right bottom/auto 100% no-repeat;mask-image:linear-gradient(to right,transparent,#000 30%);pointer-events:none}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row{display:grid;grid-template-columns:40px minmax(0,1fr);width:78%;gap:10px;background:transparent;align-items:center}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row>b{max-width:none;padding:0;text-align:left;font-size:clamp(20px,6vw,26px);letter-spacing:-.3px;text-shadow:none}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child .info-row:nth-of-type(2)>b{color:#29313c}
#phone#phone #app[data-qza-page=vault] .vault-page>.card:first-child::after{mask-image:radial-gradient(ellipse at bottom right,#000 42%,rgba(0,0,0,.82) 60%,transparent 83%)}
/* Pending-contract notice stays outside the lifted body; do not inherit full-width form buttons. */
#phone#phone #app>.contract-pending>span{flex:1;min-width:0}
#phone#phone #app>.contract-pending>.btn{width:auto;min-width:84px;flex:0 0 auto}
/* Original unknown-result recovery only: retain its text, disabled gate and acknowledgement handler. */
#phone#phone #app .qz-note:has(button[onclick*="M.acknowledgeUnknown"]){display:flex;flex-direction:column;align-items:stretch;gap:12px;white-space:normal;overflow-wrap:anywhere}
#phone#phone #app .qz-note:has(button[onclick*="M.acknowledgeUnknown"])>button{display:block;width:100%;min-width:0;min-height:44px;align-self:stretch;flex:none;margin:0;white-space:normal}

/* Pad only the shaded pickup availability row; ordinary ledger rows keep their alignment. */
#phone#phone #app .mask[data-qza-sheet=pickup] .info-row:has([data-pickup-available]){padding:12px;border-radius:9px}

/* My-page icons share one optical size, stroke and container; button hit areas stay at least64px. */
#phone#phone #app[data-qza-page=me] .me-navgroup .fidelity-link .me-nav-icon{flex:0 0 34px;min-width:34px;width:34px;height:34px;padding:5px;border:1px solid #e7d5b7;border-radius:10px;background:linear-gradient(145deg,#fff9ee,#f3e7d4);color:#947033;box-shadow:inset 0 1px 0 #fffaf2}
#phone#phone #app[data-qza-page=me] .me-navgroup .fidelity-link .me-nav-icon>svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
#phone#phone #app[data-qza-page=me] .me-navgroup .fidelity-link .me-nav-icon>svg path{fill:none;stroke:currentColor}

/* Generated-baseline-led QZ shopping presentation. All rules limited to qzs-page. */
@font-face{font-family:QZShopSerif;src:url('/m/qz-art-20261109/shop/qz-shop-serif.woff') format('woff');font-weight:700;font-display:swap}
#phone#phone #app:has(.qzs-page){background:#f8f4ee;color:#20242b}
#phone#phone #app:has(.qzs-page)>.qz-head{display:none}
#phone#phone #app .qzs-page{--qzs-navy:#1c2638;--qzs-gold:#9f6a15;--qzs-line:#e5d9ca;box-sizing:border-box;padding:0 12px 28px;margin:0;background:radial-gradient(ellipse at top,#fdfaf6,#f7f2ec 70%);font:14px/1.65 system-ui,-apple-system,'PingFang SC','Noto Sans CJK SC',sans-serif;color:#27292e;min-height:100dvh;overflow-wrap:anywhere}
#phone#phone #app .qzs-page *{box-sizing:border-box}
#phone#phone #app .qzs-page:has(.shop-nav){padding-bottom:calc(88px + env(safe-area-inset-bottom))}
#phone#phone #app .qzs-page.fidelity-stack{display:block}
#phone#phone #app .qzs-page>.shop-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:2px;width:calc(100% + 24px);margin:0 -12px 18px;padding:8px 6px;min-height:64px;border:0;border-radius:0;position:relative;background:var(--qzs-navy) var(--qzs-header) center/100% 100% no-repeat;color:#fff7e7;box-shadow:none}
#phone#phone #app .qzs-page .shop-head h1{display:flex;align-items:center;justify-content:center;gap:9px;margin:0;padding:0;color:#fff9ee;text-align:left;font:700 19px/1.45 QZShopSerif,'Noto Serif CJK SC',serif;letter-spacing:.01em;min-width:0}
#phone#phone #app .qzs-page .qzs-logo{display:block;width:39px;height:26px;object-fit:contain;flex:0 0 39px;mix-blend-mode:screen}
#phone#phone #app .qzs-page .qzs-page-title{border-left:1px solid #e9d3a288;padding-left:9px;min-width:0}
#phone#phone #app .qzs-page .shop-head>button{width:44px;min-height:44px;border:0;background:none;color:#fff5df;padding:10px;border-radius:8px;display:grid;place-items:center;text-decoration:none}
#phone#phone #app .qzs-page .shop-head>button svg{width:21px;height:21px}
#phone#phone #app .qzs-page :is(h2,h3,.sec-title){color:#1b1d21;font-family:QZShopSerif,'Noto Serif CJK SC',serif;font-weight:700;line-height:1.45;letter-spacing:0;margin:0 0 14px}
#phone#phone #app .qzs-page h2{font-size:20px}#phone#phone #app .qzs-page h3{font-size:18px}
#phone#phone #app .qzs-page .card>h2:before{display:none}
#phone#phone #app .qzs-page :is(.card,.shop-order-card,.shop-cart-products){background:linear-gradient(125deg,#fffdfaee,#fcf8f2e8);border:1px solid #fff;border-radius:16px;box-shadow:0 2px 8px #513e2710,0 0 0 1px #e8ddcf77;padding:16px;margin:0 0 18px;min-width:0}
#phone#phone #app .qzs-page .fidelity-stack{gap:0}
#phone#phone #app .qzs-page .card>*:last-child{margin-bottom:0}
#phone#phone #app .qzs-page :is(.form-help,.muted,.shop-stock){font:12px/1.75 system-ui,-apple-system,'PingFang SC',sans-serif;color:#64656a;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
#phone#phone #app .qzs-page p{margin:10px 0 14px}
#phone#phone #app .qzs-page .shop-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px solid var(--qzs-line);font-size:14px;line-height:1.65;min-width:0}
#phone#phone #app .qzs-page .shop-row:last-child{border-bottom:0}
#phone#phone #app .qzs-page .shop-row>span{color:#62636a;flex:0 1 auto;min-width:0}
#phone#phone #app .qzs-page .shop-row>b{color:#292d35;text-align:right;min-width:0;max-width:65%;font-weight:600;overflow-wrap:anywhere}
#phone#phone #app .qzs-page :is(.shop-price,[data-shop-total],[data-shop-after],[data-shop-price]){font-family:QZQuoteNumbers,Georgia,QZShopSerif,serif;font-variant-numeric:lining-nums tabular-nums;color:var(--qzs-gold);font-size:23px;line-height:1.45;letter-spacing:0;font-weight:700}
#phone#phone #app .qzs-page .btn{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;margin:0 0 12px;padding:11px 14px;border:1px solid #485166;border-radius:12px;background:linear-gradient(120deg,#354158,#192231);color:#fff0ce;box-shadow:0 2px 4px #4b392317;font:700 16px/1.5 QZShopSerif,'Noto Serif CJK SC',serif;text-align:center;white-space:normal;overflow:hidden}
#phone#phone #app .qzs-page .btn:not(.ghost):not(:disabled):after{content:'';position:absolute;z-index:-1;right:0;bottom:0;width:57%;height:13px;background:url('/m/qz-art-20261109/shop/button-sweep.webp') right bottom/100% 100% no-repeat;pointer-events:none}
#phone#phone #app .qzs-page .btn.ghost{color:#34312c;background:linear-gradient(120deg,#fffcf7,#f4eada);border-color:#d0b28b;box-shadow:none}
#phone#phone #app .qzs-page :is(button,input,select,textarea):focus-visible{outline:2px solid #9b6b20;outline-offset:3px}
#phone#phone #app .qzs-page .btn:disabled{background:#e9e6e2;color:#817e78;border-color:#d2cec8;box-shadow:none;filter:none;opacity:1;cursor:not-allowed}
#phone#phone #app .qzs-page .btn-row{display:flex;gap:12px;margin:18px 0 0}
#phone#phone #app .qzs-page .btn-row>.btn{flex:1;min-width:0}
#phone#phone #app .qzs-page .shop-quiet{font-size:13px;line-height:1.5;min-height:44px;min-width:44px;padding:9px 12px;border-radius:22px;color:#795c2c;text-decoration:none;background:#f5ecdf;border:1px solid #e2ccb0}
#phone#phone #app .qzs-page .field{margin:0 0 18px;min-width:0}
#phone#phone #app .qzs-page .field>label{display:block;font-size:14px;line-height:1.6;margin:0 0 8px;color:#3f4147;font-weight:500}
#phone#phone #app .qzs-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font:14px/1.6 system-ui,sans-serif;border:1px solid #cfc5b9;background:#fffdfb;color:#282d33;border-radius:10px;min-height:46px;padding:10px 12px;max-width:100%;width:100%}
#phone#phone #app .qzs-page textarea{min-height:92px;resize:vertical}
#phone#phone #app .qzs-page input[type=checkbox]{accent-color:#a47a30;min-width:20px;min-height:20px}
#phone#phone #app .qzs-page .qz-check{min-height:44px;display:flex;align-items:center;gap:9px}
#phone#phone #app .qzs-page .shop-search-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#phone#phone #app .qzs-page .shop-search-input{position:relative;display:flex;align-items:center}
#phone#phone #app .qzs-page .shop-search-input>span{position:absolute;left:15px;color:#9d712d;z-index:1}
#phone#phone #app .qzs-page .shop-search-input>input{border-radius:26px;padding-left:42px;border-color:#caa66e;background:#fcf9f4}
#phone#phone #app .qzs-page .qz-banner{position:relative;width:100%;min-height:94px;margin:0 0 18px;padding:18px 23px;overflow:hidden;text-align:left;border:1px solid #344056;border-radius:13px;background:linear-gradient(120deg,#2e3950,#172131);color:#f6e2b7;box-shadow:none;display:flex;align-items:center}
#phone#phone #app .qzs-page .qzs-banner-art{position:absolute;right:0;top:0;bottom:0;width:57%;height:100%;object-fit:cover;object-position:right center;mask-image:linear-gradient(90deg,transparent,#000 35%)}
#phone#phone #app .qzs-page .qzs-banner-copy{position:relative;display:grid;gap:4px;z-index:1}
#phone#phone #app .qzs-page .qzs-banner-copy>b{font:700 29px/1.35 QZShopSerif,serif;letter-spacing:.04em}
#phone#phone #app .qzs-page .qzs-banner-copy>small{font:12px/1.6 system-ui,sans-serif;color:#eee7dc}
#phone#phone #app .qzs-page .qzs-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#phone#phone #app .qzs-page .shop-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:10px 0;margin:0 0 18px;background:#fffaf2;border:1px solid #fff;border-radius:14px;box-shadow:0 2px 8px #513e270c;overflow:visible}
#phone#phone #app .qzs-page .shop-categories>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;width:100%;min-height:70px;padding:3px;border:0;border-right:1px solid #e8dac5;background:none;color:#212326;font:700 13px/1.5 QZShopSerif,serif}
#phone#phone #app .qzs-page .shop-categories>button:last-child{border-right:0}
#phone#phone #app .qzs-page .shop-categories .ic{border:0;border-radius:0;width:32px;height:32px;background:none;display:block}
#phone#phone #app .qzs-page .shop-categories .ic>img{width:32px;height:32px;object-fit:contain;mix-blend-mode:multiply}
#phone#phone #app .qzs-page .shop-select-row{display:flex;align-items:center;gap:8px;margin:18px 0 14px}
#phone#phone #app .qzs-page .shop-select-row h2{flex:1;min-width:0;margin:0;font-size:21px}
#phone#phone #app .qzs-page .shop-select-row .sec-title:before{content:'';display:inline-block;width:3px;height:17px;margin-right:8px;border-radius:3px;background:#c38c2b}
#phone#phone #app .qzs-page .shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}
#phone#phone #app .qzs-page .shop-product{background:#fffcf8;border:1px solid #fff;border-radius:15px;box-shadow:0 2px 7px #513e2710;padding:9px;text-align:left;min-width:0;overflow:hidden}
#phone#phone #app .qzs-page .shop-product>.shop-cover,#phone#phone #app .qzs-page .shop-product>.shop-cover-empty{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1.34;background:linear-gradient(135deg,#f1e8dc,#f8f1e7);color:#bda88a;border-radius:10px;object-fit:contain}
#phone#phone #app .qzs-page .shop-cover-empty svg{width:36px;height:36px}
#phone#phone #app .qzs-page .shop-info{padding:12px 0 0;min-width:0}
#phone#phone #app .qzs-page .shop-product h3{font-size:15px;line-height:1.5;margin:0 0 6px;white-space:normal;overflow:visible;text-overflow:clip;display:block;overflow-wrap:anywhere}
#phone#phone #app .qzs-page .shop-product .shop-price{font-size:22px;margin:7px 0}
#phone#phone #app .qzs-page .shop-product .shop-stock{padding:3px 6px;border-radius:10px;background:#f2eadf}
#phone#phone #app .qzs-page .shop-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:480px;min-height:70px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:7px 4px calc(7px + env(safe-area-inset-bottom));background:#fcf8f2f7;backdrop-filter:blur(12px);border:0;border-top:1px solid #e5d9c8;border-radius:17px 17px 0 0;z-index:40}
#phone#phone #app .qzs-page .shop-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;min-height:48px;font:12px/1.4 system-ui,sans-serif;border:0;background:none;color:#393b3f}
#phone#phone #app .qzs-page .shop-nav button.on{color:#9f711e;font-weight:600}
#phone#phone #app .qzs-page .shop-nav .ic{width:24px;height:24px;background:none;border:0;display:grid;place-items:center}
#phone#phone #app .qzs-page .shop-nav .ic>svg{width:24px;height:24px}
#phone#phone #app .qzs-page .shop-category-layout{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:start;margin-bottom:18px}
#phone#phone #app .qzs-page .shop-sidebar{position:sticky;top:12px;align-self:start;display:flex;flex-direction:column;border-radius:12px;background:#f0e8dc;border:0;overflow:hidden}
#phone#phone #app .qzs-page .shop-sidebar>button{min-height:48px;padding:10px 5px;border:0;border-bottom:1px solid #e7dbc9;background:none;color:#6d6150;font:14px/1.5 system-ui,sans-serif}
#phone#phone #app .qzs-page .shop-sidebar>button.on{background:#f4dfb3;color:#8a5f1b;font-weight:600;border-left:3px solid #b78327}
#phone#phone #app .qzs-page .shop-category-title{font-size:18px;margin-bottom:12px}
#phone#phone #app .qzs-page .shop-category-layout .shop-grid{grid-template-columns:1fr}
#phone#phone #app .qzs-page :is(.shop-filter-grid,.shop-filter-metals){display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
#phone#phone #app .qzs-page :is(.shop-filter-grid,.shop-filter-metals)>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 27%;min-height:46px;padding:10px 8px;border:1px solid #d8c7ad;border-radius:9px;background:#fcf8f0;color:#55514a;font-size:14px}
#phone#phone #app .qzs-page :is(.shop-filter-grid,.shop-filter-metals)>button.on{background:linear-gradient(120deg,#344056,#1d2635);color:#fff1d1;border-color:#b29562}
#phone#phone #app .qzs-page .tag{display:inline-flex;align-items:center;font:12px/1.5 system-ui,sans-serif;border:1px solid #e4d2b4;border-radius:16px;background:#f4e9d3;color:#806126;padding:4px 9px;margin:0 5px 4px 0}
#phone#phone #app .qzs-page .tag.warn{background:#f5e1b5;color:#90600e;border-color:#e7cf99}
#phone#phone #app .qzs-page .tag.ok{background:#edf2e8;color:#4a6846;border-color:#d0dcc8}
#phone#phone #app .qzs-page .shop-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;min-height:164px;margin:0 0 18px;border-radius:16px;background:#f1e8dc;border:1px solid #fff}
#phone#phone #app .qzs-page .shop-gallery>img,#phone#phone #app .qzs-page .shop-gallery>.shop-cover-empty{width:100%;height:220px;flex:0 0 100%;object-fit:contain;display:grid;place-items:center;scroll-snap-align:start;color:#b6a17e;background:#f1e8dc}
#phone#phone #app .qzs-page .shop-product-title{font-size:23px;margin-bottom:8px}
#phone#phone #app .qzs-page .shop-variants{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;border:0;background:none}
#phone#phone #app .qzs-page .shop-variants>button{flex:1 1 115px;min-height:46px;border:1px solid #dbccb4;border-radius:9px;background:#fcf9f3;color:#514b40;padding:10px;font-size:13px}
#phone#phone #app .qzs-page .shop-variants>button.on{border-color:#bd9251;background:#f5e8d2;color:#6c4f21}
#phone#phone #app .qzs-page .shop-qty{display:flex;gap:0;align-items:stretch;min-width:132px;max-width:160px;border:1px solid #dac5a7;border-radius:8px;overflow:hidden;background:#f9f1e4}
#phone#phone #app .qzs-page .shop-qty>button{border:0;border-radius:0;min-height:44px;min-width:44px;width:44px;padding:4px;background:none;color:#654f2c;font-size:22px}
#phone#phone #app .qzs-page .shop-qty>input{border:0;border-inline:1px solid #e6d7c0;border-radius:0;padding:5px;min-height:44px;min-width:40px;width:56px;text-align:center;font-size:16px;background:#fffdfa}
#phone#phone #app .qzs-page .shop-qty>button:disabled{color:#a79e91;background:#eae4da}
#phone#phone #app .qzs-page .shop-description{font-size:14px;line-height:1.8;white-space:pre-wrap;color:#666269}
#phone#phone #app .qzs-page .fidelity-link{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:52px;border:1px solid #e4d4bb;border-radius:10px;padding:11px 12px;margin-top:14px;color:#785623;background:#f7efe2;text-align:left}
#phone#phone #app .qzs-page .fidelity-link small{display:block;font-size:12px;margin-top:4px}
#phone#phone #app .qzs-page :is(.shop-note,.qz-note,.shop-error){display:block;margin:0 0 18px;padding:14px 15px;border:1px solid #fff;border-radius:13px;font-size:13px;line-height:1.8;background:#f6ead7;color:#675739;overflow-wrap:anywhere}
#phone#phone #app .qzs-page [hidden]{display:none!important}
#phone#phone #app .qzs-page .qz-note{display:flex;align-items:flex-start;gap:9px}
#phone#phone #app .qzs-page .qz-note svg{flex:none;margin-top:4px;color:#a47629}
#phone#phone #app .qzs-page .shop-error{background:#fff1ed;border-color:#efd1c8;color:#943c2b}
#phone#phone #app .qzs-page .shop-cart-line{display:grid;grid-template-columns:62px minmax(0,1fr);gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid var(--qzs-line);min-width:0}
#phone#phone #app .qzs-page .shop-cart-line:first-child{padding-top:0}
#phone#phone #app .qzs-page .shop-cart-line:last-child{padding-bottom:0;border-bottom:0}
#phone#phone #app .qzs-page .shop-cart-line>img,#phone#phone #app .qzs-page .shop-cart-line>.shop-cover-empty{width:62px;height:75px;object-fit:contain;border-radius:8px;background:#f1e6d6;color:#bfa98a;display:grid;place-items:center}
#phone#phone #app .qzs-page .shop-cart-line>div{min-width:0}
#phone#phone #app .qzs-page .shop-cart-line .muted{margin:6px 0}
#phone#phone #app .qzs-page .shop-cart-line .shop-row{padding:6px 0;border:0;gap:8px}
#phone#phone #app .qzs-page .shop-cart-line .shop-row>b{max-width:none}
#phone#phone #app .qzs-page .shop-cart-line .shop-price,#phone#phone #app .qzs-page .shop-cart-line [data-shop-price]{font-size:20px}
#phone#phone #app .qzs-page .shop-cart-line .shop-quiet{padding:6px;background:none;border:0;font-size:12px}
#phone#phone #app .qzs-page .shop-summary-bar{padding:16px;margin:18px 0 0;border:1px solid #e0c9a6;border-radius:14px;background:#fffaf1}
#phone#phone #app .qzs-page .shop-summary-bar .shop-select-row{margin:0 0 12px}
#phone#phone #app .qzs-page .shop-summary-bar .btn{margin:0}
#phone#phone #app .qzs-page .shop-stats{display:flex;gap:10px;margin:0 0 20px}
#phone#phone #app .qzs-page .shop-chip{flex:1;min-height:46px;border:1px solid #d9c2a3;border-radius:10px;background:#fbf6ef;color:#625743;font-size:15px;padding:10px}
#phone#phone #app .qzs-page .shop-chip.on{background:#263248;color:#f9e8c5;border-color:#b59665}
#phone#phone #app .qzs-page .shop-order-filters{display:flex;overflow-x:auto;gap:8px;margin:0 0 18px;padding-bottom:5px}
#phone#phone #app .qzs-page .shop-order-filters>button{flex:none;min-height:44px;min-width:48px;padding:9px 13px;border-radius:20px;border:1px solid #d7c6ab;background:#fcf7ee;color:#665a46;font-size:13px}
#phone#phone #app .qzs-page .shop-order-filters>button.on{background:#263248;color:#f6e6c5;border-color:#b79765}
#phone#phone #app .qzs-page .shop-order-card>.shop-row:first-child{align-items:center;padding-top:0}
#phone#phone #app .qzs-page .shop-order-card>.shop-row:first-child>b{max-width:70%;text-align:left;overflow-wrap:anywhere}
#phone#phone #app .qzs-page .shop-order-card .btn{margin-top:14px;margin-bottom:0}
#phone#phone #app .qzs-page .qz-result{text-align:center;padding:14px 0}
#phone#phone #app .qzs-page .card.qz-result{padding:24px 16px}
#phone#phone #app .qzs-page .result-icon{width:62px;height:62px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:#f4e6ca;color:#a87520;font-size:30px}
#phone#phone #app .qzs-page .qz-result .form-help{font-size:13px;max-width:32em;margin-inline:auto}
#phone#phone #app .qzs-page.shop-pending-page>.card:nth-of-type(2)>div{padding:14px 0;border-bottom:1px solid #e5d7c2}
#phone#phone #app .qzs-page.shop-pending-page>.card:nth-of-type(2)>div:last-child{border-bottom:0}
#phone#phone #app .qzs-page .empty{padding:32px 20px;color:#797267;font-size:14px;text-align:center}
@media(max-width:350px){#phone#phone #app .qzs-page .shop-head h1{font-size:17px;gap:6px}#phone#phone #app .qzs-page .qzs-logo{width:31px;flex-basis:31px}#phone#phone #app .qzs-page .qzs-page-title{padding-left:6px}#phone#phone #app .qzs-page .shop-select-row{flex-wrap:wrap}#phone#phone #app .qzs-page .shop-select-row h2{flex-basis:100%}#phone#phone #app .qzs-page .shop-grid{gap:10px}#phone#phone #app .qzs-page .shop-product{padding:8px}#phone#phone #app .qzs-page .shop-product .shop-price,#phone#phone #app .qzs-page .shop-product [data-shop-price]{font-size:20px}#phone#phone #app .qzs-page .shop-categories{grid-template-columns:repeat(3,minmax(0,1fr))}#phone#phone #app .qzs-page .shop-categories>button:nth-child(3){border-right:0}#phone#phone #app .qzs-page .shop-categories>button:nth-child(-n+3){border-bottom:1px solid #e8dac5}}
@media(min-width:430px){#phone#phone #app .qzs-page .shop-category-layout .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){#phone#phone #app .qzs-page *{scroll-behavior:auto;transition:none}}

#phone#phone #app .qzs-page[data-qzs-route="shop"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shop.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopCategory"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopCategory.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopFilter"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopFilter.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopProduct"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopProduct.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopVariant"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopVariant.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopCart"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopCart.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopCheckout"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopCheckout.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopPending"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopPending.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopOrders"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopOrders.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopOrder"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopOrder.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopCancel"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopCancel.webp")}
#phone#phone #app .qzs-page[data-qzs-route="shopRefund"]{--qzs-header:url("/m/qz-art-20261109/shop/header-shopRefund.webp")}/* Visual review corrections: match the generated label/input rows rather than retain old stacked forms. */
#phone#phone #app .qzs-page.shop-checkout-page fieldset>.card{display:grid;grid-template-columns:90px minmax(0,1fr);column-gap:12px;align-items:center}
#phone#phone #app .qzs-page.shop-checkout-page fieldset>.card>h3{grid-column:1;margin:0 0 14px;font-size:18px}
#phone#phone #app .qzs-page.shop-checkout-page fieldset>.card>.shop-stats{grid-column:2;margin:0 0 14px;gap:5px}
#phone#phone #app .qzs-page.shop-checkout-page fieldset .field{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:12px;grid-column:1/-1;margin:0;padding:12px 0;border-top:1px solid #e7dbcd}
#phone#phone #app .qzs-page.shop-checkout-page fieldset .field>label{margin:0;font-size:13px;line-height:1.65}
#phone#phone #app .qzs-page.shop-checkout-page fieldset .field>textarea{min-height:70px}
#phone#phone #app .qzs-page .shop-search-input>input{padding-left:42px!important;border-radius:26px!important}
#phone#phone #app .qzs-page .shop-category-layout .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#phone#phone #app .qzs-page .shop-category-layout .shop-product{padding:7px}
#phone#phone #app .qzs-page .shop-category-layout .shop-product h3{font-size:14px}
#phone#phone #app .qzs-page .shop-category-layout .shop-product [data-shop-price]{font-size:18px}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);column-gap:12px;align-items:start}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>*{grid-column:1/-1}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>.shop-gallery{grid-column:1;grid-row:2;min-height:156px;height:100%;margin:0;aspect-ratio:auto;align-self:stretch}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>.shop-gallery>*{height:100%;min-height:156px;min-width:0;aspect-ratio:auto}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>section:first-of-type{grid-column:2;grid-row:2;min-height:156px;align-self:stretch;margin:0;padding:13px 10px}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>section:first-of-type .shop-product-title{font-size:18px}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>section:first-of-type .shop-price{font-size:22px}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>section:first-of-type .shop-price [data-shop-price]{font-size:22px}
@media(max-width:350px){#phone#phone #app .qzs-page .shop-category-layout .shop-grid{grid-template-columns:1fr}#phone#phone #app .qzs-page.shop-checkout-page fieldset>.card,#phone#phone #app .qzs-page.shop-checkout-page fieldset .field{grid-template-columns:80px minmax(0,1fr);column-gap:8px}}
/* Remove legacy flattened-cart placement before applying the reference image/detail row. */
#phone#phone #app .qzs-page .shop-cart-line>img,#phone#phone #app .qzs-page .shop-cart-line>.shop-cover-empty{grid-column:1;grid-row:1}
#phone#phone #app .qzs-page .shop-cart-line>div:last-child:not(.shop-cover-empty){display:block;grid-column:2;grid-row:1;width:auto;min-width:0}
#phone#phone #app .qzs-page .shop-cart-line .shop-selected-name{grid-column:auto;grid-row:auto;padding-right:0;min-height:44px}
#phone#phone #app .qzs-page .shop-cart-line .shop-selected-name b{font-size:14px;font-weight:600}
#phone#phone #app .qzs-page .shop-cart-line .shop-row{grid-column:auto;grid-row:auto;margin:0}
#phone#phone #app .qzs-page .shop-cart-line .shop-quiet{position:static;inset:auto;flex:none}
#phone#phone #app .qzs-page .shop-cart-line .shop-price{white-space:normal;overflow-wrap:normal}
#phone#phone #app .qzs-page .shop-cart-line .shop-qty{grid-column:auto;grid-row:auto;justify-content:flex-start;flex-wrap:nowrap;margin-top:8px}
#phone#phone #app .qzs-page .qzs-logo{mix-blend-mode:lighten}
#phone#phone #app .qzs-page .shop-row>[data-shop-total],#phone#phone #app .qzs-page .shop-row>[data-shop-after],#phone#phone #app .qzs-page .shop-row>[data-shop-price]{color:var(--qzs-gold);font-family:QZQuoteNumbers,Georgia,QZShopSerif,serif}
#phone#phone #app .qzs-page .qzs-logo{object-fit:contain;mix-blend-mode:normal;width:41px;height:auto;aspect-ratio:836/530;flex-basis:41px}
@media(max-width:350px){#phone#phone #app .qzs-page .qzs-logo{width:33px;flex-basis:33px}}
/* Generated result baseline uses one visible result heading, not stacked duplicates. */
#phone#phone #app .qzs-page .qz-result{display:block}
#phone#phone #app .qzs-page.shop-pending-page>.card:first-of-type>h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#phone#phone #app .qzs-page.shop-pending-page .qz-result{padding:4px 0 12px}
#phone#phone #app .qzs-page.shop-pending-page .result-icon{width:48px;height:48px;margin-bottom:12px}
#phone#phone #app .qzs-page.shop-pending-page>.card:first-of-type>.shop-row:nth-last-child(2)>b,#phone#phone #app .qzs-page[data-qzs-route=shopCancel]>.card>.shop-row:last-child>b,#phone#phone #app .qzs-page[data-qzs-route=shopRefund]>.card>.shop-row:nth-last-child(2)>b{color:var(--qzs-gold);font:700 23px/1.5 QZQuoteNumbers,Georgia,QZShopSerif,serif}
/* Existing approved address/person renderer nests its manage button inside .field. */
#phone#phone #app .qzs-page.shop-checkout-page fieldset .field>.btn{grid-column:1/-1;justify-self:stretch;width:100%;margin:2px 0 0;white-space:normal}

/* The selected fulfillment record remains native and editable; show its full current label below. */
#phone#phone #app .qzs-page.shop-checkout-page .field:has(select[id^="shop-"]){grid-template-columns:1fr;gap:9px}
#phone#phone #app .qzs-page.shop-checkout-page .qzs-selected-detail{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:8px;background:#f4ecdf;color:#554b3d;font:400 13px/1.75 system-ui;overflow-wrap:anywhere}
#phone#phone #app .qzs-page.shop-checkout-page .qzs-selected-detail[hidden]{display:none}

/* QZ service/auth. Direct-crop navy and gold artwork; all live information stays DOM text.
   Append after existing theme. Scope: eight owned pages, nine sheets, mobile access block. */
#phone#phone #app[data-qzsa-page],#phone#phone #app .mask[data-qzsa-sheet],.access-block-mobile{--qs-ink:#262b34;--qs-muted:#62646c;--qs-gold:#a06a14;--qs-line:#e4d6c8;--qs-paper:#faf6f1;--qs-serif:QZSerif,"Noto Serif CJK SC",serif;--qs-num:QZQuoteNumbers,Georgia,"Times New Roman",QZSerif,serif;color:var(--qs-ink);font-size:14px;line-height:1.6}
#app[data-qzsa-page=register]{--qs-header:url('/m/qz-art-20261109/service-auth/register-header.png')}
#app[data-qzsa-page=support]{--qs-header:url('/m/qz-art-20261109/service-auth/support-header.png')}
#app[data-qzsa-page=customers]{--qs-header:url('/m/qz-art-20261109/service-auth/customers-header.png')}
#app[data-qzsa-page=customer]{--qs-header:url('/m/qz-art-20261109/service-auth/customer-header.png')}
#app[data-qzsa-page=commissions]{--qs-header:url('/m/qz-art-20261109/service-auth/commissions-header.png')}
#app[data-qzsa-page=agentShare]{--qs-header:url('/m/qz-art-20261109/service-auth/agentShare-header.png')}
#app[data-qzsa-page=agentShareDetail]{--qs-header:url('/m/qz-art-20261109/service-auth/agentShareDetail-header.png')}
#phone#phone #app[data-qzsa-page]{background:#faf6f1;min-height:100dvh}
#phone#phone #app[data-qzsa-page] .qzsa-page{padding:0 10px 28px;margin:0;gap:12px;background:#faf6f1;min-height:100dvh}
#phone#phone #app[data-qzsa-page] :is(.inner-header,.auth-register>.qz-head){position:relative;isolation:isolate;inset:auto;display:flex;align-items:flex-start;gap:10px;min-height:112px;margin:0 -10px;padding:19px 14px 35px;width:calc(100% + 20px);border:0;border-radius:0;background:linear-gradient(120deg,#303b50,#111b2d);color:#fff6e5;transform:none;z-index:1;overflow:hidden}
#phone#phone #app[data-qzsa-page] :is(.inner-header,.auth-register>.qz-head)::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--qs-header) right bottom/auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent 30%,#000 60%)}
#phone#phone #app[data-qzsa-page] :is(.inner-header,.auth-register>.qz-head)>h1{font:700 21px/32px var(--qs-serif);color:#fff8ec;letter-spacing:.02em;text-align:left;margin:0;padding:0 0 0 12px;border-left:1px solid #eee2c999;max-width:75%;position:relative;z-index:1}
#phone#phone #app[data-qzsa-page] :is(.inner-header,.auth-register>.qz-head)>button{color:#f4e1b7;min-width:44px;width:44px;flex:0 0 44px;height:44px;min-height:44px;margin:-5px 0 0;padding:7px;border:0;background:transparent;border-radius:8px;font-size:30px;z-index:1}
#phone#phone #app[data-qzsa-page] :is(.inner-header,.auth-register>.qz-head)>.head-more{display:none}
#phone#phone #app[data-qzsa-page] .qzsa-page>.inner-header+.card{margin-top:-14px;position:relative;z-index:2}
#phone#phone #app[data-qzsa-page] .card{margin:0;padding:17px 15px;border:1px solid #fff;border-radius:18px;background:linear-gradient(120deg,#fdfaf6,#f8f2ed);box-shadow:0 5px 24px #836b4f08;gap:0}
#phone#phone #app[data-qzsa-page] .card>h2:not(.customer-name){font:700 22px/32px var(--qs-serif);color:#151515;margin:0 0 14px;padding:0 0 10px;letter-spacing:.01em;border:0;background:url('/m/qz-art-20261109/service-auth/section-wave.png') right bottom/62% auto no-repeat}
#phone#phone #app[data-qzsa-page] .card>h2::before{display:none}
#phone#phone #app[data-qzsa-page] :is(.num,.bal,.form-balance){font-family:var(--qs-num);font-variant-numeric:lining-nums tabular-nums;font-feature-settings:'lnum' 1,'tnum' 1;letter-spacing:0}
#phone#phone #app[data-qzsa-page] :is(.form-help,.muted){font:400 13px/22px system-ui,sans-serif;color:var(--qs-muted);margin:7px 0}
#phone#phone #app[data-qzsa-page] .info-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--qs-line);font:400 14px/23px system-ui}
#phone#phone #app[data-qzsa-page] .info-row:last-child{border-bottom:0}
#phone#phone #app[data-qzsa-page] .info-row>span{min-width:0;color:#414752}
#phone#phone #app[data-qzsa-page] .info-row>b{font:700 18px/25px var(--qs-num);max-width:62%;min-width:0;text-align:right;overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page] .btn{position:relative;min-height:48px;border:1px solid #7b653e;border-radius:16px;background:#202b40 url('/m/qz-art-20261109/service-auth/button-ribbon.png') right bottom/auto 70% no-repeat;color:#fae4aa;padding:11px 14px;font:700 20px/27px var(--qs-serif);box-shadow:0 3px 5px #78571d20;white-space:normal;overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page] .btn.ghost{background:#fbf7f0;border:1px solid #b48b4d;color:#242831;box-shadow:none}
#phone#phone #app[data-qzsa-page] .btn:disabled{background:#e7e1d8;color:#827a6f;border-color:#d9cebf;box-shadow:none;opacity:1}
#phone#phone #app[data-qzsa-page] .qz-note{font:400 12px/21px system-ui;margin:0;padding:10px 13px;border:1px solid #fff8;background:#f4eade;color:#575a60;border-radius:13px;gap:8px}
#phone#phone #app[data-qzsa-page] .qz-note>svg{color:var(--qs-gold);flex:none}
#phone#phone #app[data-qzsa-page] .tag{font:500 12px/20px system-ui;border-radius:22px;padding:2px 10px;white-space:normal;max-width:100%}
#phone#phone #app[data-qzsa-page] .seg{padding:4px;border:1px solid #d8cbbd;border-radius:23px;background:#f3ebe2;gap:0;margin:0}
#phone#phone #app[data-qzsa-page] .seg>button{font:700 18px/26px var(--qs-serif);min-height:44px;border-radius:19px;background:transparent;color:#333841;padding:8px 4px;white-space:normal}
#phone#phone #app[data-qzsa-page] .seg>button.on{background:#202b40 url('/m/qz-art-20261109/service-auth/button-ribbon.png') right bottom/auto 60% no-repeat;color:#ffe7ad;box-shadow:0 2px 3px #9e7e4730}
#phone#phone #app[data-qzsa-page] .field{margin:0 0 17px}
#phone#phone #app[data-qzsa-page] .field>label{display:block;font:500 15px/24px system-ui;color:#161718;margin:0 0 8px}
#phone#phone #app[data-qzsa-page] :is(input:not([type=file]):not([type=checkbox]),select,textarea){min-width:0;max-width:100%;min-height:48px;font:400 16px/24px system-ui;padding:11px 13px;border:1px solid #d5bd9f;border-radius:11px;background:#fdf9f4;color:#333944}
#phone#phone #app[data-qzsa-page] .qz-password>button{height:48px;width:44px;color:#77797e}
#phone#phone #app[data-qzsa-page] .fidelity-link{display:flex;align-items:center;gap:10px;min-height:62px;padding:12px 0;border-color:var(--qs-line);background:transparent;text-align:left}
#phone#phone #app[data-qzsa-page] .fidelity-link>span{min-width:0;flex:1}
#phone#phone #app[data-qzsa-page] .fidelity-link b{font:700 16px/25px var(--qs-serif);overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page] .fidelity-link small{font:400 12px/20px system-ui;color:#62646c;display:block;white-space:normal;overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page] .fidelity-link>svg{flex:none;width:14px}
#phone#phone #app[data-qzsa-page] .record-summary{padding:13px 12px;margin:10px 0 0;border:1px solid #e7d9c9;border-radius:14px;background:#fffaf4;gap:8px}
/* Login composition: real logo, editable form, decorative bullion only. */
#phone#phone #app[data-qzsa-page=login] .auth-login{position:relative;min-height:100dvh;background:linear-gradient(122deg,#2e384c,#101929);padding:0;overflow:hidden}
#phone#phone #app[data-qzsa-page=login] .auth-login::before{content:'';position:absolute;top:66px;right:0;width:65%;height:205px;background:url('/m/qz-art-20261109/service-auth/login-hero.png') right bottom/auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 30%);pointer-events:none}
#phone#phone #app[data-qzsa-page=login] .qz-head{position:relative;height:98px;min-height:98px;inset:auto;border:0;padding:27px 30px;background:transparent;display:block}
#phone#phone #app[data-qzsa-page=login] .qz-head img{width:70px;height:50px;object-fit:contain;object-position:left center}
#phone#phone #app[data-qzsa-page=login] .qz-head :is(h1,.head-more){display:none}
#phone#phone #app[data-qzsa-page=login] .auth-content{position:relative;margin:0;padding:0 20px 32px;background:linear-gradient(transparent 170px,#faf6f1 170px);width:100%;max-width:none}
#phone#phone #app[data-qzsa-page=login] .auth-brand{display:none}
#phone#phone #app[data-qzsa-page=login] .auth-welcome{font:700 35px/51px var(--qs-serif);color:#fffbf0;letter-spacing:.08em;margin:0 0 1px 12px;text-shadow:0 2px 5px #172231}
#phone#phone #app[data-qzsa-page=login] .auth-sub{font:400 17px/28px system-ui;color:#fff8ea;margin:0 0 0 15px;padding-left:12px;border-left:1px solid #eacb83;max-width:85%}
#phone#phone #app[data-qzsa-page=login] .auth-card{position:relative;margin:78px -20px 0;padding:30px 23px 26px;border:0;border-radius:26px 26px 0 0;background:#faf6f1;box-shadow:none;gap:22px}
#phone#phone #app[data-qzsa-page=login] .auth-card>h3{font:700 30px/43px var(--qs-serif);color:#101010;margin:0 0 11px;padding:0 10px 15px;background:url('/m/qz-art-20261109/service-auth/section-wave.png') right bottom/76% auto no-repeat}
#phone#phone #app[data-qzsa-page=login] .auth-card .field{margin:0}
#phone#phone #app[data-qzsa-page=login] .field>label{font-size:17px;margin:0 0 9px 6px;font-weight:600}
#phone#phone #app[data-qzsa-page=login] .auth-card input{height:50px;min-height:50px;background:transparent;font-size:17px;border-radius:13px;padding-left:17px}
#phone#phone #app[data-qzsa-page=login] .qz-input-icon>span{display:none}
#phone#phone #app[data-qzsa-page=login] .btn{width:100%;min-height:52px;border-radius:23px;font-size:23px;margin:8px 0 0}
#phone#phone #app[data-qzsa-page=login] .auth-content>.btn{margin:0;min-height:48px;border-radius:16px;font-size:20px}
#phone#phone #app[data-qzsa-page=login] .auth-content>.qz-note{margin:23px 8px 0;background:transparent;border:0;padding:0;font-size:12px;line-height:23px;text-align:center}
/* Registration receipt and both customer types use unchanged controls and conditions. */
#phone#phone #app[data-qzsa-page=register] .auth-wrap{padding:0;background:#faf6f1;min-height:100dvh}
#phone#phone #app[data-qzsa-page=register] .auth-register>.qz-head{width:100%;margin:0;min-height:112px}
#phone#phone #app[data-qzsa-page=register] .auth-content{position:relative;z-index:2;margin:-15px 0 0;max-width:none;padding:22px 12px 30px;border-radius:25px 25px 0 0;background:#faf6f1;display:flex;flex-direction:column;gap:16px}
#phone#phone #app[data-qzsa-page=register] .auth-content>.seg{margin:0 10px}
#phone#phone #app[data-qzsa-page=register] .auth-content>.card{padding:18px 16px}
#phone#phone #app[data-qzsa-page=register] .card:has(#f_name){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
#phone#phone #app[data-qzsa-page=register] .card:has(#f_name)>:is(h2,.field){grid-column:1/-1}
#phone#phone #app[data-qzsa-page=register] .kyc-upload{display:block;border:1px solid #caaa7d;border-radius:12px;background:#f8eddb;margin:0;padding:12px 9px;min-width:0}
#phone#phone #app[data-qzsa-page=register] .kyc-upload label{display:flex;flex-direction:column;align-items:center;gap:7px;color:#453b2b;text-align:center}
#phone#phone #app[data-qzsa-page=register] .kyc-upload svg{width:38px;height:38px;color:#b1802b}
#phone#phone #app[data-qzsa-page=register] .kyc-upload b{font:500 13px/21px system-ui}
#phone#phone #app[data-qzsa-page=register] .kyc-upload small{display:block;font:400 10px/17px system-ui;color:#6d665e;margin-top:4px}
#phone#phone #app[data-qzsa-page=register] input[type=file]{font:400 10px/18px system-ui;max-width:100%;width:100%;min-height:36px;color:#615647}
#phone#phone #app[data-qzsa-page=register] input[type=file]::file-selector-button{font:inherit;min-height:34px;border:1px solid #cdb180;background:#fffbf5;color:#6b4a17;border-radius:6px;padding:5px}
#phone#phone #app[data-qzsa-page=register] .kyc-upload img{max-width:100%;max-height:150px;object-fit:contain;margin-top:8px}
#phone#phone #app[data-qzsa-page=register] .auth-content>.btn{border-radius:25px;margin-top:0}
#phone#phone #app[data-qzsa-page=register] .auth-content>.form-help{margin:0;text-align:center}
/* Customers, native detail rows, four original tabs. */
#phone#phone #app[data-qzsa-page=customers] .customer-summary{isolation:isolate;position:relative;overflow:hidden;min-height:139px;padding:19px 18px;background:#fcf7f1;color:#292b32}
#phone#phone #app[data-qzsa-page=customers] .customer-summary::before{content:'';position:absolute;right:0;bottom:0;width:42%;height:105px;z-index:-1;background:url('/m/qz-art-20261109/service-auth/customers-group.png') right bottom/contain no-repeat;mask-image:linear-gradient(90deg,transparent,#000 15%)}
#phone#phone #app[data-qzsa-page=customers] .customer-summary>.form-help:first-child{font:700 22px/31px var(--qs-serif);color:#171717;margin:0}
#phone#phone #app[data-qzsa-page=customers] .customer-summary .form-balance{font:700 42px/52px var(--qs-num);color:#a56d12;margin:3px 0 0}
#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding:17px 16px}
#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card>:is(h2,p,.btn){grid-column:1/-1}
#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card .customer-name{font:700 19px/29px var(--qs-serif);margin:0;border-left:2px solid #d0a357;padding-left:10px;color:#151719;background:none}
#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card .info-row{display:block;padding:9px 0}
#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card .info-row>span{display:block;font-size:13px;line-height:20px}
#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card .info-row>b{display:block;text-align:left;max-width:100%;font:700 clamp(18px,6.2vw,24px)/32px var(--qs-num);color:#9d6813}
#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card .btn{margin-top:12px;min-height:44px;font-size:18px;border-radius:12px;background:#202b40 url('/m/qz-art-20261109/service-auth/button-ribbon.png') right bottom/auto 70% no-repeat;color:#ffe7ad}
#phone#phone #app[data-qzsa-page=customer] .customer-name{font:700 25px/36px var(--qs-serif);color:#101010;margin:3px 0 0;padding-left:65px;position:relative;background:none}
#phone#phone #app[data-qzsa-page=customer] .customer-name::before{content:'';width:38px;height:44px;position:absolute;left:8px;top:8px;background:url('/m/qz-art-20261109/service-auth/customer-person.png') center/contain no-repeat}
#phone#phone #app[data-qzsa-page=customer] .customer-name+.form-help{padding-left:65px;margin:0 0 10px}
#phone#phone #app[data-qzsa-page=customer] .record-summary h3{font:700 18px/28px var(--qs-serif);margin:0}
#phone#phone #app[data-qzsa-page=customer] .seg>button{font-size:18px}
/* Commissions stays read-only, including current rules when configured. */
#phone#phone #app[data-qzsa-page=commissions] .commissions-page{display:flex;flex-direction:column;gap:14px}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-summary .num{font:700 clamp(23px,7.5vw,34px)/44px var(--qs-num)!important;color:#9e6911!important;overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-summary>div:first-child>div{min-width:0;padding:0 5px}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-summary>div:first-child .muted{font:700 17px/27px var(--qs-serif);color:#171717;margin:0 0 8px}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-summary>.muted{font:400 12px/20px system-ui!important;margin-top:13px!important}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record{padding:16px!important}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record>div:first-child{gap:10px;border-bottom:1px solid var(--qs-line);padding-bottom:12px;align-items:flex-start!important}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record>div:first-child>div{font:700 17px/27px var(--qs-serif)!important;min-width:0;flex:1}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record>div:nth-child(2){flex-wrap:wrap;gap:8px}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record .amt{font:700 29px/37px var(--qs-num)!important;color:#a06a14!important;text-align:right;flex:1;overflow-wrap:anywhere;min-width:0}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record .muted{font:400 12px/21px system-ui!important;max-width:100%;overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page=commissions] .sec-title{font:700 22px/32px var(--qs-serif);margin:10px 0 0;background:url('/m/qz-art-20261109/service-auth/section-wave.png') right bottom/60% auto no-repeat}
/* Agent share: native read-only rules/date filters, realized and unrealized stay separate. */
#phone#phone #app[data-qzsa-page=agentShare] .inner-header>h1{font-size:19px}
#phone#phone #app[data-qzsa-page=agentShare] .agent-balance{background:#fcf7f1;color:#22252b}
#phone#phone #app[data-qzsa-page=agentShare] .bal-label{font:700 19px/30px var(--qs-serif);color:#181818}
#phone#phone #app[data-qzsa-page=agentShare] .agent-balance>.bal{font:700 40px/51px var(--qs-num);margin:4px 0 9px;overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page=agentShare] .asset-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 8px;gap:12px;border:0;border-radius:12px;background:#f3e8dc;text-align:center}
#phone#phone #app[data-qzsa-page=agentShare] .asset-metrics span{font:400 12px/20px system-ui;color:#33363a}
#phone#phone #app[data-qzsa-page=agentShare] .asset-metrics b{font:700 21px/30px var(--qs-num);overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page=agentShare] .agent-date-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
#phone#phone #app[data-qzsa-page=agentShare] .agent-date-filter label{min-width:0;font:500 12px/22px system-ui;color:#282e37}
#phone#phone #app[data-qzsa-page=agentShare] .agent-date-filter input{width:100%;min-width:0;padding:9px 6px;font:700 16px/25px var(--qs-num)}
#phone#phone #app[data-qzsa-page=agentShare] .btn-row{display:flex;flex-direction:column;gap:8px}
#phone#phone #app[data-qzsa-page=agentShare] .btn-row>.btn{width:100%;flex:none;min-height:44px;border-radius:16px;font-size:19px}
#phone#phone #app[data-qzsa-page=agentShare] .fidelity-link>.num{font:700 20px/27px var(--qs-num);max-width:40%;text-align:right}
#phone#phone #app[data-qzsa-page=agentShareDetail] .card>.tag{margin:-3px 0 8px}
#phone#phone #app[data-qzsa-page=agentShareDetail] .info-row{padding:13px 0;font-size:15px}
#phone#phone #app[data-qzsa-page=agentShareDetail] .info-row>b{font-size:20px;line-height:29px}
/* Support is preserved by its own mount; never replace/reparent its keyed conversation. */
#phone#phone #app[data-qzsa-page=support] #supportRoot{position:relative;z-index:2;border:0;border-radius:25px 25px 0 0;margin:-14px -10px 0;padding:20px 15px;background:#faf6f1;display:flex;flex-direction:column;gap:14px}
#phone#phone #app[data-qzsa-page=support] .support-status{align-self:flex-start;border-radius:22px;background:#f0dfbe;border:1px solid #fff;padding:5px 11px;color:#895a15;font:500 12px/20px system-ui}
#phone#phone #app[data-qzsa-page=support] .support-greeting{font:700 21px/32px var(--qs-serif);color:#161616;border-bottom:1px solid #c6a56c;padding-bottom:13px}
#phone#phone #app[data-qzsa-page=support] .support-faqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#phone#phone #app[data-qzsa-page=support] .support-faqs button{font:500 14px/23px system-ui;border:1px solid #b38a46;border-radius:22px;background:#fffbf6;padding:8px;min-height:44px;color:#202329;text-align:center}
#phone#phone #app[data-qzsa-page=support] .support-chat-log{border:1px solid #fff;background:#f5efe8;border-radius:17px;padding:14px 12px;min-height:180px;max-height:360px;overflow:auto;display:flex;flex-direction:column;gap:12px}
#phone#phone #app[data-qzsa-page=support] .support-message{border:1px solid #fff;border-radius:14px;background:#fffcf8;padding:10px 13px;margin:0;max-width:92%;align-self:flex-start;box-shadow:0 4px 12px #7a634d0d;overflow-wrap:anywhere}
#phone#phone #app[data-qzsa-page=support] .support-message.from-customer{align-self:flex-end;background:#f5e6cb;color:#17191c}
#phone#phone #app[data-qzsa-page=support] .support-message-meta{font:400 11px/19px system-ui;color:#62646c;margin-bottom:3px}
#phone#phone #app[data-qzsa-page=support] .support-message p{font:400 15px/25px system-ui;margin:0}
#phone#phone #app[data-qzsa-page=support] .support-composer{border-top:1px solid #fff;border-radius:20px 20px 0 0;padding:15px 0 0;display:flex;flex-direction:column;gap:12px}
#phone#phone #app[data-qzsa-page=support] .support-composer>label{font:700 22px/33px var(--qs-serif);color:#111}
#phone#phone #app[data-qzsa-page=support] .support-composer textarea{min-height:100px;resize:vertical;background:#fffbf7}
#phone#phone #app[data-qzsa-page=support] .support-help{font:400 12px/21px system-ui;color:#555a63;margin:0}
#phone#phone #app[data-qzsa-page=support] .support-error{font:400 12px/21px system-ui;color:#aa4030;margin:0}
#phone#phone #app[data-qzsa-page=support] .support-error:empty{display:none}
#phone#phone #app[data-qzsa-page=support] .support-text-action{min-height:44px;border:1px solid #c8ad7f;border-radius:12px;background:#fcf6e9;color:#805d21;padding:8px}
/* Native hidden attributes remain authoritative. */
#phone#phone #app[data-qzsa-page] [hidden]{display:none!important}
/* Owned information and recovery sheets. */
#phone#phone #app .mask[data-qzsa-sheet]{background:#101827a6;backdrop-filter:blur(4px)}
#phone#phone #app .mask[data-qzsa-sheet]>.sheet{background:#faf6f1;border:1px solid #d4bd94;border-radius:24px 24px 0 0;padding:0 13px calc(22px + env(safe-area-inset-bottom));max-height:94dvh;overflow:auto;overscroll-behavior:contain}
#phone#phone #app .mask[data-qzsa-sheet] .qz-sheet-head{position:relative;min-height:94px;background:#202a3c url('/m/qz-art-20261109/service-auth/register-header.png') right bottom/auto 100% no-repeat;margin:0 -13px 17px;padding:17px 13px;border:0;border-radius:23px 23px 0 0;gap:12px}
#phone#phone #app .mask[data-qzsa-sheet] .qz-sheet-head>h1{font:700 21px/32px var(--qs-serif);color:#fff3dc;text-shadow:0 2px 5px #192337;text-align:left;max-width:75%}
#phone#phone #app .mask[data-qzsa-sheet] .qz-sheet-head>button{width:36px;height:44px;min-height:44px;border:0;background:#18233570;color:#f3dfb1;border-radius:10px}
#phone#phone #app .mask[data-qzsa-sheet] .qz-sheet-head>.head-more{display:none}
#phone#phone #app .mask[data-qzsa-sheet] .card{margin:0 0 14px;padding:17px 15px;background:#fffbf6;border:1px solid #fff;border-radius:17px;box-shadow:0 4px 16px #8d6c2f0b}
#phone#phone #app .mask[data-qzsa-sheet] .card>h2{font:700 21px/31px var(--qs-serif);margin:0 0 13px;padding-bottom:11px;border-bottom:1px solid #e3c9a4;background:url('/m/qz-art-20261109/service-auth/section-wave.png') right bottom/60% auto no-repeat;color:#181818}
#phone#phone #app .mask[data-qzsa-sheet] .card>h2:before{display:none}
#phone#phone #app .mask[data-qzsa-sheet] :is(.form-help,.muted){font:400 12px/21px system-ui;color:#62636b;margin:7px 0;overflow-wrap:anywhere}
#phone#phone #app .mask[data-qzsa-sheet] :is(.info-row,.row){font:400 14px/24px system-ui;padding:11px 0;border-color:#e7d9c9;gap:12px;align-items:baseline}
#phone#phone #app .mask[data-qzsa-sheet] :is(.info-row,.row)>b{font:700 17px/25px var(--qs-num);max-width:63%;text-align:right;overflow-wrap:anywhere}
#phone#phone #app .mask[data-qzsa-sheet] .btn{min-height:48px;border:1px solid #8e754b;border-radius:16px;background:#202b40 url('/m/qz-art-20261109/service-auth/button-ribbon.png') right bottom/auto 70% no-repeat;color:#ffe5aa;font:700 18px/26px var(--qs-serif);padding:11px 14px;margin:10px 0 0;white-space:normal}
#phone#phone #app .mask[data-qzsa-sheet] .btn.ghost{background:#fbf4e7;color:#5c4728;border-color:#c7aa7c;box-shadow:none}
#phone#phone #app .mask[data-qzsa-sheet] .qz-note{border:1px solid #fff;border-radius:13px;background:#f2e8da;font:400 12px/21px system-ui;color:#5c5b5e;padding:12px;margin:12px 0}
#phone#phone #app .mask[data-qzsa-sheet] .record-summary{padding:13px 12px;border:1px solid #e8dac9;border-radius:13px;background:#fcf6ee;margin:10px 0;gap:7px}
#phone#phone #app .mask[data-qzsa-sheet] .fidelity-link{min-height:60px;padding:11px 0;gap:10px;border-color:#e2d4c0;background:transparent;text-align:left}
#phone#phone #app .mask[data-qzsa-sheet] .fidelity-link b{font:700 16px/25px var(--qs-serif)}
#phone#phone #app .mask[data-qzsa-sheet] .fidelity-link small{display:block;white-space:normal;font:400 12px/21px system-ui;color:#62636b}
#phone#phone #app .mask[data-qzsa-sheet] .field>label{font:500 14px/23px system-ui;margin:0 0 7px}
#phone#phone #app .mask[data-qzsa-sheet] select{min-height:48px;max-width:100%;font:400 16px/25px system-ui;border:1px solid #cdb48d;border-radius:11px;background:#fffaf2;padding:10px 12px}
#phone#phone #app .mask[data-qzsa-sheet] .tag{border-radius:20px;font:500 12px/21px system-ui;padding:2px 9px}
#phone#phone #app .mask[data-qzsa-sheet] .form-balance{font:700 36px/46px var(--qs-num);color:#a06a14;margin:9px 0;overflow-wrap:anywhere}
#phone#phone #app .mask[data-qzsa-sheet] .qz-help-entry{border-bottom:1px solid #e5d5bc;padding:12px 0}
#phone#phone #app .mask[data-qzsa-sheet] .qz-help-entry>summary{min-height:44px;font:700 16px/25px var(--qs-serif);color:#343133;cursor:pointer;list-style-position:inside}
#phone#phone #app .mask[data-qzsa-sheet] .qz-help-entry p{font:400 14px/25px system-ui;white-space:pre-wrap;overflow-wrap:anywhere}
#phone#phone #app .mask[data-qzsa-sheet] :is(.qz-help-entry img,.qz-campaign img){width:100%;height:auto;max-width:100%;border-radius:12px}
#phone#phone #app .mask[data-qzsa-sheet=invite] .invite-brand-card{background:#202a3b}
#phone#phone #app .mask[data-qzsa-sheet=invite] .invite-code-row{gap:12px;align-items:center;flex-wrap:wrap}
#phone#phone #app .mask[data-qzsa-sheet=invite] .invite-code{font:700 30px/43px var(--qs-num);letter-spacing:.06em;color:#9b6a1b;overflow-wrap:anywhere;min-width:0;max-width:100%}
#phone#phone #app .mask[data-qzsa-sheet=invite] .copy-invite{min-height:44px;padding:7px 15px;background:#f4e7cb;border:1px solid #cfb078;border-radius:12px;color:#785620}
#phone#phone #app .mask[data-qzsa-sheet=invite] .invite-qr{width:min(100%,220px);margin:12px auto;background:white;padding:10px;border:1px solid #dfc79d;border-radius:12px}
#phone#phone #app .mask[data-qzsa-sheet=invite] .invite-qr svg{width:100%;height:auto}
/* Mobile access suspension only; leave admin/owner desktop overlay untouched. */
.access-block-mobile .access-mobile-page{background:#faf6f1;color:#292e37;max-width:480px;width:100%;max-height:95dvh;overflow:auto;border:1px solid #d2b984;border-radius:22px;font:400 14px/24px system-ui}
.access-block-mobile .qz-sheet-head{background:#202a3c url('/m/qz-art-20261109/service-auth/register-header.png') right bottom/auto 100% no-repeat;min-height:100px;padding:17px 14px;color:#fff0d1;border:0}
.access-block-mobile .qz-sheet-head h1{font:700 21px/32px var(--qs-serif);color:#fff0d1}
.access-block-mobile .qz-sheet-head button{background:transparent;color:#f5dfb0;min-width:44px;min-height:44px;border:0;font-size:30px}
.access-block-mobile .page{padding:15px 13px;gap:15px}
.access-block-mobile .card{padding:18px 15px;border-radius:17px;border:1px solid #fff;background:#fffaf4}
.access-block-mobile h2{font:700 22px/32px var(--qs-serif);color:#161616;margin:0 0 12px}
.access-block-mobile textarea{width:100%;min-height:140px;border:1px solid #cbb18b;border-radius:11px;padding:12px;background:#fffdf9;font:400 16px/25px system-ui}
.access-block-mobile .btn{min-height:48px;border:1px solid #9f804b;border-radius:17px;background:#202b40 url('/m/qz-art-20261109/service-auth/button-ribbon.png') right bottom/auto 70% no-repeat;color:#fce5ad;font:700 19px/27px var(--qs-serif)}
.access-block-mobile .btn.ghost{background:#f8eedc;color:#77582a}
/* Financial sign semantics preserved, never make unrealized estimates gold to imply a payout. */
#phone#phone #app[data-qzsa-page] .profit-positive,#phone#phone #app .mask[data-qzsa-sheet] .profit-positive,#phone#phone #app[data-qzsa-page] [data-qzsa-tone=positive]{color:var(--qz-pnl-positive,#c13b36)}
#phone#phone #app[data-qzsa-page] .profit-negative,#phone#phone #app .mask[data-qzsa-sheet] .profit-negative,#phone#phone #app[data-qzsa-page] [data-qzsa-tone=negative]{color:var(--qz-pnl-negative,#2b7c4c)}
@media(max-width:360px){#phone#phone #app[data-qzsa-page] .card{padding:15px 12px}#phone#phone #app[data-qzsa-page] .inner-header>h1{font-size:19px}#phone#phone #app[data-qzsa-page=agentShare] .inner-header>h1{font-size:17px}#phone#phone #app[data-qzsa-page] .info-row>b{font-size:16px}#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card{gap:0 12px}#phone#phone #app[data-qzsa-page=customer] .customer-name{font-size:22px}#phone#phone #app[data-qzsa-page=agentShare] .asset-metrics b{font-size:18px}#phone#phone #app[data-qzsa-page=login] .auth-welcome{font-size:31px}}

/* Browser-verified composition corrections. */
#phone#phone #app[data-qzsa-page=login] .auth-login::before{top:0;width:100%;height:299px;background-size:auto 215px;mask-image:radial-gradient(ellipse 82% 90% at 100% 100%,#000 54%,transparent 92%)}
#phone#phone #app[data-qzsa-page=login] .auth-content{background:transparent;padding-bottom:0}
#phone#phone #app[data-qzsa-page=login] .qzsa-login-paper{position:relative;margin:78px -20px 0;border-radius:26px 26px 0 0;background:#faf6f1;padding:0 20px 35px;min-height:550px}
#phone#phone #app[data-qzsa-page=login] .auth-card{margin:0 -20px;padding-top:30px}
#phone#phone #app[data-qzsa-page=login] .qzsa-login-paper>.btn{margin:0;border-radius:16px;font-size:20px;min-height:48px}
#phone#phone #app[data-qzsa-page=login] .qzsa-login-paper>.qz-note{margin:23px 8px 0;background:transparent;border:0;padding:0;text-align:center}
#phone#phone #app[data-qzsa-page=login] .qz-head{padding:10px 20px}
#phone#phone #app[data-qzsa-page=login] .qz-head img{width:110px;height:80px}
#phone#phone #app[data-qzsa-page] .inner-header::before{mask-image:linear-gradient(90deg,transparent 40%,#000 74%)}
#phone#phone #app[data-qzsa-page] .card>h2:not(.customer-name),#phone#phone #app[data-qzsa-page=login] .auth-card>h3{background-blend-mode:multiply}
#phone#phone #app[data-qzsa-page=agentShareDetail] .card>.tag{align-self:flex-start;display:inline-flex;width:auto}
/* Separate information-sheet baselines: read-only lists, prose, accordion, result, invitation. */
#phone#phone #app .mask[data-qzsa-sheet] .qz-sheet-head{min-height:84px;background-image:url('/m/qz-art-20261109/service-auth/sheet-header.png')}
#phone#phone #app .mask[data-qzsa-sheet=records] .record-type-filter{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:16px}
#phone#phone #app .mask[data-qzsa-sheet=records] .record-type-filter label{margin:0;font:700 16px/25px var(--qs-serif)}
#phone#phone #app .mask[data-qzsa-sheet=records] .record-summary .fidelity-link{border-radius:12px;padding:10px 12px;background:#f4ead8;margin-top:9px}
#phone#phone #app .mask[data-qzsa-sheet=notices] .fidelity-link{border:1px solid #e7d6bd;border-radius:14px;background:#fffaf3;margin:0 0 13px;padding:15px}
#phone#phone #app .mask[data-qzsa-sheet=notice] .card{min-height:320px;padding:21px 17px}
#phone#phone #app .mask[data-qzsa-sheet=notice] .card>.muted{padding:9px 0 13px;border-bottom:1px solid #e3c9a4;font-family:var(--qs-num);font-size:15px}
#phone#phone #app .mask[data-qzsa-sheet=helpCenter] .qz-help-entry{border:1px solid #e5d5bc;border-radius:13px;padding:12px;margin:12px 0;background:#fffbf7}
#phone#phone #app .mask[data-qzsa-sheet=helpCenter] .qz-help-entry[open]>summary{border-radius:8px;background:#f5e8d5;margin:-4px -4px 9px;padding:8px}
#phone#phone #app .mask[data-qzsa-sheet=submissionResult] .qz-result{text-align:center;min-height:285px;padding:26px 17px}
#phone#phone #app .mask[data-qzsa-sheet=submissionResult] .result-icon{width:70px;height:70px;border:2px solid #bd913e;border-radius:50%;display:grid;place-items:center;margin:0 auto 17px;background:#f8eaca;color:#b78320;font:700 38px/1 var(--qs-serif)}
#phone#phone #app .mask[data-qzsa-sheet=submissionResult] .qz-result>h2{background:none;border:0;font-size:28px;margin-bottom:7px}
#phone#phone #app .mask[data-qzsa-sheet=submissionResult] .qz-result>.muted{font-size:14px;line-height:24px;margin:14px 0 21px}
#phone#phone #app .mask[data-qzsa-sheet=invite] .invite-code-row{background:#f3e8d9;padding:11px;border-radius:13px}
#phone#phone #app .mask[data-qzsa-sheet=invite] .copy-invite{background:#202b40 url('/m/qz-art-20261109/service-auth/button-ribbon.png') right bottom/auto 70% no-repeat;color:#f8e0a5;border-color:#b18c4a}
.access-block-mobile .qz-sheet-head{background-image:url('/m/qz-art-20261109/service-auth/access-header.png')}
.access-block-mobile .card>h2{border-bottom:1px solid #e1c9a5;padding-bottom:11px;background:url('/m/qz-art-20261109/service-auth/content-wave.png') right bottom/55% auto no-repeat}
.access-block-mobile .qz-note{border-radius:15px;border:1px solid #fff;background:#f3e6d1;color:#5c5e63;padding:13px;font:400 12px/22px system-ui}
#phone#phone #app[data-qzsa-page=login] .auth-login{background:linear-gradient(122deg,#2e384c,#101929) top/100% 320px no-repeat #faf6f1}
/* Feather the actual crop edges, not the full header box. Explicit selector parity beats legacy :is specificity. */
#phone#phone #app[data-qzsa-page] :is(.inner-header,.auth-register>.qz-head)::before{inset:0 0 0 auto;width:68%;background-size:100% 100%;mask-image:linear-gradient(90deg,transparent 0%,#000 44%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 44%)}
#phone#phone #app[data-qzsa-page=login] .auth-login::before{inset:84px 0 auto auto;width:61%;height:166px;background-size:auto 100%;mask-image:linear-gradient(90deg,transparent 0%,#000 36%),linear-gradient(0deg,#000 70%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 36%),linear-gradient(0deg,#000 70%,transparent 100%)}
#phone#phone #app[data-qzsa-page=login] .auth-sub{max-width:calc(100% - 30px);font-size:16px;line-height:25px;overflow-wrap:normal;text-wrap:pretty;text-shadow:0 1px 4px #162237,0 0 8px #162237}
#phone#phone #app[data-qzsa-page=support] .support-greeting{margin:0;padding:0 0 13px;border-radius:0;background:transparent;box-shadow:none}
#phone#phone #app[data-qzsa-page=support] .support-faqs{margin:0}
#phone#phone #app[data-qzsa-page=support] .support-chat-log{margin:0;flex:0 1 auto}
#phone#phone #app[data-qzsa-page=support] .support-message p{background:transparent;color:inherit;padding:0;border:0;border-radius:0;box-shadow:none}
#phone#phone #app[data-qzsa-page=support] .support-composer{margin:0}
/* Preserve source artwork proportions while feathering exactly at its rendered crop edge. */
#app[data-qzsa-page=register]{--qs-art-ratio:1.937}#app[data-qzsa-page=support]{--qs-art-ratio:2.098}#app[data-qzsa-page=customers]{--qs-art-ratio:2.098}#app[data-qzsa-page=customer]{--qs-art-ratio:2.019}#app[data-qzsa-page=commissions]{--qs-art-ratio:1.833}#app[data-qzsa-page=agentShare]{--qs-art-ratio:3.575}#app[data-qzsa-page=agentShareDetail]{--qs-art-ratio:1.518}
#phone#phone #app[data-qzsa-page] :is(.inner-header,.auth-register>.qz-head)::before{width:min(100%,calc(112px * var(--qs-art-ratio,2)));background-size:auto 100%}
#phone#phone #app[data-qzsa-page=customers] .customer-summary::before{mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(0deg,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}
#phone#phone #app[data-qzsa-page=customer] .card>.customer-name::before{display:block}
#phone#phone #app[data-qzsa-page=customer] .info-row[data-qzsa-metric=money]>b{color:#9d6813;font-size:20px}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record>div:nth-child(2){display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record>div:nth-child(2)>.muted{flex:1 1 145px;min-width:0}
#phone#phone #app[data-qzsa-page=commissions] .qzsa-commission-record .amt{flex:0 1 auto;min-width:115px;max-width:100%;font-size:28px!important;white-space:normal}
#phone#phone #app[data-qzsa-page=support] .support-chat-log{height:auto;max-height:300px}
/* Ribbon overlays fade into the navy buttons rather than exposing a rectangular image patch. */
#phone#phone #app[data-qzsa-page] .btn:not(.ghost):not(:disabled),#phone#phone #app[data-qzsa-page] .seg>button.on,#phone#phone #app[data-qzsa-page=customers] .qzsa-customer-card .btn,#phone#phone #app .mask[data-qzsa-sheet] .btn:not(.ghost):not(:disabled),#phone#phone #app .mask[data-qzsa-sheet=invite] .copy-invite,.access-block-mobile .btn:not(.ghost):not(:disabled){background-image:linear-gradient(180deg,#202b40 0%,#202b40 20%,transparent 65%),linear-gradient(90deg,#202b40 50%,transparent 86%),url('/m/qz-art-20261109/service-auth/button-ribbon.png');background-size:100% 100%,100% 100%,auto 70%;background-position:center,center,right bottom;background-repeat:no-repeat}
/* Wave artwork is isolated from live heading text and gently feathered on its own edges. */
#phone#phone #app[data-qzsa-page] .card>h2:not(.customer-name),#phone#phone #app[data-qzsa-page=login] .auth-card>h3{position:relative;background:none}
#phone#phone #app[data-qzsa-page] .card>h2:not(.customer-name)::after,#phone#phone #app[data-qzsa-page=login] .auth-card>h3::after{content:'';position:absolute;bottom:0;right:0;width:62%;height:20px;background:url('/m/qz-art-20261109/service-auth/section-wave.png') center/100% 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(0deg,transparent,#000 20%,#000 80%,transparent);mask-composite:intersect;pointer-events:none}
#phone#phone #app[data-qzsa-page=agentShare] .qzsa-page>.inner-header::before{inset:auto 0 0 auto;width:286px;max-width:100%;height:80px;background-size:auto 100%;mask-image:linear-gradient(90deg,transparent,#000 44%),linear-gradient(0deg,#000 80%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 44%),linear-gradient(0deg,#000 80%,transparent)}
#phone#phone #app[data-qzsa-page=agentShare] .inner-header>h1{text-shadow:0 1px 4px #162237,0 0 6px #162237}
#phone#phone #app .mask[data-qzsa-sheet] .qz-sheet-head{isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#303b50,#111b2d)}
#phone#phone #app .mask[data-qzsa-sheet] .qz-sheet-head::before{content:'';position:absolute;right:0;top:0;width:196px;height:84px;z-index:-1;pointer-events:none;background:url('/m/qz-art-20261109/service-auth/sheet-header.png') right bottom/auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 44%)}
.access-block-mobile .qz-sheet-head{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#303b50,#111b2d)}
.access-block-mobile .qz-sheet-head::before{content:'';position:absolute;right:0;top:0;width:245px;height:100px;z-index:-1;pointer-events:none;background:url('/m/qz-art-20261109/service-auth/access-header.png') right bottom/auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 44%)}

#phone#phone #app .mask[data-qzsa-sheet=invite] .invite-brand-card{background:#fcf6ec;border:1px solid #e7d3b3}
.access-block-mobile .qz-sheet-head{display:flex;align-items:flex-start;gap:12px}
.access-block-mobile .qz-sheet-head h1{flex:1;min-width:0;text-align:left;margin:0;max-width:75%;font-size:20px;text-shadow:0 1px 4px #162237}
.access-block-mobile .qz-sheet-head>span{display:none}
.access-block-mobile .card{gap:12px}
.access-block-mobile .card>p{margin:0;font:400 13px/23px system-ui}
.access-block-mobile .card>.tag{align-self:flex-start;width:auto;border-radius:20px;padding:3px 10px}
.access-block-mobile .card>h2{position:relative;background:none}
.access-block-mobile .card>h2::after{content:'';position:absolute;right:0;bottom:0;width:54%;height:20px;background:url('/m/qz-art-20261109/service-auth/content-wave.png') center/100% 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(0deg,transparent,#000 20%,#000 80%,transparent);mask-composite:intersect}

/* Actual mobile access overlay: override original inline inset padding and legacy nested-section rules. */
html:has(body>.access-block-overlay.access-block-mobile),body:has(>.access-block-overlay.access-block-mobile){overflow:hidden!important;overscroll-behavior:none}
body>.access-block-overlay.access-block-mobile{display:block!important;padding:0!important;background:#faf6f1!important;overflow:hidden;height:100dvh;box-sizing:border-box}
body:has(#phone)>.access-block-overlay.access-block-mobile>section.access-mobile-page{width:100%;max-width:none;height:100%;min-height:0;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#faf6f1;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
body:has(#phone)>.access-block-overlay.access-block-mobile .access-mobile-page>.qz-sheet-head{position:relative;top:auto;display:flex;align-items:flex-start;gap:10px;width:100%;max-width:100%;height:auto;min-height:118px;margin:0;padding:16px 14px 58px;border:0;border-radius:0;box-sizing:border-box;background:linear-gradient(120deg,#303b50,#111b2d)}
body:has(#phone)>.access-block-overlay.access-block-mobile .qz-sheet-head::before{inset:auto 0 0 auto;width:148px;height:60px;background-size:auto 100%;mask-image:linear-gradient(90deg,transparent,#000 44%),linear-gradient(0deg,#000 72%,transparent);mask-composite:intersect}
body:has(#phone)>.access-block-overlay.access-block-mobile .qz-sheet-head>h1{flex:1;min-width:0;max-width:none;margin:0;padding:5px 0 0;text-align:left;font:700 20px/32px var(--qs-serif);color:#fff0d1;text-shadow:none}
body:has(#phone)>.access-block-overlay.access-block-mobile .qz-sheet-head>button{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#f5dfb0}
body:has(#phone)>.access-block-overlay.access-block-mobile .access-mobile-page>main.page{width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:16px 12px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;overflow:visible;gap:16px}
body:has(#phone)>.access-block-overlay.access-block-mobile .access-mobile-page>main.page>.card{width:100%;max-width:100%;height:auto;min-height:0;margin:0;padding:18px 15px;border:1px solid #fff;border-radius:18px;background:#fffaf4;box-shadow:none;box-sizing:border-box;overflow:visible}
body:has(#phone)>.access-block-overlay.access-block-mobile .access-mobile-page>main.page>.card>h2{margin:0 0 12px;padding:0 0 11px;background:none;font:700 22px/32px var(--qs-serif)}
body:has(#phone)>.access-block-overlay.access-block-mobile textarea{box-sizing:border-box;max-width:100%}

/* source: /m/qz-main-tabs-20261111.css */
/* Shared presentation for the five existing main routes. The scoped important
   declarations retire the legacy page-specific dimensions and artwork variants. */
#phone #app {
  --qz-main-tabs-height: 64px;
  --qz-main-tabs-safe: env(safe-area-inset-bottom, 0px);
  --qz-main-tabs-ink: #625c52;
  --qz-main-tabs-selected: #91631b;
}

#phone #app:has(> nav.tabbar) {
  padding-bottom: calc(var(--qz-main-tabs-height) + var(--qz-main-tabs-safe) + 16px) !important;
  scroll-padding-bottom: calc(var(--qz-main-tabs-height) + var(--qz-main-tabs-safe) + 16px);
}

#phone #app:has(> nav.tabbar) > .qz6-home {
  padding-bottom: 0 !important;
}

#phone #app > nav.tabbar {
  box-sizing: border-box !important;
  position: fixed !important;
  inset: auto auto 0 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 480px !important;
  height: calc(var(--qz-main-tabs-height) + var(--qz-main-tabs-safe)) !important;
  min-height: calc(var(--qz-main-tabs-height) + var(--qz-main-tabs-safe)) !important;
  padding: 5px 8px calc(5px + var(--qz-main-tabs-safe)) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  border: 0 !important;
  border-top: 1px solid #e6dbc7 !important;
  border-radius: 16px 16px 0 0 !important;
  background: #fdfaf5 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  z-index: 50 !important;
}

#phone #app > nav.tabbar > .tab-item {
  box-sizing: border-box !important;
  position: relative !important;
  display: grid !important;
  grid-template-rows: 24px 18px !important;
  grid-template-columns: minmax(0, 1fr) !important;
  place-content: center !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 3px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--qz-main-tabs-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color 120ms ease-out, background-color 120ms ease-out;
}

#phone #app > nav.tabbar > .tab-item::before,
#phone #app > nav.tabbar > .tab-item::after {
  display: none !important;
  content: none !important;
}

#phone #app > nav.tabbar > .tab-item.on {
  color: var(--qz-main-tabs-selected) !important;
}

#phone #app > nav.tabbar > .tab-item:focus-visible {
  outline: 2px solid var(--qz-main-tabs-selected);
  outline-offset: -2px;
}

#phone #app > nav.tabbar > .tab-item:active {
  background: #efe5d3 !important;
}

#phone #app > nav.tabbar > .tab-item .ic {
  display: block !important;
  position: relative !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

#phone #app > nav.tabbar > .tab-item .ic > * {
  display: none !important;
}

#phone #app > nav.tabbar > .tab-item .ic::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 24px !important;
  height: 24px !important;
  background: currentColor !important;
  -webkit-mask: var(--qz-main-tab-icon) center / contain no-repeat !important;
  mask: var(--qz-main-tab-icon) center / contain no-repeat !important;
  filter: none !important;
  transform: none !important;
}

#phone #app > nav.tabbar > .tab-item:nth-child(1) { --qz-main-tab-icon: url("/m/qz-art-20261109/nav-home-alpha.png"); }
#phone #app > nav.tabbar > .tab-item:nth-child(2) { --qz-main-tab-icon: url("/m/qz-art-20261109/nav-market-alpha.png"); }
#phone #app > nav.tabbar > .tab-item:nth-child(3) { --qz-main-tab-icon: url("/m/qz-art-20261109/nav-trade-alpha.png"); }
#phone #app > nav.tabbar > .tab-item:nth-child(4) { --qz-main-tab-icon: url("/m/qz-art-20261109/nav-orders-alpha.png"); }
#phone #app > nav.tabbar > .tab-item:nth-child(5) { --qz-main-tab-icon: url("/m/qz-art-20261109/nav-profile-alpha.png"); }

#phone #app > nav.tabbar > .tab-item .t {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 500 !important;
  color: inherit !important;
  text-align: center !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}

#phone #app > nav.tabbar > .tab-item.on .t {
  font-weight: 650 !important;
}

@media (hover: hover) and (pointer: fine) {
  #phone #app > nav.tabbar > .tab-item:hover { background: #f3ece0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  #phone #app > nav.tabbar > .tab-item { transition: none; }
}

/* source: /m/qz-visual-polish-20261111.css */
/* Shared surfaces for business actions, including sheets mounted outside #app. */
:root {
  --qz-action-primary: radial-gradient(ellipse at 95% 120%, #bb8c3c55, transparent 42%), linear-gradient(110deg,#35415a,#192330);
  --qz-action-on-primary: #fff1d1;
  --qz-action-disabled: #e7e1d8;
  --qz-action-on-disabled: #625b51;
  --qz-action-border-disabled: #d4cabe;
}
#phone #app .qzs-page .btn:not(.ghost):not(.danger):not(:disabled),
#phone #app :is(.qzt-page,.qzt-sheet) :is(.btn,.btn-mini):not(.ghost):not(.danger):not(:disabled),
#phone #app .qzt-sheet .btn[data-order-funding-submit]:not(:disabled),
#phone #app:is([data-qza-page],[data-qzsa-page]) .btn:not(.ghost):not(:disabled),
#phone #app[data-qzsa-page] .seg > button.on:not(:disabled),
#phone#phone #app:is([data-qza-page=contracts],[data-qza-page=contractHistory]) .card > .btn.ghost:not(:disabled),
#phone#phone #app[data-qza-page=contractRead] .qza-page > .btn.ghost:not(:disabled),
#phone#phone #app[data-qza-page=profile] .profile-white-card > .fidelity-link:first-of-type,
#phone #app .mask:is([data-qza-sheet],[data-qzsa-sheet]) .btn:not(.ghost):not(:disabled),
body:has(#phone) > .access-block-mobile .btn:not(.ghost):not(:disabled) {
  background: var(--qz-action-primary) !important;
  color: var(--qz-action-on-primary) !important;
}

#phone #app :is(.qzs-page,.qzt-page,.qzt-sheet,[data-qza-sheet],[data-qzsa-sheet]) .btn,
#phone #app:is([data-qza-page],[data-qzsa-page]) .btn,
body:has(#phone) > .access-block-mobile .btn {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  height: auto;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  touch-action: manipulation;
}
#phone #app :is(.btn,.btn-mini):focus-visible,
body:has(#phone) > .access-block-mobile .btn:focus-visible {
  outline: 2px solid #93671e;
  outline-offset: 2px;
}

/* Give the gold sweep the full button width without showing the artwork's top edge. */
#phone#phone #app .qzs-page .btn:not(.ghost):not(:disabled)::after {
  left: 0;
  width: auto;
}
#phone .qz6-home .r6-actions button:first-child {
  --qz-ribbon: url('/m/qz-art-20261109/buy-banner-ribbon.png');
  --qz-ribbon-height: 3.589109cqw;
  background: linear-gradient(115deg,#394359,#111721);
  isolation: isolate;
}
#phone .qz6-home .r6-shop {
  --qz-ribbon: url('/m/qz-art-20261109/jewelry-full-ribbon.png');
  --qz-ribbon-height: 5.445545cqw;
  background: linear-gradient(110deg,#343b50,#1c212b 53%,#1c212b);
  isolation: isolate;
}
#phone .qz6-home :is(.r6-actions button:first-child,.r6-shop)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: var(--qz-ribbon-height);
  background: var(--qz-ribbon) center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
#phone#phone #app .qzs-page .btn:not(.ghost):not(:disabled)::after,
#app[data-ui-view=quote] .rq-go::before,
#phone .qz6-home :is(.r6-actions button:first-child,.r6-shop)::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 65%);
  mask-image: linear-gradient(to bottom, transparent, #000 65%);
}

#phone .qz6-home .r6-shop.r6-shop-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  padding: 0;
  border-radius: 12px;
  background: #182235;
}
#phone .qz6-home button.r6-shop.r6-shop-banner::before { content: none; }
#phone .qz6-home .r6-shop-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Keep the two cart controls together. Their actual size reserves space in
   normal flow, including wrapped amounts, large labels and the home indicator. */
#phone#phone #app:has(> .shop-cart-page > .shop-cart-footer) {
  padding-bottom: 0;
}
#phone#phone #app .qzs-page.shop-cart-page:has(> .shop-cart-footer) {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
#phone#phone #app .qzs-page.shop-cart-page > .shop-cart-footer {
  position: sticky;
  bottom: 0;
  z-index: 31;
  margin: auto -12px 0;
  padding-top: 8px;
  background: #f7f2ec;
}
#phone#phone #app .shop-cart-footer > .shop-summary-bar,
#phone#phone #app .shop-cart-footer > .shop-nav {
  position: static;
  width: auto;
  max-width: none;
  transform: none;
}
#phone#phone #app .shop-cart-footer > .shop-summary-bar {
  margin: 0 12px 6px;
}
#phone#phone #app .shop-cart-footer .shop-select-row {
  flex-wrap: wrap;
}
#phone#phone #app .shop-cart-footer [data-shop-total] {
  min-width: 0;
  max-width: 100%;
  text-align: end;
  overflow-wrap: anywhere;
  margin-inline-start: auto;
}
@media (max-height: 480px) {
  #phone#phone #app .qzs-page.shop-cart-page > .shop-cart-footer {
    position: static;
  }
}

/* A late image override previously leaked through the real disabled state. */
#phone #app .qzs-page .btn:disabled,
#phone #app :is(.qzt-page,.qzt-sheet) :is(.btn,.btn-mini):disabled,
#phone #app:is([data-qza-page],[data-qzsa-page]) .btn:disabled,
#phone #app .mask:is([data-qza-sheet],[data-qzsa-sheet]) .btn:disabled,
body:has(#phone) > .access-block-mobile .btn:disabled {
  background: var(--qz-action-disabled) !important;
  color: var(--qz-action-on-disabled) !important;
  border-color: var(--qz-action-border-disabled) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none;
  transform: none;
}

/* Feather the photographic crop without covering the live heading. */
#phone #app .qzt-hero::before {
  background: var(--qzt-hero-top) center top / cover no-repeat, linear-gradient(110deg,#303b4d,#192331) !important;
}
#phone #app .qzt-hero::after {
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 100%) !important;
  mask-image: linear-gradient(90deg,transparent 0%,#000 100%) !important;
}

/* A single continuous divider replaces fragmented ornamental image strips. */
#phone#phone #app[data-qza-page] :is(.me-navgroup,.profile-group)>h2::after,
#phone#phone #app[data-qzsa-page] .card>h2:not(.customer-name)::after,
#phone#phone #app[data-qzsa-page=login] .auth-card>h3::after {
  content: none !important;
  display: none !important;
}
#phone#phone #app[data-qza-page] :is(.me-navgroup,.profile-group)>h2,
#phone#phone #app[data-qzsa-page] .card>h2:not(.customer-name),
#phone#phone #app[data-qzsa-page=login] .auth-card>h3 {
  background: none !important;
  border-bottom: 1px solid #e5d7c3 !important;
}

#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .asset-card .net-account-rate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 12px 0 4px;
  margin: 8px 0 14px;
  border: 0;
  border-top: 1px solid #e5d6be;
  border-radius: 0;
  background: transparent !important;
  min-width: 0;
}
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .net-account-rate > span { min-width: 0; }
#phone#phone #app:is([data-qza-page=asset],[data-qza-page=me]) .net-account-rate > b {
  min-width: 0;
  max-width: 100%;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

/* Estimates may be nested; keep the grid clean for any number of fields. */
#phone #app .qzt-page .qzt-order-metrics {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 2px 0 !important;
  padding: 6px 0 !important;
  border-block: 1px solid #e4d9cb !important;
}
#phone #app .qzt-page .qzt-order-metrics .info-row {
  border: 0 !important;
  padding: 8px !important;
}
#phone #app .qzt-page .order-card-meta {
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* source: /m/qz-mobile-smoothness-3f90ed313499.css */
/* Live prices and lists can update beneath a modal. Keep the tinted scrim
   without recompositing a blur of the entire page for each update. */
#phone#phone #app > .mask,
#phone#phone #app > .mask:is([data-qza-sheet], [data-qzsa-sheet]) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* source: /m/qz-notice-details-20261111.css */
/* Align shared notice and service sheets with their enclosing mobile panel. */
#phone#phone #app .mask[data-qzsa-sheet] > .sheet > .qz-sheet-head {
  width: calc(100% + 26px);
  max-width: none;
  box-sizing: border-box;
  flex-shrink: 0;
}
/* Match the original notice icon to the current navy and champagne-gold palette. */
#phone #app .home-notice-icon img[src*="qz-service-notice-20261023"] {
  filter: grayscale(1) sepia(.9) saturate(1.9) hue-rotate(350deg) brightness(.9);
}

/* source: /m/qz-auth-marquee-20261111.css */
/* Public, editable platform notice on the login and registration screens. */
#phone #app .auth-platform-notice{overflow:hidden;position:relative;box-sizing:border-box;max-width:100%;margin:0 0 14px;padding:10px 12px;border:1px solid #c5a46a;border-radius:10px;background:#17263d;color:#fff0d1;font:600 14px/22px system-ui,sans-serif}
#phone #app .auth-platform-notice[hidden]{display:none}
#phone #app .auth-platform-notice-text{display:block;width:max-content;max-width:none;white-space:nowrap;animation:auth-platform-scroll 24s linear infinite}
@keyframes auth-platform-scroll{0%,12%{transform:translateX(0)}100%{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){#phone #app .auth-platform-notice-text{animation:none;white-space:normal;width:auto;overflow-wrap:anywhere}}


/* source: /m/qz-product-gallery-20261113.css */
/* Scoped product-image browser. The product/price grid and purchasing controls stay in place. */
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>.shop-gallery.qz-product-gallery {
  display:block;min-width:0;min-height:0;height:auto;align-self:start;overflow:visible;
  margin:0;border:1px solid #e2d4bf;border-radius:12px;background:#f1e8dc;
}
#phone#phone #app .qzs-page .qz-product-gallery:focus-visible,
#phone#phone #app .qzs-page :is(.qz-gallery-controls button,.qz-gallery-thumb):focus-visible {
  outline:3px solid #806126;outline-offset:3px;
}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>.shop-gallery.qz-product-gallery>.qz-gallery-stage {
  width:100%;height:156px;min-height:0;overflow:hidden;border-radius:11px 11px 0 0;
}
#phone#phone #app .qzs-page .qz-gallery-stage>figure {
  display:grid;place-items:center;width:100%;height:100%;min-height:0;margin:0;background:#f1e8dc;
}
#phone#phone #app .qzs-page .qz-gallery-stage .qz-gallery-enlarge {
  display:block;width:100%;height:100%;min-height:0;padding:0;border:0;background:transparent;cursor:zoom-in;
}
#phone#phone #app .qzs-page .qz-gallery-stage .qz-gallery-enlarge>img {
  display:block;width:100%;height:100%;max-height:none;min-height:0;object-fit:contain;aspect-ratio:auto;background:#f1e8dc;
}
.qz-gallery-lightbox[open] {position:fixed;inset:0;z-index:99999;display:grid;place-items:center;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:#171715;color:white;overscroll-behavior:contain}
.qz-gallery-lightbox img {display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;touch-action:pinch-zoom}
.qz-gallery-lightbox button {position:absolute;top:max(12px,env(safe-area-inset-top));right:12px;min-height:44px;padding:0 16px;border:1px solid #a9a49b;border-radius:22px;background:#292723;color:white;font:15px system-ui,sans-serif}
#phone#phone #app .qzs-page .qz-product-gallery [hidden],
#phone#phone #app .qzs-page .qz-gallery-all [hidden] {display:none!important}
#phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>.shop-gallery.qz-product-gallery>.qz-gallery-controls {
  display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:0;height:auto;min-height:44px;width:100%;
  padding:0 2px;border-top:1px solid #e2d4bf;border-radius:0 0 11px 11px;background:#fcf9f3;
}
#phone#phone #app .qzs-page .qz-gallery-controls button {
  display:grid;place-items:center;width:44px;min-width:44px;min-height:44px;padding:3px 0;border:0;border-radius:7px;
  background:transparent;color:#514b40;font:14px/1.4 system-ui,sans-serif;white-space:nowrap;cursor:pointer;
}
#phone#phone #app .qzs-page .qz-gallery-controls button:hover:not(:disabled) {background:#ece1cd;color:#30291d}
#phone#phone #app .qzs-page .qz-gallery-controls button:disabled {color:#8e867a;opacity:1;cursor:default}
#phone#phone #app .qzs-page .qz-gallery-controls>span {
  flex:1 0 auto;min-width:0;text-align:center;color:#514b40;font:14px/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums;
}
#phone#phone #app .qzs-page .qz-gallery-controls.is-single>span {grid-column:1/-1}
#phone#phone #app .qzs-page .qz-gallery-all {min-width:0;margin:0;padding:0}
#phone#phone #app .qzs-page .qz-gallery-help {margin:0 0 8px;color:#645b4e;font:14px/1.6 system-ui,sans-serif}
#phone#phone #app .qzs-page .qz-gallery-thumbnails {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(60px,1fr));gap:8px;min-width:0;max-width:100%;
}
#phone#phone #app .qzs-page .qz-gallery-thumb {
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:76px;
  padding:5px;border:1px solid #d9c9af;border-radius:8px;background:#fcf9f3;color:#645b4e;cursor:pointer;
  font:14px/1.4 system-ui,sans-serif;overflow:hidden;
}
#phone#phone #app .qzs-page .qz-gallery-thumb>img {
  display:block;width:100%;height:48px;min-height:0;object-fit:contain;border-radius:4px;background:#f1e8dc;
}
#phone#phone #app .qzs-page .qz-gallery-thumb.is-current {border-color:#806126;background:#eee1c5;color:#30291d;box-shadow:inset 0 0 0 1px #806126}
#phone#phone #app .qzs-page .qz-gallery-thumb:hover {border-color:#806126}
#phone#phone #app .qzs-page :is(.qz-gallery-empty,.qz-gallery-load-error) {
  display:grid;place-items:center;height:100%;min-height:0;margin:0;padding:12px;text-align:center;
  color:#645b4e;background:#f1e8dc;font:14px/1.6 system-ui,sans-serif;overflow-wrap:anywhere;
}
#phone#phone #app .qzs-page .qz-gallery-thumb-failure {display:grid;place-items:center;width:100%;height:48px;min-height:0;color:#645b4e;font-size:12px;line-height:1.4}
@media(min-width:480px){
  #phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>.shop-gallery.qz-product-gallery>.qz-gallery-stage{height:180px}
}
@media(max-width:360px){
  #phone#phone #app .qzs-page.shop-product-page:not(.shop-variant-page)>.shop-gallery.qz-product-gallery>.qz-gallery-controls{grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center}
  #phone#phone #app .qzs-page .qz-gallery-controls>span{grid-row:1;grid-column:1/-1;padding-top:6px}
}

/* source: /m/qz-register61-65-20261119.css */
/* Effective business status: the same service-side state as new-order checks. */
#phone #app .qz-business-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:25px;padding:3px 9px;border:1px solid #c4d6c7;border-radius:5px;background:#edf4ee;color:#365d43;font-size:12px;line-height:1.5;font-weight:500;white-space:nowrap;max-width:100%;vertical-align:middle;box-sizing:border-box}
#phone #app .qz-business-status::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex:0 0 auto}
#phone #app .qz-business-status[data-tone=closed]{color:#7b4c29;background:#f9eee2;border-color:#dbc8ad}
#phone #app .qz-business-status[data-tone=pending]{color:#5e6268;background:#efeeeb;border-color:#d6d3cc}
#phone #app .r6-hero .qz-business-status{position:absolute;z-index:2;right:5.445545cqw;top:17.3cqw;max-width:43cqw;background:#172331ed;color:#d4e8d5;border-color:#9eb59e73}
#phone #app .r6-hero .qz-business-status[data-tone=closed]{color:#f2d7ad;border-color:#d1aa687d}
#phone #app .r6-hero .qz-business-status[data-tone=pending]{color:#e0e0df;border-color:#b6b5b275}
#phone #app .rq-hero{position:relative}
#phone #app .rq-hero>.qz-business-status{position:absolute;right:16px;top:50%;transform:translateY(-50%);background:#172331ed;color:#d4e8d5;border-color:#9eb59e73}
#phone #app .rq-hero>.qz-business-status[data-tone=closed]{color:#f2d7ad;border-color:#d1aa687d}
#phone #app .rq-hero>.qz-business-status[data-tone=pending]{color:#e0e0df;border-color:#b6b5b275}
#phone #app .qz-business-bar{display:flex;justify-content:flex-end;align-items:center;min-height:39px;padding-block:7px;margin-block:0}
@media(max-width:359px){#phone #app .qz-business-status{font-size:11px;gap:5px;padding-inline:7px}}

/* source: /m/reading-type.css */
/* The product's display face is reserved for short headings. */
:root {
  --qz-reading: Inter, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --qz-heading: QZShopSerif, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
}
#phone#phone #app[data-qzsa-page=login] .auth-welcome, #phone #app .qz-head h1,
#phone#phone #app .qzs-page :is(h2,h3,.sec-title) {
  font-family: var(--qz-heading);
  font-weight: 650;
  line-height: 1.4;
}
#phone#phone #app[data-ui-view] :is(.field label,.shop-row > span,.info-row > span) {
  font-family: var(--qz-reading);
  font-weight: 500;
}
#phone#phone #app[data-ui-view] :is(.form-help,.shop-note,.muted,.auth-sub) {
  font-family: var(--qz-reading);
  font-weight: 400;
  line-height: 1.6;
}
#phone#phone #app[data-ui-view] :is(.shop-row > b,.shop-price,.info-row > b,.price-row .col .v,.asset-metrics b,.list-item .amt),
#phone#phone #app[data-ui-view] .shop-price > [data-shop-price] {
  font-family: var(--qz-reading);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
}
#phone#phone #app[data-ui-view] :is(.btn.primary,.field > label,.tag) { font-weight: 600; }
#phone#phone #app[data-qzsa-page=login] .auth-sub,
#phone#phone #app[data-qzsa-page=login] .auth-login .field > label {
  font-family: var(--qz-reading);
  font-weight: 500;
}
#phone#phone #app[data-qzsa-page=login] .auth-sub {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
}
#phone #app .r6-price b, #phone #app .rq-quote .quote-price, #phone #app .home-asset .bal {
  font-variant-numeric: lining-nums tabular-nums;
}

/* source: /m/qz-invite-campaign-ui-20261121.css */
#qz-invite-campaign {
  --ink: #101e30;
  --cream: #f7f1e5;
  --serif: "Noto Serif SC","Songti SC","STSong","SimSun",serif;
  position: fixed; inset: 0; box-sizing: border-box;
  width: min(350px, calc(100% - 40px)); max-width: none;
  height: fit-content; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  margin: auto; border: 0; border-radius: 16px; padding: 0;
  overflow: auto; overscroll-behavior: contain;
  color: var(--ink); background: var(--cream); box-shadow: 0 18px 62px #060c1860;
  font-family: "PingFang SC","Microsoft YaHei",sans-serif; text-align: left; color-scheme: light;
}
#qz-invite-campaign::backdrop { background: rgb(8 17 30 / 65%); }
#qz-invite-campaign *, #qz-invite-campaign *::after, #qz-invite-campaign *::before { box-sizing: border-box; }
#qz-invite-campaign [hidden] { display: none !important; }
#qz-invite-campaign button { cursor: pointer; touch-action: manipulation; font: inherit; -webkit-appearance: none; appearance: none; }
#qz-invite-campaign button:focus-visible { outline: 3px solid #a86e24; outline-offset: 3px; }
#qz-invite-campaign .ic-cover { position: relative; isolation: isolate; overflow: hidden; height: 315px; background: #070f19; color: #f9edd4; }
#qz-invite-campaign .ic-cover img { position: absolute; z-index: -2; bottom: -2%; right: -14%; width: 123%; max-width: none; height: 66%; object-fit: cover; object-position: right bottom; -webkit-mask-image: linear-gradient(transparent,black 32%); mask-image: linear-gradient(transparent,black 32%); }
#qz-invite-campaign .ic-cover::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to bottom,#0c1828 1%,#0c1828ef 20%,#0a1423d9 38%,transparent 73%), linear-gradient(100deg,#0b1727b8 6%,transparent 70%); }
#qz-invite-campaign .ic-heading { padding: 27px 29px; }
#qz-invite-campaign .ic-brand { display: block; max-width: calc(100% - 26px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e8d3a9; font: 600 14px/1.5 var(--serif); letter-spacing: .12em; }
#qz-invite-campaign .ic-title { margin: 26px 0 0; font: 600 clamp(37px,11.5vw,47px)/1.22 var(--serif); color: inherit; letter-spacing: .015em; outline: 0; }
#qz-invite-campaign .ic-paper { padding: 23px 27px 25px; background: var(--cream); }
#qz-invite-campaign .ic-paper p { margin: 0 0 17px; color: #494236; font: 14px/1.75 "PingFang SC","Microsoft YaHei",sans-serif; }
#qz-invite-campaign .ic-primary { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--ink); color: #fff1d3; border: 0; border-radius: 7px; padding: 11px 16px; font-size: 16px; font-weight: 600; }
#qz-invite-campaign .ic-primary:hover { background: #20334a; }
#qz-invite-campaign .ic-primary:disabled { cursor: wait; opacity: .7; }
#qz-invite-campaign .ic-arrow { width: 18px; height: 1.5px; background: currentColor; position: relative; }
#qz-invite-campaign .ic-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; transform: translateY(-50%) rotate(45deg); }
#qz-invite-campaign .ic-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; padding: 0; background: transparent; color: #f9efd7; display: grid; place-items: center; }
#qz-invite-campaign .ic-close span { position: relative; width: 27px; height: 27px; border: 1px solid #eddfc56b; border-radius: 50%; background: #101c2de0; }
#qz-invite-campaign .ic-close span::before, #qz-invite-campaign .ic-close span::after { content: ""; width: 11px; height: 1.5px; background: currentColor; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(45deg); }
#qz-invite-campaign .ic-close span::after { transform: translate(-50%,-50%) rotate(-45deg); }
#qz-invite-campaign .ic-poster-wrap { padding: 23px 27px 16px; display: grid; justify-items: center; background: #19232b; }
#qz-invite-campaign .ic-poster { display: block; width: auto; height: auto; max-height: min(52vh,405px); max-height: min(52dvh,405px); max-width: 100%; object-fit: contain; -webkit-touch-callout: default; user-select: auto; }
#qz-invite-campaign .ic-actions { display: flex; flex-wrap: wrap; justify-content: space-evenly; }
#qz-invite-campaign .ic-secondary { min-height: 44px; min-width: 52px; background: transparent; border: 0; color: var(--ink); padding: 4px; font-size: 13px; }
#qz-invite-campaign .ic-share-foot { padding-top: 18px; padding-bottom: 12px; }
#qz-invite-campaign .ic-message:not(:empty) { margin: 6px 0; font-size: 13px; line-height: 1.5; }
#qz-invite-campaign .ic-copy-value { width: 100%; font: 16px/1.5 sans-serif; }
@media(max-width:348px), (max-height:610px) {
  #qz-invite-campaign .ic-cover { height: 245px; }
  #qz-invite-campaign .ic-title { margin-top: 16px; font-size: 37px; }
  #qz-invite-campaign .ic-paper { padding: 16px 20px; }
}
@media(prefers-reduced-motion:no-preference) {
  #qz-invite-campaign[open] { animation: qz-invite-arrive .28s cubic-bezier(.16,1,.3,1); }
  @keyframes qz-invite-arrive { from {opacity:.5; transform:translateY(10px);} to {opacity:1; transform:translateY(0);} }
}
/* Keep the full design inside the viewport and line up the two real controls
   with the close and invite marks in the 1054 × 1492 art. */
#qz-invite-campaign.ic-has-promo:not(.ic-share-mode) {
  width: min(370px, calc(100% - 32px), calc((100vh - 32px) * .7064));
  width: min(370px, calc(100% - 32px), calc((100dvh - 32px) * .7064));
}
#qz-invite-campaign .ic-promo { position: relative; background: #241a12; }
#qz-invite-campaign .ic-promo img { display: block; width: 100%; height: auto; }
#qz-invite-campaign:not(.ic-promo-ready) .ic-promo img { visibility: hidden; }
#qz-invite-campaign .ic-promo-loading {
  position: absolute; inset: 0;
  display: grid; place-items: center; color: #f9efd7;
}
#qz-invite-campaign .ic-promo-make {
  position: absolute; box-sizing: border-box;
  left: 6.6%; width: 86.8%; top: 85.8%; height: 10.3%; min-height: 44px;
  transform: translateY(-50%);
  color: transparent; background: transparent; border: 0; padding: 0;
  border-radius: 40px;
}
#qz-invite-campaign .ic-promo-make:focus-visible {
  outline: 3px solid #722e00; outline-offset: 3px;
}
#qz-invite-campaign .ic-promo-make:disabled { cursor: wait; }
#qz-invite-campaign.ic-has-promo [data-promo-fallback] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%);
}
#qz-invite-campaign.ic-has-promo [data-promo-fallback] [data-make] { display: none; }
#qz-invite-campaign.ic-has-promo .ic-intro-foot { padding: 0; }
#qz-invite-campaign.ic-has-promo .ic-intro-foot [data-error]:not(:empty) { padding-inline: 18px; }
#qz-invite-campaign.ic-has-promo:not(.ic-share-mode) .ic-close {
  left: 92.2%; top: max(0px, calc(5% - 22px)); right: auto;
  transform: translateX(-50%);
}
#qz-invite-campaign.ic-promo-ready:not(.ic-share-mode) .ic-close span { opacity: 0; }
#qz-invite-campaign.ic-has-promo:not(.ic-share-mode) .ic-close:focus-visible {
  outline: 2px solid #ffe0a4; outline-offset: -3px; border-radius: 50%;
}

/* source: /m/deposit-messages.css */
#app .deposit-msg-entry {display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 16px;border:1px solid #e1d5c1;border-radius:10px;background:#fffaf1;color:#302b23;text-align:left;font:inherit;cursor:pointer}
.deposit-msg-entry>span {flex:1;font-size:15px;font-weight:600}.deposit-msg-entry svg {color:#926824;flex:none}
#app .deposit-msg-entry [data-deposit-unread]:not([hidden]) {display:inline-block;min-width:21px;padding:2px 6px;color:white;background:#8f4728;border-radius:12px;font:600 12px/1.45 sans-serif;text-align:center}
#app .deposit-msg-entry[hidden],#app .deposit-msg-entry [hidden]{display:none}
#app .deposit-msg-tools,.deposit-msg-card :is(header,footer),.deposit-msg-meta {display:flex;align-items:center;gap:12px;justify-content:space-between}
#app .deposit-msg-tools {color:#665b4e;font-size:13px;margin:4px 0}
#app .deposit-msg-card,.deposit-msg-empty {background:#fffdf9;border:1px solid #e8dfd3;border-radius:12px;padding:16px}
#app .deposit-msg-card {overflow-wrap:anywhere;color:#282622}
#app .deposit-msg-card h2 {font-size:17px;font-weight:650;line-height:1.4;margin:0}
#app .deposit-msg-state {font-size:12px;line-height:1.5;flex:none;color:#696259}
#app .deposit-msg-state[data-unread="true"] {color:#904321;font-weight:700}
#app .deposit-msg-card .deposit-msg-meta {font-size:12px;color:#6d6357;margin-top:6px}
#app .deposit-msg-card p {margin:12px 0;font-size:15px;line-height:1.6;white-space:pre-wrap}
#app .deposit-msg-card small {font-size:12px;color:#645b50}
#app .deposit-msg-card footer {justify-content:flex-end;flex-wrap:wrap;margin-top:8px}
#app .deposit-msg-card button,#app .deposit-msg-tools button {color:#654a22;background:#faf5ea;border:1px solid #d8c7ae;border-radius:7px;font:inherit;min-height:40px;padding:5px 12px;cursor:pointer}
#app .deposit-msg-card button:disabled,#app .deposit-msg-tools button:disabled{opacity:.6}
#app .deposit-msg-empty {text-align:center;color:#655b4e;font-size:14px}
#app .deposit-msg-search {display:flex;align-items:center;gap:6px}
#app .deposit-msg-search input {flex:1;min-width:0;min-height:42px;font:inherit;font-size:16px;padding:7px 10px;color:#282622;background:#fffdf9;border:1px solid #cabbab;border-radius:7px}
#app .deposit-msg-search button {flex:none;min-height:42px;border:1px solid #d8c7ae;border-radius:7px;background:#faf5ea;color:#654a22;padding:5px 10px;font:inherit;cursor:pointer}

/* source: /m/password-recovery.css */
#app .pw-recovery {margin:auto;max-width:34rem;min-height:100dvh;padding:12px 14px 28px;box-sizing:border-box;background:#f7f3ec;color:#282623;}
.pw-recovery header {display:flex;align-items:center;gap:12px;padding-block:12px 18px;}
.pw-recovery h1,.pw-recovery h2 {margin:0;font-weight:650;line-height:1.4}
.pw-recovery h1 {font-size:20px}.pw-recovery h2 {font-size:18px;margin-bottom:10px}
.pw-recovery main {display:flex;flex-direction:column;gap:9px;padding:22px;border:1px solid #e4dacb;border-radius:14px;background:#fffdf9}
.pw-recovery label {font-size:14px;font-weight:600;margin-top:5px}
.pw-recovery :is(input,textarea) {width:100%;min-width:0;min-height:44px;box-sizing:border-box;border:1px solid #cdbfaa;border-radius:8px;background:#fff;color:#302b24;padding:10px 12px;font:inherit;font-size:16px;line-height:1.4}
.pw-recovery textarea{resize:vertical}
.pw-recovery form{display:grid;gap:9px;min-width:0}
.pw-recovery .pw-legacy{border-top:1px solid #e5ddcf;margin-top:5px}
.pw-recovery .pw-legacy summary{padding:12px 0;min-height:44px;box-sizing:border-box;color:#62594d;font-size:14px;cursor:pointer}
.pw-recovery summary:focus-visible{outline:2px solid #705222;outline-offset:2px}
#app .auth-login .pw-device-trust{display:flex;align-items:center;gap:9px;min-height:44px;margin:0;color:#423d35;font-size:14px;line-height:1.4;cursor:pointer}
#app .auth-login .pw-device-trust input[type="checkbox"]{appearance:auto;flex:0 0 auto;inline-size:18px;block-size:18px;min-height:0;margin:0;padding:0;accent-color:#1c2b43}
.pw-recovery .pw-reveal{display:flex;align-items:center;align-self:start;min-height:44px;gap:7px;font-weight:400;margin:0}
.pw-recovery .pw-reveal input{width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:#1c2b43}
.pw-recovery :is(input,button):focus-visible{outline:2px solid #705222;outline-offset:2px}
.pw-recovery button {font:inherit;font-size:15px;font-weight:600;border-radius:8px;padding:8px 12px;min-height:42px;cursor:pointer}
.pw-recovery header button,.pw-recovery .pw-link {border:1px solid #d6c8b4;background:#fffaf1;color:#614721}
.pw-recovery .pw-primary {margin-top:5px;border:0;background:#1c2b43;color:#fff}
.pw-recovery button:disabled {opacity:.55;cursor:wait}
.pw-recovery p {margin:0;color:#62594d;font-size:14px;line-height:1.6}
#recovery-error {color:#9d2c23;font-size:14px}#recovery-error:empty{display:none}
#app .pw-forgot-link {display:block;align-self:flex-end;min-height:40px;padding:5px 6px;border:0;background:transparent;color:#705222;text-align:right;font:inherit;font-size:14px;cursor:pointer}

/* source: /m/home-inbox.css */
#phone .r6-hero .r6-brand {right:calc(4cqw + 84px);min-width:0}
#phone .r6-hero .r6-brand > :is(img,span) {flex:none}
#phone .r6-hero .r6-brand b {min-width:0;overflow:hidden;text-overflow:ellipsis}
#phone .home-brandbar .inbox-home-button {
  order:3;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;
  gap:5px;min-height:44px;padding:0 10px;border:1px solid #dbcbae;
  border-radius:12px;color:#654d29;background:#fffaf0;position:relative;
}
#phone .home-brandbar:has(.inbox-home-button) .home-client-type {display:none}
#phone .r6-hero .inbox-home-button {
  position:absolute;z-index:2;top:clamp(3px,1.65cqw,10px);right:3.5cqw;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-height:44px;padding:0 10px;color:#fff3d9;background:#192337eb;
  border:1px solid #d7bb814d;border-radius:14px;font:560 14px/1.2 system-ui,sans-serif;
}
#phone .inbox-home-button [data-inbox-badge] {
  position:absolute;right:-4px;top:-1px;min-width:17px;box-sizing:border-box;
  padding:2px 4px;background:#a13c32;color:white;border-radius:20px;font:680 10px/13px system-ui,sans-serif;
}
#phone .inbox-home-button [hidden],#phone .inbox-page [hidden] {display:none}
#phone .inbox-page > section {border:1px solid #e5dac9;border-radius:16px;background:#fffcf8;overflow:hidden}
#phone .inbox-channel {
  width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto 16px;align-items:center;
  gap:10px;border:0;background:transparent;text-align:left;padding:15px;color:#282c35;
}
#phone .inbox-channel + .inbox-channel {border-top:1px solid #ece3d7}
#phone .inbox-channel strong {font:620 16px/1.5 system-ui,sans-serif}
#phone .inbox-channel [data-inbox-count] {font:540 13px/1.4 system-ui,sans-serif;color:#90452e}
.inbox-channel-icon,.inbox-toast-icon {display:grid;place-items:center;background:#f5ead4;color:#80612c;border-radius:12px}
.inbox-channel-icon {height:40px;width:40px}
#phone .inbox-page .inbox-retry {border:0;background:transparent;color:#783e2b;min-height:44px}
.inbox-toast {
  position:fixed;z-index:1800;inset-inline:12px;top:calc(env(safe-area-inset-top,0px) + 8px);
  max-width:460px;margin:0 auto;padding:4px;display:flex;align-items:center;box-sizing:border-box;
  border:1px solid #d7c7af;border-radius:17px;color:#242c39;background:#fffdf9;
  box-shadow:0 5px 24px #21293730;font-family:system-ui,sans-serif;animation:qz-inbox-enter .18s ease-out;
}
.inbox-toast button {color:inherit;cursor:pointer;appearance:none;border:0;background:transparent;margin:0}
.inbox-toast [data-inbox-open] {min-width:0;flex:1;display:flex;align-items:center;text-align:left;padding:8px;gap:11px}
.inbox-toast-icon {width:36px;height:36px;flex:none}
.inbox-toast-copy {min-width:0;display:grid;gap:3px}
.inbox-toast-copy strong {font-size:15px;line-height:1.4;font-weight:650}
.inbox-toast-copy > span {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;color:#615a50;font-size:14px;line-height:1.45}
.inbox-toast [data-inbox-dismiss] {flex:none;width:44px;min-height:44px;font:400 24px/1 system-ui;color:#675f55}
.inbox-toast button:focus-visible,#phone .inbox-home-button:focus-visible,#phone .inbox-channel:focus-visible {outline:2px solid #a0783a;outline-offset:-3px}
@keyframes qz-inbox-enter {from{transform:translateY(-8px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.inbox-toast{animation:none}}

/* source: /m/qz-login-reference-2f6de26f256a.css */
/* The supplied hero is artwork only. Account controls remain native HTML. */
#phone#phone #app:has(> .login-reference) { padding-bottom: 0; }

#phone#phone #app .login-reference.auth-wrap {
  --login-ink: #18253b;
  --login-paper: #fbf7f2;
  --login-serif: QZReferenceSerif, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  --login-gutter: clamp(22px, 7.35cqw, 38px);
  --login-overlap: clamp(13px, 4.55cqw, 24px);
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 0;
  background: var(--login-paper);
  color: var(--login-ink);
}

#phone#phone #app .login-reference.auth-wrap::before { content: none; }

.login-reference .login-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 66.6667cqw;
  padding: clamp(13px, 3.8cqw, 20px) clamp(24px, 8.6cqw, 45px) clamp(44px, 15.5cqw, 76px);
  background: #14243b;
  color: #faf8f5;
}

.login-reference .login-hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

.login-reference .login-identity { display: flex; align-items: center; gap: clamp(8px, 2.45cqw, 13px); }
.login-reference .login-identity > img {
  flex: none;
  width: clamp(27px, 8.15cqw, 42px);
  height: clamp(27px, 8.15cqw, 42px);
  object-fit: contain;
}
.login-reference .login-brand-name {
  min-width: 0;
  padding-inline-start: clamp(8px, 2.6cqw, 14px);
  border-inline-start: 1px solid #d6c8af;
  font-size: clamp(13px, 4.04cqw, 21px);
  font-weight: 680;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

#phone #app .login-reference .auth-platform-notice {
  padding: 0;
  margin: clamp(7px, 2cqw, 12px) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f4f1ee;
  font: 500 clamp(10px, 2.84cqw, 14px)/1.55 var(--qz-reading, system-ui);
}
#phone #app .login-reference .auth-platform-notice-text { width: auto; white-space: normal; overflow-wrap: anywhere; animation: none; }

.login-reference .login-promotion {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: clamp(8px, 2.65cqw, 14px) 0 0;
  padding: 5px 10px;
  border: 1px solid #ebc474;
  border-radius: 999px;
  background: #14203822;
  color: #ffdfa0;
  font-size: clamp(10px, 3.05cqw, 15px);
  font-weight: 650;
  line-height: 1.25;
}
.login-reference .login-promotion img { flex: none; width: clamp(13px, 4.05cqw, 19px); height: auto; }
.login-reference .login-promotion span + span { padding-inline-start: 7px; border-inline-start: 1px solid #e6c48a; }

.login-reference .login-welcome {
  width: fit-content;
  margin: clamp(10px, 3.45cqw, 17px) 0 0;
  color: #f7cf83;
  background: linear-gradient(175deg, #fff3d5 13%, #ebae55 94%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font: 750 clamp(34px, 10.35cqw, 51px)/1.14 var(--login-serif);
  letter-spacing: .015em;
}
.login-reference .login-subtitle {
  max-width: 72%;
  margin: clamp(7px, 2.1cqw, 11px) 0 0;
  color: #fff9ee;
  font-size: clamp(11px, 3.26cqw, 16px);
  line-height: 1.42;
  text-shadow: 0 1px 4px #142139;
  overflow-wrap: anywhere;
}

.login-reference .login-sheet {
  position: relative;
  flex: 1;
  margin-top: calc(0px - var(--login-overlap));
  padding: clamp(14px, 4.25cqw, 22px) var(--login-gutter) calc(15px + env(safe-area-inset-bottom));
  border-radius: clamp(27px, 8.6cqw, 44px) clamp(27px, 8.6cqw, 44px) 0 0;
  background: linear-gradient(155deg, #fcf8f4, #faf5ef);
}
.login-reference .login-form-title {
  margin: 0 0 clamp(8px, 2.55cqw, 13px);
  padding-inline-start: clamp(3px, 1.25cqw, 8px);
  color: var(--login-ink);
  font: 750 clamp(24px, 7.1cqw, 34px)/1.22 var(--login-serif);
}
.login-reference .login-form-title::after {
  content: '';
  display: block;
  width: clamp(30px, 9.9cqw, 48px);
  height: 4px;
  margin-top: clamp(6px, 1.8cqw, 10px);
  border-radius: 6px;
  background: #e4af62;
}
.login-reference .login-form { display: flex; flex-direction: column; gap: clamp(8px, 2.55cqw, 14px); }

.login-reference .login-session-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 12px;
  border-radius: clamp(12px, 3.6cqw, 18px);
  background: #f8ecdf;
  color: #433e36;
  font-size: clamp(11.5px, 3.12cqw, 15px);
  font-weight: 500;
  line-height: 1.36;
}
.login-reference .login-session-note svg { flex: none; margin-block-start: 2px; color: #b87b29; }

.login-reference .login-field { min-width: 0; }
.login-reference .login-field > label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline-start: 5px;
  margin: 0 0 5px;
  color: #272825;
  font-size: clamp(13px, 4cqw, 18px);
  font-weight: 720;
  line-height: 1.36;
}
.login-reference .login-field > label svg { flex: none; color: var(--login-ink); }

#phone#phone #app[data-qzsa-page=login] .login-reference .login-field input {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #c6b9ad;
  border-radius: clamp(13px, 3.7cqw, 19px);
  background: #fffdf921;
  color: #292926;
  font: 500 16px/1.42 var(--qz-reading, system-ui);
}
#phone#phone #app[data-qzsa-page=login] .login-reference .login-field input::placeholder { color: #746e66; opacity: 1; }
.login-reference .login-password { position: relative; }
#phone#phone #app[data-qzsa-page=login] .login-reference .login-password input { padding-inline-end: 46px; }
.login-reference .login-password button {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  width: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #696766;
  cursor: pointer;
}

#app .login-reference .pw-device-trust {
  min-height: 36px;
  padding-inline-start: 5px;
  color: #3e3a34;
  font-size: clamp(12px, 3.27cqw, 15px);
}

.login-reference .login-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  width: 100%;
  min-height: 46px;
  padding: 8px 16px;
  place-items: center;
  border: 1px solid #536078;
  border-radius: 999px;
  background: linear-gradient(168deg, #34425a, #172339 67%);
  box-shadow: 0 6px 12px #9c6a3024;
  color: #ffe0a6;
  font: 750 clamp(19px, 5.7cqw, 27px)/1.2 var(--login-serif);
  cursor: pointer;
}
.login-reference .login-submit::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 44%;
  background: url('/m/qz-art-20261109/service-auth/button-ribbon.png') right bottom / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 54%);
  mask-image: linear-gradient(90deg, transparent, #000 54%);
  pointer-events: none;
}
.login-reference .login-submit:active:not(:disabled) { background-color: #142034; filter: brightness(.92); }
.login-reference .login-submit:disabled { box-shadow: none; opacity: .66; cursor: wait; }

.login-reference .login-alternatives { display: flex; justify-content: space-between; gap: 8px; margin-block-start: 5px; }
.login-reference .login-alternatives button {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #684c2d;
  font: 600 13px/1.4 var(--qz-reading, system-ui);
  cursor: pointer;
}
.login-reference :is(button, input):focus-visible { outline: 2px solid #89642c; outline-offset: 2px; }

/* source: /m/qz-mobile-agreement-741d6e0e40ee.css */
/* Trade agreement uses the same scrollable sheet and colors as the order review. */
#phone #app .trade-agreement-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-inline: 4px;
  color: #332c22;
  font-size: 14px;
  line-height: 1.5;
}

#phone #app .trade-agreement-check {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
}

#phone #app .trade-agreement-check input {
  flex: none;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  accent-color: #91611f;
}

#phone #app .trade-agreement-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #823001;
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

#phone #app .trade-agreement-text {
  color: #332c22;
  font: 15px/1.7 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-wrap: anywhere;
}

#phone #app .trade-agreement-text p {
  margin: 0 0 14px;
}

#phone #app .trade-agreement-details {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #d9c7a6;
}

/* source: /m/support-af75861a2016.css */
/* Customer service is a single viewport with a scrollable conversation. */
#phone #app:has(.support-mobile) {
  min-height: 0;
  padding-bottom: 0;
}
#phone #app .page.support-mobile {
  --support-ink: #39291e;
  --support-muted: #776351;
  --support-accent: #a56726;
  --support-edge: clamp(10px, 3.5vw, 17px);
  box-sizing: border-box;
  position: fixed;
  top: var(--support-viewport-top, 0px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: var(--support-viewport-height, 100dvh);
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--support-ink);
  background: radial-gradient(ellipse at 78% 12%, #f6e6d5, transparent 46%),
    linear-gradient(155deg, #f5e9df 0%, #fcf5ed 42%, #f9efe5 100%);
  font: 14px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  animation: none;
}
#phone .support-mobile #supportRoot {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  gap: 0;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) 0 max(8px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}
#phone #supportRoot::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 28px;
  background: url("/m/support-footer-ribbon-e1b80f783ea8.webp") center bottom / 100% 100% no-repeat;
  mask-image: linear-gradient(transparent, #000 60%);
  pointer-events: none;
}
#phone #supportRoot [hidden] { display: none !important; }
#phone #supportRoot button,
#phone #supportRoot textarea { font-family: inherit; }
#phone #supportRoot button { touch-action: manipulation; }
#phone #supportRoot button:focus-visible,
#phone #supportRoot textarea:focus-visible { outline: 2px solid #8e5e28; outline-offset: 2px; }
#phone #supportRoot .support-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 13px var(--support-edge) 18px;
  isolation: isolate;
}
#phone #supportRoot .support-header::after,
#phone #supportRoot .support-welcome::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-position: right bottom;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 26%), linear-gradient(0deg, #000 72%, transparent);
  mask-composite: intersect;
}
#phone #supportRoot .support-header::after {
  width: 52%;
  height: 90%;
  background-image: url("/m/support-header-ribbon-24ec62d6b356.webp");
  opacity: .84;
}
#phone #supportRoot .support-back {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  margin-left: -7px;
  padding: 0;
  border: 0;
  color: var(--support-ink);
  background: transparent;
}
#phone #supportRoot .support-back svg { width: 21px; height: 21px; }
#phone #supportRoot .support-header-copy { padding-left: 12px; border-left: 1px solid #caa474; }
#phone #supportRoot .support-header h1,
#phone #supportRoot .support-welcome-title,
#phone #supportRoot .support-section-title {
  margin: 0;
  color: var(--support-ink);
  font-family: inherit;
  font-weight: 700;
  text-shadow: none;
}
#phone #supportRoot .support-header h1 { font-size: 24px; line-height: 1.25; }
#phone #supportRoot .support-status,
#phone #supportRoot .support-greeting {
  margin: 4px 0 0;
  padding: 0;
  color: var(--support-muted);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
}
#phone #supportRoot .support-welcome {
  position: relative;
  flex: none;
  overflow: auto;
  max-height: 20%;
  min-height: 0;
  margin: 0 var(--support-edge) 7px;
  padding: 12px 15px 13px;
  border: 1px solid #fffcf7;
  border-radius: 17px;
  isolation: isolate;
  background: linear-gradient(110deg, #fff8ef, #f7eadc 70%);
}
#phone #supportRoot .support-welcome::after {
  width: 43%;
  height: 85%;
  background-image: url("/m/support-welcome-ribbon-16c1044c0495.webp");
  mask-image: linear-gradient(90deg, transparent, #000 36%), linear-gradient(0deg, #000 75%, transparent);
}
#phone #supportRoot .support-welcome-title {
  max-width: 92%;
  font-size: 21px;
  line-height: 1.35;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#phone #supportRoot .support-greeting { color: #594332; overflow-wrap: anywhere; }
#phone #supportRoot .support-faq-section {
  flex: none;
  max-height: 26%;
  overflow-y: auto;
  margin: 0 var(--support-edge);
  padding: 10px 8px 9px;
  border-radius: 15px;
  background: #fffaf483;
}
#phone #supportRoot .support-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  line-height: 1.4;
}
#phone #supportRoot .support-section-title::before {
  content: "";
  flex: 0 0 5px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(#f1cb94, #b6792e);
}
#phone #supportRoot .support-faqs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
}
#phone #supportRoot .support-faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 70px;
  padding: 8px 3px;
  margin: 0;
  border: 1px solid #fffaf3;
  border-radius: 13px;
  color: var(--support-ink);
  background: linear-gradient(165deg, #fffaf5, #fbf2e9);
  box-shadow: 0 5px 12px #9c653613;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: anywhere;
}
#phone #supportRoot .support-faq svg { width: 28px; height: 28px; color: #b9803b; }
#phone #supportRoot .support-faq span { width: 100%; }
#phone #supportRoot .support-faq:active,
#phone #supportRoot .support-send:not(:disabled):active { transform: translateY(1px); }
#phone #supportRoot .support-faq-more,
#phone #supportRoot .support-older,
#phone #supportRoot .support-retry {
  display: block;
  min-height: 44px;
  margin: 0 auto;
  padding: 4px 12px;
  border: 0;
  color: var(--support-accent);
  background: transparent;
  font-size: 12px;
}
#phone #supportRoot .support-chat-log {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #d8c2aa transparent;
  padding: 12px calc(var(--support-edge) + 2px) 7px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#phone #supportRoot .support-message {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 13px;
  padding: 0;
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
#phone #supportRoot .support-message:last-child { margin-bottom: 2px; }
#phone #supportRoot .support-message.from-customer { flex-direction: row-reverse; }
#phone #supportRoot .support-avatar {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 34px;
  height: 34px;
  border: 1px solid #efdbc0;
  border-radius: 50%;
  color: #a96e2c;
  background: linear-gradient(145deg, #f4d8b0, #fff9f1);
}
#phone #supportRoot .support-avatar svg { width: 21px; height: 21px; }
#phone #supportRoot .from-customer .support-avatar { background: linear-gradient(160deg, #f8e2c7, #dfb98e); color: white; }
#phone #supportRoot .support-message-content {
  display: flex;
  min-width: 0;
  max-width: min(82%, 360px);
  flex-direction: column;
  align-items: flex-start;
}
#phone #supportRoot .from-customer .support-message-content { align-items: flex-end; }
#phone #supportRoot .support-message-meta {
  margin: 0 2px 3px;
  color: var(--support-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
#phone #supportRoot .support-message .support-bubble {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #fffaf5;
  border-radius: 4px 13px 13px;
  background: #fffaf5;
  box-shadow: 0 3px 10px #9c653611;
  color: #35271e;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  text-align: start;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
#phone #supportRoot .from-customer .support-bubble {
  border-color: transparent;
  border-radius: 13px 4px 13px 13px;
  background: linear-gradient(150deg, #fbe5c7, #e9c391);
}
#phone #supportRoot .support-composer {
  flex: none;
  margin: 0 var(--support-edge);
  padding: 9px 10px 8px;
  border: 1px solid #fffaf4;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff9f1ec, #fbefe4e8);
}
#phone #supportRoot .support-composer label { margin: 0 2px 6px; }
#phone #supportRoot .support-composebox {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
  padding: 3px;
  border: 1px solid #e7d5c0;
  border-radius: 13px;
  background: #fffbf6;
}
#phone #supportRoot .support-composebox:focus-within { border-color: #b1834f; }
#phone #supportRoot .support-composer textarea {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  max-height: 99px;
  line-height: 22px;
  margin: 0;
  padding: 11px 6px 9px 10px;
  border: 0;
  border-radius: 9px;
  color: var(--support-ink);
  background: transparent;
  box-shadow: none;
  resize: none;
  font-size: 16px;
  scroll-margin: 0;
}
#phone #supportRoot textarea::placeholder { color: #857362; font-size: 13px; }
#phone #supportRoot .support-send {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, #d9a65f, #a96d29);
}
#phone #supportRoot .support-send svg { width: 23px; height: 23px; }
#phone #supportRoot .support-send:disabled { opacity: .52; cursor: default; }
#phone #supportRoot .support-help {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  margin: 6px 0 0;
  color: #715c46;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#phone #supportRoot .support-help svg { flex: 0 0 14px; height: 14px; margin-top: 1px; }
#phone #supportRoot .support-error:not(:empty) {
  margin: 4px 0;
  padding: 4px 6px;
  border-radius: 5px;
  color: #864d23;
  background: #fff0df;
  font-size: 12px;
}
@media (max-width: 400px) {
  #phone #supportRoot .support-faq { font-size: 11px; padding-inline: 1px; }
}
@media (max-width: 350px) {
  #phone #supportRoot .support-faqs { gap: 4px; }
}
@media (max-height: 650px) {
  #phone #supportRoot .support-header { padding-top: 6px; padding-bottom: 6px; }
  #phone #supportRoot .support-welcome { padding-block: 6px; }
  #phone #supportRoot .support-welcome-title { font-size: 18px; }
  #phone #supportRoot .support-faq { min-height: 48px; gap: 2px; padding-block: 4px; }
  #phone #supportRoot .support-faq svg { width: 19px; height: 19px; }
}
@media (max-height: 500px) {
  #phone #supportRoot .support-welcome { display: none; }
}
#phone #supportRoot.support-viewport-short .support-welcome,
#phone #supportRoot.support-viewport-short .support-faq-section { display: none; }

#phone #supportRoot .support-attach {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #80532b;
}
#phone #supportRoot .support-attach:active { background: #f7ebda; }
#phone #supportRoot .support-attach:disabled { opacity: .5; }
#phone #supportRoot .support-image-choice {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
#phone #supportRoot .support-draft-picture,
#phone #supportRoot .support-remove-image {
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--support-ink);
  font-size: 13px;
}
#phone #supportRoot .support-draft-picture { display: flex; align-items: center; gap: 7px; }
#phone #supportRoot .support-draft-picture img { width: 38px; height: 38px; object-fit: cover; border-radius: 6px; }
#phone #supportRoot .support-remove-image { margin-left: auto; min-width: 44px; color: var(--support-muted); }
#phone #supportRoot .support-picture {
  display: grid;
  place-items: center;
  width: min(148px, 44vw);
  height: min(124px, 36vw);
  overflow: hidden;
  padding: 0;
  border: 1px solid #e9dbcb;
  border-radius: 10px;
  background: #fff9f1;
  color: var(--support-muted);
  font-size: 13px;
}
#phone #supportRoot .support-picture img { width: 100%; height: 100%; display: block; object-fit: contain; }
#phone #supportRoot .support-image-viewer[open] {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(54px,env(safe-area-inset-top)) 6px max(12px,env(safe-area-inset-bottom));
  margin: auto;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100%;
  border: 0;
  background: #161513;
}
#phone #supportRoot .support-image-viewer::backdrop { background: #161513; }
#phone #supportRoot .support-image-viewer img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#phone #supportRoot .support-close-image {
  position: absolute;
  top: max(6px,env(safe-area-inset-top));
  right: max(10px,env(safe-area-inset-right));
  height: 44px;
  min-width: 56px;
  padding: 0 10px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 15px;
}

