:root{
  color-scheme:light;
  --brand:#102a43;--brand-2:#1d4d70;--accent:#2f8f72;--accent-soft:#e7f4ef;
  --bg:#f3f6f9;--surface:#fff;--surface-2:#f7f9fb;--text:#172b3a;--muted:#627486;
  --line:#e1e8ee;--success:#16805d;--danger:#bd454b;--warning:#a36a16;--info:#3d6f92;
  --radius:18px;--radius-sm:12px;--shadow:0 12px 34px rgba(16,44,58,.07);--shadow-sm:0 4px 14px rgba(16,44,58,.055);
  --content:1240px;--tap:46px
}
*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;min-width:320px;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
body:before{position:fixed;inset:0;z-index:-1;content:"";pointer-events:none;background:radial-gradient(ellipse at 12% 0,rgba(182,138,72,.075),transparent 32%),radial-gradient(ellipse at 95% 22%,rgba(61,111,146,.05),transparent 28%)}
h1,h2,h3,h4{color:var(--brand);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.2;letter-spacing:-.03em}
h1{font-size:clamp(1.65rem,3vw,2.25rem);margin:0 0 18px}h2{font-size:1.3rem;margin:0 0 14px}h3{font-size:1.05rem;margin:22px 0 12px}
p{margin:0 0 14px}.muted,.hint{color:var(--muted)}.hidden{display:none!important}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
a{color:#226b68;text-underline-offset:3px}a:hover{color:#164d4b}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid rgba(61,111,146,.45);outline-offset:3px}

/* Main navigation */
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:22px;min-height:76px;padding:12px max(24px,calc((100vw - var(--content))/2));background:rgba(255,255,255,.94);border-bottom:1px solid rgba(228,235,234,.85);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:11px;min-width:max-content;color:var(--brand);text-decoration:none;font:800 16px Manrope,sans-serif;letter-spacing:-.03em}
.brand:hover{color:var(--brand)}.brand>span:last-child{display:grid;line-height:1.12}.brand small{margin-top:4px;color:var(--muted);font:500 10px 'DM Sans',sans-serif;letter-spacing:.11em;text-transform:uppercase}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;box-shadow:0 6px 15px rgba(16,44,58,.18);color:#fff;font:800 19px Manrope,sans-serif}.brand-mark img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.nav{display:flex;align-items:center;gap:4px;margin-left:14px}.nav a{padding:10px 13px;border-radius:11px;color:#52676c;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap;transition:background .18s,color .18s}.nav a:hover,.nav a.is-active{background:#edf4f2;color:var(--brand)}
.lang-switch{display:flex;gap:3px;margin-left:auto}.lang-btn{display:grid;place-items:center;min-width:34px;min-height:34px;border:1px solid transparent;border-radius:10px;background:transparent;opacity:.62;cursor:pointer}.lang-btn:hover,.lang-btn.active{background:#f1f5f4;border-color:var(--line);opacity:1}
.notif-bell{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:var(--brand);background:#f4f7f6}.notif-bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notif-bell:hover{background:#eaf1ef}.badge{position:absolute;top:-3px;right:-2px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:var(--danger);color:white;font-size:10px;font-weight:700}
.profile-shortcut{display:flex;align-items:center;gap:8px;color:var(--brand);text-decoration:none;font-weight:600;font-size:13px}.profile-shortcut>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:#75582c;font-weight:700}.logout-link{color:var(--muted);font-size:12px;text-decoration:none;white-space:nowrap}
.container{width:min(100%,var(--content));min-height:calc(100vh - 76px);margin:0 auto;padding:34px 28px 56px}
.mobile-bottom-nav{display:none}

/* Surfaces, forms, buttons */
.card,.kpi,.chart-card,.tab-panel,.account-tile,.notice-card{border:1px solid rgba(228,235,234,.9);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}
.card{width:min(100%,760px);margin:12px auto;padding:clamp(22px,4vw,38px)}.card.auth-card{max-width:500px}.card>h1{margin-bottom:8px}.card>h1+p{margin-bottom:26px}
.card label,.tab-panel label{display:block;margin:17px 0;color:#3e5358;font-size:13px;font-weight:600}
.card input,.card select,.card textarea,.tab-panel input:not([type=checkbox]),.tab-panel select,.tab-panel textarea,.filters input,.filters select,.modal input{display:block;width:100%;min-height:var(--tap);margin-top:7px;padding:11px 13px;border:1px solid #d8e2e0;border-radius:var(--radius-sm);background:#fff;color:var(--text);font:500 15px 'DM Sans',sans-serif;transition:border .16s,box-shadow .16s}
.card textarea,.tab-panel textarea{min-height:110px;resize:vertical}.card input:focus,.card select:focus,.card textarea:focus,.tab-panel input:focus,.tab-panel select:focus,.tab-panel textarea:focus,.filters input:focus,.filters select:focus{border-color:#5d9991;outline:none;box-shadow:0 0 0 4px rgba(61,111,146,.1)}
.auth-card input[aria-invalid="true"],.auth-card select[aria-invalid="true"]{border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.card input[type=checkbox],.tab-panel input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand)}.check{display:flex!important;align-items:flex-start;gap:10px}.check input{flex:0 0 auto;margin:2px 0 0!important}
.row{display:flex;gap:16px}.row>label{flex:1;min-width:0}.alt{margin-top:22px;text-align:center}.hint{display:block;margin-top:6px;font-size:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--tap);padding:10px 17px;border:1px solid transparent;border-radius:12px;background:#eef3f2;color:var(--brand);font-size:13px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s,border .16s}
.btn:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(16,44,58,.1)}.btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:white;box-shadow:0 6px 14px rgba(16,44,58,.15)}.btn.primary:hover{background:#1b5360;color:white}.btn.ghost{border-color:#dbe4e2;background:white;color:var(--brand)}.btn.danger{background:#b54848;color:white}.btn.tiny{min-height:36px;padding:7px 11px;font-size:12px}.btn:disabled{opacity:.6;cursor:wait;transform:none}
hr{height:1px;margin:28px 0;border:0;background:var(--line)}

/* Client home and account cards */
.dashboard{display:grid;gap:25px}.balance-card{position:relative;isolation:isolate;overflow:hidden;padding:clamp(23px,4vw,38px);border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(125deg,#102c3a 0%,#194757 62%,#23666a 100%);box-shadow:0 18px 38px rgba(16,44,58,.17);color:#fff}
.balance-card:after{position:absolute;z-index:-1;top:-95px;right:-55px;width:280px;height:280px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 32px rgba(255,255,255,.035),0 0 0 68px rgba(255,255,255,.025);content:""}
.balance-card>span{color:rgba(255,255,255,.75);font-size:13px;font-weight:600;letter-spacing:.03em}.balance-card strong{display:block;margin:8px 0 22px;color:#fff;font:800 clamp(2.1rem,6vw,3.3rem) Manrope,sans-serif;letter-spacing:-.06em}
.iban-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:rgba(255,255,255,.8);font-size:12px}.iban-line code{padding:6px 9px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(255,255,255,.08);color:#fff}.balance-card .btn.ghost{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff}
.kyc-badge{display:inline-flex;align-items:center;gap:6px;margin-top:18px;padding:6px 11px;border:1px solid rgba(255,255,255,.16);border-radius:99px;background:rgba(255,255,255,.1);color:#fff;font-size:12px;font-weight:600}.kyc-badge a{color:white}.kyc-verified{background:rgba(24,134,107,.38)}.kyc-pending{background:rgba(163,106,22,.35)}
.accounts-panel{padding:2px 0}.accounts-panel>h2,.txs>h2{margin-bottom:15px}.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}.account-tile{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:10px;padding:20px}.account-tile>span:first-child{color:var(--muted);font-size:12px;font-weight:600}.account-tile strong{color:var(--brand);font:700 21px Manrope,sans-serif;letter-spacing:-.03em}.account-tile code{width:100%;padding:10px;border-radius:9px;background:var(--surface-2);color:var(--brand);font-size:12px;word-break:break-all}.account-tile .btn{margin-top:3px}
.actions{display:flex;gap:10px;flex-wrap:wrap}.actions .btn{min-width:145px}.notice-card{display:flex;align-items:flex-start;gap:13px;padding:16px 18px}.notice-card:before{flex:0 0 auto;width:9px;height:9px;margin-top:7px;border-radius:50%;background:var(--accent);content:""}.notice-card strong{display:block;color:var(--brand);font-size:13px}.notice-card p{margin:2px 0 0;color:var(--muted);font-size:12px}.txs{padding:23px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.mc-card-wrap{perspective:1000px;margin:4px 0 10px}.mc-card{position:relative;width:min(100%,390px);min-height:220px;padding:24px;border-radius:20px;background:linear-gradient(135deg,#102c3a,#1e5665);box-shadow:0 16px 28px rgba(16,44,58,.2);color:#fff;transition:transform .3s}.mc-card:hover{transform:translateY(-3px) rotateY(3deg)}.mc-card.active{background:linear-gradient(135deg,#102c3a,#23666a)}.mc-card.blocked{background:linear-gradient(135deg,#596166,#272e32)}.mc-card.inactive{opacity:.75}.mc-chip{width:42px;height:31px;margin-bottom:26px;border:1px solid rgba(255,255,255,.3);border-radius:7px;background:linear-gradient(135deg,#e3c888,#ac8445)}.mc-brand{position:absolute;top:24px;right:24px;color:#ead9b7;font-weight:800}.mc-number{font-size:19px;letter-spacing:2px}.mc-holder,.mc-exp{margin-top:7px;color:rgba(255,255,255,.76);font-size:11px}.mc-status{position:absolute;right:18px;bottom:15px;padding:4px 9px;border-radius:99px;background:rgba(255,255,255,.12);font-size:10px}

/* Tables and status labels */
.table-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
table{width:100%;min-width:610px;border-collapse:separate;border-spacing:0}th,td{padding:13px 15px;border-bottom:1px solid #edf1f0;text-align:left;font-size:13px;vertical-align:middle}th{position:sticky;top:0;background:#f7f9f8;color:#627477;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfb}.pos{color:var(--success)}.neg{color:var(--danger)}.admin-table{margin-top:0}.admin-table th{white-space:nowrap}.admin-content>.admin-table,.txs>table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.row-actions{display:flex;gap:6px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:99px;font-size:11px;font-weight:700;white-space:nowrap}.pill-active,.pill-verified,.pill-completed,.pill-sent{background:#e2f3ed;color:#17674f}.pill-pending,.pill-pending_admin,.pill-pending_auth,.pill-pending_config,.pill-none{background:#fbf0da;color:#835511}.pill-blocked,.pill-rejected,.pill-rejected_admin,.pill-failed,.pill-banned{background:#f9e5e2;color:#963b3b}.pill-processing{background:#e4f0f5;color:#315d75}.pill-rejected_auto{background:#fbefda;color:#835511}.pill-cancelled,.pill-expired{background:#edf0ef;color:#5b6869}

/* Admin workspace */
.admin{display:grid;grid-template-columns:228px minmax(0,1fr);align-items:start;gap:25px;width:min(100%,1400px);margin:8px auto;padding:0}.admin-nav{position:sticky;top:94px;display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:var(--shadow-sm)}.admin-nav a{display:flex;align-items:center;min-height:42px;padding:9px 12px;border-radius:10px;color:#53676b;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}.admin-nav a:hover{background:#f0f5f3;color:var(--brand)}.admin-nav a.active{background:var(--brand);color:#fff}.admin-content{min-width:0}.admin-content>h1{margin:2px 0 20px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.kpi{min-width:0;padding:19px}.kpi span{display:block;color:var(--muted);font-size:12px;font-weight:600}.kpi strong{display:block;margin-top:8px;color:var(--brand);font:800 clamp(22px,3vw,30px) Manrope,sans-serif;letter-spacing:-.04em}.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chart-card{height:300px;padding:18px}.filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 16px;padding:15px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:var(--shadow-sm)}.filters input,.filters select{width:auto;min-width:140px;flex:1;margin:0}.tabs{display:flex;gap:7px;overflow-x:auto;margin:0 0 14px;padding:2px 1px 8px;scrollbar-width:thin}.tabs button{min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:11px;background:white;color:#53676b;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}.tabs button.active{border-color:var(--brand);background:var(--brand);color:#fff}.tab-panel{margin-bottom:15px;padding:clamp(17px,3vw,27px)}.tab-panel form{max-width:780px}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pagination{display:flex;gap:5px;margin-top:16px;overflow-x:auto}.pagination a{display:grid;place-items:center;min-width:38px;min-height:38px;border-radius:9px;background:white;color:var(--text);text-decoration:none}.pagination a.active{background:var(--brand);color:#fff}.doc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.doc-item img,.doc-item video{display:block;max-width:100%;border-radius:12px}.preview-box{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f6f8f7}.preview-box #previewContent{max-width:600px;padding:20px;border-radius:10px;background:#fff}

/* Notifications, dialogs and feedback */
.notif-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}.notif-list li{position:relative;padding:16px 17px;border:1px solid var(--line);border-radius:13px;background:white}.notif-list li.unread{border-color:#d5e6e1;background:#f1f8f5}.notif-list li.unread:before{position:absolute;top:20px;left:0;width:3px;height:20px;border-radius:0 4px 4px 0;background:var(--success);content:""}.notif-title{font-weight:700}.notif-action{display:inline-block;margin-top:10px;color:var(--brand-2);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.notif-action:focus-visible{outline:3px solid var(--brand-2);outline-offset:3px;border-radius:2px}.notif-code{display:inline-flex;margin:9px 0;padding:6px 10px;border-radius:8px;background:var(--brand);color:#fff;font-family:ui-monospace,monospace;letter-spacing:2px}.notif-list time{display:block;margin-top:5px;color:var(--muted);font-size:11px}.modal-backdrop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(13,35,43,.58);backdrop-filter:blur(5px)}.modal{width:min(100%,430px);max-height:min(85vh,700px);overflow-y:auto;padding:27px;border:1px solid rgba(255,255,255,.4);border-radius:20px;background:white;box-shadow:0 24px 70px rgba(0,0,0,.2);text-align:center}.loader{width:38px;height:38px;margin:0 auto 16px;border:3px solid #e5ecea;border-top-color:var(--brand-2);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toasts{position:fixed;right:22px;bottom:22px;z-index:100;display:flex;flex-direction:column;gap:9px}.toast{max-width:min(380px,calc(100vw - 32px));padding:13px 16px;border:1px solid rgba(255,255,255,.15);border-radius:13px;background:#243c43;color:white;box-shadow:var(--shadow);font-size:13px;font-weight:600;animation:slide .22s ease-out}.toast-success{background:#176c55}.toast-error{background:#a84040}.toast-info{background:#315e78}@keyframes slide{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.error-page{text-align:center}.error-page h1{margin:0;color:var(--brand);font-size:clamp(48px,12vw,82px)}

@media(max-width:1100px){.topbar{gap:13px;padding-right:20px;padding-left:20px}.nav{gap:0;margin-left:0}.nav a{padding:9px 9px;font-size:12px}.container{padding-right:22px;padding-left:22px}.admin{grid-template-columns:202px minmax(0,1fr);gap:17px}.admin-nav{padding:9px}.admin-nav a{font-size:12px}}
@media(max-width:850px){.topbar{min-height:68px}.topbar .nav{display:none}.brand{margin-right:auto}.lang-switch{margin-left:0}.profile-shortcut>span:last-child,.logout-link{display:none}.container{min-height:calc(100dvh - 68px);padding:25px 20px 42px}.admin{grid-template-columns:minmax(0,1fr);gap:17px}.admin-nav{position:sticky;top:68px;z-index:25;flex-direction:row;overflow-x:auto;gap:5px;padding:8px;scrollbar-width:thin}.admin-nav a{flex:0 0 auto;min-height:39px;padding:8px 11px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);padding:7px max(10px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top:1px solid rgba(220,230,227,.92);background:rgba(255,255,255,.96);box-shadow:0 -8px 25px rgba(16,44,58,.07);backdrop-filter:blur(18px)}.mobile-bottom-nav a{display:flex;min-height:49px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:12px;color:#829091;text-decoration:none;font-size:10px;font-weight:700}.mobile-bottom-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav a.is-active{color:var(--brand)}.mobile-bottom-nav a.is-active svg{color:#287269}.container{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.toasts{bottom:calc(78px + env(safe-area-inset-bottom))}.admin .admin-nav{margin:0 -2px}}
@media(max-width:600px){body{font-size:14px}.topbar{min-height:62px;padding:9px 15px;gap:9px}.brand{gap:9px;font-size:15px}.brand-mark{width:37px;height:37px;border-radius:12px}.brand small{font-size:9px}.container{padding:20px 14px calc(84px + env(safe-area-inset-bottom))}.card{margin:3px auto;padding:22px 18px;border-radius:17px}.card.auth-card{max-width:none}.card>h1{font-size:1.55rem}.card>h1+p{margin-bottom:20px}.dashboard{gap:19px}.balance-card{padding:23px 19px;border-radius:20px}.balance-card strong{margin:8px 0 17px;font-size:2.45rem}.iban-line{align-items:flex-start;flex-direction:column;gap:9px}.iban-line code{max-width:100%;font-size:11px}.account-grid{grid-template-columns:1fr;gap:10px}.account-tile{padding:17px}.account-tile strong{font-size:19px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.actions .btn{min-width:0;width:100%;padding:10px 9px;font-size:12px}.actions .btn:first-child{grid-column:1/-1}.txs{padding:17px 13px}.row{flex-direction:column;gap:0}.kpi-grid{gap:9px}.kpi{padding:15px}.kpi strong{font-size:23px}.chart-grid{grid-template-columns:1fr;gap:10px}.chart-card{height:250px;padding:13px}.filters{align-items:stretch;flex-direction:column;padding:12px}.filters input,.filters select,.filters button{width:100%;min-height:46px}.tab-panel{padding:17px 14px}.tabs{display:flex;gap:6px}.tabs button{min-height:42px;padding:9px 11px;font-size:12px}.two-col{grid-template-columns:1fr;gap:0}.admin-content>h1{font-size:1.6rem}.admin-nav{top:62px;margin-right:-14px!important;margin-left:-14px!important;padding:8px 14px;border-radius:0;border-right:0;border-left:0}.admin-table{min-width:820px}.table-scroll{margin-left:0}.mc-card{min-height:205px;padding:20px}.mc-chip{margin-bottom:21px}.modal{width:100%;padding:23px 18px;border-radius:17px}.toasts{right:12px;left:12px}.toast{max-width:none}.profile-info p{padding:11px 0;border-bottom:1px solid var(--line)}.doc-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.eyebrow{margin-bottom:8px;color:var(--muted);font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.empty-state{padding:28px;border:1px dashed var(--line);border-radius:14px;background:var(--surface-2)}.countdown{display:block;margin-top:5px;color:var(--danger);font-size:11px;font-variant-numeric:tabular-nums;font-weight:700}.pill-awaiting_document{background:#e4f0f5;color:#315d75}.pill-inactive{background:#edf0ef;color:#5b6869}.mc-card{background:linear-gradient(135deg,#102a43,#1d4d70)}.mc-card.active{background:linear-gradient(135deg,#102a43,#176e5c)}
.admin-content>.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:850px){.admin-content>.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Transfer workspace */
.transfer-page{display:grid;gap:24px}.transfer-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:4px 2px 0}.transfer-heading h1{margin:0 0 8px}.transfer-lead{max-width:650px;margin:0;color:var(--muted);font-size:14px}.transfer-secure{display:flex;align-items:center;gap:11px;flex:0 0 auto;padding:12px 15px;border:1px solid #dce9e5;border-radius:14px;background:rgba(255,255,255,.78);color:#244c4d;font-size:12px;font-weight:700}.transfer-secure>span:first-child{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e8f4ef;color:#287763;font-size:22px}.transfer-secure small{color:var(--muted);font-size:11px;font-weight:500}.transfer-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);align-items:start;gap:22px}.transfer-panel,.transfer-summary{padding:clamp(20px,3.5vw,34px);border:1px solid rgba(223,232,234,.94);border-radius:21px;background:#fff;box-shadow:var(--shadow-sm)}.transfer-panel-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:22px}.transfer-panel-head h2,.transfer-summary h2{margin:0 0 5px;font-size:20px}.transfer-panel-head p{margin:0;font-size:12px}.transfer-step{display:grid;place-items:center;width:35px;height:35px;flex:0 0 auto;border:1px solid #d9e8e4;border-radius:11px;background:#f0f7f4;color:#317b69;font-size:11px;font-weight:800;letter-spacing:.06em}.transfer-panel form>label,.transfer-fields label{display:block;margin:0;color:#334b59;font-size:12px;font-weight:700}.transfer-panel input,.transfer-panel select{display:block;width:100%;min-height:48px;margin-top:8px;padding:11px 13px;border:1px solid #dce5e8;border-radius:11px;background:#fbfcfd;color:var(--text);font:500 14px 'DM Sans',sans-serif;transition:border-color .18s,box-shadow .18s,background .18s}.transfer-panel input:hover,.transfer-panel select:hover{border-color:#b7c9cc}.transfer-panel input:focus,.transfer-panel select:focus{border-color:#428d7f;outline:0;background:#fff;box-shadow:0 0 0 4px rgba(53,140,124,.11)}.transfer-panel input:invalid:not(:placeholder-shown){border-color:#c86464}.transfer-available{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 22px;padding:13px 15px;border:1px solid #e5eeeb;border-radius:12px;background:#f6faf8;color:#667982;font-size:12px}.transfer-available strong{color:#224b4e;font-size:13px;font-variant-numeric:tabular-nums}.transfer-fields{display:grid;gap:17px}.transfer-fields-half{grid-template-columns:repeat(2,minmax(0,1fr))}.field-hint{display:block;margin-top:7px;color:#71828b;font-size:11px;font-weight:450;line-height:1.55}.amount-input{position:relative}.amount-input input{padding-right:62px}.amount-input>span{position:absolute;top:50%;right:14px;color:#74858d;font-size:12px;font-weight:700;transform:translateY(-40%);pointer-events:none}.transfer-actions{display:grid;gap:9px;margin-top:23px}.transfer-actions .field-hint{margin:0}.transfer-submit{width:100%;min-height:52px;justify-content:space-between;padding:0 17px 0 20px;border-radius:12px;font-size:14px}.transfer-submit>span:last-child{font-size:20px;transition:transform .18s}.transfer-submit:hover>span:last-child{transform:translateX(3px)}.transfer-aside{display:grid;gap:13px}.transfer-summary{padding:23px}.transfer-summary .eyebrow{display:block;margin-bottom:7px}.summary-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:16px;color:#71818a;font-size:12px}.summary-line strong{max-width:60%;overflow-wrap:anywhere;color:#213e50;text-align:right;font-size:12px;font-variant-numeric:tabular-nums}.summary-divider{height:1px;margin:19px 0 14px;background:#e9eeee}.summary-note{display:flex;gap:9px;margin:0;color:#73838b;font-size:11px;line-height:1.55}.summary-note span{color:#ad8750}.transfer-note{display:flex;gap:12px;padding:17px;border:1px solid #dfeae7;border-radius:15px;background:linear-gradient(135deg,#f5faf8,#fff)}.transfer-note-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;border-radius:10px;background:#e7f3ee;color:#287763;font-size:17px}.transfer-note strong{color:#294b56;font-size:12px}.transfer-note p{margin:5px 0 0;color:#71828b;font-size:11px;line-height:1.55}.transfer-note-muted{background:rgba(255,255,255,.68)}.transfer-modal{text-align:left}.transfer-modal h2{margin:0 0 10px;font-size:20px}.transfer-modal>p{line-height:1.55}.transfer-modal .loader{margin-right:auto;margin-left:auto}.transfer-modal:has(.loader){text-align:center}.code-modal-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:16px;border-radius:14px;background:#edf6f2;color:#307864;font-size:22px}.transfer-modal #authCode{height:58px;margin:14px 0 17px;text-align:center;font:700 23px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.32em}.transfer-modal #confirmBtn{width:100%;min-height:49px}.transfer-modal .field-hint{margin-top:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.transfer-layout{grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:14px}.transfer-heading{align-items:flex-start}}
@media(max-width:650px){.transfer-page{gap:16px}.transfer-heading{display:grid;gap:15px}.transfer-lead{font-size:13px}.transfer-secure{width:100%}.transfer-layout{grid-template-columns:1fr}.transfer-panel{padding:21px 17px;border-radius:17px}.transfer-aside{grid-template-columns:1fr}.transfer-summary{padding:20px}.transfer-fields-half{grid-template-columns:1fr;gap:15px}.transfer-panel-head h2{font-size:18px}}

/* Member sign-in */
.login-page{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);width:min(100%,1050px);min-height:590px;margin:8px auto 20px;overflow:hidden;border:1px solid rgba(214,225,228,.9);border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(17,43,59,.12)}
.login-visual{position:relative;display:flex;min-width:0;flex-direction:column;justify-content:space-between;overflow:hidden;padding:34px 42px 28px;background:radial-gradient(ellipse at 78% 59%,rgba(40,117,124,.4),transparent 38%),linear-gradient(145deg,#102b43 2%,#143b51 58%,#14545a 100%);color:#fff}
.login-visual:after{position:absolute;right:-110px;bottom:-190px;width:480px;height:480px;border:1px solid rgba(255,255,255,.08);border-radius:50%;content:"";pointer-events:none}
.login-visual-brand{z-index:1;display:flex;align-items:center;gap:12px;color:#fff;font:800 14px Manrope,sans-serif;letter-spacing:.16em}
.login-brand-mark{display:block;width:42px;height:42px;border-radius:13px;box-shadow:0 8px 18px rgba(0,0,0,.2);object-fit:cover}
.login-visual-brand>span:last-child{display:grid;gap:3px;font-size:14px;letter-spacing:.1em}.login-visual-brand small{color:rgba(236,243,240,.62);font:600 9px 'DM Sans',sans-serif;letter-spacing:.22em;text-transform:uppercase}
.login-visual-copy{z-index:1;max-width:350px;margin-top:52px}.login-visual-copy p{margin:0;color:rgba(244,250,251,.8);font-size:17px;line-height:1.65;letter-spacing:-.01em}
.login-art{position:relative;display:grid;min-height:255px;place-items:center;isolation:isolate}
.login-ring{position:absolute;z-index:-1;aspect-ratio:1;border:1px solid rgba(179,224,218,.15);border-radius:50%}.login-ring-one{width:290px}.login-ring-two{width:390px;border-color:rgba(179,224,218,.09)}
.login-glow{position:absolute;width:235px;height:160px;border-radius:50%;background:rgba(75,187,166,.18);filter:blur(48px)}
.login-emblem-showcase{position:relative;display:grid;width:148px;aspect-ratio:1;place-items:center}.login-emblem-showcase:before{position:absolute;inset:13px;border:1px solid rgba(218,196,143,.35);border-radius:50%;content:""}.login-emblem-showcase img{position:relative;z-index:1;width:106px;height:106px;border-radius:29px;box-shadow:0 22px 48px rgba(2,18,29,.35)}.login-emblem-orbit{position:absolute;inset:-22px;border:1px solid rgba(217,235,227,.13);border-radius:50%;transform:rotate(-24deg) scaleY(.72)}.login-emblem-orbit:after{position:absolute;top:20%;right:12%;width:7px;height:7px;border-radius:50%;background:#d8c28e;box-shadow:0 0 18px rgba(216,194,142,.6);content:""}
.login-visual-footer{z-index:1;display:flex;justify-content:space-between;color:rgba(239,249,249,.52);font:700 9px 'DM Sans',sans-serif;letter-spacing:.18em}
.login-form-panel{display:grid;align-items:center;padding:52px clamp(34px,6vw,76px);background:linear-gradient(160deg,#fff 0%,#fff 70%,#f9fbfb 100%)}.login-form-inner{width:100%;max-width:370px;margin:auto}
.login-mobile-brand{display:none}.login-secure-label{display:flex;align-items:center;gap:8px;margin-bottom:25px;color:#54716f;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.login-secure-label svg{width:16px;height:16px;fill:none;stroke:#378b76;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-form-panel h1{margin:0 0 8px;color:#122f46;font-size:clamp(30px,3.2vw,38px);font-weight:750;letter-spacing:-.045em}.login-intro{margin:0 0 34px;color:#71828d;font-size:14px}
.login-form label{display:block;margin:21px 0 8px;color:#314b5d;font-size:12px;font-weight:700;letter-spacing:.01em}.login-input-wrap{position:relative}.login-input-wrap>svg{position:absolute;top:50%;left:15px;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#7b909b;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.login-input-wrap input{display:block;width:100%;height:54px;padding:0 15px 0 45px;border:1px solid #dbe4e8;border-radius:11px;background:#fbfcfd;color:#173346;font-size:14px;transition:border-color .18s,box-shadow .18s,background .18s}.login-input-wrap input:hover{border-color:#afc1c7}.login-input-wrap input:focus{border-color:#358c7c;outline:0;background:#fff;box-shadow:0 0 0 4px rgba(53,140,124,.12)}
.login-submit{display:flex;width:100%;height:54px;align-items:center;justify-content:space-between;margin-top:29px;padding:0 18px 0 20px;border:0;border-radius:11px;background:linear-gradient(105deg,#12324a,#194b60);box-shadow:0 10px 22px rgba(18,50,74,.16);color:#fff;font-size:14px;font-weight:750;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}.login-submit:hover{transform:translateY(-1px);background:linear-gradient(105deg,#163e55,#1b625f);box-shadow:0 14px 25px rgba(18,50,74,.2)}.login-submit:active{transform:translateY(0)}.login-submit:focus-visible{outline:3px solid rgba(49,139,120,.45);outline-offset:3px}.login-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-signup{margin:23px 0 0;text-align:center}.login-signup a{display:inline-flex;align-items:center;gap:7px;color:#3d716d;font-size:13px;font-weight:650;text-decoration:none}.login-signup a:hover{color:#174d4d;text-decoration:underline}.login-signup svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-form-footer{display:flex;align-items:center;gap:8px;margin-top:35px;padding-top:18px;border-top:1px solid #edf1f2;color:#91a0a7;font-size:11px}.login-footer-lock svg{display:block;width:14px;height:14px;fill:none;stroke:#659185;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:850px){.login-page{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);min-height:540px;margin:0 auto 12px;border-radius:20px}.login-visual{padding:28px 26px 22px}.login-visual-copy{margin-top:36px}.login-visual-copy p{font-size:15px}.login-form-panel{padding:38px clamp(26px,5vw,48px)}.login-art{min-height:220px}.login-emblem-showcase{width:126px}.login-emblem-showcase img{width:92px;height:92px}}
@media(max-width:600px){.container:has(.login-page){min-height:calc(100dvh - 62px);padding:14px 12px 22px}.login-page{display:flex;min-height:0;flex-direction:column;margin:0 auto;border-radius:18px}.login-visual{min-height:125px;flex:0 0 125px;justify-content:center;padding:18px 22px}.login-visual-brand{font-size:12px}.login-brand-mark{width:36px;height:36px}.login-visual-copy{margin:13px 0 0 45px}.login-visual-copy p{font-size:12px;line-height:1.4}.login-art,.login-visual-footer{display:none}.login-form-panel{display:block;padding:25px 23px 22px;background:#fff}.login-form-inner{max-width:420px}.login-secure-label{margin-bottom:15px;font-size:10px}.login-form-panel h1{font-size:29px}.login-intro{margin-bottom:22px;font-size:13px}.login-form label{margin-top:17px}.login-input-wrap input{height:51px}.login-submit{height:51px;margin-top:24px}.login-form-footer{margin-top:24px;padding-top:14px}.login-signup{margin-top:19px}.topbar .brand{gap:8px;font-size:12px;letter-spacing:-.035em}.brand-mark{width:36px;height:36px;border-radius:11px}.topbar .brand small{font-size:8px}.topbar .lang-switch{max-width:142px;overflow-x:auto;scrollbar-width:none}.topbar .lang-switch::-webkit-scrollbar{display:none}.topbar .lang-btn{min-width:31px}}
@media(prefers-reduced-motion:reduce){.login-submit,.login-input-wrap input{transition:none}}

.transfer-mail-alert{display:grid;gap:4px;padding:13px 15px;border:1px solid #efd8d3;border-radius:12px;background:#fff7f5;color:#7c3f39;font-size:12px;line-height:1.5}.transfer-mail-alert strong{font-size:12px}.transfer-mail-alert span{color:#87534b}

/* Dashboard alignment pass: consistent columns, centered account/card surfaces and statement spacing. */
.dashboard{width:100%;max-width:1160px;margin:0 auto;gap:24px}
.dashboard-overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);align-items:stretch;gap:20px}
.balance-card{display:flex;min-width:0;flex-direction:column;justify-content:center;min-height:284px}
.balance-card .iban-line{margin-top:auto;padding-top:18px}
.dashboard-card-panel{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.section-heading h2,.section-heading p{margin-bottom:0}
.dashboard-card-panel .section-heading{margin-bottom:18px}
.mc-card-wrap{display:grid;place-items:center;width:100%;margin:0}
.mc-card{width:min(100%,440px);min-height:220px}
.accounts-panel,.quick-actions{width:100%;min-width:0}
.account-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));justify-content:center;gap:16px}
.account-tile{width:100%;min-height:184px;justify-content:center}
.quick-actions{padding:19px 21px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}
.quick-actions .section-heading{margin-bottom:12px}
.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.actions .btn{width:100%;min-width:0;min-height:48px}
.notice-card{width:100%;align-items:center}
.txs{width:100%;min-width:0;padding:24px}
.txs>h2{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.txs>table{display:table;width:100%;min-width:0;overflow:visible;border-collapse:separate;border-spacing:0}
.txs th,.txs td{padding:15px 18px}
.txs th:first-child,.txs td:first-child{padding-left:20px}
.txs th:last-child,.txs td:last-child{padding-right:20px}
.txs tbody tr{transition:background-color .16s ease}
@media(max-width:850px){.dashboard-overview{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:15px}.balance-card{min-height:270px}.dashboard-card-panel{padding:18px}}
@media(max-width:650px){.dashboard{gap:18px}.dashboard-overview{grid-template-columns:minmax(0,1fr);gap:14px}.balance-card{min-height:0;align-items:flex-start;padding:24px 20px}.balance-card .iban-line{margin-top:0;padding-top:15px}.dashboard-card-panel{padding:17px}.dashboard-card-panel .section-heading{align-items:center}.mc-card{width:min(100%,440px);min-height:205px}.accounts-panel{padding:0}.accounts-panel>.section-heading{align-items:flex-start}.account-grid{grid-template-columns:minmax(0,1fr);gap:10px}.account-tile{min-height:0;align-items:stretch;padding:17px}.quick-actions{padding:17px 14px}.actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.actions .btn{min-height:46px}.actions .btn:first-child{grid-column:auto}.actions .btn:last-child{grid-column:1/-1}.notice-card{padding:14px}.txs{padding:18px 14px}.txs>table{display:block;overflow-x:auto;min-width:0}.txs th,.txs td{padding:13px 12px;white-space:nowrap}.txs th:first-child,.txs td:first-child{padding-left:12px}.txs th:last-child,.txs td:last-child{padding-right:12px}}

/* Shared member-page layout refinements */
.kyc-card{max-width:760px;padding:clamp(24px,4vw,40px)}
.kyc-card>form{display:grid;gap:4px;width:100%;max-width:650px;margin:0 auto}
.kyc-card label{min-width:0;margin:13px 0}
.kyc-card input:not([type=checkbox]){width:100%;max-width:100%;min-width:0}
.kyc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.kyc-card .file-field input[type=file]{display:block;min-height:50px;padding:7px 9px;border:1px solid #d8e2e0;border-radius:11px;background:#f9fbfc;color:var(--muted);font-size:12px;line-height:34px}
.kyc-card input[type=file]::file-selector-button{min-height:34px;margin:0 12px 0 0;padding:0 13px;border:1px solid #d7e2e4;border-radius:8px;background:#fff;color:var(--brand);font:700 12px Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;vertical-align:middle;cursor:pointer}
.kyc-card .check{display:flex;align-items:flex-start;gap:11px;margin:17px 0 20px;line-height:1.55}
.kyc-card .check input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;}
.kyc-card form>button{width:min(100%,360px);justify-self:center}
.history-card{width:100%;max-width:1160px;margin:0 auto;padding:clamp(22px,3vw,34px)}
.history-heading{margin-bottom:21px}.history-heading h1{margin-bottom:7px}.history-heading p{margin:0}
.history-card .filters{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(160px,1fr)) auto;align-items:end;gap:11px;margin-bottom:20px}
.history-card .filters input,.history-card .filters select{width:100%;min-width:0;min-height:46px}
.history-card .filters button{min-width:112px;min-height:46px;padding-right:20px;padding-left:20px}
.history-table-scroll{border-radius:14px}
.history-table{width:100%;min-width:920px;table-layout:fixed}
.history-table th:nth-child(1){width:17%}.history-table th:nth-child(2){width:25%}.history-table th:nth-child(3){width:12%}.history-table th:nth-child(4){width:15%}.history-table th:nth-child(5){width:16%}.history-table th:nth-child(6){width:15%}
.history-table th,.history-table td{padding:15px 13px;overflow-wrap:normal}
.history-beneficiary strong,.history-beneficiary code{display:block;max-width:100%;overflow-wrap:anywhere}
.history-beneficiary code{margin-top:4px;color:var(--muted);font-size:11px}
.history-amount{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}
.history-reference{overflow-wrap:anywhere}
.profile-page{display:grid;width:100%;max-width:900px;margin:0 auto;gap:17px}
.profile-heading h1{margin:0 0 2px}
.profile-panel{min-width:0;padding:clamp(19px,3vw,27px);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}
.profile-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.profile-panel-heading h2{margin:0}
.profile-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0}
.profile-info>div{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);align-items:start;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.profile-info dt{color:var(--muted);font-size:13px;font-weight:600}
.profile-info dd{min-width:0;margin:0;color:var(--text);font-weight:650;overflow-wrap:anywhere}
.profile-form{width:100%;max-width:760px;margin:0 auto}
.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.profile-form label{display:block;min-width:0;margin:8px 0 16px;color:#3e5358;font-size:13px;font-weight:600}
.profile-form input,.profile-form select{display:block;width:100%;min-width:0;min-height:var(--tap);margin-top:7px;padding:11px 13px;border:1px solid #d8e2e0;border-radius:var(--radius-sm);background:#fff;color:var(--text);font:500 15px Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.profile-form input:focus,.profile-form select:focus{border-color:#5d9991;outline:none;box-shadow:0 0 0 4px rgba(61,111,146,.1)}
.profile-form-actions{display:flex;justify-content:flex-end;margin-top:3px}
.security-panel .twofa-block{margin:0;padding:17px 19px;border:1px solid #dcebe6;border-radius:13px;background:#f5faf8}
.security-panel .twofa-block p:last-child{margin:5px 0 0;line-height:1.7}
.password-section{margin-top:23px;padding-top:21px;border-top:1px solid var(--line)}
.password-section h3{margin:0 0 9px}
.topbar-authenticated{gap:14px}
.topbar-authenticated .lang-switch{flex:0 1 auto;margin-left:auto}
.topbar-authenticated .notif-bell{flex:0 0 42px;margin-left:5px}
.topbar-authenticated .profile-shortcut{flex:0 0 auto;margin-left:5px}
.lang-switch.has-overflow{position:relative;max-width:clamp(104px,20vw,250px);overflow-x:auto;scrollbar-width:none;mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 20px),transparent 100%)}
.lang-switch.has-overflow::-webkit-scrollbar{display:none}
.lang-switch.has-overflow.at-end{mask-image:none}
.mobile-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:4px}
.mobile-bottom-nav a{min-width:0;text-align:center}
@media(max-width:850px){.history-card .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.history-card .filters input[type=search]{grid-column:1/-1}.history-card .filters button{width:auto;min-width:120px}.profile-page{max-width:720px}}
@media(max-width:600px){.kyc-card{padding:22px 18px}.kyc-fields{grid-template-columns:minmax(0,1fr);gap:0}.kyc-card .check{align-items:flex-start}.history-card{padding:21px 15px}.history-card .filters{grid-template-columns:minmax(0,1fr);gap:9px;padding:12px}.history-card .filters input[type=search]{grid-column:auto}.history-card .filters button{width:auto;min-width:125px;justify-self:start}.history-table-scroll{overflow:visible;border:0;background:transparent}.history-table,.history-table tbody,.history-table tr,.history-table td{display:block;width:100%;min-width:0}.history-table{table-layout:auto}.history-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.history-table tbody{display:grid;gap:12px}.history-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;padding:12px 15px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow-sm)}.history-table td,.history-table th{padding:10px 0;border-bottom:1px solid #edf1f0;white-space:normal;text-align:left}.history-table td:last-child{border-bottom:0}.history-table td:before{display:block;margin-bottom:4px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.055em;text-transform:uppercase;content:attr(data-label)}.history-table .history-beneficiary,.history-table .history-reference{grid-column:1/-1}.history-table .history-amount{white-space:normal}.profile-page{gap:12px}.profile-panel{padding:19px 16px}.profile-panel-heading{align-items:flex-start}.profile-info{grid-template-columns:minmax(0,1fr)}.profile-info>div{grid-template-columns:minmax(95px,.7fr) minmax(0,1.3fr);gap:10px;padding:12px 0}.profile-form-grid{grid-template-columns:minmax(0,1fr);gap:0}.profile-form-actions{justify-content:stretch}.profile-form-actions .btn{width:100%}.topbar-authenticated{gap:7px}.topbar-authenticated .lang-switch{margin-left:auto}.topbar-authenticated .notif-bell{margin-left:0}.topbar-authenticated .profile-shortcut{margin-left:0}.mobile-bottom-nav{gap:2px}.mobile-bottom-nav a{min-height:49px;padding:3px 1px;font-size:9px}}

.nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;margin-left:auto;padding:0 6px;border-radius:999px;background:#c23b4b;color:#fff;font-size:11px;font-weight:800;line-height:1}.admin-nav a.active .nav-count{background:#fff;color:#a6293b}
.admin-page-heading{margin:2px 0 20px}.admin-page-heading h1{margin:8px 0}.admin-page-heading .eyebrow{color:var(--brand-2);font-size:10px;font-weight:800;letter-spacing:.14em}.translation-editor{max-width:920px;padding:clamp(17px,3vw,28px)}.translation-language{max-width:360px;margin:0 0 20px;padding:0;border:0;background:transparent;box-shadow:none}.translation-language label{flex:0 0 auto}.translation-language select{min-width:180px}.translation-fields{display:grid;gap:14px}.translation-field{display:grid;gap:7px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fbfcfd}.translation-field-label{font-weight:700;color:var(--brand)}.translation-field small{font-size:11px}.translation-field textarea{width:100%;min-height:66px;margin:0;resize:vertical}.translation-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:8px}.translation-actions p{max-width:560px;margin:0;font-size:12px}.template-editor .filters{margin-bottom:15px}.template-editor [name=template_style]{max-width:420px}.template-editor textarea[name=body_html]{min-height:260px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.65}.preview-box{overflow:hidden}.preview-box #previewContent{max-width:100%;padding:0;background:transparent}.preview-box #previewContent>div{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#f1f5f8}.preview-box #previewContent>div>html{display:block}.translation-field :focus-visible,.template-editor :focus-visible{outline:3px solid rgba(27,118,109,.35);outline-offset:2px}
.logout-form{display:flex;align-items:center;margin:0}.logout-form .logout-link{padding:6px 0;border:0;background:transparent;font:inherit;cursor:pointer}.admin-logout-form{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.admin-logout-form button{width:100%;min-height:40px;padding:8px 11px;border:1px solid #e7e8e5;border-radius:10px;background:#fff;color:#6d747a;text-align:left;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.admin-logout-form button:hover{border-color:#e3c9c9;background:#fff7f7;color:#9a3941}.admin-logout-form button:focus-visible,.logout-link:focus-visible{outline:3px solid rgba(27,118,109,.4);outline-offset:3px}
.translation-tools{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px 16px;margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f7f9fb}.translation-search{grid-column:1/-1;font-size:13px;font-weight:700}.translation-tools input[type=search]{width:100%;margin:0}.translation-tools .muted{font-size:12px}.translation-tools .btn{white-space:nowrap}.translation-field[hidden]{display:none!important}.translation-fields{max-height:72vh;overflow:auto;padding:2px 5px 2px 2px}.translation-field textarea{min-height:74px}.translation-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:14px 0 4px;z-index:2}@media(max-width:700px){.translation-tools{grid-template-columns:1fr}.translation-tools .btn{width:100%;white-space:normal}.translation-actions{align-items:stretch;flex-direction:column}.translation-actions .btn{width:100%}.translation-fields{max-height:none}}


/* Admin desktop workbench and centered mobile surfaces */
.admin{width:min(100%,1400px);margin-left:auto;margin-right:auto}
.admin-content{width:100%;min-width:0}
.admin-content>*{min-width:0}
.admin-content .card{width:100%;max-width:100%;min-width:0;margin-left:auto;margin-right:auto}
.template-workbench{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start;gap:20px}
.template-form,.template-workbench>.preview-box{min-width:0;margin:0}
.template-form{padding:clamp(18px,2.2vw,28px);border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.preview-box{min-width:0;padding:18px;border:1px solid var(--line);border-radius:18px;background:#f7f9fb}
.preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.preview-heading h3{overflow-wrap:anywhere;margin:5px 0 0;font-size:16px}
.preview-badge{flex:0 0 auto;padding:5px 9px;border:1px solid #dce7e6;border-radius:99px;background:#fff;color:#55706d;font-size:10px;font-weight:800;letter-spacing:.08em}
#previewFrame{display:block;width:100%;height:min(76vh,760px);min-height:440px;border:1px solid #dce5e8;border-radius:12px;background:#fff}
.invite-create-card,.invite-list-card{width:100%;max-width:none;margin:0 auto 18px}
.invite-create-card .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:16px}
.invite-create-card .row>*{min-width:0}
.invite-create-card .row small{display:block;margin-top:6px}
.invite-create-card .row>.btn{width:max-content;min-width:180px}
@media(max-width:1050px){.template-workbench{grid-template-columns:minmax(0,1fr)}#previewFrame{height:620px}}
@media(max-width:850px){.admin{width:100%;margin-left:auto;margin-right:auto}.admin-content{width:100%;min-width:0}.admin-content>.card,.invite-create-card,.invite-list-card{width:100%;margin-left:auto;margin-right:auto}.template-workbench{grid-template-columns:minmax(0,1fr)}.template-form,.template-workbench>.preview-box{width:100%;margin-left:auto;margin-right:auto}}
@media(max-width:600px){.invite-create-card,.invite-list-card{padding:19px 16px}.invite-create-card .row{grid-template-columns:minmax(0,1fr);gap:13px}.invite-create-card .row>.btn{width:100%;min-width:0}.template-form{padding:18px 15px}.preview-box{padding:14px}.preview-heading h3{font-size:14px}#previewFrame{height:70vh;min-height:400px}.admin-content>.card{border-radius:16px}}
.translation-history-panel,.template-history-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:15px;background:#f7f9fb}
.translation-history-panel h2,.template-history-panel h2{margin:4px 0;font-size:18px;color:var(--brand)}
.translation-history-panel p,.template-history-panel p{margin:0;font-size:12px}
.translation-history-controls,.template-history-form{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(220px,1fr) auto;align-items:end;gap:10px}
.translation-history-controls label,.template-history-form label{display:grid;gap:6px;font-size:12px;font-weight:700}
.translation-history-controls select,.translation-history-controls button,.template-history-form select,.template-history-form button{margin:0}
.translation-history-panel>label{font-size:12px;font-weight:700}
.translation-history-panel textarea{width:100%;margin:0;background:#fff}
@media(max-width:700px){.translation-history-controls,.template-history-form{grid-template-columns:minmax(0,1fr)}.translation-history-controls .btn,.template-history-form .btn{width:100%}}
.auth-status-wrap{width:min(100% - 32px,600px);margin:clamp(36px,9vh,100px) auto 64px}
.auth-status-card{display:grid;justify-items:start;gap:14px;padding:clamp(26px,5vw,44px);border:1px solid #e1e8ef;border-radius:24px;background:linear-gradient(145deg,#fff 0%,#fbfdff 100%);box-shadow:0 24px 70px rgba(16,43,70,.1)}
.auth-status-icon{display:grid;width:62px;height:62px;place-items:center;border-radius:20px;background:#eaf2f8;color:#173c5a}
.auth-status-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-status-icon.is-success{background:#e9f6ef;color:#16794c}.auth-status-icon.is-warning{background:#fff3df;color:#9a5a08}
.auth-status-eyebrow{margin:5px 0 0;color:#65778a;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.auth-status-card h1{margin:0;color:#102b46;font-size:clamp(25px,4vw,34px);line-height:1.2;letter-spacing:-.03em}
.auth-status-copy{max-width:48ch;margin:0 0 8px;color:#536477;line-height:1.75}
.auth-status-card .btn{min-height:48px;padding-inline:22px}
.auth-status-back{display:inline-flex;margin-top:5px;color:#315d79;font-size:14px;font-weight:700;text-decoration:none}
.auth-status-back:hover,.login-forgot a:hover{text-decoration:underline}
.auth-status-form{display:grid;width:100%;gap:10px;margin:4px 0 8px}
.auth-status-form label{margin-top:5px;color:#30465b;font-size:13px;font-weight:700}
.auth-status-form input{width:100%;min-height:48px;padding:12px 14px;border:1px solid #d7e0e9;border-radius:12px;background:#fff;color:#102b46;font:inherit}
.auth-status-form input:focus{border-color:#407b8d;outline:3px solid rgba(64,123,141,.14)}
.auth-status-form .btn{width:fit-content;margin-top:9px}
.auth-email-address{display:grid;gap:5px;width:100%;padding:14px 16px;border:1px solid #dce6ed;border-radius:13px;background:#f6f9fc;overflow-wrap:anywhere;color:#17334d}
.auth-email-address strong{color:#64778a;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.auth-status-steps{display:grid;gap:8px;width:100%;margin:0;padding-left:22px;color:#405569;line-height:1.6}
.auth-password-hint{color:#65778a;line-height:1.5}
.auth-inline-success{padding:12px 14px;border:1px solid #b8e0c8;border-radius:12px;background:#eff9f3;color:#17633e;line-height:1.55}
.login-forgot{margin:9px 0 18px;text-align:right;font-size:13px}.login-forgot a{color:#315d79;font-weight:700;text-decoration:none}
.signup-email-sent.auth-status-card{width:min(100% - 32px,680px);margin:clamp(36px,8vh,90px) auto;padding:clamp(26px,5vw,44px)}
@media(max-width:600px){.auth-status-wrap{width:min(100% - 24px,600px);margin:28px auto 40px}.auth-status-card{gap:12px;padding:24px 20px;border-radius:19px}.auth-status-form .btn{width:100%}.signup-email-sent.auth-status-card{width:calc(100% - 24px);margin:24px auto}}
