/* Idę na grzyby – panel „Moje wyjścia”. */
:root { --green: #123c2d; --accent: #2d9855; --light: #f5f5ee; --muted: #69786e; --line: #e4e8df; --ink: #153329; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif; background: var(--light); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
header { background: #fff; border-bottom: 1px solid var(--line); padding: 14px max(20px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { font-weight: 850; font-size: 20px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; vertical-align: -8px; margin-right: 6px; box-shadow: 0 1px 4px #0003; }
.brand small { font-size: 12px; color: #7a8b7c; font-weight: 500; }
.tag { font-size: 12px; color: #32774a; background: #e9f5e9; padding: 8px 12px; border-radius: 99px; }
.shell { max-width: 1240px; margin: auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 25px; padding: 26px 20px; }
.sidebar { background: #103a2a; color: #fff; border-radius: 20px; padding: 20px; align-self: start; position: sticky; top: 15px; }
.sidebar h3 { margin: 4px 0 20px; font-size: 18px; }
.nav { width: 100%; border: 0; background: transparent; color: #d7e7dc; text-align: left; padding: 12px 14px; border-radius: 10px; margin: 3px 0; }
.nav.active, .nav:hover { background: #2d704c; color: #fff; }
.sidebar small { display: block; margin-top: 30px; line-height: 1.7; color: #c5ddcc; }
.content { min-width: 0; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; margin-bottom: 16px; }
h1 { margin: 0 0 5px; font-size: 30px; letter-spacing: -1px; }
p { margin: 0; color: var(--muted); line-height: 1.6; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { background: var(--accent); color: #fff; border: 0; padding: 11px 16px; border-radius: 11px; font-weight: 750; }
.btn.secondary { background: #fff; color: var(--green); border: 1px solid #d5dfd5; }
.notice { padding: 12px 15px; background: #eef7ed; color: #23583a; border-radius: 12px; font-size: 13px; margin: 12px 0; }
.notice.warn { background: #fff2e7; color: #8b501d; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0; }
.card, .panel { background: #fff; border: 1px solid #e8ebe5; border-radius: 17px; padding: 18px; box-shadow: 0 5px 25px #1a4d2810; }
.card .symbol { font-size: 20px; }
.card strong { display: block; font-size: 25px; margin: 8px 0 3px; white-space: nowrap; }
.card small { color: var(--muted); }
.twocol { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.panel h2 { font-size: 18px; margin: 0 0 14px; }
.panel h2 small { font-weight: 400; color: var(--muted); font-size: 12px; }
.map { height: 360px; border-radius: 13px; overflow: hidden; background: #dcebd5; }
.map.big { height: 560px; }
.trip { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; cursor: pointer; }
.trip:last-child { border: 0; }
.trip strong { font-size: 14px; }
.trip small { display: block; color: var(--muted); margin-top: 4px; }
.pill { font-size: 11px; color: #207044; background: #e8f5eb; border-radius: 30px; padding: 6px 9px; white-space: nowrap; }
.pill.grey { color: #6a6f6b; background: #eeefea; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.section { display: none; }
.section.active { display: block; }
.toolbar { display: flex; gap: 9px; flex-wrap: wrap; margin: 4px 0 14px; align-items: center; }
#cloudConnection { margin-bottom: 20px; overflow-wrap: anywhere; }
#cloudConnection .toolbar > label { display: grid; gap: 6px; min-width: 0; max-width: 100%; }
#cloudConnection select { width: 100%; min-width: 0; text-overflow: ellipsis; }
#cloudConnection .btn { max-width: 100%; white-space: normal; }
select, input[type="text"] { padding: 9px 12px; border: 1px solid #d8e1d7; border-radius: 10px; background: #fff; max-width: 100%; }
label.check { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.drop { border: 2px dashed #a8c7ae; background: #f5faf4; padding: 36px 18px; text-align: center; border-radius: 15px; margin: 15px 0; }
.drop.drag { background: #e1f5e6; }
.bars { height: 190px; display: flex; gap: 10px; align-items: end; border-bottom: 1px solid #d8dfd6; padding: 0 6px; }
.barwrap { flex: 1; text-align: center; font-size: 11px; color: #738173; }
.barwrap .bar { background: linear-gradient(#5bbf71, #288947); border-radius: 5px 5px 0 0; min-height: 2px; margin-bottom: 7px; }
.rate { display: grid; grid-template-columns: 150px 1fr 70px 80px; gap: 10px; align-items: center; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rate .track { height: 12px; background: #e9eddf; border-radius: 20px; overflow: hidden; }
.rate .track div { height: 100%; background: #35a85d; border-radius: 20px; }
.rate.small-sample { color: #9aa39c; }
.rate.small-sample .track div { background: #c5cec2; }
.rate b { text-align: right; }
.rate small { color: var(--muted); text-align: right; }
.empty { padding: 22px; color: var(--muted); text-align: center; }
.tablewrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th, td { padding: 11px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: #6a7c70; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: #f6f8f3; }
/* Znalezisko jak w aplikacji (lib/map/find_marker.dart): brązowe kółko z liczbą sztuk. */
.find { background: #8d5524; color: #fff; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 3px #00000060;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; box-sizing: border-box; }
/* Wydzielenia na mapie: legenda i etykiety „118b”. */
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #52685a; margin-top: 10px; }
.legend:empty { display: none; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }
.lbl { background: none; border: 0; box-shadow: none; font-weight: 800; font-size: 12px; padding: 0; }
.lbl::before { display: none; }
.lbl.light { color: #fff; text-shadow: 0 0 2px #0006; }
.lbl.dark { color: #4c6553; }
.privacy { font-size: 12px; color: #60766b; margin-top: 16px; line-height: 1.6; }
code { background: #eef1ea; padding: 1px 5px; border-radius: 5px; }

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .twocol { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  header { padding: 12px 16px; }
  .tag { display: none; }
  .shell { display: block; padding: 14px 16px; }
  .sidebar { position: static; margin-bottom: 14px; padding: 10px; }
  .sidebar h3, .sidebar small { display: none; }
  .navs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .nav { white-space: nowrap; width: auto; font-size: 12px; }
  .top h1 { font-size: 24px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card { padding: 13px; }
  .card strong { font-size: 21px; }
  .map { height: 280px; }
  .map.big { height: 420px; }
  .rate { grid-template-columns: 96px 1fr 58px; }
  .rate small { display: none; }
}
