/* Compact customer presentation. No admin, authentication, payment or PIN rules. */
body.wc3-app .wc3-main{padding-block-start:14px}
body.wc3-app .wc3-page-heading{margin-block-end:12px;gap:10px}
body.wc3-app .wc3-page-heading h1{font-size:23px}
body.wc3-app .wc3-page-heading p{margin-block-start:3px}
body.wc3-app .wc3-section-heading{margin-block-end:8px}
body.wc3-app:is(.wc3-route-profile,.wc3-route-devices,.wc3-route-notifications,.wc3-route-receive,.wc3-route-cards,.wc3-route-card-funding) :is(.content,.w12-main,.cf-main){padding-block-start:10px!important}
body.wc3-app.wc3-route-profile .profile{padding:12px!important;margin-bottom:8px!important}
body.wc3-app.wc3-route-profile .row{min-height:52px!important;padding-block:7px!important}
body.wc3-app.wc3-route-profile .content>.glass{margin-block:8px!important;padding:10px 12px!important}
body.wc3-app.wc3-route-profile .balance{padding-top:8px!important;margin-top:8px!important}
body.wc3-app.wc3-route-notifications :is(.group-label,.filters){margin-block:8px!important}
body.wc3-app.wc3-route-notifications .summary{min-height:60px;padding:10px!important}
body.wc3-app.wc3-route-devices .w12-session{min-height:60px;padding-block:8px}
body.wc3-app.wc3-route-receive .w12-row{min-height:48px;padding-block:6px!important}
body.wc3-app.wc3-route-card-funding :is(.cf-intro,.cf-route){margin-block:8px!important}
body.wc3-app.wc3-route-card-funding .cf-route-card{min-height:64px!important;padding:10px!important}

/* Home keeps every service visible; the existing live balance and links stay intact. */
body.wc3-app.wc3-route-dashboard.wcc-home>.app{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
body.wc3-app.wc3-route-dashboard.wcc-home .content{flex:0 0 auto!important;overflow:visible!important;padding:10px 14px 8px!important;margin-bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
body.wc3-app.wc3-route-dashboard.wcc-home .hero{padding:12px!important;border-radius:18px!important}
body.wc3-app.wc3-route-dashboard.wcc-home .hero-top{gap:8px}
body.wc3-app.wc3-route-dashboard.wcc-home .total{font-size:27px!important}
body.wc3-app.wc3-route-dashboard.wcc-home .accounts{margin-top:7px!important;padding-top:7px!important;gap:10px}
body.wc3-app.wc3-route-dashboard.wcc-home .account .amt{font-size:18px!important;margin-top:2px!important}
body.wc3-app.wc3-route-dashboard.wcc-home .hero-buttons{margin-top:8px!important;gap:8px}
body.wc3-app.wc3-route-dashboard.wcc-home .hero-heading{line-height:1.4}
body.wc3-app.wc3-route-dashboard.wcc-home .wc3-services{margin-block:8px}
body.wc3-app.wc3-route-dashboard.wcc-home .wc3-section-heading{min-height:30px;margin:0 0 4px}
body.wc3-app.wc3-route-dashboard.wcc-home .quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important}
body.wc3-app.wc3-route-dashboard.wcc-home .quick-item{min-height:62px!important;padding:7px 3px!important;gap:4px!important}
body.wc3-app.wc3-route-dashboard.wcc-home .qicon,body.wc3-app.wc3-route-dashboard.wcc-home .qicon svg{width:24px!important;height:24px!important;flex-basis:24px!important}
body.wc3-app.wc3-route-dashboard.wcc-home .quick-item>span:last-child{font-size:12px!important}
body.wc3-app.wc3-route-dashboard.wcc-home .promo-wrap{margin:8px 0!important}
body.wc3-app.wc3-route-dashboard.wcc-home .promo{height:auto!important;min-height:56px!important;padding:8px!important}
body.wc3-app.wc3-route-dashboard.wcc-home .promo-copy b{white-space:normal!important}
body.wc3-app.wc3-route-dashboard.wcc-home .promo-copy>span{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
body.wc3-app.wc3-route-dashboard.wcc-home .promo-art{height:38px;width:38px}
body.wc3-app.wc3-route-dashboard.wcc-home .promo-art svg{height:38px;width:38px}
body.wc3-app.wc3-route-dashboard.wcc-home .tx-head{margin:8px 0!important}
body.wc3-app.wc3-route-dashboard.wcc-home .txbox>.tx{padding:9px!important;min-height:58px!important}
body.wc3-app.wc3-route-dashboard.wcc-home [hidden],body.wc3-app.wc3-route-dashboard.wcc-home .quick>.quick-item[hidden]{display:none!important}
@media(max-height:680px) and (max-width:760px){
 body.wc3-app.wc3-route-dashboard.wcc-home .wc3-topbar-inner{min-height:50px;padding-block:3px}
 body.wc3-app.wc3-route-dashboard.wcc-home .wc3-brand img{height:36px}
 body.wc3-app.wc3-route-dashboard.wcc-home .hero{padding:9px!important}
 body.wc3-app.wc3-route-dashboard.wcc-home .accounts{padding-top:5px!important;margin-top:5px!important}
 body.wc3-app.wc3-route-dashboard.wcc-home .hero-buttons{margin-top:5px!important}
 body.wc3-app.wc3-route-dashboard.wcc-home .content{padding-top:7px!important}
 body.wc3-app.wc3-route-dashboard.wcc-home .quick-item{min-height:56px!important}
}
/* At large text/zoom, preserve reachability rather than crop controls. */

/* The service glyphs remain orange even under legacy dashboard icon rules. */
body.wc3-app.wc3-route-dashboard.wcc-home .quick .qicon{color:#ff914d!important;background:none!important;border:0!important;box-shadow:none!important}
body.wc3-app.wc3-route-dashboard.wcc-home .quick .qicon svg{color:#ff914d!important;stroke:#ff914d!important;fill:none!important;filter:none!important;background:none!important;box-shadow:none!important}
@media(max-width:400px){body.wc3-app.wc3-route-dashboard.wcc-home .quick-item{padding:6px 3px!important;gap:4px!important;min-height:56px!important}body.wc3-app.wc3-route-dashboard.wcc-home .quick-item>span:last-child{font-size:12px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere}}

/* Familiar glass tiles, with the full service set in the initial document. */
body.wc3-app.wc3-route-dashboard.wcc-home .quick>.quick-item{flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:68px!important;border-radius:16px!important;background:linear-gradient(135deg,#ffffff10,#ffffff04)!important;border:1px solid #ffffff25!important;box-shadow:inset 0 1px #ffffff0a!important}
body.wc3-app.wc3-route-dashboard.wcc-home .quick>.quick-item>span:last-child{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:center!important}
@media(min-width:1000px){body.wc3-app.wc3-route-dashboard.wcc-home .quick{grid-template-columns:repeat(9,minmax(0,1fr))!important}body.wc3-app.wc3-route-dashboard.wcc-home .quick>.quick-item{min-height:92px!important;padding:10px 5px!important;gap:8px!important}}
@media(max-width:400px){body.wc3-app.wc3-route-dashboard.wcc-home .quick>.quick-item{min-height:62px!important;padding:6px 3px!important}}

/* A compound field has a single focus indicator around its input and adornments. */
@supports selector(:has(> input:focus-visible)) {
  body.wc3-app.wc3-route-transfer-user .tu-amount:has(> input:focus-visible:not([aria-invalid="true"])),
  body.wc3-app.gateway-page .gw-funds .gw-amount:has(> input:focus-visible:not([aria-invalid="true"])),
  body.wc3-app.wc3-route-global-transfer .gt-search:has(> input:focus-visible:not([aria-invalid="true"])) {
    border-color: #ffffff30;
    outline: 2px solid #a6c3e0;
    outline-offset: 2px;
    box-shadow: none;
  }

  body.wc3-app.wc3-route-transfer-user .tu-amount > input:focus-visible:not([aria-invalid="true"]),
  body.wc3-app.gateway-page .gw-funds .gw-amount > input:focus-visible:not([aria-invalid="true"]),
  body.wc3-app.wc3-route-global-transfer .gt-search > input:focus-visible:not([aria-invalid="true"]) {
    outline: none;
    box-shadow: none;
  }
}

body.wc3-app.wc3-route-transfer-user .tu-amount > #ws-amount,
body.wc3-app.gateway-page .gw-funds .gw-amount > input[name="amount"][inputmode="decimal"],
body.wc3-app.wc3-route-global-transfer .gt-search > #gt-country-search {
  background-color: transparent !important;
}

/* Keep controls reached by keyboard outside the fixed dock's footprint. */
html:has(> body.wc3-app.wc3-nav-installed:not([data-wc3-keyboard="open"])) {
  scroll-padding-block-end: calc(86px + env(safe-area-inset-bottom, 0px));
}

/* Keep the country field and its icon inside one accessible focus indicator. */
body.wc3-app.wc3-route-electronic-deposit .country-picker .search > #countrySearch {
  background-color: transparent !important;
}

@supports selector(:has(> input:focus-visible)) {
  body.wc3-app.wc3-route-electronic-deposit .country-picker .search:has(> #countrySearch:focus-visible) {
    border-color: #ffffff30;
    outline: 2px solid #a6c3e0;
    outline-offset: 2px;
  }

  body.wc3-app.wc3-route-electronic-deposit .country-picker .search > #countrySearch:focus-visible {
    outline: none;
  }
}
