.kojo-ce{--ce-accent:#176a80;--ce-border:#dce4e8;--ce-ink:#182832;--ce-muted:#586873;max-width:1100px;margin:24px auto;color:var(--ce-ink);font-family:inherit;line-height:1.55}.kojo-ce *{box-sizing:border-box}.kojo-ce h2,.kojo-ce h3{margin:0 0 10px;line-height:1.25}.kojo-ce .ce-hero{padding:30px;border:1px solid var(--ce-border);border-radius:16px;background:#f5f9fa}.kojo-ce .ce-eyebrow{font-size:12px;letter-spacing:.11em;font-weight:700;color:var(--ce-accent)}.kojo-ce .ce-hero h2{font-size:clamp(26px,4vw,38px);margin:7px 0}.kojo-ce .ce-muted{color:var(--ce-muted);font-size:14px}.kojo-ce .ce-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.kojo-ce button,.kojo-ce select,.kojo-ce input{font:inherit}.kojo-ce .ce-tabs button{background:white;border:1px solid var(--ce-border);border-radius:9px;padding:10px 14px;color:var(--ce-ink);cursor:pointer}.kojo-ce .ce-tabs button[aria-selected=true]{background:var(--ce-accent);color:white;border-color:var(--ce-accent)}.kojo-ce .ce-panel{border:1px solid var(--ce-border);border-radius:15px;padding:24px;background:white}.kojo-ce .ce-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kojo-ce label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.kojo-ce select,.kojo-ce input{width:100%;border:1px solid #bbcbd2;border-radius:8px;padding:11px;background:#fff;color:#182832}.kojo-ce .ce-stat{background:#f5f8fa;border:1px solid var(--ce-border);padding:14px;border-radius:10px}.kojo-ce .ce-stat strong{display:block;font-size:18px}.kojo-ce .ce-table-wrap{overflow-x:auto;margin-top:18px}.kojo-ce table{border-collapse:collapse;width:100%;min-width:450px}.kojo-ce th,.kojo-ce td{text-align:left;padding:12px;border-bottom:1px solid var(--ce-border)}.kojo-ce th{background:#f5f8fa}.kojo-ce .ce-note{font-size:12px;color:var(--ce-muted);margin-top:18px}.kojo-ce .ce-button{display:inline-block;border:0;border-radius:8px;background:var(--ce-accent);color:white!important;padding:10px 14px;text-decoration:none!important;cursor:pointer}.kojo-ce .ce-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.kojo-ce .ce-rank{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--ce-border)}.kojo-ce .ce-rank span:last-child{font-variant-numeric:tabular-nums;font-weight:700}.kojo-ce .ce-empty{padding:16px;background:#f5f8fa;border-radius:8px}.kojo-ce .ce-highlight{font-size:24px;font-weight:800;color:var(--ce-accent)}@media(max-width:600px){.kojo-ce .ce-grid{grid-template-columns:1fr}.kojo-ce .ce-panel,.kojo-ce .ce-hero{padding:17px}.kojo-ce .ce-tabs button{flex:1 1 43%;font-size:13px}}

/* Country comparison v1.1 */
.kojo-ce .ce-hero{padding:15px 20px;background:#f7fafb}.kojo-ce .ce-hero .ce-muted{font-size:15px}.kojo-ce .ce-country-control input{margin-bottom:8px}.kojo-ce .ce-control-actions{grid-column:1/-1}.kojo-ce .ce-swap{background:#fff;border:1px solid var(--ce-border);border-radius:8px;padding:9px 14px;color:var(--ce-accent);cursor:pointer;font-weight:700}.kojo-ce .ce-comparison{margin-top:20px}.kojo-ce .ce-comparison-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;border:1px solid var(--ce-border);border-radius:12px;padding:15px;background:#f8fbfc}.kojo-ce .ce-comparison-head>div{display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;flex-wrap:wrap}.kojo-ce .ce-flag{font-size:28px;line-height:1}.kojo-ce .ce-vs{font-size:12px;font-weight:800;color:#62717a}.kojo-ce .ce-area-section{padding:20px 0 10px}.kojo-ce .ce-area-section h3{font-size:19px}.kojo-ce .ce-area-item{margin:16px 0}.kojo-ce .ce-area-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:14px}.kojo-ce .ce-area-label strong{font-variant-numeric:tabular-nums}.kojo-ce .ce-track{background:#e7eff2;height:13px;border-radius:20px;overflow:hidden}.kojo-ce .ce-fill{background:#176a80;height:100%;border-radius:20px}.kojo-ce .ce-insight{background:#eff6f8;border-left:3px solid var(--ce-accent);padding:14px 17px;border-radius:5px;margin:14px 0}.kojo-ce .ce-insight p{margin:5px 0 0}.kojo-ce .ce-data-caveat{font-size:12px;color:#65747d;line-height:1.6;margin:15px 0 0}.kojo-ce .ce-table-wrap table{min-width:400px}.kojo-ce .ce-table-wrap td:first-child{font-weight:600}.kojo-ce .ce-table-wrap tr:nth-child(even) td{background:#f7f9fa}@media(max-width:600px){.kojo-ce .ce-comparison-head{gap:5px;padding:10px}.kojo-ce .ce-comparison-head strong{font-size:13px}.kojo-ce .ce-flag{font-size:22px}}

/* Country comparison v1.2 */
.kojo-ce .ce-country-control input{margin-bottom:0}.kojo-ce .ce-control-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kojo-ce .ce-copy-feedback{font-size:13px;color:#176a80}.kojo-ce .ce-shapes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0 24px}.kojo-ce .ce-size-shape{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px;border:1px solid var(--ce-border);border-radius:12px;background:#f8fbfc}.kojo-ce .ce-size-shape svg{width:100%;max-width:190px;height:160px}.kojo-ce .ce-size-shape span{font-size:13px;color:var(--ce-muted)}@media(max-width:600px){.kojo-ce .ce-shapes{gap:8px}.kojo-ce .ce-size-shape{padding:6px}.kojo-ce .ce-size-shape svg{height:120px}}

/* Accessible custom country chooser: arrow shows every country, typing filters. */
.kojo-ce .ce-combobox{position:relative;min-width:0}
.kojo-ce .ce-combo-input{position:relative}
.kojo-ce .ce-combo-input input{width:100%;padding-right:45px;box-sizing:border-box}
.kojo-ce .ce-combo-arrow{position:absolute;right:2px;top:2px;bottom:2px;width:40px;border:0;background:transparent;color:#176a80;font-size:21px;cursor:pointer}
.kojo-ce .ce-combo-list{position:absolute;top:100%;left:0;right:0;max-height:265px;overflow-y:auto;background:#fff;border:1px solid #b9cbd3;border-radius:6px;box-shadow:0 8px 22px rgba(0,0,0,.14);z-index:9999;margin-top:3px}
.kojo-ce .ce-combo-list[hidden]{display:none}
.kojo-ce .ce-combo-list button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:9px 12px;color:#1a2930;font:inherit;cursor:pointer}
.kojo-ce .ce-combo-list button:hover,.kojo-ce .ce-combo-list button.ce-active{background:#e7f2f5}
.kojo-ce .ce-no-results{padding:12px;color:#647781}

/* Rankings v1.4 */
.kojo-ce .ce-rank-intro{margin:22px 0 15px}.kojo-ce .ce-rank-intro p{margin:4px 0}.kojo-ce .ce-rank-table{border:1px solid var(--ce-border);border-radius:12px;overflow:hidden}.kojo-ce .ce-rank-heading{display:flex;justify-content:space-between;background:#f4f8fa;padding:12px 16px;font-size:13px;font-weight:700}.kojo-ce .ce-rank-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 15px;padding:13px 16px;border-top:1px solid var(--ce-border);align-items:center}.kojo-ce .ce-rank-country{display:flex;gap:13px;align-items:center;min-width:0}.kojo-ce .ce-rank-num{display:inline-flex;justify-content:center;align-items:center;flex:0 0 30px;height:30px;border-radius:8px;background:#edf3f5;font-size:12px;font-weight:700}.kojo-ce .ce-rank-value{font-weight:700;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.kojo-ce .ce-rank-meter{grid-column:1/-1;background:#e8f0f3;border-radius:20px;height:7px;overflow:hidden}.kojo-ce .ce-rank-meter span{display:block;background:#176a80;height:100%;border-radius:20px}.kojo-ce .ce-rank-entry:hover{background:#f9fcfd}@media(max-width:600px){.kojo-ce .ce-rank-entry{padding:11px 10px;gap:6px}.kojo-ce .ce-rank-value{font-size:12px}}

/* v1.4.1: Hueman-safe consistent ranking form controls */
.kojo-ce .ce-rank-controls input[type="search"],
.kojo-ce .ce-rank-controls select {
  display:block; width:100%; height:48px; min-height:48px; max-height:48px;
  margin:0; padding:0 12px; border:1px solid #bbcbd2; border-radius:7px;
  background-color:#fff; color:#182832; font:inherit; font-size:16px;
  line-height:normal; box-sizing:border-box; box-shadow:none;
}
.kojo-ce .ce-rank-controls input[type="search"] { -webkit-appearance:none; appearance:none; }
.kojo-ce .ce-rank-controls input[type="search"]::-webkit-search-decoration { -webkit-appearance:none; }

/* Geography Explorer v1.5 */
.kojo-ce .ce-geo-intro{margin:24px 0 16px}.kojo-ce .ce-geo-intro h3{margin:0 0 8px}.kojo-ce .ce-geo-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.kojo-ce .ce-geo-card{border:1px solid #dce6eb;border-radius:9px;padding:14px;display:flex;align-items:center;gap:9px;min-width:0}.kojo-ce .ce-geo-card span:last-child{margin-left:auto;color:#617582;font-size:12px}.kojo-ce .ce-grid>div[hidden]{display:none!important}

/* v1.5.1: Hueman-safe Geography form controls and readable country cards */
.kojo-ce .ce-geo-controls input[type="search"],
.kojo-ce .ce-geo-controls select {
  display:block; width:100%; height:48px; min-height:48px; max-height:48px;
  margin:0; padding:0 12px; border:1px solid #bbcbd2; border-radius:7px;
  background:#fff; color:#182832; font:inherit; font-size:16px;
  line-height:normal; box-sizing:border-box; box-shadow:none;
}
.kojo-ce .ce-geo-controls input[type="search"] { -webkit-appearance:none; appearance:none; }
.kojo-ce .ce-geo-controls input[type="search"]::-webkit-search-decoration { -webkit-appearance:none; }
.kojo-ce .ce-geo-cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); }
.kojo-ce .ce-geo-card { align-items:flex-start; gap:10px; }
.kojo-ce .ce-geo-card .ce-geo-details { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1; }
.kojo-ce .ce-geo-card .ce-geo-details strong { overflow-wrap:break-word; line-height:1.35; }
.kojo-ce .ce-geo-card .ce-geo-details .ce-geo-region { margin:0; color:#617582; font-size:12px; line-height:1.35; overflow-wrap:normal; }

/* Distance Explorer v1.6 */
.kojo-ce .ce-distance-controls select{display:block;width:100%;height:48px;min-height:48px;max-height:48px;margin:0;padding:0 12px;border:1px solid #bbcbd2;border-radius:7px;background:#fff;color:#182832;font:inherit;font-size:16px;box-sizing:border-box;box-shadow:none}
.kojo-ce .ce-distance-summary{margin-top:22px;padding:20px;border:1px solid var(--ce-border);border-radius:12px;background:#f7fafb}
.kojo-ce .ce-distance-pair{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:18px}
.kojo-ce .ce-distance-pair span{color:#65747d;font-size:13px}
.kojo-ce .ce-distance-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.kojo-ce .ce-distance-metrics>div{background:#fff;border:1px solid var(--ce-border);padding:16px;border-radius:9px;text-align:center}
.kojo-ce .ce-distance-metrics span{display:block;font-size:13px;color:#586873}
.kojo-ce .ce-distance-metrics strong{display:block;color:#176a80;font-size:clamp(20px,3vw,29px);font-variant-numeric:tabular-nums}
.kojo-ce .ce-distance-map{margin-top:22px;padding:18px;border:1px solid var(--ce-border);border-radius:12px}
.kojo-ce .ce-distance-map svg{display:block;width:100%;height:auto;margin:14px 0;border:1px solid #dce4e8;border-radius:8px}
.kojo-ce .ce-distance-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:13px}
.kojo-ce .ce-distance-legend span{display:inline-flex;gap:7px;align-items:center}
.kojo-ce .ce-distance-legend i{display:inline-block;width:10px;height:10px;border-radius:50%}
.kojo-ce .ce-dot-a{background:#176a80}.kojo-ce .ce-dot-b{background:#ce7544}
@media(max-width:600px){.kojo-ce .ce-distance-metrics{grid-template-columns:1fr}}

/* Country profiles v1.7 */
.kojo-ce .ce-profile-controls input,.kojo-ce .ce-profile-controls select{height:48px!important;min-height:48px!important;box-sizing:border-box!important;padding:9px 12px!important;width:100%!important;font-size:16px!important}
.kojo-ce .ce-profile{margin-top:22px}.kojo-ce .ce-profile-head{display:flex;align-items:center;gap:18px;padding:22px;background:#f3f8fa;border:1px solid #dce8ed;border-radius:14px}.kojo-ce .ce-profile-flag{font-size:48px;line-height:1.2}.kojo-ce .ce-profile-head h3{margin:2px 0 4px;font-size:30px}.kojo-ce .ce-profile-kicker{margin:0;font-size:12px;letter-spacing:1px;color:#176a80;font-weight:700}.kojo-ce .ce-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.kojo-ce .ce-profile-stat{border:1px solid #dce8ed;border-radius:10px;padding:16px;min-width:0}.kojo-ce .ce-profile-stat span{display:block;font-size:13px;color:#657886;margin-bottom:6px}.kojo-ce .ce-profile-stat strong{display:block;font-size:19px;overflow-wrap:anywhere}.kojo-ce .ce-profile-section{border-top:1px solid #dce8ed;padding:18px 0}.kojo-ce .ce-profile-section h4{margin:12px 0 8px;font-size:18px}.kojo-ce .ce-profile-neighbors{display:flex;flex-wrap:wrap;gap:9px}.kojo-ce .ce-profile-neighbors button{background:#fff;border:1px solid #dce8ed;border-radius:8px;padding:9px 12px;cursor:pointer;color:#174b60;font-size:15px}.kojo-ce .ce-profile-neighbors button:hover{background:#eef7fa}.kojo-ce .ce-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 22px}@media(max-width:600px){.kojo-ce .ce-profile-stats{grid-template-columns:1fr}.kojo-ce .ce-profile-head h3{font-size:24px}}
