/* Keep service DOM IDs intact while replacing the old navigation chrome. */
.legacy-page{background:#fff!important;padding:0!important;margin:0!important;font-family:Arial,Helvetica,sans-serif!important;color:#262016!important}
.legacy-page #header,.legacy-page #footer,.legacy-page footer.footer,.legacy-page .fixed-bottom,.legacy-page .sidenav,.legacy-page .sidebar-menu,.legacy-page .app-header{display:none!important}
.legacy-page .body{background:transparent!important;overflow:visible!important}
.legacy-page [data-site-header],.legacy-page [data-site-footer]{width:100%;clear:both;text-shadow:none!important}
.legacy-page .web-header,.legacy-page .web-footer,.legacy-page .web-topbar{font-family:Arial,Helvetica,sans-serif!important;text-shadow:none!important}
.legacy-page .web-header{background:#fff!important;background-image:none!important;color:#201d16!important}.legacy-page .web-header .web-brand,.legacy-page .web-header .web-nav a,.legacy-page .web-header .web-account{color:#201d16!important}.legacy-page .web-header .web-logo{color:white!important}
.legacy-page .web-header a,.legacy-page .web-footer a,.legacy-page .web-topbar a{font-weight:inherit;text-shadow:none;box-shadow:none}
.legacy-page .web-brand{font-weight:800!important}.legacy-page .web-header small{line-height:1.2}
.legacy-page main.main-container{max-width:970px!important;width:calc(100% - 40px)!important;margin:35px auto!important;padding:25px!important;border:1px solid #e7dcc5!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;min-height:250px}
.legacy-page .web-footer{margin-top:50px!important;position:static!important;width:100%;height:auto!important}
.legacy-page .web-footer .web-button{font-weight:600!important}.legacy-page .web-menu[hidden]{display:none!important}
.legacy-page .web-menu-button{padding:0!important;box-shadow:none!important}.legacy-page .web-menu-title h2{line-height:1.2!important}
.legacy-page .btn-primary,.legacy-page .btn-success{background:#aa8030!important;border-color:#aa8030!important;color:white!important;text-shadow:none!important}
.legacy-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.legacy-page select,.legacy-page textarea{border-color:#d4c8ad!important;border-radius:4px!important}
.web-service-notice{position:relative;padding:14px 25px;background:#fff2d5;border-bottom:1px solid #e7cb90;color:#78541c;font:13px/1.5 Arial,sans-serif;text-align:center}.web-service-notice a{color:#715012;text-decoration:underline}
.legacy-page.transaction-pending [onclick*="marketBuy"],.legacy-page.transaction-pending [onclick*="btnBuy"],.legacy-page.transaction-pending [onclick*="btnPayment"],.legacy-page.transaction-pending #SendGift{pointer-events:none;opacity:.6}
@media(max-width:600px){.legacy-page main.main-container{width:calc(100% - 24px)!important;margin:20px auto!important;padding:13px!important}.legacy-page .web-footer{margin-top:30px!important}.legacy-page .container{max-width:100%}.web-service-notice{font-size:11px;padding:12px}.legacy-page table{max-width:100%}}

/* Trades history: scoped website treatment for the legacy passbook screen. */
.trades-history-page .body{background:#f7f3e9!important}
.trades-history-page .trade-history-main{min-height:560px;background:#f7f3e9;color:#2b2418}
.trades-history-page .trade-history-hero{position:relative;min-height:250px;overflow:hidden;background:#1b0f10;color:#fff;text-shadow:none!important}
.trades-history-page .trade-history-hero:before{content:"";position:absolute;inset:-50% -3% -50% 43%;background:url('../images/gold-hero.png') center/cover no-repeat;filter:saturate(.85);opacity:.68;transform:rotate(-2deg)}
.trades-history-page .trade-history-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#160b0def 0,#35141fd9 48%,#35141f29 76%,#160b0d9e 100%)}
.trades-history-page .trade-history-hero-inner{position:relative;z-index:1;width:min(960px,calc(100% - 48px));margin:0 auto;padding:57px 0 50px}
.trades-history-page .trade-history-eyebrow{display:block;margin-bottom:12px;color:#e3c379;font:700 11px/1.4 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase}
.trades-history-page .trade-history-hero h1{margin:0 0 12px;color:#fff;font:normal clamp(38px,5vw,57px)/1.02 Georgia,'Times New Roman',serif;letter-spacing:-1.3px;text-shadow:none}
.trades-history-page .trade-history-hero p{max-width:520px;margin:0;color:#e3d6c4;font:14px/1.7 Arial,sans-serif;text-shadow:none}
.trades-history-page .trade-history-section{min-height:330px!important;margin:0!important;padding:48px 0 68px!important;background:#f7f3e9!important;border:0!important}
.trades-history-page .trade-history-section>.container{width:min(960px,calc(100% - 48px));max-width:none;padding:0}
.trades-history-page .trade-history-section .row{margin:0}
.trades-history-page .trade-history-section [class*="col-"]{padding:0}
.trades-history-page .trade-history-card.ui-page{position:relative!important;inset:auto!important;display:block!important;width:100%!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;background:#fff!important;border:1px solid #decda8!important;border-radius:10px!important;box-shadow:0 18px 45px rgba(61,41,11,.1)!important;color:#2a241a!important}
.trades-history-page .trade-history-card .ui-header{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important}
.trades-history-page #tblHeader.trade-history-table{width:100%!important;margin:0!important;padding:0!important;border:0!important;border-collapse:collapse!important;table-layout:fixed;background:linear-gradient(105deg,#572235,#7a3149 54%,#572235)!important;color:#fff!important}
.trades-history-page #tblHeader th{height:auto!important;padding:18px 16px!important;border:0!important;border-bottom:3px solid #c9a755!important;color:#f8e9c6!important;background:transparent!important;font:700 11px/1.3 Arial,sans-serif!important;letter-spacing:.09em;text-align:right!important;text-shadow:none!important}
.trades-history-page #tblHeader th:first-child{width:40%;text-align:left!important;padding-left:24px!important}.trades-history-page #tblHeader th:nth-child(2){width:10%;text-align:center!important}.trades-history-page #tblHeader th:nth-child(3){width:20%}.trades-history-page #tblHeader th:nth-child(4){width:30%;padding-right:24px!important}
.trades-history-page .trade-history-card .ui-content{display:block!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;color:#2a241a!important;text-shadow:none!important}
.trades-history-page #wrapper,.trades-history-page #scroller{position:relative;width:100%;overflow:visible}
.trades-history-page #gvData.trade-history-table{width:100%!important;margin:0!important;border:0!important;border-collapse:collapse!important;table-layout:fixed;color:#2a241a!important;text-align:right!important}
.trades-history-page #gvData td{border:0!important;background:#fff!important;color:#2b251b!important;font:600 14px/1.35 Arial,sans-serif!important;text-shadow:none!important;vertical-align:middle!important}
.trades-history-page #gvData .trade-primary td{padding:21px 16px 7px!important}.trades-history-page #gvData .trade-primary td:first-child{width:40%;padding-left:24px!important;text-align:left!important;font:700 15px/1.3 Georgia,'Times New Roman',serif!important}.trades-history-page #gvData .trade-primary td:nth-child(2){width:10%;text-align:center!important}.trades-history-page #gvData .trade-primary td:nth-child(3){width:20%}.trades-history-page #gvData .trade-primary td:nth-child(4){width:30%;padding-right:24px!important}
.trades-history-page .trade-side-badge{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;font:800 11px/1 Arial,sans-serif;color:#fff;background:#a37b2d;box-shadow:none;text-shadow:none}
.trades-history-page .trade-sell .trade-side-badge{background:#6d293f}.trades-history-page #gvData .trade-detail-copy{padding:4px 24px 19px!important;border-bottom:1px solid #ece3d1!important;color:#84755e!important;background:#fff!important;font:400 11px/1.5 Arial,sans-serif!important;text-align:left!important;overflow-wrap:anywhere}
.trades-history-page #gvData .trade-primary:hover td,.trades-history-page #gvData .trade-primary:hover+.trade-detail td{background:#fcf8ef!important}
.trades-history-page #gvData .trade-buy td:first-child{box-shadow:inset 4px 0 #c9a755}.trades-history-page #gvData .trade-sell td:first-child{box-shadow:inset 4px 0 #6d293f}
.trades-history-page .trade-history-status{margin:0;padding:38px 24px;background:#fff;color:#76684f;font:13px/1.6 Arial,sans-serif;text-align:center;text-shadow:none!important}
.trades-history-page .trade-history-status:before{content:"";display:block;width:30px;height:30px;margin:0 auto 13px;border:2px solid #e0d2b4;border-top-color:#8b6930;border-radius:50%}
.trades-history-page .trade-history-status.is-loading:before{animation:trade-history-spin .8s linear infinite}.trades-history-page .trade-history-status.is-empty:before{border:0;background:radial-gradient(circle,#c8a65b 0 20%,transparent 22%),linear-gradient(#c8a65b,#c8a65b) center/2px 100% no-repeat}.trades-history-page .trade-history-status.is-error{color:#9a392c;background:#fff8f5}.trades-history-page .trade-history-status.is-error:before{border-color:#c96858;clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0}.trades-history-page .trade-history-status[hidden]{display:none!important}
@keyframes trade-history-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.trades-history-page .trade-history-hero{min-height:215px}.trades-history-page .trade-history-hero:before{inset:-10% -45% -10% 25%;opacity:.45}.trades-history-page .trade-history-hero-inner{width:calc(100% - 38px);padding:43px 0 39px}.trades-history-page .trade-history-hero h1{font-size:39px}.trades-history-page .trade-history-hero p{max-width:290px;font-size:12px}.trades-history-page .trade-history-section{padding:27px 0 42px!important}.trades-history-page .trade-history-section>.container{width:calc(100% - 24px)}.trades-history-page .trade-history-card.ui-page{border-radius:7px!important}.trades-history-page #tblHeader th{padding:14px 7px!important;font-size:9px!important;letter-spacing:.045em}.trades-history-page #tblHeader th:first-child{padding-left:14px!important}.trades-history-page #tblHeader th:last-child{padding-right:14px!important}.trades-history-page #gvData td{font-size:12px!important}.trades-history-page #gvData .trade-primary td{padding:17px 7px 5px!important}.trades-history-page #gvData .trade-primary td:first-child{padding-left:14px!important;font-size:13px!important;overflow-wrap:anywhere}.trades-history-page #gvData .trade-primary td:last-child{padding-right:14px!important}.trades-history-page .trade-side-badge{width:24px;height:24px;font-size:9px}.trades-history-page #gvData .trade-detail-copy{padding:4px 14px 15px!important;font-size:10px!important}.trades-history-page .trade-history-status{padding:30px 15px;font-size:12px}}

/* Unified website surface for imported service pages. */
.legacy-page{--service-ink:#292318;--service-muted:#756b58;--service-gold:#c89b3c;--service-gold-soft:#f1dfb2;--service-dark:#201b11;--service-paper:#f8f5ed;--service-line:#e1d6bf;background:var(--service-paper)!important;color:var(--service-ink)!important}
.legacy-page>.body{width:min(1180px,calc(100% - 80px));margin:0 auto!important;background:transparent!important;box-shadow:none!important}
.legacy-page .main{background:transparent!important}.legacy-page .section{background:transparent!important;border:0!important;margin:0!important;padding:30px 0 72px!important}
.legacy-page .headingTop{width:auto!important;max-width:1180px;margin:0 auto!important;padding:54px 0 23px!important;background:transparent!important;background-image:none!important;border:0!important;color:var(--service-ink)!important;font:400 clamp(36px,4.3vw,54px)/1.05 Georgia,'Times New Roman',serif!important;letter-spacing:-.025em!important;text-align:left!important;text-shadow:none!important}
.legacy-page .headingTop:after{content:"";display:block;width:54px;height:2px;margin-top:18px;background:var(--service-gold)}
.legacy-page>.body h1,.legacy-page>.body h2,.legacy-page>.body h3,.legacy-page>.body h4{color:var(--service-ink);text-shadow:none!important}.legacy-page>.body h1,.legacy-page>.body h2{font-family:Georgia,'Times New Roman',serif!important;letter-spacing:-.02em}
.legacy-page>.body p,.legacy-page>.body li,.legacy-page>.body label{color:var(--service-ink);text-shadow:none!important}.legacy-page>.body p{line-height:1.75}.legacy-page a:focus-visible,.legacy-page button:focus-visible,.legacy-page input:focus-visible,.legacy-page select:focus-visible,.legacy-page textarea:focus-visible{outline:3px solid #b68729!important;outline-offset:3px}
.legacy-page .Div_bg,.legacy-page .div-spott,.legacy-page .ui-page,.legacy-page .ui-content,.legacy-page fieldset,.legacy-page .counter{background:#fff!important;background-image:none!important;border:1px solid var(--service-line)!important;border-radius:12px!important;box-shadow:0 16px 38px rgba(57,39,12,.09)!important;color:var(--service-ink)!important;text-shadow:none!important}
.legacy-page .pageHeaders,.legacy-page .headertable1,.legacy-page .headertable3,.legacy-page table.goldd,.legacy-page table.res_mob_font_width{background:var(--service-dark)!important;background-image:none!important;border:0!important;border-radius:8px!important;color:#f6dfaa!important;text-shadow:none!important}
.legacy-page .pageHeaders th,.legacy-page .pageHeaders td,.legacy-page .headertable1 th,.legacy-page .headertable1 td,.legacy-page .headertable3 th,.legacy-page .headertable3 td{color:#f6dfaa!important;text-shadow:none!important}
.legacy-page [style*="#164E8B"],.legacy-page [style*="#164e8b"],.legacy-page [style*="#205998"],.legacy-page [style*="#205999"]{background:var(--service-dark)!important;background-image:none!important;color:#f6dfaa!important}
.legacy-page .btn,.legacy-page button:not(.web-menu-button),.legacy-page input[type=button],.legacy-page input[type=submit],.legacy-page .Btn,.legacy-page .Btn1,.legacy-page .Btn2,.legacy-page .Btn3,.legacy-page .Btn4{min-height:44px;border:1px solid #b88a31!important;border-radius:5px!important;background:#e6c574!important;background-image:none!important;color:#251d0e!important;font-weight:700!important;text-shadow:none!important;box-shadow:none!important;transition:background .2s ease,transform .2s ease!important}
.legacy-page .btn:hover,.legacy-page button:not(.web-menu-button):hover,.legacy-page input[type=button]:hover,.legacy-page input[type=submit]:hover{background:#f0d58f!important;color:#251d0e!important;transform:translateY(-1px)}
.legacy-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.legacy-page select,.legacy-page textarea{min-height:46px;padding:10px 13px!important;border:1px solid #cfc2a7!important;border-radius:5px!important;background:#fff!important;color:var(--service-ink)!important;box-shadow:none!important;text-shadow:none!important}.legacy-page textarea{min-height:110px;resize:vertical}.legacy-page ::placeholder{color:#756d60!important;opacity:1}
.legacy-page table{color:var(--service-ink)}.legacy-page table td,.legacy-page table th{text-shadow:none!important}.legacy-page .ui-page{position:relative!important;inset:auto!important;display:block!important;width:100%!important;min-height:0!important}
.legacy-page .web-service-notice{background:#fbefcf;color:#6b4b14;border-color:#e7cb90}
.legacy-content-page .section>.container{max-width:1040px!important}.legacy-content-page .appear-animation{opacity:1!important;transform:none!important}.legacy-content-page .Div_bg{padding:42px!important;text-align:left!important}.legacy-content-page .Div_bg h1{text-align:left!important;font-size:clamp(34px,4vw,48px)!important;line-height:1.1!important;margin-bottom:28px!important}.legacy-content-page .Div_bg p{max-width:72ch;margin-bottom:20px!important}.legacy-content-page .Div_bg .row{gap:30px 0}
.legacy-form-page .section>.container{max-width:1040px!important}.legacy-form-page form,.legacy-form-page .ui-content{padding:32px!important}.legacy-form-page fieldset{padding:28px!important;margin-bottom:24px!important}.legacy-form-page legend{width:auto;padding:0 10px;color:#8b6828;font:600 14px Arial,sans-serif}
.legacy-records-page .section>.container{max-width:900px!important}.legacy-records-page .ui-page{overflow:hidden}.legacy-records-page #tblHeader{width:100%!important;margin:0!important;border-collapse:collapse!important}.legacy-records-page #tblHeader th{padding:18px 14px!important}.legacy-records-page .headingTop{max-width:900px}
.legacy-savings-page>.body{width:100%;max-width:none}.legacy-savings-page .body>header{display:none!important}.legacy-savings-page .main.shop>h3{margin:0!important;padding:16px!important;background:var(--service-dark)!important;color:#f5dfa9!important;font:400 22px/1.2 Georgia,'Times New Roman',serif!important}.legacy-savings-page .main.shop>h3 strong{color:#f5dfa9!important}.legacy-savings-page .main.shop>.container{width:min(1120px,calc(100% - 48px))!important;max-width:none!important;margin:34px auto 70px!important}.legacy-savings-page .counter{min-height:88px;margin:0 0 18px!important;padding:21px 28px!important;display:flex!important;align-items:center;justify-content:flex-start;gap:18px}.legacy-savings-page .counter img{width:38px!important;height:38px!important;object-fit:contain}.legacy-savings-page .counter label{margin:0!important;font-size:15px!important}.legacy-savings-page .counter:hover{border-color:#c9a755!important;transform:translateY(-2px)}
@media(max-width:760px){.legacy-page>.body{width:calc(100% - 28px)}.legacy-page .headingTop{padding:38px 0 18px!important;font-size:36px!important}.legacy-page .section{padding:20px 0 45px!important}.legacy-content-page .Div_bg,.legacy-form-page form,.legacy-form-page .ui-content,.legacy-form-page fieldset{padding:20px!important}.legacy-page .row{margin-left:0!important;margin-right:0!important}.legacy-savings-page .main.shop>.container{width:calc(100% - 24px)!important;margin-top:22px!important}.legacy-savings-page .counter{padding:18px!important}.legacy-page table{max-width:100%}}
