:root{--bg:#f7f9fc;--white:#fff;--line:#e5eaf1;--text:#182438;--sub:#657589;--muted:#8a97a9;--blue:#2867cf;--bluebg:#edf4ff;--navy:#142c4e;--radius:10px;--shadow:0 6px 28px rgba(21,48,88,.035)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.app{min-height:100vh}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:27px;padding:0 29px;position:sticky;top:0;z-index:40}.brand{display:flex;align-items:center;gap:11px;min-width:239px}.brandmark{width:39px;height:39px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center}.brand-symbol{font-size:28px;transform:rotate(-14deg);line-height:1}.brand strong{display:block;font-size:20px;letter-spacing:-1px;line-height:1.1}.brand small{font-size:11px;color:var(--sub);letter-spacing:.02em}.urlbar{max-width:990px;display:flex;align-items:center;height:43px;flex:1;border:1px solid #dbe4ed;background:#f9fbfd;border-radius:9px;padding:4px 4px 4px 13px;min-width:220px}.urlbar:focus-within{border-color:#9cbbe9;box-shadow:0 0 0 3px #eaf1fc}.url-icon{font-size:20px;line-height:1;color:#7790ac;margin-right:8px}.urlbar input{border:0;outline:0;background:transparent;color:#2c4058;width:100%;min-width:0;font-size:13px}.urlbar button,.primary-button{background:#285fbc;color:#fff;border:0;border-radius:6px;font-size:13px;font-weight:650;white-space:nowrap;padding:10px 16px}.urlbar button:hover,.primary-button:hover{background:#1b4ea5}.urlbar button span{font-size:14px;margin-left:5px}.connection{display:flex;gap:8px;align-items:center;color:#657589;font-size:12px;white-space:nowrap}.connection i{display:inline-block;width:7px;height:7px;background:#9aa5b4;border-radius:50%}.connection.ok i{background:#36a77a}.connection.error i{background:#dc6961}.connection.loading i{background:#e8a143;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.3}}
.workspace{display:grid;grid-template-columns:271px minmax(0,1fr);min-height:calc(100vh - 75px)}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:calc(100vh - 75px);position:sticky;top:75px;height:calc(100vh - 75px)}.side-top{padding:28px 21px 15px}.eyebrow{font-weight:800;font-size:10px;letter-spacing:1.15px;color:#7b8da1}.side-top h2{margin:11px 0 4px;font-size:16px;letter-spacing:-.3px}.side-top p{font-size:12px;color:var(--sub);line-height:1.6;margin:0}.side-search{height:38px;margin:9px 15px 21px;display:flex;gap:6px;align-items:center;border:1px solid var(--line);background:#fbfcfe;border-radius:7px;padding:0 12px}.side-search span{font-size:19px;color:#8496a8}.side-search input{border:0;outline:0;background:transparent;width:100%;font-size:12px}.side-section{min-height:0;display:flex;flex-direction:column;flex:1}.side-section-head{padding:0 21px 10px;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.7px;font-weight:800;color:#8593a6}.side-section-head span:last-child{font-size:10px;background:#eef2f6;color:#687b92;border-radius:5px;min-width:21px;text-align:center;padding:1px 5px}.nav-items{overflow:auto;padding:0 9px 12px;flex:1}.nav-placeholder{color:#8997a6;font-size:12px;padding:12px}.nav-item{border:0;width:100%;display:flex;align-items:center;gap:11px;text-align:left;background:none;border-radius:7px;padding:10px 11px;color:#41546c;min-width:0}.nav-item:hover{background:#f4f7fc}.nav-item.active{background:#ebf3ff;color:#235bb3}.nav-item .nav-icon{width:25px;height:25px;border-radius:6px;background:#f1f5fa;color:#6680a1;display:grid;place-items:center;flex:none;font-size:14px}.nav-item.active .nav-icon{background:#d9e8fe;color:#2765bf}.nav-item .nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;flex:1}.nav-item .nav-arrow{color:#9daabd}.nav-subtitle{font-size:10px;color:#95a2b0}.side-footer{border-top:1px solid var(--line);padding:15px 19px 20px}.subtle-button{border:0;background:transparent;color:#5276a7;font-size:12px;padding:4px 0;font-weight:600}.subtle-button:hover{text-decoration:underline}.caption{font-size:10px;color:#a0aab8;margin-top:12px}
.main{min-width:0;padding:0 34px 25px;max-width:1600px;width:100%;margin:0 auto}.breadcrumbs{height:64px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);color:#8695a8;white-space:nowrap;overflow:hidden}.breadcrumbs>button{border:0;background:transparent;color:#8b9cad;font-size:17px}.breadcrumbs #crumbs{display:flex;align-items:center;gap:9px;min-width:0;overflow-x:auto;scrollbar-width:thin}.crumb{border:0;background:none;color:#7e8fa2;white-space:nowrap;font-size:12px;padding:4px 0}.crumb:hover,.crumb.current{color:#2463bd}.crumb.current{font-weight:700}.crumb-separator{color:#c1cad6}.breadcrumbs .copy-url{margin-left:auto;border:1px solid var(--line);padding:5px 9px;border-radius:6px;font-size:11px;background:white;white-space:nowrap}.page-intro{display:flex;align-items:center;gap:17px;padding:28px 0 25px}.intro-icon{width:52px;height:52px;background:#e7f0ff;border:1px solid #dce9fb;border-radius:12px;display:grid;place-items:center;font-size:25px;color:#2b67ba;flex:none}.intro-titles{flex:1;min-width:0}.intro-titles h1{font-size:24px;line-height:1.2;letter-spacing:-.7px;margin:6px 0}.intro-titles p{font-size:12px;color:#7e8ea3;margin:0;overflow-wrap:anywhere}.intro-tools{display:flex;gap:8px;flex-wrap:wrap}.action-button{background:white;border:1px solid #dce3ec;color:#466078;border-radius:7px;padding:8px 12px;font-size:12px;font-weight:650}.action-button:hover{background:#eef4fb}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:27px}.stat{border:1px solid var(--line);border-radius:9px;background:white;padding:16px 18px;min-width:0;box-shadow:var(--shadow)}.stat-label{font-size:11px;font-weight:650;color:#748599;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-value{font-size:21px;font-weight:750;margin-top:3px;letter-spacing:-.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-foot{font-size:10px;color:#9aabba;margin-top:1px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto}.tab{padding:0 2px 13px;background:none;border:0;border-bottom:2px solid transparent;font-size:12px;font-weight:650;color:#7d8b9c;white-space:nowrap}.tab:hover{color:#456b9b}.tab.active{color:#2360b7;border-bottom-color:#2e6ac2}.content{min-height:400px}.card{border:1px solid var(--line);border-radius:9px;background:#fff;padding:20px;margin-bottom:14px;box-shadow:var(--shadow)}.card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.card-head h3{margin:0;font-size:14px;letter-spacing:-.1px}.card-head p{font-size:11px;color:var(--sub);margin:3px 0 0}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.details{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:18px;row-gap:14px;font-size:12px}.details dt{color:#8696a8}.details dd{margin:0;color:#32445b;overflow-wrap:anywhere;min-width:0}.pill{padding:3px 7px;border-radius:5px;background:#edf3fb;color:#55739a;font-size:10px;font-weight:700;display:inline-flex;align-items:center}.pill.green{background:#e7f6ef;color:#23905a}.pill.amber{background:#fff3e2;color:#ae7927}.entry-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.entry{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;background:#fff;border:1px solid #e7ecf3;border-radius:8px;padding:13px 12px}.entry:hover{border-color:#a8c4e7;background:#f8fbff}.entry-icon{width:35px;height:35px;background:#edf4fc;color:#376cb1;border-radius:8px;display:grid;place-items:center;flex:none;font-size:17px}.entry strong{display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.entry small{color:#8394a9;display:block;font-size:10px}.entry .entry-copy{min-width:0;flex:1}.entry>span:last-child{color:#9cabbb}.empty{padding:45px 15px;text-align:center;color:#7f8fa2;font-size:12px}.empty strong{display:block;font-size:14px;color:#40566e;margin-bottom:5px}.table-scroll{overflow:auto;max-width:100%}.data-table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}.data-table th{color:#71839a;background:#f6f8fb;border-bottom:1px solid var(--line);font-weight:750;white-space:nowrap;padding:11px 13px}.data-table td{padding:11px 13px;border-bottom:1px solid #eef1f5;color:#324761;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:#fbfcfe}.code{font:11px/1.65 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;white-space:pre;overflow:auto;max-height:560px;background:#f7f9fc;color:#314458;border:1px solid #e7ebf1;border-radius:7px;padding:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#566e89;font-weight:650}.field input,.field select{width:100%;border:1px solid #dfe7f0;background:white;border-radius:6px;padding:9px 10px;color:#31455e;font-size:12px;min-width:0}.field input:focus,.field select:focus{outline:2px solid #b3caea;outline-offset:0}.form-actions{display:flex;gap:9px;align-items:center;margin-top:16px;flex-wrap:wrap}.form-actions button{padding:9px 14px;border-radius:7px}.result-meta{color:#7c8ea1;font-size:11px;margin:0 0 11px}.alert{margin-top:16px;padding:14px 17px;background:#fff7ec;border:1px solid #f3d7ad;border-radius:8px;color:#765121;font-size:12px;overflow-wrap:anywhere}.alert.error{background:#fff4f2;border-color:#f5ccc6;color:#97483f}.alert a{color:inherit;text-decoration:underline}.alert strong{display:block;margin-bottom:4px}.page-foot{margin:30px 0 10px;color:#a1aebe;font-size:10px}.welcome{margin:55px auto;text-align:center;max-width:510px}.welcome-symbol{font-size:38px;color:#2e69bd}.welcome h2{font-size:22px;margin:6px 0}.welcome p{font-size:13px;color:#7d8fa3;margin:0 0 19px}.loading-box{padding:70px 0;text-align:center;color:#8294a9}.spinner{width:26px;height:26px;border-radius:50%;border:3px solid #dce7f5;border-top-color:#3776cf;animation:spin .7s linear infinite;margin:0 auto 16px}@keyframes spin{to{transform:rotate(360deg)}}.copy-hint{font-size:11px;color:#8798aa}.map-shell{height:495px;position:relative;border-radius:7px;overflow:hidden;background:#edf1f5}.map-shell .leaflet-container{height:100%;width:100%;}.map-info{font-size:11px;color:#8293a6;margin-top:12px}.section-note{color:#8593a6;font-size:11px;margin-bottom:12px}.pager{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:13px;color:#6f839d;font-size:11px}.tag-list{display:flex;flex-wrap:wrap;gap:7px}.tag{border:1px solid #e3e9f1;border-radius:6px;padding:4px 8px;font-size:10px;color:#627993;max-width:100%;word-break:break-all}
@media(max-width:1050px){.topbar{gap:13px;padding:0 15px}.brand{min-width:145px}.connection{display:none}.workspace{grid-template-columns:220px minmax(0,1fr)}.main{padding:0 20px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-list{grid-template-columns:1fr}}
@media(max-width:700px){.topbar{height:auto;min-height:106px;flex-wrap:wrap;padding:10px 12px;gap:8px}.brand{min-width:100%;gap:8px}.brandmark{width:30px;height:30px;border-radius:8px}.brand strong{display:inline-block;font-size:17px}.brand small{display:inline;margin-left:9px}.urlbar{min-width:0;flex:1}.urlbar button{padding:10px}.workspace{display:flex;flex-direction:column}.sidebar{position:relative;top:0;width:100%;min-height:0;height:auto;border-right:0;border-bottom:1px solid var(--line)}.side-top{padding:13px 17px 3px}.side-top h2,.side-top p,.side-footer{display:none}.side-search{margin:9px 14px}.side-section{max-height:170px}.side-section-head{padding:0 17px 6px}.nav-items{display:flex;overflow:auto;padding:0 9px 9px;gap:3px}.nav-item{width:auto;min-width:130px}.nav-item .nav-arrow{display:none}.main{padding:0 13px}.breadcrumbs{height:49px}.page-intro{padding:18px 0;gap:11px}.intro-icon{width:38px;height:38px;font-size:21px}.intro-titles h1{font-size:19px}.intro-tools{display:none}.stat-grid{gap:8px;margin-bottom:16px}.stat{padding:12px}.stat-value{font-size:18px}.tabs{gap:17px}.grid-two,.form-grid{grid-template-columns:1fr}.card{padding:13px}.details{grid-template-columns:115px minmax(0,1fr)}.map-shell{height:390px}}



/* GIS Explorer | Readability-focused enterprise visual system (October 2026).
   This layer intentionally replaces the original low-contrast type styling. */
:root {
  --bg: #f7f8fa;
  --white: #ffffff;
  --line: #dbe2e9;
  --text: #172330;
  --sub: #465668;
  --muted: #5b6978;
  --blue: #17569c;
  --bluebg: #eaf2fb;
  --navy: #203c5b;
  --radius: 8px;
  --shadow: none;
}
html { color-scheme: light; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { color: var(--text); }
button { font-weight: 550; }
:focus-visible { outline: 2px solid #2463ad; outline-offset: 2px; }
.topbar {
  height: 72px;
  padding: 0 25px;
  gap: 24px;
  border-bottom-color: #dce3e9;
}
.brand { min-width: 250px; gap: 11px; }
.brandmark {
  width: 37px;
  height: 37px;
  border-radius: 7px;
  background: #223b55;
}
.brand-symbol { font-size: 18px; font-weight: 750; line-height: 1; transform: none; letter-spacing: -.05em; }
.brand strong { font-size: 16px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; }
.brand small { font-size: 12px; letter-spacing: 0; color: #536174; }
.urlbar {
  height: 43px;
  border-radius: 7px;
  background: #ffffff;
  border-color: #cfd8e3;
  max-width: 1000px;
}
.url-icon { color: #6b7c8e; font-size: 17px; }
.urlbar input {
  font-size: 13.5px;
  color: #1a2c3f;
  letter-spacing: 0;
}
.urlbar input::placeholder,
.side-search input::placeholder { color: #657488; opacity: 1; }
.urlbar button, .primary-button {
  background: #185595;
  font-size: 13.5px;
  font-weight: 650;
  border-radius: 5px;
  padding: 9px 15px;
}
.urlbar button:hover, .primary-button:hover { background: #10467f; }
.connection { font-size: 12.5px; color: #4e5d6d; font-weight: 500; }
.connection i { width: 8px; height: 8px; }
.workspace { grid-template-columns: 270px minmax(0,1fr); min-height: calc(100vh - 72px); }
.sidebar {
  top: 72px;
  height: calc(100vh - 72px);
  min-height: calc(100vh - 72px);
  border-right-color: #dde3e9;
}
.side-top { padding: 25px 20px 11px; }
.eyebrow {
  color: #4b627b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .65px;
}
.side-top h2 {
  margin: 9px 0 4px;
  font-size: 17px;
  font-weight: 675;
  letter-spacing: -.25px;
}
.side-top p { font-size: 13px; color: #576678; line-height: 1.5; }
.side-search {
  height: 40px;
  margin: 11px 15px 19px;
  background: #fff;
  border-color: #cfd7e0;
  border-radius: 6px;
}
.side-search span { color: #53697f; font-size: 19px; }
.side-search input { color: var(--text); font-size: 13px; }
.side-section-head {
  padding: 0 20px 10px;
  color: #536478;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .45px;
}
.side-section-head span:last-child {
  font-size: 11px;
  background: #eef1f5;
  color: #41566d;
  border-radius: 4px;
  padding: 2px 7px;
}
.nav-items { padding: 0 9px 14px; }
.nav-placeholder { font-size: 13px; color: #5b6a7a; }
.nav-item {
  padding: 10px 11px;
  min-height: 43px;
  border-radius: 5px;
  gap: 9px;
  color: #263a4e;
}
.nav-item .nav-label { font-size: 13.5px; font-weight: 500; }
.nav-item .nav-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: transparent;
  color: #60768a;
  font-size: 15px;
}
.nav-item .nav-arrow { color: #697a8d; font-size: 17px; }
.nav-item:hover { background: #f0f4f8; color: #172d48; }
.nav-item.active {
  color: #174f90;
  background: #eaf2fa;
  box-shadow: inset 3px 0 0 #27629f;
}
.nav-item.active .nav-label { font-weight: 650; }
.nav-item.active .nav-icon { color: #225d9f; background: transparent; }
.side-footer { padding: 14px 19px 17px; }
.subtle-button { color: #1e5389; font-size: 13px; font-weight: 600; }
.caption { color: #596b7c; font-size: 11.5px; margin-top: 10px; }
.main { padding: 0 34px 26px; max-width: 1550px; }
.breadcrumbs {
  height: 60px;
  border-bottom-color: #dee5eb;
  gap: 10px;
  color: #526174;
}
.breadcrumbs > button { color: #455d76; font-size: 18px; }
.crumb { color: #4e6175; font-size: 13px; font-weight: 500; }
.crumb:hover, .crumb.current { color: #17569c; }
.crumb.current { font-weight: 650; }
.crumb-separator { color: #8a98a7; }
.breadcrumbs .copy-url {
  font-size: 12px;
  color: #34495d;
  border-color: #d4dce5;
  padding: 6px 10px;
}
.page-intro { padding: 25px 0 22px; align-items: flex-start; gap: 16px; }
.intro-icon {
  width: 43px;
  height: 43px;
  margin-top: 3px;
  border-radius: 7px;
  font-size: 20px;
  color: #285b90;
  background: #eaf1f7;
  border-color: #d9e3ec;
}
.intro-titles h1 {
  margin: 5px 0 7px;
  color: #122033;
  font-size: 26px;
  font-weight: 685;
  letter-spacing: -.55px;
  line-height: 1.26;
}
.intro-titles p {
  max-width: 990px;
  font-size: 13.5px;
  color: #526173;
  line-height: 1.5;
}
.intro-tools { padding-top: 5px; }
.action-button {
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border-color: #cfd9e4;
  color: #2b425a;
}
.action-button:hover { background: #f1f6fb; border-color: #b5c9dd; }
.stat-grid { gap: 13px; margin-bottom: 24px; }
.stat {
  padding: 15px 18px;
  border-color: #dce3ea;
  border-radius: 7px;
  box-shadow: none;
}
.stat-label {
  color: #425469;
  font-size: 12.5px;
  font-weight: 600;
}
.stat-value {
  color: #15263b;
  margin-top: 5px;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.35px;
  font-weight: 700;
}
.stat-foot {
  color: #5a6a7c;
  margin-top: 4px;
  font-size: 12px;
}
.tabs { gap: 27px; margin-bottom: 19px; border-bottom-color: #d9e0e7; }
.tab {
  color: #526174;
  font-size: 13.5px;
  font-weight: 575;
  padding: 0 2px 12px;
  border-bottom-width: 2px;
}
.tab:hover { color: #164e88; }
.tab.active { color: #174d89; border-bottom-color: #1c5b9e; font-weight: 700; }
.card {
  padding: 21px 22px;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  box-shadow: none;
  margin-bottom: 15px;
}
.card-head { margin-bottom: 16px; }
.card-head h3 { color: #17283b; font-size: 16px; font-weight: 675; letter-spacing: -.2px; }
.card-head p { margin: 4px 0 0; color: #596878; font-size: 12.5px; }
.details {
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 13px 20px;
  font-size: 13.5px;
}
.details dt { color: #4c5e71; font-weight: 550; }
.details dd { color: #182b40; font-weight: 500; }
.entry-list { gap: 10px; }
.entry {
  padding: 13px 14px;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  gap: 12px;
  min-height: 65px;
}
.entry:hover { border-color: #a8bfd8; background: #f6f9fc; }
.entry-icon {
  width: 34px;
  height: 34px;
  background: #eef3f8;
  border-radius: 6px;
  color: #355b7e;
  font-size: 16px;
}
.entry strong { font-size: 13.5px; font-weight: 650; color: #172b40; }
.entry small { font-size: 12px; color: #596a7c; margin-top: 2px; }
.entry > span:last-child { font-size: 18px; color: #62788d; }
.empty { color: #5b6a7c; font-size: 13px; }
.empty strong { color: #283d52; font-size: 15px; }
.data-table { font-size: 13px; }
.data-table th {
  color: #384c61;
  background: #f4f6f8;
  padding: 11px 13px;
  font-size: 12.5px;
  font-weight: 650;
  border-bottom-color: #dce3ea;
}
.data-table td {
  padding: 12px 13px;
  color: #203349;
  border-bottom-color: #e4e9ee;
}
.data-table tr:hover td { background: #f6f9fb; }
.code {
  font-size: 12.5px;
  line-height: 1.62;
  color: #1c3449;
  background: #f6f8fa;
  border-color: #dce4ea;
  border-radius: 6px;
}
.field { color: #405367; font-size: 13px; font-weight: 600; gap: 7px; }
.field input, .field select {
  font-size: 13.5px;
  color: #1d3046;
  padding: 10px 12px;
  border-color: #cbd6df;
  border-radius: 6px;
}
.field input:focus, .field select:focus { outline: 2px solid #8ab2db; }
.form-actions { gap: 11px; margin-top: 18px; }
.form-actions button { font-size: 13px; }
.copy-hint { color: #57697a; font-size: 12px; }
.result-meta { color: #506276; font-size: 12.5px; }
.section-note { font-size: 13px; color: #4b5d70; line-height: 1.6; }
.alert {
  font-size: 13px;
  line-height: 1.55;
  color: #714c20;
  border-radius: 6px;
}
.alert.error { color: #963f36; }
.page-foot { color: #5b6d7e; font-size: 11.5px; margin-top: 28px; }
.welcome { margin: 55px auto; }
.welcome-symbol { color: #215b96; font-size: 32px; }
.welcome h2 { font-size: 22px; font-weight: 675; }
.welcome p { color: #516176; font-size: 14px; }
.loading-box { color: #536579; font-size: 13.5px; }
.map-info { font-size: 12.5px; color: #526275; }
.pager { color: #4f6075; font-size: 12.5px; }
.tag { border-color: #d2dde7; color: #225783; font-size: 12.5px; padding: 6px 9px; }
@media (max-width: 1050px) {
  .topbar { gap: 14px; padding: 0 17px; }
  .brand { min-width: 190px; }
  .workspace { grid-template-columns: 232px minmax(0,1fr); }
  .main { padding: 0 21px; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .entry-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .topbar { height: auto; min-height: 105px; padding: 10px 13px; gap: 9px; }
  .brand { min-width: 100%; gap: 9px; }
  .brandmark { width: 31px; height: 31px; }
  .brand-symbol { font-size: 16px; }
  .brand strong { display: inline-block; font-size: 15px; }
  .brand small { display: inline-block; margin-left: 9px; font-size: 11.5px; }
  .urlbar { height: 41px; min-width: 0; }
  .urlbar button { padding: 9px 11px; }
  .workspace { display: flex; flex-direction: column; }
  .sidebar {
    position: relative;
    top: 0;
    width: 100%;
    min-height: 0;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .side-top { padding: 13px 17px 3px; }
  .side-top h2, .side-top p, .side-footer { display: none; }
  .side-search { margin: 9px 14px; }
  .side-section { max-height: 170px; }
  .side-section-head { padding: 0 17px 6px; }
  .nav-items { display: flex; overflow: auto; padding: 0 9px 9px; gap: 3px; }
  .nav-item { width: auto; min-width: 136px; }
  .nav-item .nav-arrow { display: none; }
  .main { padding: 0 14px; }
  .breadcrumbs { height: 50px; gap: 8px; }
  .crumb { font-size: 12px; }
  .page-intro { padding: 19px 0; gap: 12px; }
  .intro-icon { width: 39px; height: 39px; font-size: 18px; }
  .intro-titles h1 { font-size: 21px; }
  .intro-titles p { font-size: 13px; }
  .intro-tools { display: none; }
  .stat-grid { gap: 9px; margin-bottom: 17px; }
  .stat { padding: 13px; }
  .stat-value { font-size: 20px; }
  .stat-foot { font-size: 11.5px; }
  .tabs { gap: 20px; }
  .tab { font-size: 13px; }
  .grid-two,.form-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .details { grid-template-columns: 125px minmax(0,1fr); gap: 12px; font-size: 12.5px; }
  .entry-list { grid-template-columns: 1fr; }
  .map-shell { height: 390px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Persistent Windows Explorer-inspired ArcGIS tree. */
.sidebar .side-top{padding-bottom:8px}
.sidebar .side-search{margin-bottom:8px}
.tree-meta{font-size:11px;line-height:1.45;color:#5b6e82;padding:0 16px 13px;min-height:32px}
.tree-meta.scanning:before{content:"";width:9px;height:9px;border:2px solid #d6e0ed;border-top-color:#2770b2;border-radius:50%;display:inline-block;vertical-align:-1px;margin-right:7px;animation:treeSpin .75s linear infinite}
@keyframes treeSpin{to{transform:rotate(360deg)}}
.nav-items{padding:0 7px 16px}
.tree-branch{width:100%;min-width:0}
.tree-line{display:flex;align-items:center;min-height:34px;gap:2px;padding-right:5px}
.tree-caret,.tree-caret-spacer{width:17px;height:22px;flex:0 0 17px;background:transparent;border:0;color:#54677f;border-radius:4px;display:grid;place-items:center;padding:0}
.tree-caret:before{content:"▸";font-size:12px;line-height:1}
.tree-caret.open:before{content:"▾"}
.tree-caret:hover{background:#eef3f9}
.tree-item{width:100%;min-width:0;flex:1;display:flex;align-items:center;gap:9px;padding:7px 7px;border-radius:6px;border:0;text-align:left;background:transparent;color:#243a4e}
.tree-item:hover{background:#f2f6fa}
.tree-item.active{background:#e8f1fa;color:#185694;box-shadow:inset 3px 0 0 #27649b}
.tree-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:0}
.tree-text{font-size:12.5px;font-weight:560;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;min-width:0;line-height:1.35}
.tree-item.active .tree-text{font-weight:700}
.tree-sub{font-size:10px;color:#738397;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:1.2;margin-top:1px}
.tree-text mark{background:#ffe9a2;color:#1b2939;padding:0 1px;border-radius:2px}
.tree-loading,.tree-error{padding:5px 8px 7px 33px;font-size:11px;color:#718095}
.tree-error{color:#a34b49}
.tree-glyph{display:inline-block;flex:0 0 19px;width:19px;height:16px;position:relative}
.tree-glyph.folder:before{content:"";position:absolute;top:1px;left:2px;width:8px;height:5px;background:#f9e1a0;border:1px solid #c4a33e;border-radius:2px 2px 0 0}
.tree-glyph.folder:after{content:"";position:absolute;top:5px;left:1px;width:17px;height:11px;background:linear-gradient(140deg,#ffdf79,#edc55a);border:1px solid #c4a33e;border-radius:2px}
.tree-glyph.service:before{content:"";position:absolute;top:1px;left:2px;width:15px;height:15px;background:#e9f0f8;border:1px solid #6384a8;border-radius:3px}
.tree-glyph.service:after{content:"";position:absolute;top:5px;left:5px;width:9px;height:2px;background:#6485ac;box-shadow:0 4px #6485ac,0 8px #6485ac}
.tree-glyph.layer:before{content:"";position:absolute;top:1px;left:2px;width:15px;height:14px;background:#e5f3fb;border:1px solid #4e86b3;border-radius:2px}
.tree-glyph.layer:after{content:"";position:absolute;top:4px;left:5px;width:8px;height:7px;background:#a4c5dd;border:1px solid #4b85ad;transform:rotate(-13deg)}
.tree-glyph.table:before{content:"";position:absolute;top:1px;left:2px;width:15px;height:14px;background:#eff0f3;border:1px solid #8793a2;border-radius:2px}
.tree-glyph.table:after{content:"";position:absolute;top:5px;left:4px;width:11px;height:1px;background:#778699;box-shadow:0 3px #778699,0 6px #778699}
@media(max-width:700px){.tree-meta{padding:0 15px 8px}.sidebar .side-search{margin:8px 14px}.tree-line{min-height:32px}}


/* Click/tap feature inspector: desktop floating panel and mobile bottom sheet. */
.map-frame{position:relative;width:100%;height:495px;min-height:280px;isolation:isolate}
.map-frame .map-shell{height:100%;width:100%;position:relative;overflow:hidden;border-radius:7px}
.map-frame .leaflet-container{height:100%;width:100%;cursor:crosshair}
.identify-panel[hidden]{display:none!important}
.identify-panel{
  position:absolute;
  z-index:1100;
  top:12px;
  right:12px;
  width:min(380px,calc(100% - 24px));
  max-height:calc(100% - 24px);
  display:flex;
  flex-direction:column;
  border:1px solid #d3dce6;
  border-radius:10px;
  background:#fff;
  box-shadow:0 12px 40px rgba(22,42,65,.18),0 2px 8px rgba(22,42,65,.05);
  color:#1e2e40;
  overflow:hidden;
  font-size:13px;
  line-height:1.45;
}
.identify-header{
  flex:none;
  display:flex;
  align-items:flex-start;
  gap:12px;
  justify-content:space-between;
  border-bottom:1px solid #e6eaf0;
  padding:14px 14px 12px 17px;
  background:#fff;
}
.identify-headings{flex:1;min-width:0}
.identify-headings h4{font-size:15px;font-weight:700;line-height:1.3;color:#182a3f;overflow-wrap:anywhere;margin:0 0 4px}
.identify-headings p{font-size:12px;color:#5d6c7e;margin:0}
.identify-close{flex:none;border:0;border-radius:6px;background:#eff3f7;color:#334c63;font-size:23px;font-weight:400;line-height:1;width:30px;height:30px;display:grid;place-items:center;padding:0}
.identify-close:hover{background:#e1e9f1}
.identify-actions{flex:none;display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#f8fafc;padding:8px 14px;border-bottom:1px solid #e5ebf1}
.identify-switch{border:1px solid #cfdae6;border-radius:6px;background:#fff;color:#205b93;font-size:12px;font-weight:650;padding:5px 8px}
.identify-switch:hover{background:#eaf3fc}
.identify-position{font-size:11.5px;color:#526479;white-space:nowrap}
.identify-value{font-size:12px;color:#344d65;font-weight:600;flex:1;min-width:0;overflow-wrap:anywhere}
.identify-body{padding:4px 16px 12px;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;flex:1;scrollbar-gutter:stable;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.identify-count{font-size:11px;color:#5e7082;font-weight:600;margin:10px 0}
.identify-list{display:block;margin:0}
.identify-row{display:grid;grid-template-columns:minmax(100px,43%) minmax(0,1fr);gap:11px;border-bottom:1px solid #edf0f3;padding:10px 0}
.identify-row:last-child{border-bottom:0}
.identify-row dt{font-size:12px;line-height:1.45;color:#4b5d70;font-weight:600;min-width:0;overflow-wrap:anywhere}
.identify-row dd{font-size:12.5px;line-height:1.5;color:#162c40;font-weight:500;margin:0;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.identify-message{font-size:13px;line-height:1.55;color:#475e73;margin:17px 0}
.identify-footer{flex:none;display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #e5ebf1;padding:9px 15px;background:#f9fafc}
.identify-source{font-size:11px;color:#627486}
.identify-copy{background:#fff;border:1px solid #cfd9e5;border-radius:6px;padding:6px 9px;color:#2c5378;font-size:11px;font-weight:600}
.identify-copy:hover{background:#eef5fb}
.identify-spin{width:22px;height:22px;border-radius:50%;border:3px solid #dce7f4;border-top-color:#2670b1;animation:spin .75s linear infinite;margin:20px auto 8px}
@media(max-width:700px){
  .map-frame{height:420px}
  .identify-panel{
    left:6px;right:6px;bottom:6px;top:auto;width:auto;
    max-height:min(73%,390px);
    border-radius:12px 12px 9px 9px;
  }
  .identify-header{padding:12px 12px 11px 15px}
  .identify-row{grid-template-columns:minmax(105px,41%) minmax(0,1fr);gap:9px;padding:9px 0}
  .identify-body{padding:3px 13px 10px}
}
@media(max-width:360px){.identify-row{grid-template-columns:1fr;gap:2px}}


/* ArcGIS authentication, scoped browser session. */
.auth-button{padding:8px 13px;border:1px solid #cbd7e4;border-radius:6px;background:#fff;color:#27465f;font-size:12.5px;font-weight:650;white-space:nowrap}
.auth-button:hover{background:#eff5fb}
.auth-button.is-active{border-color:#b7dcca;color:#17633b;background:#f3fbf6}
.auth-backdrop[hidden]{display:none!important}
.auth-backdrop{position:fixed;inset:0;z-index:2100;background:rgba(15,27,43,.45);display:flex;align-items:center;justify-content:center;padding:14px}
.auth-dialog{width:min(500px,100%);max-height:min(92vh,780px);background:#fff;border-radius:11px;box-shadow:0 16px 70px rgba(11,25,45,.27);display:flex;flex-direction:column;overflow:hidden}
.auth-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 22px;border-bottom:1px solid #e0e6ed}
.auth-heading h2{font-size:19px;font-weight:700;margin:0;color:#13243a}
.auth-heading p{font-size:13px;color:#506276;margin:5px 0 0}
.auth-close{border:0;border-radius:5px;background:#f1f4f8;color:#344b62;font-size:23px;width:30px;height:30px;line-height:1;flex:none}
.auth-dialog-scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px 22px 22px}
.auth-current{font-size:12.5px;font-weight:600;color:#1d5a79;background:#f1f6fb;border-radius:6px;padding:11px 12px;margin-bottom:18px;overflow-wrap:anywhere}
.auth-section h3{margin:0 0 6px;font-size:15px;color:#17283d}
.auth-section p{font-size:12.5px;color:#526276;line-height:1.5;margin:0 0 13px}
.auth-host{background:#f6f8fb;color:#315477;font-size:12.5px;font-weight:600;border:1px solid #e0e7ef;border-radius:5px;padding:9px 10px;margin-bottom:12px;overflow-wrap:anywhere}
.auth-label{font-size:12.5px;display:block;font-weight:600;color:#31465c;margin:12px 0 5px}
.auth-input{width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:10px 11px;font-size:13px;min-width:0;background:#fff;color:#192d42}
.auth-input:focus{outline:2px solid #8db6de;outline-offset:0}
.auth-input[readonly]{background:#f4f7fa;font-size:12px;color:#415a74}
.auth-copy-row{display:flex;gap:7px;align-items:center}
.auth-copy-row .auth-input{flex:1}
.auth-primary{background:#185595;color:#fff;font-size:13px;font-weight:650;padding:9px 13px;border:0;border-radius:6px}
.auth-primary:hover{background:#11497f}
.auth-secondary{background:#fff;color:#315471;font-size:12.5px;font-weight:600;padding:9px 12px;border:1px solid #cfd9e4;border-radius:6px}
.auth-secondary:hover{background:#f2f6fa}
.auth-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px}
.auth-divider{position:relative;text-align:center;margin:22px 0;color:#708096;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #e2e8ef}
.auth-divider span{position:relative;background:#fff;padding:0 12px}
.auth-message{font-size:12.5px;color:#235a7e;line-height:1.5;margin-top:12px;overflow-wrap:anywhere}
.auth-message.is-error{color:#a33e3e}
.auth-message:empty{display:none}
.auth-notice{font-size:11.5px;line-height:1.5;color:#647386;border-top:1px solid #e5eaf0;padding-top:13px;margin:20px 0 0}
.map-auth-warning{font-size:12px;color:#a0453b;margin:6px 0 0}
.map-auth-warning:empty{display:none}
@media(max-width:700px){.topbar{align-items:center}.auth-button{margin-left:auto;padding:7px 11px}.auth-backdrop{padding:0;align-items:flex-end}.auth-dialog{width:100%;max-height:87dvh;border-radius:13px 13px 0 0}.auth-heading{padding:15px 17px}.auth-dialog-scroll{padding:14px 17px 28px}}


/* Resizable service tree: the divider belongs between the sticky sidebar
   and the fluid content, while the mobile stacked layout stays unchanged. */
.workspace{grid-template-columns:minmax(0,var(--gis-sidebar-width,300px)) 8px minmax(0,1fr)}
.sidebar{min-width:0}
.sidebar-resizer{
  grid-column:2;grid-row:1;position:sticky;top:72px;
  height:calc(100vh - 72px);align-self:start;
  width:8px;background:#f6f8fa;border:0;cursor:col-resize;
  touch-action:none;user-select:none;z-index:12;outline-offset:-1px;
}
.sidebar-resizer::before{
  content:"";position:absolute;top:0;bottom:0;left:3px;
  width:1px;background:#dce3eb;transition:background .12s ease,width .12s ease,left .12s ease;
}
.sidebar-resizer:hover::before,.sidebar-resizer.dragging::before,
.sidebar-resizer:focus-visible::before{width:3px;left:2px;background:#3674ae}
.sidebar-resizer:focus-visible{outline:2px solid #3b78b4}
body.gis-resizing,body.gis-resizing *{cursor:col-resize!important;user-select:none!important}
.main{grid-column:3;min-width:0}
@media(max-width:700px){
  .workspace{display:flex;flex-direction:column}
  .sidebar-resizer{display:none}
  .main{grid-column:auto}
}


/* Full ArcGIS layer export controls and progress */
.export-card .card-head{margin-bottom:10px}
.export-description{font-size:13px;color:#526477;line-height:1.55;margin:0 0 17px}
.export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.export-grid .field{font-size:12.5px;gap:7px}
.export-grid select,.export-grid input{width:100%;min-width:0;padding:10px;border:1px solid #cbd5e1;border-radius:6px;color:#24394d;background:white;font-size:13px}
.export-guidance{margin:14px 0;color:#566b7c;font-size:12px;line-height:1.55}
.export-guidance p{margin:4px 0}
.export-actions{display:flex;align-items:center;gap:10px;margin:15px 0 13px}
.export-actions .primary-button{padding:10px 15px}
.export-status{border:1px solid #dae3eb;background:#f8fafc;border-radius:8px;padding:15px;margin-top:15px}
.export-hint{margin:0;font-size:12.5px;color:#53687c;line-height:1.55}
.export-status-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#1e3550;font-size:13px}
.export-status-head strong{font-weight:700}
.export-percent{color:#275b90;font-variant-numeric:tabular-nums}
.export-track{height:8px;border-radius:6px;background:#e3ebf4;overflow:hidden}
.export-bar{height:100%;width:0;background:#24629c;transition:width .16s ease}
.export-progress-text{font-size:12px;color:#55697d;line-height:1.5;margin:10px 0;overflow-wrap:anywhere}
.export-stop{margin-top:5px}
.export-download{display:inline-block;margin:7px 0;background:#1a5b97;color:#fff;padding:10px 13px;border-radius:6px;text-decoration:none;font-size:13px;font-weight:700;max-width:100%;overflow-wrap:anywhere}
.export-download:hover{background:#124c80}
.export-error{font-size:12px;color:#a03932;line-height:1.6;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.export-grid{grid-template-columns:1fr}.export-status{padding:12px}.export-download{width:100%;text-align:center}}

.export-quick{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;color:#506579;font-size:12.5px;line-height:1.5}
.export-quick .primary-button{font-size:12.5px;padding:9px 12px}
@media(max-width:700px){.export-quick{flex-direction:column;align-items:stretch;gap:9px}.export-quick .primary-button{width:100%}}


/* GIS Explorer | Connected data workflows, navigation & diagnostics */
.browse-extras{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 14px 8px}
.browse-extras .subtle-button{font-size:12px}
.browse-extras label{display:flex;align-items:center;gap:5px;font-size:11.5px;color:#53677b;cursor:pointer}
.browse-extras input{accent-color:#1c6099}
.gis-favorite-panel[hidden]{display:none!important}
.gis-favorite-panel{margin:0 12px 12px;padding:12px;border:1px solid #d6dfe8;background:#fafcff;border-radius:7px;max-height:230px;overflow-y:auto}
.gis-favorite-panel h4{font-size:12px;color:#334d66;margin:7px 0}
.gis-favorite-panel p{font-size:11.5px}
.ge-favorite-row{display:flex;align-items:center;gap:5px;margin:2px 0}
.ge-favorite-link{border:0;padding:7px 5px;background:transparent;min-width:0;flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#185a98}
.ge-favorite-link:hover{background:#eaf2fa;border-radius:4px}
.ge-workspace{display:flex;flex-direction:column;gap:16px;min-width:0}
.ge-card{border:1px solid #dce4eb;border-radius:8px;background:#fff;padding:20px 22px;min-width:0}
.ge-card h3{font-size:16px;margin:0;color:#182c41;letter-spacing:-.12px}
.ge-header{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.ge-h-title{font-weight:700;font-size:17px;color:#192d42}
.ge-muted{font-size:12.5px;color:#5b6e81;line-height:1.5;margin:7px 0}
.ge-error{font-size:12.5px;color:#a13d36;line-height:1.55;margin:7px 0}
.ge-inline{font-size:12.5px;color:#536679}
.ge-flex{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.ge-between{justify-content:space-between}
.ge-controls{margin:12px 0}
.ge-filter-list{display:flex;flex-direction:column;gap:8px}
.ge-filter-row{display:grid;grid-template-columns:minmax(120px,1.3fr) minmax(95px,.7fr) minmax(100px,1fr) 32px;gap:8px;align-items:center}
.ge-input,.ge-select{width:100%;min-width:0;border:1px solid #cbd6e1;background:#fff;color:#24394d;border-radius:6px;padding:9px 10px;font:13px/1.4 inherit}
.ge-select{font-family:inherit;font-size:13px;height:39px}
.ge-input:focus,.ge-select:focus{outline:2px solid #96badb;outline-offset:0}
.ge-input:disabled{background:#f3f6f9}
.ge-small{width:auto;min-width:110px;max-width:100%}
.ge-textarea{min-height:56px;resize:vertical;font:12px/1.5 ui-monospace,Consolas,monospace}
.ge-primary,.ge-secondary,.ge-quiet{border-radius:6px;font-size:12.5px;font-weight:650;padding:8px 12px;white-space:nowrap}
.ge-primary{border:1px solid #16518b;background:#195a98;color:#fff}
.ge-primary:hover{background:#10497f}
.ge-secondary{border:1px solid #cdd8e2;background:#fff;color:#215680}
.ge-secondary:hover{background:#f1f6fa;border-color:#a9c0d7}
.ge-quiet{border:0;background:transparent;color:#566d81;padding:5px 8px}
.ge-quiet:hover{background:#eaf0f6;color:#173b60}
.ge-preview{background:#f5f7f9;padding:11px 12px;font:12px/1.6 ui-monospace,Consolas,monospace;border-radius:5px;color:#294c66;overflow-wrap:anywhere;margin:8px 0}
.ge-disclosure{margin:12px 0 0;font-size:13px;color:#425a72}
.ge-disclosure summary{cursor:pointer;font-size:12.5px;font-weight:650;color:#285d8c;padding:5px 0}
.ge-disclosure[open] .ge-input{margin:10px 0}
.ge-results-head{justify-content:space-between;margin-bottom:10px}
.ge-count{font-size:12px;color:#2d5d85;background:#edf3f8;padding:5px 8px;border-radius:5px}
.ge-actions{padding-bottom:8px;border-bottom:1px solid #e7edf2}
.ge-table-scroll{max-width:100%;overflow:auto;max-height:600px;min-height:74px;border:1px solid #dce5ed;border-radius:6px}
.ge-data-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12.5px;color:#1d3147}
.ge-data-table th{position:sticky;top:0;z-index:2;background:#eff3f7;font-size:12px;font-weight:700;color:#334f6a;padding:10px 12px;border-bottom:1px solid #ccd8e3;white-space:nowrap;text-align:left}
.ge-data-table td{border-bottom:1px solid #e9eef3;padding:9px 12px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ge-data-table tr:last-child td{border-bottom:0}
.ge-data-table tbody tr:hover{background:#f2f7fc;cursor:pointer}
.ge-row-selected{background:#e8f2fd!important}
.ge-data-table input[type=checkbox]{accent-color:#1e659e}
.ge-pagination{justify-content:flex-end;margin-top:13px}
.ge-detail{scroll-margin-top:100px}
.ge-detail-scroll{max-height:400px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin-top:10px}
.ge-attribute-grid,.ge-diag-grid{display:grid;grid-template-columns:minmax(110px,34%) minmax(0,1fr);gap:0;margin:0}
.ge-attribute-grid dt,.ge-attribute-grid dd,.ge-diag-grid dt,.ge-diag-grid dd{font-size:12.5px;line-height:1.5;padding:9px 11px;overflow-wrap:anywhere;border-bottom:1px solid #e9eef3;margin:0}
.ge-attribute-grid dt,.ge-diag-grid dt{color:#536577;font-weight:600;background:#f8fafc}
.ge-attribute-grid dd,.ge-diag-grid dd{color:#20374b}
.ge-related{margin-top:11px;border:1px solid #e1e8ef;border-radius:7px;padding:11px}
.ge-related .ge-secondary{max-width:100%;white-space:normal;text-align:left}
.ge-code{white-space:pre-wrap;overflow:auto;max-height:320px;font:11.5px/1.6 ui-monospace,Consolas,monospace;color:#2a3c4e}
.ge-diagnostics .ge-diag-grid{margin:10px 0}
.ge-maptools{margin:0 0 11px}
.ge-maptools input[type=range]{accent-color:#215f99;max-width:110px}
.ge-map-layers{margin:0 0 15px;border:1px solid #dfe6ed;padding:8px 12px;border-radius:6px;background:#fff}
.ge-layer-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;padding:10px 0;max-height:270px;overflow-y:auto}
.ge-check{font-size:12px;color:#324e67;display:flex;align-items:center;gap:7px;min-width:0}
.ge-check input{accent-color:#24669f}
.ge-legend-group{padding:8px 6px;border:1px solid #e8edf2;border-radius:5px}
.ge-legend-group strong{font-size:11px;color:#40576d}
.ge-legend-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#536578;margin:5px 0}
.ge-legend-row img{max-height:18px;max-width:25px;object-fit:contain}
.ge-compare-result{margin-top:14px;min-height:50px}
.advanced-tabs{display:flex;gap:8px;flex-wrap:wrap}
.advanced-tabs .selected{background:#e6f0fa;color:#1a5187;border-color:#8fb3d5;font-weight:750}
@media(max-width:700px){
  .ge-card{padding:14px}
  .ge-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px}
  .ge-filter-row .ge-input,.ge-filter-row .ge-select:nth-of-type(3){grid-column:1/3}
  .ge-filter-row>.ge-quiet{grid-column:3;grid-row:1}
  .ge-small{min-width:0;max-width:150px}
  .ge-data-table td{max-width:170px}
  .ge-maptools{gap:7px}
  .ge-controls{gap:7px}
  .ge-attribute-grid,.ge-diag-grid{grid-template-columns:minmax(95px,40%) minmax(0,1fr)}
  .ge-attribute-grid dt,.ge-attribute-grid dd,.ge-diag-grid dt,.ge-diag-grid dd{padding:8px 7px;font-size:12px}
}

.ge-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.ge-stat-cell{border:1px solid #d9e4ed;background:#f7fafc;padding:12px;border-radius:7px;min-width:0}
.ge-stat-cell span{display:block;font-size:11px;color:#5a6d81;font-weight:600}
.ge-stat-cell strong{font-size:16px;color:#1b3650;display:block;margin-top:4px;overflow-wrap:anywhere}
@media(max-width:700px){.ge-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ge-sortable-header{cursor:pointer;user-select:none}
.ge-sortable-header:hover,.ge-sortable-header:focus-visible{background:#e2edf7;color:#174f83}


/* ArcGIS server history: anchored popover, compact controls and touch-friendly rows. */
.url-control{position:relative;flex:1;min-width:0;max-width:1000px}
.url-control .urlbar{width:100%;max-width:none;min-width:0}
.urlbar .server-history-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:34px;border:1px solid #d5e0eb;border-radius:5px;background:#f5f8fb;color:#315979;padding:6px 10px;margin-right:5px;font-size:12px;font-weight:650}
.urlbar .server-history-trigger:hover,.urlbar .server-history-trigger[aria-expanded="true"]{background:#e7f0fa;color:#184f86;border-color:#b5cde4}
.urlbar .server-history-trigger>span:first-child{font-size:19px;line-height:1}
.server-history-panel[hidden]{display:none!important}
.server-history-panel{position:absolute;top:calc(100% + 9px);right:0;width:min(470px,calc(100vw - 24px));max-height:min(70dvh,620px);z-index:90;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #d7e0ea;border-radius:11px;box-shadow:0 16px 48px rgba(17,39,63,.19);text-align:left;white-space:normal}
.sh-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px 18px 12px;border-bottom:1px solid #e7edf3}
.sh-header h2{margin:0;font-size:16px;font-weight:720;color:#1b3147;letter-spacing:-.2px}
.sh-header p{font-size:12px;color:#617388;margin:3px 0 0}
.sh-close{flex:none;border:0;background:transparent;color:#556b7f;font-size:24px;line-height:1;width:34px;height:34px;border-radius:6px}
.sh-close:hover{background:#eef3f8}
.sh-tools{padding:12px 16px;display:grid;gap:10px;border-bottom:1px solid #ebeff3}
.sh-bookmark-current{width:100%;text-align:center;border:1px solid #b7cee5;background:#eef5fc;color:#1c598e;font-weight:700;font-size:12.5px;border-radius:7px;min-height:37px;padding:8px 12px}
.sh-bookmark-current:hover{background:#dfedf9}
.sh-bookmark-current[aria-pressed="true"]{background:#e7f2eb;border-color:#b8d7c3;color:#246c44}
.sh-bookmark-current:disabled{opacity:.5}
.sh-search{width:100%;min-width:0;border:1px solid #cfdae5;border-radius:7px;background:#fff;color:#243b50;padding:10px 12px;font-size:13px;min-height:40px}
.sh-search:focus{outline:2px solid #a2bedb;outline-offset:0}
.sh-status{color:#2b658e;font-size:11.5px;line-height:1.35;padding:0 16px}
.sh-status:not(:empty){padding:9px 16px;background:#f2f8fd;border-bottom:1px solid #e1ebf3}
.sh-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:6px 14px 8px}
.sh-section{padding:7px 0 5px}
.sh-section+.sh-section{border-top:1px solid #e9edf1;margin-top:5px}
.sh-section-header{display:flex;justify-content:space-between;align-items:center;gap:9px;margin:0 2px 7px}
.sh-section-header h3{margin:0;font-size:12px;font-weight:750;color:#526a80;letter-spacing:.1px}
.sh-clear-button{background:none;border:0;padding:6px 3px;color:#516e86;font-size:11.5px}
.sh-clear-button:hover{text-decoration:underline;color:#a33c38}
.sh-empty{font-size:12px;color:#6c7d8e;padding:4px 5px 10px;margin:0}
.sh-row{display:flex;align-items:center;gap:6px;min-width:0;border:1px solid transparent;border-radius:7px;padding:5px 3px}
.sh-row:hover{background:#f5f9fc;border-color:#e6edf4}
.sh-server-link{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0;text-align:left;align-items:flex-start;border:0;background:none;padding:6px 5px;border-radius:5px;color:#203b53}
.sh-server-link:hover .sh-server-name{color:#145a9d;text-decoration:underline}
.sh-server-name{display:block;width:100%;font-size:13px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-server-url{display:block;width:100%;font-size:11px;color:#647b90;line-height:1.45;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.sh-server-date{font-size:10.5px;line-height:1.45;color:#778899}
.sh-row-actions{display:flex;align-items:center;gap:2px;flex:none}
.sh-icon-button{display:grid;place-items:center;width:34px;height:36px;border:0;border-radius:6px;background:transparent;color:#566e84;font-size:21px;line-height:1}
.sh-icon-button:hover{background:#e8f0f7;color:#1a578d}
.sh-star.is-saved{color:#b07918}
.sh-icon-button.sh-delete:hover{color:#a73731;background:#fdeeed}
.sh-rename{width:100%;min-width:0;display:grid;gap:8px;padding:5px}
.sh-name-input{min-width:0;width:100%;border:1px solid #bccddc;border-radius:6px;padding:9px 10px;font-size:13px}
.sh-rename-hint{font-size:11px;color:#60798d;line-height:1.4}
.sh-rename-actions{display:flex;gap:6px;justify-content:flex-end}
.sh-save-name,.sh-cancel-name,.sh-confirm-button{border:1px solid #cbd9e5;background:#fff;color:#355b79;border-radius:6px;padding:7px 11px;font-size:12px}
.sh-save-name,.sh-confirm-button{background:#185595;color:#fff;border-color:#185595}
.sh-save-name:hover,.sh-confirm-button:hover{background:#0e437d}
.sh-cancel-name:hover{background:#f0f5f9}
.sh-clear-confirm{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px;background:#fff8ee;border:1px solid #e8d8bb;border-radius:6px;margin-bottom:8px}
.sh-clear-confirm span{flex:1 1 100%;font-size:12px;color:#72552e}
.sh-footer{padding:10px 17px 13px;margin:0;border-top:1px solid #e8edf2;background:#f9fbfd;color:#687e92;font-size:10.5px;line-height:1.5}
@media(max-width:850px){.sh-trigger-label{display:none}.urlbar .server-history-trigger{width:38px;padding:6px;margin-right:3px}}
@media(max-width:700px){
 .topbar .url-control{flex:1;min-width:0}
 .server-history-panel{top:calc(100% + 7px);max-height:min(68dvh,600px);border-radius:9px}
 .sh-row{padding:6px 1px}
 .sh-icon-button{width:39px;height:42px}
 .sh-tools{padding:10px 12px}
 .sh-list{padding:5px 10px}
 .sh-header{padding:13px 14px 11px}
 .sh-footer{padding:9px 13px 11px}
}
@media(max-width:480px){
 .topbar .url-control{flex:1 1 100%;order:2}
 .topbar .auth-button{order:3;margin-left:auto}
 .urlbar #goButton{padding:9px 11px;font-size:12px}
 .urlbar #goButton span{display:none}
 .server-history-panel{width:100%;max-height:min(66dvh,570px)}
}


/* Compact directory workspace — keep the navigation tree the primary content. */
.sidebar-toolbar {
  flex:0 0 auto;
  position:relative;
  z-index:18;
  min-width:0;
  padding:10px 10px 5px;
  background:#fff;
}
.sidebar .side-search {
  display:flex;
  align-items:center;
  margin:0;
  width:100%;
  min-width:0;
  height:37px;
  padding:0 10px;
  gap:7px;
  border:1px solid #cfdae5;
  border-radius:7px;
  background:#f8fafc;
}
.sidebar .side-search:focus-within {
  background:#fff;
  border-color:#8ab3da;
  box-shadow:0 0 0 2px rgba(35,103,167,.13);
}
.sidebar .side-search-icon {
  flex:none;
  font-size:18px;
  line-height:1;
  color:#627991;
}
.sidebar .side-search input {
  flex:1;
  width:100%;
  height:100%;
  min-width:0;
  padding:0;
  background:transparent;
  border:0;
  outline:0;
  color:#21364b;
  font-size:12.5px;
}
.sidebar-tools-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:34px;
  gap:5px;
  margin-top:4px;
  padding:0 2px 3px;
  border-bottom:1px solid #ebeff3;
}
.sidebar .side-section-head {
  display:flex;
  align-items:center;
  flex:1;
  min-width:0;
  gap:7px;
  padding:0;
  font-size:11px;
  font-weight:700;
  letter-spacing:0;
  color:#52667b;
  text-transform:none;
}
.sidebar .side-section-head #itemCount {
  background:#edf2f7;
  color:#577087;
  padding:1px 6px;
  border-radius:5px;
  font-size:10.5px;
  font-variant-numeric:tabular-nums;
}
.sidebar-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:none;
  gap:2px;
}
.sidebar-tool-button {
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  min-width:29px;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:#526e88;
  padding:0;
  font-size:17px;
  font-weight:550;
  line-height:1;
}
.sidebar-tool-button svg,
.sidebar .side-search-icon svg {
  display:block;
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sidebar-tool-button svg { transition:transform .15s ease; }
.sidebar.is-tree-collapsed .mobile-tree-toggle svg { transform:rotate(180deg); }
.sidebar-tool-button:hover,
.sidebar-tool-button[aria-expanded="true"]:not(.mobile-tree-toggle) {
  background:#eaf2fa;
  border-color:#d1e0ee;
  color:#175995;
}
.sidebar-tool-button:disabled {
  opacity:.33;
  cursor:default;
}
.mobile-tree-toggle { display:none; }
.sidebar .side-section {
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
  max-height:none;
  overflow:hidden;
}
.sidebar .nav-items {
  display:block;
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  width:100%;
  overflow:auto;
  padding:3px 7px 12px;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#c8d4df transparent;
}
.sidebar .tree-line { min-height:30px; }
.sidebar .tree-item {
  min-height:29px;
  padding:5px 6px;
  gap:7px;
}
.sidebar .tree-caret,
.sidebar .tree-caret-spacer {
  height:29px;
}
.sidebar .tree-text { font-size:12.5px; }
/* Type remains available via icon and the full title tooltip; keep each row one line. */
.sidebar .tree-sub { display:none; }
.sidebar .tree-loading,
.sidebar .tree-error { padding-top:5px; padding-bottom:5px; }
.sidebar .tree-meta[hidden] { display:none!important; }
.sidebar .tree-meta {
  min-height:0;
  margin:4px 0 0;
  padding:5px 8px;
  background:#f1f6fb;
  border-radius:5px;
  color:#4c6982;
  font-size:11px;
  line-height:1.4;
}
.sidebar .gis-favorite-panel[hidden],
.sidebar .gis-search-options[hidden] { display:none!important; }
.sidebar .gis-favorite-panel,
.sidebar .gis-search-options {
  position:absolute;
  left:10px;
  right:10px;
  top:calc(100% - 2px);
  z-index:25;
  width:auto;
  max-height:min(56dvh,440px);
  margin:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid #cad8e5;
  border-radius:9px;
  background:#fff;
  box-shadow:0 14px 32px rgba(26,47,71,.16);
}
.sidebar .gis-favorite-panel { padding:9px 10px 12px; }
.ge-favorite-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:0 2px 6px;
  border-bottom:1px solid #e5ebf1;
}
.ge-favorite-head strong { font-size:12.5px; font-weight:750; color:#253c53; }
.ge-favorite-close {
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  padding:0;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#526a82;
  font-size:21px;
}
.ge-favorite-close:hover { background:#edf3f8; }
.ge-favorite-section { padding:6px 0 2px; }
.ge-favorite-section + .ge-favorite-section {
  margin-top:4px;
  border-top:1px solid #e9edf2;
}
.sidebar .gis-favorite-panel h4 {
  font-size:11px;
  margin:3px 4px 5px;
  color:#52687e;
}
.sidebar .gis-favorite-panel p { margin:4px 6px; }
.ge-favorite-row {
  display:flex;
  align-items:center;
  min-width:0;
  gap:3px;
  margin:0;
}
.ge-favorite-link {
  flex:1;
  min-width:0;
  min-height:35px;
  padding:7px 8px;
  text-align:left;
  color:#225b8b;
  font-size:12px;
}
.ge-favorite-remove {
  display:grid;
  place-items:center;
  flex:none;
  width:31px;
  height:33px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#657a8e;
  font-size:19px;
}
.ge-favorite-remove:hover {
  background:#fff0ef;
  color:#a43833;
}
.sidebar .gis-search-options {
  display:grid;
  gap:4px;
  padding:12px;
}
.gis-search-options label {
  display:flex;
  align-items:center;
  gap:8px;
  color:#273d51;
  font-size:12.5px;
  cursor:pointer;
}
.gis-search-options input { accent-color:#225e97; width:16px; height:16px; }
.gis-search-options small { color:#60758a; font-size:11px; line-height:1.4; }

/* Wrap the global URL bar before it becomes cramped; do not clip the server URL. */
@media(max-width:900px) {
  .topbar {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand auth" "url url";
    height:108px;
    min-height:0;
    gap:6px 10px;
    align-content:center;
    padding:8px 14px;
  }
  .topbar .brand {
    grid-area:brand;
    min-width:0;
    width:auto;
    gap:8px;
  }
  .topbar .brand small { display:none; }
  .topbar .url-control {
    grid-area:url;
    order:initial;
    min-width:0;
    max-width:none;
    width:100%;
    flex:none;
  }
  .topbar .auth-button {
    grid-area:auth;
    order:initial;
    justify-self:end;
    margin:0;
  }
  .topbar .connection { display:none; }
  .sidebar {
    top:108px;
    height:calc(100dvh - 108px);
    min-height:0;
  }
  .sidebar-resizer {
    top:108px;
    height:calc(100dvh - 108px);
  }
}
@media(max-width:700px) {
  .topbar { height:auto; min-height:0; padding:8px 11px; }
  .topbar .brand { min-width:0; }
  .topbar .brandmark { width:29px; height:29px; }
  .topbar .urlbar { height:39px; }
  .topbar .url-control { flex:none; }
  .sidebar {
    position:relative;
    top:0;
    width:100%;
    height:clamp(270px,49dvh,470px);
    min-height:0;
    flex:none;
    border-right:0;
    border-bottom:1px solid #d5dfe8;
  }
  .sidebar-toolbar { padding:7px 10px 4px; }
  .sidebar .side-search { height:38px; }
  .sidebar .side-section { display:flex; max-height:none; min-height:0; }
  .sidebar .nav-items {
    display:block;
    flex:1;
    width:100%;
    max-height:none;
    overflow:auto;
    padding:2px 7px 10px;
  }
  .sidebar .tree-line { min-height:33px; }
  .sidebar .tree-item { min-height:33px; padding:6px 7px; }
  .sidebar .tree-caret,.sidebar .tree-caret-spacer { height:33px; }
  .mobile-tree-toggle { display:grid; }
  .sidebar.is-tree-collapsed { height:auto; }
  .sidebar.is-tree-collapsed .side-section { display:none; }
  .sidebar .gis-favorite-panel,
  .sidebar .gis-search-options { max-height:min(48dvh,370px); }
  .intro-tools {
    display:flex;
    flex-basis:100%;
    flex-wrap:wrap;
    gap:6px;
  }
  .page-intro { flex-wrap:wrap; padding:14px 0 12px; }
  .intro-tools .action-button { font-size:11.5px; padding:7px 9px; }
  .page-intro .intro-titles h1 { font-size:19px; }
}
@media(max-width:370px) {
  .topbar .url-icon { display:none; }
  .urlbar .server-history-trigger { width:35px; min-height:33px; }
  .urlbar #goButton { padding:8px 9px; }
  .sidebar .side-section-head { font-size:10.5px; }
  .sidebar-tool-button { width:27px; min-width:27px; }
}


/* Compact resource summary — prioritize the layer content over header chrome. */
.main .breadcrumbs {
  height:42px;
  gap:8px;
  border-bottom:1px solid #e2e8ee;
}
.main .breadcrumbs > button { flex:none; font-size:16px; }
.main .breadcrumbs #crumbs { gap:7px; scrollbar-width:thin; }
.main .crumb { font-size:11.5px; padding:4px 0; }
.main .crumb.current { color:#18578e; }
.main .crumb-separator { font-size:11px; }
.main .breadcrumbs .copy-url {
  margin-left:auto;
  flex:none;
  padding:5px 9px;
  min-height:29px;
  border-radius:6px;
  font-size:11px;
  font-weight:650;
}
.main .page-intro {
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  align-items:center;
  gap:10px 11px;
  margin:0;
  padding:12px 0 11px;
}
.main .intro-icon {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  min-width:0;
  margin:0;
  border:1px solid #dae6ef;
  border-radius:6px;
  background:#edf4f9;
  color:#2b5c85;
  font-size:16px;
}
.main .intro-titles { min-width:0; }
.main .resource-heading {
  display:flex;
  align-items:baseline;
  flex-wrap:nowrap;
  gap:9px;
  min-width:0;
}
.main .intro-titles h1 {
  flex:0 1 auto;
  width:auto;
  min-width:0;
  max-width:100%;
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:20px;
  font-weight:720;
  line-height:1.25;
  letter-spacing:-.4px;
  color:#192b40;
}
.main .resource-type {
  display:inline-flex;
  flex:none;
  align-items:center;
  margin:0;
  padding:2px 6px;
  border:1px solid #e0e7ef;
  border-radius:4px;
  background:#f4f7fa;
  color:#5d7084;
  font-size:10px;
  font-weight:650;
  line-height:1.4;
  letter-spacing:0;
  text-transform:none;
  white-space:nowrap;
}
.main .intro-titles p {
  display:block;
  width:100%;
  max-width:100%;
  margin:3px 0 0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#65788a;
  font-size:11.5px;
  line-height:1.4;
}
.main .intro-tools {
  display:flex;
  flex-wrap:nowrap;
  justify-content:flex-end;
  align-items:center;
  gap:6px;
  min-width:0;
  padding:0;
  margin:0;
}
.main .intro-tools .action-button {
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:5px 10px;
  border-radius:6px;
  border:1px solid #cfdae5;
  background:#fff;
  color:#354f69;
  font-size:11.5px;
  font-weight:650;
  line-height:1.3;
  white-space:nowrap;
}
.main .intro-tools .action-button:hover {
  background:#eef5fb;
  border-color:#b4cee5;
}
.main .stat-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  min-height:43px;
  margin:0 0 11px;
  padding:0;
  overflow:hidden;
  border:1px solid #dfe6ec;
  border-radius:7px;
  background:#fff;
}
.main .stat {
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  align-items:center;
  gap:8px;
  min-width:0;
  min-height:42px;
  margin:0;
  padding:7px 13px;
  border:0;
  border-right:1px solid #e6ebf0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.main .stat:last-child { border-right:0; }
.main .stat-label {
  display:block;
  flex:none;
  margin:0;
  color:#627488;
  font-size:11px;
  font-weight:550;
  line-height:1.3;
}
.main .stat-value {
  display:block;
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#1e3249;
  font-size:15px;
  font-weight:725;
  line-height:1.3;
  letter-spacing:-.2px;
}
.main .tabs { gap:18px; margin-bottom:12px; }
.main .tab { padding:0 2px 9px; font-size:12px; }

/* On smaller viewports, keep actions and metadata accessible without clipping. */
@media(max-width:1080px) {
  .main .page-intro { grid-template-columns:32px minmax(0,1fr); }
  .main .intro-tools {
    grid-column:2;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:6px;
  }
  .main .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .main .stat:nth-child(2) { border-right:0; }
  .main .stat:nth-child(-n+2) { border-bottom:1px solid #e6ebf0; }
}
@media(max-width:700px) {
  .main .breadcrumbs { height:38px; gap:6px; }
  .main .breadcrumbs .copy-url { min-height:28px; padding:4px 7px; font-size:10px; }
  .main .page-intro { padding:10px 0 9px; gap:7px 9px; grid-template-columns:28px minmax(0,1fr); }
  .main .intro-icon { width:28px; height:28px; font-size:15px; }
  .main .intro-titles h1 { font-size:18px; }
  .main .intro-titles p { font-size:11px; }
  .main .intro-tools { grid-column:1/-1; gap:5px; }
  .main .intro-tools .action-button { min-height:31px; padding:6px 9px; font-size:11px; }
  .main .stat-grid { margin-bottom:9px; }
  .main .stat { padding:7px 10px; min-height:40px; }
  .main .stat-label { font-size:10.5px; }
  .main .stat-value { font-size:13.5px; }
  .main .tabs { gap:15px; margin-bottom:10px; }
  .main .tab { font-size:11.5px; padding-bottom:8px; }
}
@media(max-width:390px) {
  .main .resource-heading { gap:5px; }
  .main .resource-type { padding:1px 4px; font-size:9px; }
  .main .stat { flex-direction:column; align-items:flex-start; justify-content:center; gap:2px; min-height:44px; }
}


/* Respond to the available main-panel width, including a user-resized sidebar. */
.main { container-type:inline-size; }
@container (max-width:860px) {
  .main .page-intro { grid-template-columns:32px minmax(0,1fr); }
  .main .intro-tools {
    grid-column:2;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .main .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .main .stat:nth-child(2) { border-right:0; }
  .main .stat:nth-child(-n+2) { border-bottom:1px solid #e6ebf0; }
}
@container (max-width:670px) {
  .main .intro-tools { grid-column:1/-1; }
}


/* Attribute explorer: server-backed value pickers and compact sortable tables. */
.ge-value-input{display:flex;align-items:center;gap:6px;min-width:0}
.ge-value-input>.ge-input,.ge-value-input>.ge-select{min-width:0;flex:1}
.ge-value-input>.ge-secondary{flex:none;min-height:39px}
.ge-unique-panel{grid-column:1/-1;border:1px solid #dce7f0;background:#f8fafc;border-radius:8px;padding:12px;min-width:0}
.ge-unique-heading{font-size:12px;font-weight:700;color:#2d526e;margin-bottom:8px}
.ge-unique-search{display:flex;gap:7px;align-items:center}
.ge-unique-search>.ge-input{min-width:0;flex:1}
.ge-unique-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;max-height:225px;overflow-y:auto;overscroll-behavior:contain;margin-top:9px}
.ge-unique-item{font-size:12px;padding:7px 9px;border-radius:5px;background:#fff;border:1px solid #d2deea;white-space:normal;text-align:left;overflow-wrap:anywhere;max-width:100%}
.ge-unique-item:hover,.ge-unique-item:focus-visible{background:#e7f1fb;border-color:#94badb}
.ge-unique-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px}
.ge-column-config{position:relative;min-width:0}
.ge-column-config>summary{cursor:pointer;list-style:none;border:1px solid #cdd8e2;border-radius:6px;color:#215680;background:#fff;padding:9px 11px;font-size:12.5px;font-weight:650;white-space:nowrap}
.ge-column-config>summary::after{content:' ▾'}
.ge-column-config>summary::-webkit-details-marker{display:none}
.ge-column-panel{position:absolute;z-index:10;top:calc(100% + 4px);left:0;width:min(315px,calc(100vw - 52px));max-height:330px;overflow:auto;background:#fff;border:1px solid #cbd9e6;border-radius:8px;box-shadow:0 8px 26px #193b611c;padding:11px}
.ge-column-options{display:grid;grid-template-columns:1fr;gap:3px;margin-top:8px}
.ge-column-options label{display:flex;align-items:center;gap:8px;padding:6px 2px;font-size:12px;color:#324c64;overflow-wrap:anywhere}
.ge-column-options input{flex:none;accent-color:#1e659e}
.ge-table-meta{font-size:11.5px;color:#60768a;margin:8px 0 10px;line-height:1.45}
.ge-table-settings>summary{display:none}
.ge-table-settings .ge-controls{margin:10px 0}
#geTable{width:100%;max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b3c6d7 #f4f7fa;-webkit-overflow-scrolling:touch}
#geTable:focus-visible{outline:2px solid #94bce0;outline-offset:2px}
#geTable .ge-data-table{display:table;width:max-content;min-width:100%;font-size:12px;font-variant-numeric:tabular-nums}
#geTable .ge-data-table th{padding:0;vertical-align:middle}
#geTable .ge-data-table th:first-child{padding:7px 9px}
#geTable .ge-data-table td{padding:6px 9px;height:31px;max-width:215px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#geTable .ge-data-table tbody tr:nth-child(even){background:#f9fbfd}
#geTable .ge-data-table tbody tr:hover{background:#edf5fd}
#geTable .ge-data-table tbody tr.ge-row-selected{background:#e6f2ff}
#geTable .ge-data-table input[type=checkbox]{width:16px;height:16px;vertical-align:middle}
.ge-sort-button{display:block;width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:8px 9px;font:inherit;font-size:11.5px;font-weight:700;line-height:1.2;cursor:pointer;white-space:nowrap}
.ge-sort-button:hover,.ge-sort-button:focus-visible{background:#deebf7;color:#155282;outline-offset:-2px}
.ge-action-menu{min-width:0}
.ge-action-menu>summary{display:none}
.ge-action-menu>.ge-actions{margin-top:2px}
@media(max-width:700px){
 .ge-workspace{gap:11px}
 .ge-card{padding:11px}
 .ge-results-head{gap:7px}
 .ge-results-head .ge-count{font-size:11px}
 .ge-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .ge-actions button{width:100%;min-width:0;white-space:normal;min-height:40px;line-height:1.35}
 .ge-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px}
 .ge-filter-row>.ge-value-input{grid-column:1/-1;grid-row:2}
 .ge-filter-row>.ge-quiet{grid-column:3;grid-row:1;align-self:start}
 .ge-unique-panel{grid-column:1/-1}
 .ge-unique-search{flex-wrap:wrap}
 .ge-unique-search>.ge-input{flex-basis:100%}
 .ge-controls{align-items:center}
 .ge-controls .ge-select{max-width:none;flex:1 1 125px}
 .ge-column-panel{position:static;width:100%;max-height:260px;box-shadow:none;margin-top:7px}
 .ge-action-menu>summary,.ge-table-settings>summary{display:list-item;cursor:pointer;padding:9px 11px;border:1px solid #d5e1eb;border-radius:6px;background:#f7fafc;color:#285d89;font-size:12px;font-weight:650}
 .ge-action-menu[open]>.ge-actions{margin:10px 0 0;padding:0 0 9px}
 .ge-table-settings[open]>.ge-controls{margin:8px 0 0}
 .ge-table-meta{margin:7px 1px}
 #geTable{height:min(60dvh,510px);max-height:min(60dvh,510px);min-height:190px;overflow-x:auto;overflow-y:auto;touch-action:pan-x pan-y;border:1px solid #d7e2ed;border-radius:7px}
 #geTable .ge-data-table{display:table;font-size:12px;min-width:100%;width:max-content}
 #geTable .ge-data-table th{position:sticky;top:0;z-index:2;background:#e9f0f6;border-bottom:1px solid #cbd8e5;max-width:195px}
 #geTable .ge-data-table td{padding:5px 8px;height:29px;max-width:195px}
 #geTable .ge-sort-button{min-height:34px;padding:8px;font-size:11.5px}
 /* Pin selection only; every attribute column scrolls horizontally. */
 #geTable .ge-data-table th:first-child,#geTable .ge-data-table td:first-child{
   position:sticky;left:0;box-sizing:border-box;width:46px;min-width:46px;max-width:46px;
   background:#f5f8fb;z-index:3;text-align:center;border-right:1px solid #dce6ef;
 }
 #geTable .ge-data-table th:first-child{z-index:6;background:#e9f0f6}
 #geTable .ge-data-table tbody tr.ge-row-selected td:first-child{background:#e6f2ff}
 .ge-pagination{justify-content:space-between}
 .ge-pagination .ge-secondary{min-height:40px}
 .ge-detail-scroll{max-height:340px}
}
