@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Source+Sans+3:wght@400;500;600;700&display=swap"); @import "leaflet/dist/leaflet.css"; :root { --ink: #10161c; --ink-2: #182028; --ink-3: #222c36; --parchment: #f4efe4; --muted: #b7aea0; --line: rgba(244, 239, 228, 0.12); --teal: #3cb8c4; --copper: #e09a45; --moss: #7cb07c; --danger: #c45c5c; --radius: 14px; --font: "Source Sans 3", "Segoe UI", sans-serif; --display: "Fraunces", Georgia, serif; } * { box-sizing: border-box; } html, body, #root { height: 100%; height: 100dvh; margin: 0; overflow: hidden; } body { background: var(--ink); color: var(--parchment); font-family: var(--font); font-size: 15px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; } button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; } button, a, input, select, label { touch-action: manipulation; } .app { height: 100%; display: grid; grid-template-rows: auto auto 1fr; background: radial-gradient(1200px 600px at 10% -10%, rgba(60, 184, 196, 0.08), transparent 50%), radial-gradient(900px 500px at 110% 0%, rgba(224, 154, 69, 0.07), transparent 46%), var(--ink); } .topbar { display: flex; gap: 12px; align-items: center; padding: 12px 16px 8px; border-bottom: 1px solid var(--line); } .brand { display: flex; flex-direction: column; min-width: 180px; } .brand strong { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; font-weight: 700; } .brand span { color: var(--muted); font-size: 12px; } .search-wrap { position: relative; flex: 1; min-width: 0; } .search-wrap input { width: 100%; background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px 10px 40px; outline: none; } .search-wrap input:focus { border-color: var(--teal); } .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); } .suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); max-height: 360px; overflow: auto; box-shadow: 0 18px 40px rgba(0,0,0,0.35); } .suggest button { display: flex; width: 100%; text-align: left; background: none; border: 0; padding: 10px 14px; gap: 10px; align-items: baseline; } .suggest button:hover, .suggest button.active { background: var(--ink-3); } .suggest .term { font-family: var(--display); font-size: 17px; } .suggest .meta { color: var(--muted); font-size: 12px; margin-left: auto; } .toolbar { display: flex; gap: 8px; align-items: center; padding: 8px 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); } .seg { display: flex; background: var(--ink-2); border-radius: 999px; padding: 3px; border: 1px solid var(--line); } .seg button, .chip, .ghost { background: transparent; border: 0; color: var(--muted); padding: 6px 12px; border-radius: 999px; } .seg button.on, .chip { background: var(--ink-3); color: var(--parchment); } .chip { border: 1px solid var(--line); display: inline-flex; gap: 6px; align-items: center; font-size: 12px; } .chip b { color: var(--teal); font-weight: 600; } .ghost { border: 1px solid var(--line); } .ghost.primary { background: var(--teal); color: var(--ink); border-color: transparent; font-weight: 600; } .workspace { display: grid; grid-template-columns: 320px 1fr 320px; min-height: 0; position: relative; overflow: hidden; } .panel { background: rgba(24, 32, 40, 0.72); border-right: 1px solid var(--line); overflow: auto; padding: 14px; -webkit-overflow-scrolling: touch; } .panel.right { border-right: 0; border-left: 1px solid var(--line); } .stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; overscroll-behavior: none; } .stage canvas, .stage .map, .stage .table-wrap, .stage .stats { position: absolute; inset: 0; width: 100%; height: 100%; } .viz-canvas { touch-action: none; display: block; cursor: grab; -webkit-user-select: none; user-select: none; } .sheet-grab { display: none; } .sheet-backdrop { display: none; } .tabs { display: flex; gap: 6px; margin-bottom: 12px; } .tabs button { flex: 1; background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px; color: var(--muted); } .tabs button.on { color: var(--parchment); border-color: var(--teal); } label.field { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; } .row { display: flex; gap: 8px; align-items: center; } select, .field-input { width: 100%; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; } .checklist { max-height: 140px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--ink); } .checklist label { display: flex; gap: 8px; padding: 5px 8px; font-size: 13px; color: var(--parchment); } .rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; } .rel-grid label { display: flex; gap: 6px; font-size: 13px; align-items: center; } .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; } .legend { position: absolute; left: 12px; bottom: 12px; background: rgba(16,22,28,0.82); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; max-width: min(520px, calc(100% - 24px)); } .status-line { position: absolute; right: 12px; bottom: 12px; color: var(--muted); font-size: 12px; background: rgba(16,22,28,0.72); padding: 6px 10px; border-radius: 999px; } .table-wrap { overflow: auto; padding: 8px 12px 48px; } table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); } th { color: var(--muted); font-weight: 600; position: sticky; top: 0; background: var(--ink); } tr:hover td { background: var(--ink-3); cursor: pointer; } .stats { overflow: auto; padding: 18px; } .bars { display: grid; gap: 6px; } .bar-row { display: grid; grid-template-columns: 140px 1fr 40px; gap: 8px; align-items: center; font-size: 13px; } .bar { height: 8px; background: var(--ink-3); border-radius: 99px; overflow: hidden; } .bar > i { display: block; height: 100%; background: var(--teal); } .inspector h2 { font-family: var(--display); margin: 0 0 4px; font-size: 28px; } .inspector-def { margin: 12px 0 4px; } .inspector-def h3 { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 600; } .kv { display: grid; grid-template-columns: 110px 1fr; gap: 4px 8px; font-size: 13px; margin: 12px 0; } .kv dt { color: var(--muted); } .path-list { display: flex; flex-direction: column; gap: 6px; } .path-list button { background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px; text-align: left; } .sheet { display: none; } .examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; padding: 16px; } .examples button { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: left; } .examples .t { font-family: var(--display); font-size: 18px; display: block; } .examples .b { color: var(--muted); font-size: 12px; } .qr img { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 8px; } .modal-root { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; } .modal-backdrop { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(6, 10, 14, 0.62); cursor: pointer; } .modal-dialog { position: relative; z-index: 1; width: min(560px, 100%); max-height: min(86dvh, 820px); display: flex; flex-direction: column; background: radial-gradient(700px 240px at 0% 0%, rgba(60, 184, 196, 0.12), transparent 55%), var(--ink-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); overflow: hidden; } .modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 16px 10px; border-bottom: 1px solid var(--line); } .modal-head h2 { font-family: var(--display); margin: 0; font-size: 28px; line-height: 1.1; } .modal-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; } .modal-body { overflow: auto; -webkit-overflow-scrolling: touch; padding: 8px 16px 16px; flex: 1; min-height: 0; } .modal-body section { margin-top: 14px; } .modal-body h3 { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 600; } .modal-muted { color: var(--muted); font-size: 13px; margin: 0; } .modal-muted a { color: var(--teal); } .modal-senses { display: grid; gap: 10px; } .modal-pos { font-size: 12px; color: var(--copper); font-style: italic; margin-bottom: 2px; } .modal-sense ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; } .modal-sense li { font-size: 14px; line-height: 1.35; } .modal-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; } .modal-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); } .modal-foot .ghost, .modal-foot a.ghost { text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; } @media (max-width: 840px) { .workspace { grid-template-columns: 1fr; } .panel { display: none; } .sheet-backdrop { display: block; position: absolute; inset: 0; z-index: 25; border: 0; background: rgba(0, 0, 0, 0.45); padding: 0; } .panel.open-sheet { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; height: min(78dvh, 640px); max-height: calc(100% - 12px); border-right: 0; border-left: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; background: var(--ink-2); padding: 0 14px 18px; overflow: hidden; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35); } .sheet-body { overflow: auto; -webkit-overflow-scrolling: touch; flex: 1; min-height: 0; } .sheet-grab { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px; padding: 10px 0 8px; position: sticky; top: 0; background: var(--ink-2); z-index: 1; } .sheet-grab > span { width: 42px; height: 4px; border-radius: 99px; background: rgba(244, 239, 228, 0.28); justify-self: start; margin-left: 10px; } .sheet-grab strong { font-size: 14px; font-weight: 600; } .sheet-close { padding: 8px 12px; min-height: 40px; } .brand { min-width: 0; } .brand span { display: none; } .brand strong { font-size: 18px; } .topbar { padding: 10px; gap: 8px; } .toolbar { padding: 8px 10px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .toolbar::-webkit-scrollbar { display: none; } .seg { flex: 0 0 auto; } .seg button { padding: 8px 10px; min-height: 36px; } .filters-btn { flex: 0 0 auto; min-height: 40px; } .legend { display: none; } .status-line { left: 12px; right: 12px; bottom: 10px; text-align: center; } .search-wrap input { padding: 12px 16px 12px 40px; font-size: 16px; /* avoid iOS zoom-on-focus */ } .suggest { max-height: min(50dvh, 320px); } .suggest button { padding: 12px 14px; min-height: 44px; } .checklist { max-height: 180px; } .checklist label { padding: 10px 8px; min-height: 40px; } }