/* Tablets and computers: the same simple pages as phones, with the six pages in the top menu.
   Header order: Add (+) and logo on the left, the six pages in the middle, language/country and
   Settings on the right. Colors, fonts and amounts are unchanged from the phone pages.
   body.m-wide is set by gwp-m.js when the screen is wider than 760px. */

body.m-on.m-wide{padding-bottom:0}

/* Header stays at the top while scrolling, and the content sits in a centered column. */
body.m-wide .m-hd{position:sticky;top:0;z-index:50;padding:0 max(24px,calc((100% - 1112px)/2))}
body.m-wide .m-bar{display:flex;align-items:center;gap:16px;height:64px}
body.m-wide .m-bar h1{display:none}            /* the highlighted page in the menu already shows where you are */
body.m-wide .m-side{flex:none;gap:4px}
body.m-wide .m-ic:hover{background:rgba(255,255,255,.12)}
body.m-wide .m-bar .logo{display:flex;align-items:center;gap:8px;margin-inline-start:6px;color:#fff;text-decoration:none;font-weight:700;font-size:17px;white-space:nowrap}
body.m-wide .m-bar .logo svg{width:28px;height:28px;flex:none}
/* The header is always dark, so the logo always uses its dark-mode colours here (in light mode the wallet body was dark navy and disappeared). */
.m-bar .logo{--logo-fill:#edf3f7;--logo-hole:#06101b}

/* The six pages, in the middle of the header. */
body.m-on.m-wide #m-tabs{position:static;display:flex;flex:1;min-width:0;justify-content:center;gap:4px;padding:0;background:transparent;border:0;overflow:hidden}
body.m-on.m-wide #m-tabs a{flex:none;min-width:0;flex-direction:row;gap:8px;padding:9px 14px;border-radius:12px;color:rgba(255,255,255,.78);font-size:14px;white-space:nowrap}
body.m-on.m-wide #m-tabs a > :not(span){display:none}   /* names only in the top menu, no icons */
body.m-on.m-wide #m-tabs a:hover{background:rgba(255,255,255,.12);color:#fff}
body.m-on.m-wide #m-tabs a[aria-current="page"],
:root[data-theme="dark"] body.m-on.m-wide #m-tabs a[aria-current="page"]{background:#fff;color:#ee8b4f}
/* Not enough room (long languages, small laptops): names get tighter and the menu slides sideways; names always show. */
body.m-on.m-wide #m-tabs{overflow-x:auto;scrollbar-width:none;justify-content:safe center}
body.m-on.m-wide #m-tabs::-webkit-scrollbar{display:none}
body.m-on.m-wide #m-tabs.ic a{padding:8px 9px;font-size:13px}

/* Tabs and sort buttons under the header line up with the content column. */
body.m-wide .m-seg{margin-inline:0}

/* Page content: same cards, centered and a little wider. */
body.m-wide .m-body,
body.m-on.m-wide .view.on:not(.m-own) > .shell{max-width:1160px;margin-inline:auto;padding-inline:24px}
body.m-wide .m-body,
body.m-on.m-wide .view.on:not(.m-own) > .shell.app.mount{padding-top:20px;padding-bottom:48px}

/* Pop-up sheets (language, add, edit) open in the middle of the screen instead of from the bottom. */
body.m-wide .m-sheet-in{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(520px,calc(100% - 48px));border-radius:22px;max-height:84vh}

/* Page titles: the header shows the page menu instead of a title, so each page shows its own title,
   in the same font and size as the Today page. */
body.m-on.m-wide .view.on:not(.m-own) .page-head{margin:0 0 18px}
body.m-on.m-wide .view.on:not(.m-own) .page-head h1{display:block}
body.m-on.m-wide .view.on:not(.m-own) .page-head p{font-size:15px;margin-top:6px}

/* One straight left edge on every page: the + in the header, the tab line under it, the page title
   and the cards all start at the same line, inside the same 1112px column. */
body.m-wide .m-bar > .m-side:first-child{margin-inline-start:-13px}   /* + icon (not its button) sits on the edge */
body.m-wide .m-bar > .m-side.end{margin-inline-end:-13px}
body.m-on.m-wide .view.on .gw-page-head.shell{box-sizing:border-box;max-width:1160px;margin-inline:auto;padding-inline:24px}
body.m-on.m-wide .view.on > .shell{box-sizing:border-box}
/* Send Money title: same size and weight as every other page title. */
body.m-on .gw-remittance > h1{font-size:clamp(2rem,3vw,3rem);font-weight:750;line-height:1.15;margin:6px 0 12px;letter-spacing:-.02em}
/* Computer screens: the top menu and the tab line do the navigating, so no extra back arrow next to +. */
body.m-wide .m-bar [data-m-back]{display:none}
