/* Administrace pocitové mapy */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--brand); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(38,41,43,.04); }
.card.pad { padding: 20px; }
.card-title { font-size: 15px; margin-bottom: 14px; }

/* ---------- Přihlášení ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 520px) 1fr; }
.auth-card { padding: 56px 56px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.auth-card h1 { font-size: 30px; }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(150deg, #687a1c 0%, #7b8f24 45%, #8fa72b 100%); display: flex; align-items: flex-end; padding: 56px; }
.auth-dots {
  position: absolute; inset: -40px;
  background-image: radial-gradient(circle, rgba(255,255,255,.22) 0 7px, transparent 8px), radial-gradient(circle, rgba(255,255,255,.12) 0 3px, transparent 4px);
  background-size: 96px 96px, 48px 48px; background-position: 0 0, 24px 24px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.auth-quote { position: relative; color: #fff; max-width: 520px; }
.auth-quote p { font-size: 40px; line-height: 1.15; margin: 10px 0 22px; }
.auth-quote .legend { display: flex; gap: 18px; font-weight: 600; font-size: 14px; }
.auth-quote .legend span { display: inline-flex; gap: 8px; align-items: center; }
.auth-quote .dot { width: 14px; height: 14px; border: 2px solid #fff; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-card { padding: 40px 24px; } }

/* ---------- Horní lišta ---------- */
.topbar { position: sticky; top: 0; z-index: 1500; display: flex; align-items: center; gap: 24px; padding: 10px 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tb-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.tb-brand .logo { height: 42px; }
.tb-app { font-weight: 700; font-size: 14px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--grey); }
.tb-nav { display: flex; gap: 4px; }
.tb-nav a { text-decoration: none; color: var(--grey); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.tb-nav a.on, .tb-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.tb-user { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) { .tb-app, #me-name { display: none; } .topbar { gap: 10px; padding: 10px 14px; } }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 32px 0 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 32px; margin-top: 4px; }

/* ---------- Karty projektů ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; padding-bottom: 48px; }
.pcard { padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .15s, transform .15s; cursor: pointer; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard h2 { font-size: 21px; }
.pcard .client { font-size: 13px; color: var(--muted); margin-top: 3px; }
.pcard .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.open { background: var(--pos-50); color: #3c7d20; }
.badge.closed { background: #f0f1f2; color: #6b7073; }
.badge.draft { background: #fff4d6; color: #8a6400; }
.bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: #eef0ea; }
.bar i { display: block; height: 100%; }
.pstats { display: flex; gap: 16px; font-size: 13px; color: var(--grey); flex-wrap: wrap; }
.pstats b { color: var(--ink); font-size: 15px; }
.pstats span { display: inline-flex; gap: 6px; align-items: center; }
.pcard .foot { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.pcard .foot .btn { flex: 1; }
.empty-big { grid-column: 1 / -1; text-align: center; padding: 64px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: 18px; }

/* ---------- Výsledky ---------- */
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 22px auto 16px; flex-wrap: wrap; }
.results-head h1 { font-size: 28px; margin: 6px 0 4px; }
.back { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--brand-600); }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dropdown { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 220px; overflow: hidden; z-index: 1600; border: 1px solid var(--line); }
.menu a { display: block; padding: 11px 14px; font-size: 14px; cursor: pointer; color: var(--ink); text-decoration: none; }
.menu a:hover { background: var(--brand-50); }

.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 14px 16px; }
.kpi .v { font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.kpi .l { font-size: 12.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.kpi .p { font-size: 12px; color: var(--muted); font-weight: 500; }
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(3, 1fr); } }

.results-body { display: grid; grid-template-columns: 1fr 440px; gap: 16px; height: calc(100vh - 290px); min-height: 520px; }
.map-card { display: flex; flex-direction: column; overflow: hidden; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
#r-map { flex: 1; min-height: 300px; }
.list-card { display: flex; flex-direction: column; overflow: hidden; }
.list-tools { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); }
.list-tools input { flex: 1; } .list-tools select { width: auto; }
.list-sub { padding: 8px 14px 0; }
.resp-list { flex: 1; overflow: auto; padding: 8px; }
.resp { display: flex; gap: 12px; padding: 12px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; }
.resp:hover, .resp.sel { background: #f7f8f4; border-color: var(--line); }
.resp.hidden-r { opacity: .5; }
.resp .dot { margin-top: 5px; }
.resp .body { flex: 1; min-width: 0; }
.resp .c { font-size: 14.5px; white-space: pre-line; word-wrap: break-word; }
.resp .c.none { color: var(--muted); font-style: italic; }
.resp .m { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.resp .tools { display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .15s; }
.resp:hover .tools, .resp.sel .tools { opacity: 1; }
.resp .tools button { border: 0; background: transparent; cursor: pointer; padding: 4px; border-radius: 8px; color: var(--muted); }
.resp .tools button:hover { background: #eceee7; color: var(--ink); }
.resp .tools svg { width: 16px; height: 16px; display: block; }
.tag { display: inline-block; background: #eef0ea; color: var(--grey); border-radius: 6px; padding: 1px 7px; font-weight: 600; }
@media (max-width: 1000px) { .results-body { grid-template-columns: 1fr; height: auto; } #r-map { height: 60vh; } .list-card { max-height: 80vh; } }

.breakdowns { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; margin-bottom: 48px; }
.brk h3 { font-size: 15px; margin-bottom: 14px; }
.brk-row { display: grid; grid-template-columns: 160px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 8px; }
.brk-row .lbl { color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brk-row .n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.legend-inline { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.legend-inline span { display: inline-flex; gap: 5px; align-items: center; }
.legend-inline .dot { width: 9px; height: 9px; }

/* ---------- Editor ---------- */
.editor { max-width: 920px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 12px; }
@media (max-width: 720px) { .row2, .row3 { grid-template-columns: 1fr; gap: 0; } }
.boundary-box { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fbfbf8; }
@media (max-width: 720px) { .boundary-box { grid-template-columns: 1fr; } }
#b-map { height: 280px; border-radius: 10px; }
.b-results { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow: auto; }
.b-results button { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; font: 14px var(--font); cursor: pointer; }
.b-results button:hover { border-color: var(--brand); background: var(--brand-50); }
.b-results small { display: block; color: var(--muted); font-size: 12px; }
.b-status { margin-top: 10px; color: var(--grey); }
.b-status .tag { margin: 2px 4px 2px 0; }
.b-status .x { cursor: pointer; margin-left: 4px; color: var(--neg); }
.more-settings { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-top: 4px; }
.more-settings summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--grey); }
.more-settings[open] summary { margin-bottom: 14px; }

/* ---------- Sdílení ---------- */
.share-grid { display: grid; grid-template-columns: 1fr 220px; gap: 20px; }
@media (max-width: 720px) { .share-grid { grid-template-columns: 1fr; } }
.copy-row { display: flex; gap: 8px; align-items: flex-start; }
.copy-row input, .copy-row textarea { flex: 1; background: #f7f8f4; }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
#s-qr img, #s-qr canvas { width: 168px !important; height: 168px !important; }

/* ---------- Uživatelé ---------- */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.urow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.urow:last-child { border-bottom: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }

/* ---------- Vlastnictví, sdílení, přepínač sběru ---------- */
.seg .cnt { font-size: 11.5px; font-weight: 700; color: var(--muted); background: rgba(38,41,43,.07); border-radius: 999px; padding: 1px 7px; margin-left: 2px; }
.seg button.on .cnt { background: var(--brand-50); color: var(--brand-700); }
.owner-line { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--grey); margin-top: 8px; font-weight: 600; }
.owner-line.owner { color: var(--brand-700); }
.avatar.xs { width: 20px; height: 20px; font-size: 9.5px; }
.switch { position: relative; display: inline-flex; flex: none; }
.switch input { appearance: none; -webkit-appearance: none; margin: 0; width: 42px; height: 24px; border-radius: 999px; background: #d5d8cf; cursor: pointer; transition: background .18s; position: relative; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .18s; }
.switch input:checked { background: var(--pos); }
.switch input:checked::after { left: 21px; }
.switch input:focus-visible { outline: 3px solid rgba(123,143,36,.35); outline-offset: 2px; }
.switch input:disabled { opacity: .5; cursor: wait; }
.collect-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f7f8f4; cursor: default; }
.collect-row > span:first-child { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.collect-pill { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--font); padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.role-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef0ea; color: var(--grey); white-space: nowrap; }
.role-chip.owner { background: var(--brand-50); color: var(--brand-700); }
.row-actions { display: flex; gap: 4px; }
.t-add { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.t-add select { flex: 1; }
#users .dropdown .menu { min-width: 200px; }
.pcard .foot { gap: 6px; }
.pcard .foot .btn { flex: 1 1 0; min-width: 0; padding: 8px 6px; }
.pcard .foot .btn svg { display: none; }

/* ---------- Přihlášení: obnova hesla, poznámky ---------- */
.auth-links { display: flex; justify-content: center; margin-top: 16px; font-size: 14px; }
.auth-links a { color: var(--brand-600); font-weight: 600; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-note { background: var(--brand-50); color: var(--brand-700); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.auth-note.error { background: var(--neg-50); color: #9b2c24; }
.mail-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.mail-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mail-badge.on { color: #3c7d20; } .mail-badge.off { color: #8a6400; }

/* ---------- Typ mapy a legenda ---------- */
.map-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .map-types { grid-template-columns: 1fr; } }
.mt { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s; }
.mt:hover { border-color: #cfd3c7; }
.mt.on { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(123,143,36,.12); }
.mt[disabled] { opacity: .5; cursor: not-allowed; }
.mt b { font-size: 15px; } .mt small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.mt-dots { display: flex; gap: 4px; margin-bottom: 4px; }
.mt-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.legend-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.legend-head > label { font-size: 13px; font-weight: 600; color: var(--grey); }
.copy-select { width: auto; max-width: 300px; font-size: 13px; padding: 6px 10px; }
.legend-edit { display: flex; flex-direction: column; gap: 8px; }
.lg-row { display: grid; grid-template-columns: 38px 1fr 1.3fr 30px; gap: 8px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fbfbf8; }
.lg-row .lg-q { grid-column: 2 / 4; }
.lg-row input[type=text] { padding: 8px 10px; font-size: 14px; }
.lg-color { width: 34px; height: 34px; padding: 0; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; background: none; overflow: hidden; }
.lg-color::-webkit-color-swatch-wrapper { padding: 0; } .lg-color::-webkit-color-swatch { border: 0; border-radius: 50%; }
.lg-color::-moz-color-swatch { border: 0; border-radius: 50%; }
.lg-del { border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 6px; border-radius: 8px; }
.lg-del:hover { background: var(--neg-50); color: var(--neg); }
.lg-del[disabled] { opacity: .3; cursor: not-allowed; }
.lg-used { grid-column: 2 / 4; font-size: 12px; color: var(--muted); margin-top: -2px; }
@media (max-width: 640px) { .lg-row { grid-template-columns: 38px 1fr 30px; } .lg-row .lg-desc, .lg-row .lg-q, .lg-used { grid-column: 2 / 3; } }
.seg-wrap { flex-wrap: wrap; border-radius: 14px; }
.type-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e8f1fa; color: #24618f; }
.type-chip.feeling { background: #eef0ea; color: var(--grey); }

/* ---------- Nabídka hotových kategorií ---------- */
.lg-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.lg-actions .muted { margin-left: auto; }
.lg-lib { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px 16px; display: grid; gap: 14px; }
.lg-lib h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lg-lib .items { display: flex; flex-wrap: wrap; gap: 6px; }
.lib-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: 500 13.5px var(--font); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.lib-chip:hover:not([disabled]) { border-color: var(--brand); background: var(--brand-50); }
.lib-chip .dot { width: 11px; height: 11px; }
.lib-chip[disabled] { opacity: .55; cursor: default; background: #f7f8f4; }
.lib-chip .ok { color: var(--brand-600); font-weight: 700; }
.lib-full { font-size: 13px; color: #8a6400; }

/* ---------- Výběr barvy bodu ---------- */
.editor { position: relative; }
.lg-color { display: block; position: relative; }
.lg-color::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23535759' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center/9px no-repeat; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.lg-color:hover { transform: scale(1.06); }
.color-pop { position: absolute; z-index: 20; width: 236px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 12px; }
.cp-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.cp-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.cp-sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; padding: 0; position: relative; }
.cp-sw:hover { transform: scale(1.12); }
.cp-sw.on { box-shadow: 0 0 0 2px var(--ink); }
.cp-sw.used::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgba(255,255,255,.9); }
.cp-custom { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--grey); cursor: pointer; }
.cp-custom input { width: 28px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.cp-note { font-size: 12px; color: #8a6400; margin-top: 8px; }
.cp-note:empty { display: none; }

/* ---------- Verze aplikace ---------- */
.app-version { font-size: 12px; color: var(--muted); }
.app-footer { text-align: center; font-size: 12px; color: var(--muted); padding: 28px 16px 32px; }

/* Kontaktní osoba projektu */
.contact-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-top: 12px; background: #fbfbf8; }
.contact-box .field { margin-bottom: 10px; }

/* Mapa ve výsledcích – nápověda k přiblížení kolečkem */
#r-map { position: relative; }
.wheel-tip { position: absolute; inset: 0; z-index: 900; display: grid; place-items: center; background: rgba(38,41,43,.42); color: #fff;
  font-weight: 600; font-size: 15px; text-align: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wheel-tip.on { opacity: 1; }

/* Patička – odkaz na historii verzí */
.foot-version { color: inherit; text-decoration: none; }
a.foot-version[href]:hover { color: var(--brand-700); text-decoration: underline; }

/* Přehled změn */
.ch-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.ch-filters input[type=search] { flex: 1 1 240px; min-width: 200px; }
.ch-filters select { flex: 0 1 200px; width: auto; }
.ch-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.ch-date input { width: 150px; }
.ch-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ch-list .empty-big { border: 0; }
.ch-day { position: sticky; top: 0; z-index: 1; background: #f7f8f4; border-bottom: 1px solid var(--line); padding: 8px 18px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); }
.ch-day::first-letter { text-transform: uppercase; }
.ch-row { display: grid; grid-template-columns: 46px 12px 1fr minmax(120px, 200px); gap: 12px; align-items: start; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ch-row:last-child { border-bottom: 0; }
.ch-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 1px; }
.ch-ico { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--brand); }
.ch-ico.team { background: #2f7fc1; }
.ch-ico.responses { background: #7048a8; }
.ch-ico.accounts { background: #535759; }
.ch-ico.security { background: #8c9295; }
.ch-ico.warn { background: #e3b505; }
.ch-ico.danger { background: var(--neg); }
.ch-body { min-width: 0; }
.ch-body a { color: var(--brand-700); font-weight: 600; text-decoration: none; }
.ch-body a:hover { text-decoration: underline; }
.ch-target { font-weight: 600; }
.ch-detail { color: var(--muted); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.ch-who { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey, #535759); min-width: 0; justify-self: end; }
.ch-who .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .ch-row { grid-template-columns: 40px 10px 1fr; padding: 10px 14px; }
  .ch-who { grid-column: 3; justify-self: start; }
  .ch-filters select, .ch-date input { flex: 1 1 100%; width: 100%; }
  .ch-date { flex: 1 1 45%; }
}
#ch-versions { display: flex; flex-direction: column; gap: 14px; }
.ver h3 { font-size: 20px; margin: 4px 0 8px; }
.ver ul { margin: 0; padding-left: 20px; line-height: 1.55; }
.ver li { margin: 3px 0; }
.ver-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ver-no { font-weight: 700; color: var(--brand-700); }
.ver.current { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(123,143,36,.10); }
.tb-nav a { white-space: nowrap; }
.nav-short { display: none; }
@media (max-width: 560px) { .nav-full { display: none; } .nav-short { display: inline; } }
