:root { --ink: #0F1B2A; --accent: #0B6E99; --warning: #B45309; --ai: #5B3FA8; --ai-ground: #F1ECFB; --ground: #F5F7F9; --line: #D9DFE6; --muted: #4A5768; --chip: #E3F0F5; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.5; display: block; max-width: none; padding: 0; }
.mono, td.num, code { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: var(--accent); }
h1, h2 { color: var(--ink); line-height: 1.2; }
button, .button, summary.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.button.quiet, summary.button.quiet { background: #fff; color: var(--ink); border-color: #B7C1CC; }
.button.full { width: 100%; }
button.ghost { background: transparent; border-color: #8FA0B3; color: #fff; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, select { font: inherit; color: var(--ink); }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: none; margin: 0; padding: 12px 24px; background: var(--ink); color: #fff; border: 0; }
.topbar .brand { color: #fff; font-weight: 700; font-size: 20px; text-decoration: none; margin: 0; }
.topsearch { flex: 1 1 260px; max-width: 520px; }
.topsearch input { width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: #fff; }
.topbar nav { display: flex; gap: 20px; margin-left: auto; }
.topbar nav a { color: #D5DEE8; text-decoration: none; margin: 0; padding: 6px 0; }
.topbar nav a[aria-current] { color: #fff; font-weight: 600; }
.logout { margin: 0; }
.logout button { min-height: 34px; padding: 4px 12px; font-size: 14px; }
main { max-width: 1180px; margin: 0 auto; padding: 24px; }
footer { max-width: 1180px; margin: 0 auto; padding: 16px 24px 32px; color: var(--muted); font-size: 14px; border: 0; }
.muted { color: var(--muted); }
.small, .small * { font-size: 14px; }
.fine { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.warn { color: var(--warning); }
.warnline { color: #8A3F04; }
.ai { display: inline-block; flex: none; padding: 2px 8px; border-radius: 4px; background: var(--ai-ground); color: var(--ai); font: 600 13px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .04em; }
.aibox { display: flex; align-items: center; gap: 10px; }
.aibox input[type=text] { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.aibutton { background: var(--ai); border-color: var(--ai); }
.hero { background: #fff; border-bottom: 1px solid var(--line); }
.wrap { max-width: 960px; margin: 0 auto; padding: 48px 24px 40px; }
.hero h1 { font-size: 34px; margin: 0 0 6px; }
.lede { color: var(--muted); margin: 0 0 22px; }
.aibox.big { padding: 10px; border: 2px solid #C9BCE8; border-radius: 10px; background: #fff; }
.aibox.big input[type=text] { border: 0; font-size: 18px; padding: 10px 6px; }
.aibox.big input[type=text]:focus-visible { outline: none; }
.aibox.big:focus-within { border-color: var(--ai); }
.aibox.big .aibutton { min-height: 48px; padding: 8px 24px; }
.examples { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.examples a { padding: 7px 14px; border: 1px solid #C9BCE8; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; background: #fff; }
.examples a:hover { background: var(--ai-ground); }
.wide { max-width: 1240px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 24px; overflow: hidden; }
.notice { padding: 16px 20px; }
.answer { padding: 20px 24px; background: #FAF8FE; border-color: #DCD3F0; }
.answerhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.answerhead .spacer { flex: 1; }
.savefull { margin: 0; }
.answerline { font-size: 17px; margin: 12px 0 6px; }
.used { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.toprow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-top: 1px solid #E6E1F2; }
.toprow a { font-weight: 600; }
.seeall { margin: 10px 0 0; font-weight: 600; }
.twoup { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.cardhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cardhead h2 { font-size: 20px; margin: 0; }
.cardhead p { margin: 2px 0 0; font-size: 15px; }
.rowlink { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid #EDF0F3; color: var(--ink); text-decoration: none; }
.rowlink:last-child { border-bottom: 0; }
.rowlink:hover { background: var(--ground); }
.rowlink small { display: block; color: var(--muted); font-size: 14px; }
.empty { padding: 16px 20px; color: var(--muted); }
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
.side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; min-height: 100%; align-self: stretch; }
.side h2 { font: 600 13px "IBM Plex Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 24px 8px 6px; }
.side a:not(.button) { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.side a:not(.button):hover { background: var(--ground); }
.side a[aria-current] { background: var(--chip); font-weight: 600; }
.listmain { max-width: none; margin: 0; min-width: 0; padding: 24px; }
.listhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.listhead h1 { font-size: 28px; margin: 0; }
.listhead p { margin: 2px 0 0; }
.listactions { display: flex; flex-wrap: wrap; gap: 8px; }
.menu { position: relative; }
details.menu:not([open]) > .panel { display: none; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.panel { position: absolute; right: 0; z-index: 20; margin-top: 6px; width: 320px; max-width: 86vw; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 27, 42, .16); }
.paneltitle { font-weight: 600; margin: 0 0 8px; }
.check { display: flex; gap: 8px; align-items: center; padding: 3px 0; color: var(--ink); }
.check.disabled { color: var(--muted); }
.field { display: block; margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.field input, .field select { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #B7C1CC; border-radius: 6px; background: #fff; }
.panelactions { text-align: right; margin-top: 8px; }
.aipanel { margin-top: 16px; padding: 14px 16px; background: #fff; border: 2px solid #C9BCE8; border-radius: 10px; }
.ailine { margin: 10px 0 0; }
.airead { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; background: #FAF8FE; border: 1px solid #E2DAF3; border-radius: 10px; }
.airead p { flex: 1 1 320px; margin: 0; }
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.filterlabel { font-weight: 600; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 0; background: var(--chip); border: 1px solid #B5D3E0; border-radius: 6px; }
.chipedit { display: inline-block; min-height: 36px; padding: 4px 4px 4px 12px; background: none; border: 0; color: var(--ink); font-weight: 400; font-size: 15px; }
.chip a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; padding: 0 4px; }
.dashed { padding: 8px 14px; border: 1px dashed #8FA0B3; border-radius: 6px; font-weight: 600; background: #fff; }
.addfilter .panel { left: 0; right: auto; }
.filterpanel { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 16px; width: 620px; }
.tabs { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); padding-right: 10px; }
.tabs button { justify-content: flex-start; min-height: 34px; padding: 4px 10px; background: none; border: 0; color: var(--ink); font-weight: 400; text-align: left; }
.tabs button[aria-selected=true] { background: var(--chip); font-weight: 600; }
.manychecks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.clearall { margin-left: auto; }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px 10px 0 0; }
.bulkbar[hidden] { display: none; }
.bulkbar select { padding: 7px; border-radius: 6px; max-width: 220px; }
.bulkbar + .tablecard { margin-top: 0; border-radius: 0 0 10px 10px; }
.tablecard { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.scroll { overflow-x: auto; }
.listtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.listtable th { padding: 10px 12px; text-align: left; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: #FAFBFC; border-bottom: 1px solid var(--line); white-space: nowrap; }
.listtable th.num, .listtable td.num { text-align: right; }
.listtable th a { color: inherit; text-decoration: none; }
.listtable td { padding: 11px 12px; border-bottom: 1px solid #EDF0F3; }
.listtable td.warn { color: var(--warning); font-weight: 500; }
.ownerpick { max-width: 130px; font-size: 14px; }
.listtable td.underlimit { color: var(--muted); }
.listtable td:first-child + td { min-width: 230px; }
.listtable td:first-child + td a { font-weight: 600; }
.listtable .pick { width: 40px; }
.pagerbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; }
@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; }
  .side h2 { margin-top: 14px; }
  .side .starter, .side a.starter:not(.button) { display: none; }
  .listmain, main { padding: 16px; }
  .topbar { padding: 10px 16px; }
  .topbar nav { margin-left: 0; order: 3; width: 100%; }
  .hero h1 { font-size: 28px; }
  .wrap { padding: 28px 16px 24px; }
  .aibox.big { flex-wrap: wrap; }
  .aibox.big input[type=text] { flex-basis: 70%; font-size: 16px; }
  .aibox.big .aibutton { width: 100%; }
  .filterpanel { grid-template-columns: minmax(0, 1fr); width: auto; }
  .tabs { border-right: 0; padding: 0 0 10px; flex-direction: row; flex-wrap: wrap; }
  .panel { position: static; width: auto; max-width: none; }
  .twoup { grid-template-columns: minmax(0, 1fr); }
}
.buildbox { padding: 14px 16px; }
.buildbox label { flex: none; }
.newpill { padding: 2px 10px; border-radius: 999px; background: #FDEBD8; color: #8A3F04; font-size: 14px; white-space: nowrap; }
.tabbar { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 20px 0; }
.tabbar a { padding: 8px 4px 10px; color: var(--muted); text-decoration: none; }
.tabbar a[aria-current] { color: var(--ink); font-weight: 600; border-bottom: 3px solid var(--accent); }
.savedgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.savedgrid .tablecard { margin-top: 0; }
.showbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; margin: 0; }
.showbar select, .rowform select, .rowform input { padding: 7px 8px; border: 1px solid #B7C1CC; border-radius: 6px; background: #fff; }
.rowform { display: flex; gap: 8px; margin: 0; }
.rowform input { width: 110px; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--warning); }
.account { min-width: 200px; }
.listtable td.mono { font-size: 14px; }
.button.small { min-height: 34px; padding: 3px 10px; }
.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.aisummary { padding: 14px 20px; background: #FAF8FE; border-bottom: 1px solid var(--line); }
.aisummary p { margin: 8px 0 0; }
.changegroup { padding: 14px 20px; border-bottom: 1px solid #EDF0F3; }
.changegroup h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.changegroup h3.kind-new_enforcement, .changegroup h3.kind-entered_snc { color: #8A1C1C; }
.changegroup h3.kind-left_list { color: var(--muted); }
.changeitem { margin: 0 0 10px; }
.changeitem > a { font-weight: 600; }
.changeitem small { color: var(--muted); font-size: 14px; }
.notes { padding: 16px 20px; }
.notes textarea { display: block; width: 100%; margin-top: 4px; padding: 8px; border: 1px solid #B7C1CC; border-radius: 6px; font: inherit; }
.noteform { margin-bottom: 16px; }
button.ghostdark { background: #fff; color: var(--ink); border-color: #B7C1CC; }
dialog { width: min(760px, 94vw); padding: 0; border: 0; border-radius: 12px; color: var(--ink); }
dialog::backdrop { background: rgba(15, 27, 42, .6); }
.dialoghead { display: flex; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dialoghead h2 { margin: 0; font-size: 22px; }
.dialoghead p { margin: 2px 0 0; }
.closeit { background: none; border: 0; color: var(--ink); font-size: 24px; min-height: 0; padding: 0 6px; }
.dialogbody { padding: 8px 24px 16px; }
.dialogbody h3 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.format { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.format:has(input:checked) { border-color: var(--accent); background: #F0F7FA; }
.format.disabled { color: var(--muted); }
.format small, .briefchoice small { display: block; color: var(--muted); font-size: 14px; }
.rowchoices { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.manychecks.three { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.briefchoice { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; background: #FAF8FE; border: 1px solid #E2DAF3; border-radius: 8px; }
.dialogfoot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; background: var(--ground); }
.crumbs { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.summary { margin-top: 18px; }
.summary h2 { margin: 0; padding: 14px 20px; font-size: 20px; border-bottom: 1px solid var(--line); }
.summarygrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.summarygrid > div { padding: 16px 20px; border-right: 1px solid var(--line); }
.summarygrid > div:last-child { border-right: 0; }
.summarygrid h3 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 8px; }
.warnhead { color: #8A3F04; } .accenthead { color: var(--accent); }
.big { font-size: 24px; margin: 0; line-height: 1.2; }
.summarygrid p.small { margin: 2px 0 12px; }
.aibrief { padding: 18px 22px; background: #FAF8FE; border-color: #E2DAF3; overflow: visible; }
.briefhead { display: flex; align-items: center; gap: 10px; }
.briefhead h2 { margin: 0; font-size: 20px; }
.linkbutton { background: none; border: 0; min-height: 0; padding: 0; color: var(--accent); text-decoration: underline; font-weight: 400; font-size: inherit; }
.askrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.grow { flex: 1 1 320px; }
.draft pre { white-space: pre-wrap; background: #fff; padding: 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; }
.related { padding: 14px 20px; }
.related h2 { margin: 0 0 6px; font-size: 20px; }
.related a { margin-right: 22px; }
@media (max-width: 860px) { .savedgrid { grid-template-columns: minmax(0, 1fr); } .summarygrid > div { border-right: 0; border-bottom: 1px solid var(--line); } }
.saved { max-width: 1480px; }
.saved .listtable { font-size: 14px; }
.saved .listtable th, .saved .listtable td { padding: 9px 8px; }
.saved .listtable td.mono { white-space: nowrap; }
.saved .listtable td:first-child + td { min-width: 0; }
.saved .account { min-width: 190px; }
@media (min-width: 861px) { .savedgrid { grid-template-columns: minmax(0, 1fr) 340px; } }
.rowform input { width: 96px; }
.check .mono { font-size: 15px; }
details.section { margin: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
details.section summary { padding: 10px 14px; font-weight: 600; cursor: pointer; }
details.section[open] { padding-bottom: 8px; }
details.section .scroll, details.section .note { margin: 0 14px; }
.rowform input { flex: 0 0 96px; }
.rowform select { flex: 0 0 auto; }
.saved .listtable td:last-child { white-space: nowrap; }
.buildbox .aibox { flex-wrap: wrap; }
.buildbox .aibox input[type=text] { flex: 1 1 240px; }
.tabbar { flex-wrap: wrap; gap: 8px 20px; }
.rowform { flex-wrap: wrap; }
@media (max-width: 860px) { .saved .account { min-width: 150px; } .listactions { width: 100%; } }
.exporthistory { padding: 0 24px 12px; }
.exporthistory h3 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 8px 0; }
.exporthistory p { margin: 2px 0; }
.dialogfoot .footnote { margin-right: auto; }
.maplayout { display: grid; grid-template-columns: 420px minmax(0, 1fr); height: calc(100vh - 66px); min-height: 560px; }
.mapside { background: #fff; border-right: 1px solid var(--line); padding: 14px; overflow-y: auto; }
.mapwrap { display: flex; flex-direction: column; min-width: 0; }
#map { flex: 1; min-height: 360px; }
.leaflet-marker-icon.mapcluster { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(180, 83, 9, .82); border: 2px solid #fff; color: #fff; font: 600 14px "IBM Plex Mono", monospace; }
.maplegend { margin: 0; padding: 8px 14px; font-size: 14px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
.mapchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.maphead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.maphead p { margin: 0; }
.maprow { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px; border-top: 1px solid #EDF0F3; color: var(--ink); text-decoration: none; }
.maprow small { display: block; color: var(--muted); font-size: 14px; }
.maprow .mono { font-size: 13px; text-align: right; flex: none; max-width: 170px; }
@media (max-width: 860px) { .maplayout { grid-template-columns: minmax(0, 1fr); height: auto; } .mapwrap { order: -1; } #map { flex: none; height: 50vh; min-height: 300px; } .mapside { max-height: none; border-right: 0; } }
.welcome { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 16px; }
.welcomecard { padding: 18px 22px; margin: 0; }
.welcomecard h2 { font-size: 20px; margin: 0 0 12px; }
.welcomecard h3 { font-size: 16px; margin: 18px 0 8px; }
.wide-choice { margin-bottom: 8px; }
.rankon { margin-top: 14px; }
.welcomefoot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 860px) { .welcome { grid-template-columns: minmax(0, 1fr); } }
.scroll, .tablecard { position: relative; }
.listtable td.nowrap { white-space: nowrap; }
