:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; } html { scroll-behavior: smooth; }
body.global-debt-body { min-width: 320px; margin: 0; color: #17272a; background: #3a4142 url('/usdebt-background.avif') center top / cover fixed no-repeat; }
.portfolio-header { display: flex; align-items: center; gap: 26px; min-height: 74px; padding: 10px max(18px, calc((100% - 1500px) / 2)); border-bottom: 1px solid #303944; background: #12161d; color: #f8fafc; }.portfolio-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #fff; font-size: 21px; text-decoration: none; }.portfolio-brand span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 9px; background: #eb1749; font-weight: 900; }.portfolio-brand strong { font-weight: 800; }.portfolio-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }.portfolio-menu > a, .portfolio-menu summary { display: inline-flex; min-height: 34px; align-items: center; padding: 7px 11px; border: 1px solid #303946; border-radius: 18px; color: #f5f7fa; background: #1a2029; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; list-style: none; }.portfolio-menu summary::-webkit-details-marker { display: none; }.portfolio-menu > a:hover, .portfolio-menu > a.active, .portfolio-menu summary:hover { border-color: #df294f; background: #2b2229; }.portfolio-menu details { position: relative; }.portfolio-menu details > div { position: absolute; z-index: 10; top: calc(100% + 6px); left: 0; min-width: 160px; padding: 6px; border: 1px solid #3b4653; border-radius: 6px; background: #171d26; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }.portfolio-menu details a { display: block; padding: 8px; color: #fff; font-size: 13px; text-decoration: none; }.portfolio-menu details a:hover { background: #29323d; }
.global-debt-app { width: min(1500px, 100%); margin: 0 auto; padding: 14px; }.debt-masthead { position: relative; overflow: hidden; padding: 13px 24px 14px; border: 3px solid #565b5d; border-radius: 16px; outline: 2px solid #d7d4cb; background: linear-gradient(#f9fbf8 0 20%, #dedbd3 22% 28%, #f5f4ee 31% 72%, #b5b6b0 76%, #f2f2ef 82%); box-shadow: inset 0 0 0 3px #8a8a85, 0 4px 0 rgba(21, 27, 28, .85); text-align: center; }.debt-masthead::before, .debt-masthead::after { content: ''; position: absolute; top: 0; bottom: 0; width: 16%; opacity: .35; background: repeating-linear-gradient(0deg, transparent 0 5px, #a7662c 6px 8px, #777 9px 11px); }.debt-masthead::before { left: 0; }.debt-masthead::after { right: 0; }.debt-masthead p, .debt-masthead h1, .debt-masthead small { position: relative; z-index: 1; }.debt-masthead p { margin: 0; color: #56605e; font-size: 11px; font-weight: 800; text-transform: uppercase; }.debt-masthead h1 { display: inline-block; margin: 2px 0; padding: 3px 25px; border: 2px solid #68716f; border-radius: 8px; background: rgba(255,255,255,.76); color: #07643d; font-family: Georgia, serif; font-size: clamp(24px, 3.2vw, 43px); line-height: 1.08; text-shadow: 1px 1px 0 #fff; }.debt-masthead small { display: block; color: #3e514d; font-size: 11px; font-weight: 700; }.debt-masthead i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #19a65b; box-shadow: 0 0 0 3px rgba(25,166,91,.2); }
.region-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 12px 0; }.region-nav a { padding: 7px 13px; border: 2px solid #717b7a; border-radius: 5px; background: #f6f7f3; box-shadow: inset 0 0 0 1px #fff, 0 2px 0 #202526; color: #193d3c; font-size: 13px; font-weight: 800; text-decoration: none; }.region-nav a:hover { color: #b51428; }.debt-ad { min-height: 0; margin: 10px auto; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,.35); }.debt-region { margin: 13px 0; padding: 8px; border: 3px solid #535959; border-radius: 13px; background: rgba(245, 246, 241, .9); box-shadow: inset 0 0 0 2px #deded8, 0 4px 0 rgba(18,23,24,.85); }.region-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 2px 8px 7px; border-bottom: 2px solid #a5763b; }.region-heading h2, .region-heading p { margin: 0; }.region-heading h2 { color: #133f42; font-size: 20px; }.region-heading p { color: #596866; font-size: 11px; font-weight: 700; }
.country-list { display: grid; gap: 6px; margin-top: 7px; }.country-row { display: grid; grid-template-columns: minmax(175px, 1.05fr) minmax(176px, 1.25fr) minmax(176px, 1.25fr) repeat(3, minmax(112px, .8fr)); align-items: center; gap: 7px; min-height: 72px; padding: 7px 10px; border: 3px solid #6f7272; border-radius: 13px; background: linear-gradient(90deg, #ebebe7, #fff 24%, #ecece9 75%, #f8f8f4); box-shadow: inset 0 0 0 2px #fff, 0 2px 0 #292d2d; }.country-row-link { color: inherit; text-decoration: none; border-color: #a81628; }.country-row-link:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 2px #fff, 0 3px 0 #a81628; }.country-name { display: grid; grid-template-columns: 41px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 8px; min-width: 0; }.country-name .flag { grid-row: span 2; font-size: 30px; }.country-name strong { overflow: hidden; color: #1b2425; font-family: Georgia, serif; font-size: clamp(18px, 1.65vw, 27px); text-overflow: ellipsis; white-space: nowrap; }.country-name small { color: #477f87; font-family: Georgia, serif; font-size: 12px; font-weight: 700; }.country-name small b { color: #5c6462; font-family: Arial, Helvetica, sans-serif; font-size: 9px; letter-spacing: .4px; text-transform: uppercase; }
.metric { min-width: 0; padding: 2px 6px 5px; border: 2px solid #777b7b; border-radius: 10px; background: linear-gradient(#fff, #f5f5f3 72%, #c4c5c1); box-shadow: inset 0 0 0 1px #fff, inset 0 -2px 0 #a6a7a4; text-align: center; }.metric b { display: inline-block; margin: -13px 0 1px; padding: 2px 7px; border: 1px solid #b81f2f; border-radius: 5px; background: #d81d32; color: #fff; font-size: 10px; letter-spacing: .25px; line-height: 1.1; text-transform: uppercase; }.metric strong { display: block; overflow: hidden; color: #e51a28; font-size: clamp(12px, 1vw, 16px); font-variant-numeric: tabular-nums; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }.metric.gdp b { border-color: #086b46; background: #08764d; }.metric.gdp strong { color: #087033; }.metric.ratio strong { color: #e51a28; font-size: clamp(18px, 1.65vw, 23px); }.metric.arrival { border-color: #e1a7a0; background: #fffaf8; }.metric.arrival b { border-color: #c14e45; background: #b85a51; font-size: 8px; }.metric.arrival small { display: block; color: #925c55; font-size: 8px; font-weight: 700; line-height: 1.05; text-transform: uppercase; }.metric.arrival strong { color: #df2518; font-size: clamp(13px, 1.1vw, 18px); }.global-debt-footer { margin: 14px 0 4px; padding: 10px; border: 2px solid #5d6b68; border-radius: 6px; background: rgba(246,247,242,.85); color: #354845; font-size: 11px; font-weight: 700; text-align: center; }
@media (max-width: 1120px) { .country-row { grid-template-columns: minmax(160px, 1.1fr) repeat(2, minmax(150px, 1.25fr)) repeat(3, minmax(100px, .8fr)); }.country-name strong { font-size: 21px; } }
@media (max-width: 760px) { .portfolio-header { align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px 14px; }.portfolio-menu { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }.portfolio-menu > a, .portfolio-menu summary { flex: 0 0 auto; }.global-debt-app { padding: 8px; }.debt-masthead { padding: 10px; border-radius: 10px; }.debt-masthead h1 { padding: 3px 12px; font-size: 28px; }.debt-masthead::before, .debt-masthead::after { width: 24%; }.region-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }.region-nav a { flex: 0 0 auto; }.debt-region { padding: 6px; border-radius: 9px; }.region-heading p { display: none; }.country-row { grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; padding: 11px 7px 8px; border-radius: 9px; }.country-name { grid-column: 1 / -1; }.metric { min-height: 50px; }.metric b { font-size: 8px; }.metric strong { font-size: 18px; }.metric.ratio strong { font-size: 17px; } }
