/* NetCoin UI polish 20260630-clear-layout
   Shared across public sites: tighter spacing, single-line navigation, clearer cards, wider desktop/laptop width. */
:root{--nc-max:1360px;--nc-max-wide:1560px;--nc-gap:14px;--nc-gap-lg:18px;--nc-card-pad:16px;--nc-radius:16px;--nc-nav-h:36px}
html{scroll-behavior:smooth}body{letter-spacing:-.01em}body,.shell,.wrap{min-width:0}.shell,.wrap{width:100%;max-width:min(var(--nc-max),calc(100vw - 36px))!important;margin-left:auto!important;margin-right:auto!important;padding:22px 18px 64px!important}.topbar{display:block!important;margin-bottom:18px!important}.brand{margin-bottom:12px!important}.brand small{font-size:12px!important;line-height:1.25!important;opacity:.9}.logo{flex:0 0 auto!important}.site-nav{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;margin:0 0 16px!important;padding:0 0 8px!important;scrollbar-width:thin}.site-nav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;flex:0 0 auto!important;min-height:var(--nc-nav-h)!important;padding:8px 12px!important;font-size:13px!important;line-height:1!important;border-radius:999px!important}.hero,.dashboard-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,340px)!important;gap:var(--nc-gap)!important;margin-bottom:var(--nc-gap)!important;align-items:start!important}.hero h1{font-size:clamp(30px,4.4vw,48px)!important;line-height:1.04!important;margin:0 0 10px!important;letter-spacing:-.035em!important}.hero p{font-size:16px!important;line-height:1.45!important;margin:0 0 12px!important;max-width:70ch}.card{padding:var(--nc-card-pad)!important;border-radius:var(--nc-radius)!important;margin-bottom:var(--nc-gap)!important;min-height:0!important;box-shadow:0 10px 32px rgba(0,0,0,.14)!important}.card h2{font-size:13px!important;text-transform:uppercase!important;letter-spacing:.09em!important;margin:0 0 10px!important}.card h3{margin-top:0!important}.card p{margin-top:0}.muted{line-height:1.45!important;max-width:72ch!important}.grid,.dashboard-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:var(--nc-gap)!important;margin-bottom:var(--nc-gap)!important}.split{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--nc-gap)!important;margin-bottom:var(--nc-gap)!important}.stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;gap:10px!important}.stat{padding:12px!important;border-radius:14px!important}.stat .v{font-size:20px!important}.stat .k{line-height:1.2!important}.actions{gap:8px!important}.actions a,.actions button{min-width:0!important;padding:9px 12px!important;border-radius:10px!important}.pill{padding:5px 9px!important;font-size:12px!important;line-height:1.15!important}.row{gap:10px!important}label{margin:9px 0 4px!important}input,textarea,select,button{padding:10px 11px!important;border-radius:10px!important}textarea{min-height:76px!important}pre{max-height:220px!important;overflow:auto!important;padding:12px!important;border-radius:12px!important;font-size:13px!important;line-height:1.4!important}.feed{max-height:420px!important}.biglink{min-height:0!important;padding:14px!important;border-radius:14px!important;margin-bottom:10px!important}.biglink b{font-size:16px!important}.biglink span{line-height:1.35!important;display:block!important}.footer{margin-top:18px!important}.section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.section-head h2{margin:0!important}.mini-grid{gap:8px!important}.checkout-box{min-height:0!important}.lead,.stats-card{min-height:0!important;align-self:start!important}.notice,.warn{padding:10px 12px!important}.security-summary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important;margin-bottom:10px!important}.security-item,.security-metric{border:1px solid var(--line,var(--bd,#263244))!important;border-radius:14px!important;padding:12px!important;background:rgba(0,0,0,.18)!important}.security-item b,.security-metric b{display:block!important;font-size:12px!important;color:var(--mut,#9aa7b5)!important;margin-bottom:4px!important}.security-item span,.security-metric span{font-weight:800!important}.security-details,.raw-details{margin-top:10px!important}.security-details summary,.raw-details summary{cursor:pointer!important;color:var(--mut,#9aa7b5)!important;font-size:13px!important;font-weight:700!important}
/* Wallet-specific polish. */
.wallet-tabs{position:static!important;background:transparent!important;border-bottom:1px solid var(--bd,#222a36)!important;padding:0 0 10px!important;margin:10px 0 14px!important;display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important}.wallet-tabs button{white-space:nowrap!important;flex:0 0 auto!important;min-height:38px!important;padding:9px 12px!important;border-radius:10px!important;font-weight:700!important}.statusbar{padding:10px 12px!important;border-radius:12px!important;background:#10151d!important}.bal{font-size:30px!important}.mode-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;gap:8px!important;max-width:560px!important}.section-links{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}.wallet-section.active-section{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;gap:14px!important;align-items:start!important;max-width:1320px!important}.wallet-section.active-section>.card{margin-bottom:0!important}.wallet-section.active-section>.card:first-child{grid-column:auto!important}.wallet-section[data-wallet-tab="settings"].active-section,.wallet-section[data-wallet-tab="send"].active-section{grid-template-columns:1fr!important;max-width:980px!important}.wallet-section[data-wallet-tab="receive"].active-section{grid-template-columns:minmax(0,1fr) minmax(280px,360px)!important}.review{padding:12px!important}.kv{grid-template-columns:96px 1fr!important}#btnLock{max-width:260px!important;margin-top:14px!important}
@media (min-width:1180px){.shell,.wrap{max-width:min(var(--nc-max-wide),calc(100vw - 64px))!important;padding-left:32px!important;padding-right:32px!important}.hero,.dashboard-hero{grid-template-columns:minmax(0,1fr) 380px!important}.grid,.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}.split{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wallet-section[data-wallet-tab="overview"].active-section,.wallet-section[data-wallet-tab="reports"].active-section,.wallet-section[data-wallet-tab="advanced"].active-section{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:1360px!important}}
/* Wider desktop pass */
@media (min-width:1440px){.shell,.wrap{max-width:min(1560px,calc(100vw - 80px))!important}.hero,.dashboard-hero{grid-template-columns:minmax(0,1fr) 420px!important}.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.grid,.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important}.wallet-section.active-section{max-width:1440px!important}}
@media (max-width:860px){.shell,.wrap{max-width:100%!important;padding:16px 14px 56px!important}.hero,.dashboard-hero,.split{grid-template-columns:1fr!important}.brand{margin-bottom:10px!important}.card{padding:15px!important}.grid,.dashboard-grid{grid-template-columns:1fr!important}.site-nav{margin-bottom:14px!important}.row{display:block!important}.row>*{margin-bottom:8px!important}.actions a,.actions button{width:auto!important;min-width:0!important}.section-head{align-items:flex-start!important}.wallet-section.active-section,.wallet-section[data-wallet-tab="receive"].active-section,.wallet-section[data-wallet-tab="send"].active-section{grid-template-columns:1fr!important;max-width:none!important}.kv{grid-template-columns:1fr!important}.kv .k{margin-top:6px!important}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
