/* Taiwan Merchant Pro: scoped member and embedded device surfaces. */
#tbp-native-account{background:#eef0eb;color:#23261f;border:1px solid #cbd0c5;border-top:4px solid #f4c842;border-radius:6px;box-shadow:0 20px 70px #18201740;font-family:Inter,"Noto Sans TC","Microsoft JhengHei",sans-serif;box-sizing:border-box}
#tbp-native-account .xm-member{--xm-paper:#fff;--xm-inset:#e7eae3;--xm-border:#d8ddd2;--xm-ink:#23261f;font-size:14px}
#tbp-native-account .xm-member h2{font-size:20px;font-weight:700;padding-right:30px;margin-bottom:18px}
#tbp-native-account .tbp-account-close{color:#343d30;background:#fff;border:1px solid #d8ddd2;border-radius:5px;width:32px;height:32px;line-height:26px;cursor:pointer}
#tbp-native-account .xm-header{margin:18px 8px 20px;gap:10px 12px}
#tbp-native-account .xm-actions button{background:#fff;border-color:#cfd5c8}
#tbp-native-account .xm-actions button[data-xm=refresh]{background:#f4c842;border-color:#c7a638;color:#24251f;box-shadow:0 2px 0 #b49a43}
#tbp-native-account .xm-tabs button{background:#e4e8de;color:#4c5547;border-color:#cbd2c2;padding:9px 15px;min-height:38px}
#tbp-native-account .xm-tabs button[aria-pressed=true]{background:#242720;color:#f4c842;border-color:#242720;border-bottom-color:#242720;padding-bottom:10px}
#tbp-native-account .xm-folder{background:#fff;border-color:#cbd2c2;padding:14px}
#tbp-native-account .xm-current{background:#f7f9f4;border-color:#dbe1d4;border-left:3px solid #f4c842;box-shadow:none;padding:6px 14px}
#tbp-native-account .xm-current dl{grid-template-columns:repeat(2,minmax(0,1fr))}
#tbp-native-account .xm-offers{background:#eef0eb;border-color:#d9ded3;box-shadow:inset 0 2px 4px #2427200c;color:#535c4d}
#tbp-native-account .xm-badge.good{background:#dceee2;color:#22653b}
#tbp-native-account .xm-badge.neutral{background:#e2e6dd;color:#4c5547}
#tbp-native-account .xm-footnote{color:#626b5c;opacity:1;line-height:1.6}
#tbp-native-account button:hover:not(:disabled){filter:brightness(.96)}
#tbp-native-account button:focus-visible{outline:2px solid #657c47;outline-offset:3px}
#tbp-native-account .xm-devices iframe{background:#fff;border-radius:5px}
#tbp-native-account .tbp-local-auth input{border:1px solid #ccd4c1;border-radius:5px;background:#fff;color:#23261f;font:inherit}
#tbp-native-account .tbp-local-auth button{border:1px solid #ccd4c1;border-radius:5px;background:#e4e8de;color:#23261f;font:inherit}
#tbp-native-account .tbp-local-auth button[type=submit]{background:#f4c842;border-color:#c7a638;font-weight:600}
body.tbp-device-theme{font:14px/1.6 Inter,"Noto Sans TC","Microsoft JhengHei",sans-serif;background:#eef0eb;color:#23261f}
body.tbp-device-theme.embedded{background:#fff}
.tbp-device-theme main{box-sizing:border-box}
.tbp-device-theme section{border:1px solid #d8ddd2;border-radius:5px;background:#f7f9f4;padding:16px;margin:12px 0;box-shadow:none}
.tbp-device-theme h2{font:700 16px/1.4 Inter,"Noto Sans TC","Microsoft JhengHei",sans-serif;margin:0 0 10px;color:#242720}
.tbp-device-theme p{color:#5d6656;font-size:13px;margin:8px 0;line-height:1.7}
.tbp-device-theme #device-message{background:#f8f2da;color:#5e5021;border:1px solid #e8d78b;border-left:3px solid #f4c842;border-radius:5px;padding:10px 12px;margin-top:0}
.tbp-device-theme #device-message:empty{display:none}
.tbp-device-theme button{background:#f4c842;border:1px solid #c7a638;color:#24251f;border-radius:5px;padding:8px 12px;font:600 13px/1.4 inherit;min-height:34px;box-shadow:0 2px 0 #b49a43}
.tbp-device-theme td button,.tbp-device-theme #device-refresh{background:#fff;border-color:#cbd2c2;box-shadow:none;color:#414b38}
.tbp-device-theme input{background:#fff;color:#23261f;border:1px solid #cbd2c2;border-radius:5px;padding:9px;font:inherit}
.tbp-device-theme input[type=checkbox]{accent-color:#697c43;min-height:auto}
.tbp-device-theme label{font-size:13px}
.tbp-device-theme table{font-size:13px;margin-top:12px}
.tbp-device-theme th{background:#e7ebe1;color:#434e38;font-weight:600;white-space:nowrap}
.tbp-device-theme td,.tbp-device-theme th{border-bottom:1px solid #d8ddd2;padding:10px;vertical-align:middle}
.tbp-device-theme td{background:#fff;overflow-wrap:anywhere}
.tbp-device-theme a{color:#52683d;text-underline-offset:3px}
.tbp-device-theme :focus-visible{outline:2px solid #657c47;outline-offset:2px}
@media(max-width:600px){#tbp-native-account .xm-current dl{grid-template-columns:1fr}#tbp-native-account .xm-header{margin-left:4px;margin-right:4px}#tbp-native-account .xm-actions{margin-left:0;width:100%}#tbp-native-account .xm-tabs{padding-left:4px;gap:4px}#tbp-native-account .xm-tabs button{padding:8px 10px}#tbp-native-account .xm-folder{padding:9px}.tbp-device-theme section{padding:12px}.tbp-device-theme th,.tbp-device-theme td{padding:8px 6px}.tbp-device-theme .table-wrap{max-width:100%;overflow-x:auto}}
