*{box-sizing:border-box}body{margin:0;background:#090a0c;color:#eeeae0;font:15px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:#d0ab57;text-decoration:none}a:hover{text-decoration:underline}.wrap{max-width:1160px;margin:auto;padding:0 22px}header{border-bottom:1px solid #303139;background:#111216;position:sticky;top:0;z-index:10}.top{display:flex;justify-content:space-between;align-items:center;min-height:75px;gap:15px}.brand{font-weight:800;letter-spacing:.08em;color:#fff;font-size:23px;white-space:nowrap}.brand span{color:#c6a154}.brand small{font-size:10px;color:#9b9a9e;letter-spacing:.19em}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}nav a{font-size:13px}.nav-cta{background:#c6a154;color:#101115;padding:9px 13px;border-radius:7px}main{min-height:70vh;padding-top:40px!important;padding-bottom:60px!important}h1{font-size:clamp(30px,4vw,52px);line-height:1.18;margin:0 0 24px}h2{line-height:1.25}p{margin:0 0 19px}.muted{color:#aaa9ac}.hero{padding:90px 0 100px;max-width:900px}.hero h1{font-size:clamp(42px,6vw,78px);letter-spacing:-.045em}.hero em{font-style:normal;color:#d0aa57}.hero p{font-size:19px;color:#b7b3b2;max-width:580px}.eyebrow{font-size:12px;color:#c6a154;font-weight:700;letter-spacing:.2em}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin:25px 0}.cards article,.panel{background:#17191f;border:1px solid #313239;border-radius:14px;padding:24px}.panel{margin-bottom:23px}.narrow{max-width:590px;margin:auto}.metric{font-size:31px;color:#d5b36e;font-weight:800}.metric small{font-size:13px;color:#a4a3a7}.btn{display:inline-block;background:#c6a154;color:#111;padding:11px 18px;border:0;border-radius:8px;font:inherit;font-weight:700;cursor:pointer;margin:4px 7px 4px 0}.btn:hover{background:#dfbd70;text-decoration:none}.btn.outline{background:transparent;color:#d2b36c;border:1px solid #aa8d53}.btn.small{font-size:12px;padding:6px 10px}label{display:block;margin:14px 0;font-size:13px;color:#cbc8c5;font-weight:650}input,select{display:block;width:100%;margin:5px 0;padding:12px;border:1px solid #51505a;border-radius:8px;color:#fff;background:#22252c;font:inherit;min-width:0}input:focus,select:focus{outline:2px solid #c6a154}table{width:100%;border-collapse:collapse;min-width:530px}td,th{padding:12px;text-align:left;border-bottom:1px solid #393a43;vertical-align:middle}th{font-size:12px;text-transform:uppercase;color:#b7b2a7}td form{display:flex;gap:5px}td select{width:auto}.table-wrap{overflow-x:auto}.notice{padding:14px 18px;margin-bottom:24px;border-radius:8px;background:#1c3d32;border:1px solid #286e4b}.notice.error{background:#3f2020;border-color:#945050}.check{margin:4px 0;color:#d3d0ca}.inline{display:inline}.link{border:0;background:none;color:#d0ab57;cursor:pointer;font:inherit}footer{padding-top:30px!important;padding-bottom:35px!important;border-top:1px solid #35363e;color:#878890;font-size:12px}@media(max-width:700px){.top{align-items:flex-start;flex-direction:column;padding:17px 20px}nav{gap:11px}.hero{padding:55px 0}.cards{grid-template-columns:1fr}}

.section{margin:38px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.steps article{padding:24px;background:#171a20;border:1px solid #343944;border-radius:16px}.steps article span{font-weight:800;color:#c9a44c;font-size:24px}.steps h3{margin:12px 0 6px}.broker-card{min-width:0}.broker-identity{display:flex;align-items:center;gap:14px;margin-bottom:14px}.broker-identity h2{margin:0}.broker-logo,.broker-placeholder{width:76px;height:66px;object-fit:contain;background:#fff;border-radius:12px;padding:8px;flex-shrink:0}.broker-placeholder{display:flex;align-items:center;justify-content:center;background:#262a32;color:#c9a44c;font-weight:800}.rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:#0d1015;border-radius:12px}.rate-grid div{display:flex;flex-direction:column;gap:3px}.rate-grid strong{font-size:24px;color:#e5c379}.rate-grid small{font-size:11px;color:#b6bbc3}.broker-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.fine{font-size:12px}.onboarding-steps li{margin-bottom:14px}textarea{width:100%;padding:12px;border:1px solid #383e48;border-radius:9px;background:#101216;color:white}@media(max-width:700px){.steps{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.rate-grid strong{font-size:20px}}

.site-footer{background:#101217;border-top:1px solid #343844;padding:54px 0 24px;color:#acb1bb}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:28px}.footer-grid .brand{display:inline-block;margin-bottom:15px}.footer-grid h3{color:#e9d5a4;font-size:14px;margin:0 0 16px}.footer-grid a:not(.brand){display:block;margin:8px 0;color:#b6bac2;font-size:13px}.footer-grid p{font-size:13px;max-width:390px;line-height:1.8;overflow-wrap:anywhere}.footer-bottom{border-top:1px solid #30343d;margin-top:36px;padding-top:21px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px}.legal-text{white-space:normal;overflow-wrap:anywhere;line-height:1.8}@media(max-width:760px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}}@media(max-width:480px){.footer-grid{grid-template-columns:1fr}}

.contact-trap {position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden;} .legal-text {white-space:normal;overflow-wrap:anywhere;}

/* XAUCLUB v0.25 CRM left navigation. Public site stays unchanged. */
.crm-mode .main-header{z-index:31}.crm-mode .top{min-height:64px}.crm-mode .main-header .brand{font-size:20px}.crm-shell{display:flex;align-items:stretch;min-height:calc(100vh - 64px)}
.crm-sidebar{width:258px;flex:0 0 258px;background:#11141a;border-right:1px solid #2c3039;display:flex;flex-direction:column;position:sticky;top:64px;height:calc(100vh - 64px);z-index:25;overflow:hidden}
.sidebar-head{padding:21px 20px 14px;border-bottom:1px solid #292e38;display:flex;flex-direction:column;gap:4px}.sidebar-head .brand{font-size:19px}.sidebar-head small{letter-spacing:.16em;font-size:10px;color:#b59b61}
.sidebar-scroll{padding:10px 10px 16px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#4d4d4d transparent}.side-group{margin-bottom:14px}.side-heading{color:#8f959f;font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:700;margin:12px 12px 5px}.side-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:9px;color:#b9bec8;font-size:13px;line-height:1.25}.side-link:hover{background:#232833;color:#f2e7ca;text-decoration:none}.side-link.active{background:#3a3020;color:#f6d58c;border-left:3px solid #d5ac59;padding-left:9px;font-weight:700}.side-icon{min-width:21px;font-size:17px;text-align:center}.sidebar-foot{padding:13px;border-top:1px solid #292e38}.sidebar-foot form{margin:0}.side-logout{background:none;color:#c9cbd2;border:0;padding:10px 12px;font:inherit;text-align:left;width:100%;cursor:pointer}.side-logout:hover{color:#f3cc81}.crm-shell>.crm-content{width:100%;min-width:0;max-width:1600px;margin:0 auto;padding:32px 28px 56px!important;flex:1}.crm-content .panel,.crm-content .cards{max-width:100%}.crm-menu-trigger{display:none;background:#24282f;border:1px solid #43434b;border-radius:8px;color:#f6dda6;padding:8px 13px;font:inherit;cursor:pointer}.crm-overlay{display:none}.crm-mode .site-footer{margin-left:258px}.crm-mode .site-footer .wrap{max-width:1400px}
@media(max-width:1000px){.crm-sidebar{width:226px;flex-basis:226px}.crm-mode .site-footer{margin-left:226px}.crm-shell>.crm-content{padding:26px 18px 45px!important}}
@media(max-width:760px){.crm-mode .top{flex-direction:row;align-items:center;min-height:62px;padding:10px 16px}.crm-mode .main-header nav{display:none}.crm-menu-trigger{display:inline-flex;gap:9px;align-items:center}.crm-sidebar{position:fixed;top:0;bottom:0;left:0;width:min(290px,85vw);height:100dvh;z-index:41;transform:translateX(-103%);transition:transform .2s ease;box-shadow:8px 0 22px #0005}.menu-open .crm-sidebar{transform:translateX(0)}.menu-open .crm-overlay{display:block;position:fixed;inset:0;z-index:40;background:#000b}.crm-shell{display:block}.crm-shell>.crm-content{padding:24px 16px 38px!important}.crm-mode .site-footer{margin-left:0}.crm-content h1{font-size:clamp(27px,7vw,38px)}.crm-content .panel{padding:17px}}
@media(prefers-reduced-motion:reduce){.crm-sidebar{transition:none}}

/* v0.26 client directory */
.crm-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.crm-search label{flex:1;min-width:230px}.crm-search .btn{margin-bottom:0}.crm-pages{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.crm-content table td{overflow-wrap:anywhere}@media(max-width:760px){.crm-search{align-items:stretch}.crm-search .btn{width:100%;text-align:center}}

/* Phase 44 – accessible withdrawal management and mobile-safe action forms */
.status-pill{display:inline-flex;align-items:center;white-space:normal;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;line-height:1.4;border:1px solid transparent}
.status-success{background:#123f2f;border-color:#2e7557;color:#b5f8d6}.status-danger{background:#48262c;border-color:#94545f;color:#ffd6dc}.status-info{background:#18374f;border-color:#4e7690;color:#b9e1ff}.status-pending{background:#493c20;border-color:#8d7440;color:#ffe1a0}
.withdrawal-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:10px;margin:15px 0}.withdrawal-metric{background:#101217;border:1px solid #3d434c;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:5px;color:#ddd}.withdrawal-metric strong{font-size:26px;color:#edc87f}.withdrawal-metric.selected{outline:2px solid #d3ae62}.withdrawal-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.withdrawal-filter label{min-width:190px;flex:1}.crm-content td form{flex-wrap:wrap;min-width:210px}.crm-content td form input[type="checkbox"]{width:auto;display:inline-block}.crm-content td form textarea{min-width:180px;max-width:100%}.crm-content td form button{white-space:normal}.crm-content .panel.table-wrap{overflow-x:auto}@media(max-width:760px){.withdrawal-filter{align-items:stretch}.withdrawal-filter .btn{width:100%;text-align:center}.crm-content td form{min-width:180px}}
