:root { --bg: #0f1020; --panel: #1a1c33; --ink: #e8e8f0; --muted: #9aa0c0; --accent: #8b7bf0; --line: #2a2d4a; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; display: flex; justify-content: center; padding: 3rem 1rem; } main { width: 100%; max-width: 880px; } h1 { margin: 0; font-size: 2rem; letter-spacing: .5px; } .sub { color: var(--muted); margin: .25rem 0 2rem; } .topbar { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .25rem; } .topbar nav { display: flex; gap: .25rem; } .topbar nav a { color: var(--muted); text-decoration: none; padding: .4rem .8rem; border-radius: 8px; border: 1px solid transparent; } .topbar nav a:hover { color: var(--ink); } .topbar nav a.active { color: #fff; background: var(--panel); border-color: var(--line); } .foot { color: var(--muted); font-size: .8rem; margin-top: 2.5rem; opacity: .7; } .grid { display: flex; gap: .6rem; flex-wrap: wrap; } .grid label { display: flex; flex-direction: column; gap: .25rem; color: var(--muted); font-size: .85rem; flex: 1; min-width: 9rem; } .grid input { width: 100%; } .loc { margin-top: .8rem; } .loc summary { color: var(--muted); cursor: pointer; font-size: .85rem; margin-bottom: .6rem; } .actions { display: flex; gap: .5rem; margin-top: 1rem; } button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; } td.retro { color: #ff9b6a; font-weight: 600; } form { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; } .row { display: flex; gap: .5rem; } .row input[type=text] { flex: 1; } input, select, button { font: inherit; padding: .6rem .75rem; border-radius: 8px; border: 1px solid var(--line); background: #12132a; color: var(--ink); } button { background: var(--accent); color: #fff; border: none; cursor: pointer; padding-inline: 1.25rem; } button:hover { filter: brightness(1.1); } .opts { display: flex; gap: 1.5rem; margin-top: .75rem; color: var(--muted); align-items: center; } .opts input[type=number] { width: 5rem; } .meta { color: var(--muted); margin: 1.5rem 0 .5rem; font-size: .9rem; } .error { background: #3a1320; border: 1px solid #6a2233; color: #ffb3c0; padding: .75rem 1rem; border-radius: 8px; margin-top: 1.5rem; } .empty { color: var(--muted); } table { width: 100%; border-collapse: collapse; margin-top: .5rem; background: var(--panel); border-radius: 12px; overflow: hidden; } th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); } th { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; } tr:last-child td { border-bottom: none; } .muted { color: var(--muted); } .small { font-size: .85rem; } .nowrap { white-space: nowrap; } .sig-item { margin-top: 1.25rem; } .sig-head { padding: .5rem 0; } .samples { margin-top: .3rem; } .samples td { font-size: .92rem; vertical-align: top; } .samples td.nowrap { color: var(--accent); padding-right: 1rem; } .facet { margin: .4rem 0 .6rem 1rem; } .facet-head { color: var(--ink); font-size: .9rem; } .badge { display: inline-block; font-size: .72rem; padding: .05rem .4rem; border-radius: 6px; background: #2a2d4a; color: var(--accent); margin-left: .3rem; } .samples td.sig { color: var(--accent); padding-right: 1rem; cursor: help; } /* Wyszukiwarka lokalizacji + mapa (OSM/Leaflet) */ .geo { margin-top: .9rem; } .geo-search { display: flex; gap: .5rem; flex-wrap: wrap; } .geo-search input[type=search] { flex: 1; min-width: 12rem; } .geo-results { list-style: none; margin: .4rem 0 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #12132a; max-height: 14rem; overflow-y: auto; } .geo-results li { padding: .5rem .75rem; cursor: pointer; border-bottom: 1px solid var(--line); font-size: .9rem; } .geo-results li:last-child { border-bottom: none; } .geo-results li:hover { background: var(--panel); color: #fff; } .geo-map { height: 320px; margin-top: .6rem; border: 1px solid var(--line); border-radius: 10px; } .geo-map[hidden] { display: none; } .geo-attrib { margin: .4rem 0 0; } .geo-attrib a { color: var(--accent); } .geo-pin { font-size: 20px; line-height: 24px; text-align: center; } /* kafelki OSM są jasne — trzymamy kontrolki czytelne na ciemnym tle */ .leaflet-control-attribution { font-size: .68rem; } /* Generator promptu do LLM (LOG-29/30) */ textarea.prompt { width: 100%; margin-top: .5rem; padding: .7rem .8rem; box-sizing: border-box; background: #12132a; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; line-height: 1.45; resize: vertical; white-space: pre; } textarea.prompt:focus { outline: 2px solid var(--accent); outline-offset: 1px; } /* Okno postępu przy generowaniu horoskopu */ .progress-overlay { position: fixed; inset: 0; background: rgba(8,9,20,.72); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 1rem; } .progress-overlay[hidden] { display: none; } .progress-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; width: min(38rem, 100%); box-shadow: 0 18px 48px rgba(0,0,0,.45); } .progress-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; } .progress-clock { margin-left: auto; font-family: ui-monospace, Menlo, monospace; color: var(--muted); font-size: .9rem; } .progress-spinner { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .progress-spinner { animation: none; } } .progress-log { list-style: none; margin: 0 0 .6rem; padding: .6rem .7rem; background: #12132a; border: 1px solid var(--line); border-radius: 10px; max-height: 15rem; overflow-y: auto; font-family: ui-monospace, Menlo, monospace; font-size: .78rem; line-height: 1.6; } .progress-log li { color: var(--ink); white-space: pre-wrap; } .progress-log li.log-ok { color: #7fd18b; } .progress-log li.log-warn { color: #e0c060; } .progress-log li.log-err { color: #ef6b6b; }