/* ============================================================
   Fieldmarks — UI schematics library
   ============================================================ */

.sk {
  /* Default theme */
  --sk-accent: #5C3A1E;
  --sk-accent-soft: #EFE4D6;
  --sk-hero-tile: rgba(255,255,255,.13);
  --sk-hero-ink: #F7F1E8;
  --sk-hero-ink-dim: rgba(247,241,232,.72);
  --sk-green: #3E7A4E;
  --sk-green-soft: #E4F0E7;
  --sk-amber: #A05C1C;
  --sk-amber-soft: #F7E8D2;
  --sk-red: #B4472E;
  --sk-red-soft: #F8E4DE;
  --sk-blue: #3D5A96;
  --sk-blue-soft: #E4EAF6;
  --sk-rare: #6D4FA3;
  --sk-rare-soft: #ECE5F7;
  --sk-mono: "SF Mono", ui-monospace, Menlo, monospace;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  text-align: left;
}
.sk.sk-bigsur { --sk-accent: #112B4C; --sk-accent-soft: #E1E7EF; }  /* Alternate theme */

/* ---- outer frames ---- */
.sk-frame { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px -38px rgba(43,36,26,.45); }
.sk-bar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 11px; color: var(--ink-muted); }
.sk-bar::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); box-shadow: 14px 0 0 var(--line), 28px 0 0 var(--line); margin-right: 24px; flex-shrink: 0; }
.sk-body { padding: 14px 16px; }

/* modal + drawer frames */
.sk-modal { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 34px 80px -36px rgba(43,36,26,.55); }
.sk-modal-head { padding: 13px 16px 10px; border-bottom: 1px solid var(--line); }
.sk-drawer { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px -38px rgba(43,36,26,.5); }
.sk-drawer-head { padding: 13px 16px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sk-x { color: var(--ink-muted); font-size: 13px; line-height: 1; }
.sk-pager { font-size: 11px; color: var(--ink-muted); white-space: nowrap; }

/* ---- app shell (sidebar layouts) ---- */
.sk-shell { display: grid; grid-template-columns: 132px 1fr; min-height: 100%; }
.sk-side { background: var(--paper); border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; font-size: 10.5px; }
.sk-logo { font-weight: 700; font-size: 11px; color: var(--sk-accent); padding: 2px 6px 10px; letter-spacing: .02em; }
.sk-oplogo { display: block; height: 100%; width: auto; }
.sk-logo .sk-oplogo { height: 30px; margin: 2px 0 4px; }
.sk-nav { display: flex; flex-direction: column; gap: 1px; }
.sk-nav span { padding: 4px 7px; border-radius: 6px; color: var(--ink-muted); display: flex; justify-content: space-between; align-items: center; }
.sk-nav span.on { background: var(--sk-accent-soft); color: var(--ink); font-weight: 600; }
.sk-nav span.sub { padding-left: 17px; font-size: 10px; }
.sk-nav .sk-count { font-size: 8.5px; font-weight: 700; background: var(--sk-amber); color: #fff; border-radius: 99px; padding: 0 5px; line-height: 1.5; }
.sk-nav .sk-count.red { background: var(--sk-red); }
.sk-user { margin-top: auto; padding: 8px 6px 2px; border-top: 1px solid var(--line); display: flex; gap: 6px; align-items: center; }
.sk-ava { width: 18px; height: 18px; border-radius: 50%; background: var(--sk-accent-soft); color: var(--sk-accent); font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sk-user b { display: block; font-size: 10px; line-height: 1.2; }
.sk-user i { font-style: normal; font-size: 9px; color: var(--ink-muted); }
.sk-main { padding: 12px 14px; min-width: 0; }

/* ---- hero band (dashboard greeting) ---- */
.sk-hero { background: var(--sk-accent); border-radius: 10px; padding: 12px 14px; color: var(--sk-hero-ink); margin-bottom: 12px; }
.sk-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.sk-hero h4 { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.15; }
.sk-hero .sk-date { font-size: 10.5px; color: var(--sk-hero-ink-dim); }
.sk-hero-note { background: var(--sk-hero-tile); border-radius: 7px; padding: 7px 10px; font-size: 10.5px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sk-hero-note b { display: block; font-size: 11px; }
.sk-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.sk-tile { background: var(--sk-hero-tile); border-radius: 7px; padding: 7px 9px; }
.sk-tile i { font-style: normal; display: block; font-size: 9px; color: var(--sk-hero-ink-dim); letter-spacing: .02em; }
.sk-tile b { font-size: 17px; font-weight: 700; line-height: 1.2; }
.sk-btn-hero { background: rgba(255,255,255,.92); color: var(--sk-accent); border-radius: 6px; padding: 5px 10px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }

/* ---- panels, rows, chips ---- */
.sk-h { font-size: 11px; font-weight: 700; margin: 0 0 7px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sk-h .sk-more { font-size: 10px; font-weight: 600; color: var(--sk-accent); }
.sk-h .sk-live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sk-green); margin-right: 5px; }
.sk-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; background: #fff; }
.sk-row:last-child { margin-bottom: 0; }
.sk-row .nm { font-weight: 600; font-size: 11.5px; display: block; line-height: 1.35; }
.sk-row .mt { color: var(--ink-muted); font-size: 10.5px; display: block; line-height: 1.35; }
.sk-row.alert { border-color: #E8CFA6; background: #FBF3E4; }
.sk-group { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); background: var(--paper); border-radius: 5px; padding: 3px 9px; margin: 8px 0 6px; }
.sk-group:first-child { margin-top: 0; }

.sk-pill { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--sk-green-soft); color: var(--sk-green); white-space: nowrap; }
.sk-pill.warn { background: var(--sk-amber-soft); color: var(--sk-amber); }
.sk-pill.info { background: var(--sk-blue-soft); color: var(--sk-blue); }
.sk-pill.risk { background: var(--sk-red-soft); color: var(--sk-red); }
.sk-pill.rare { background: var(--sk-rare-soft); color: var(--sk-rare); }
.sk-pill.plain { background: var(--paper); color: var(--ink-muted); border: 1px solid var(--line); }

.sk-code { font-family: var(--sk-mono); font-size: 10px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.sk-code::after { content: '⧉'; margin-left: 5px; font-size: 9px; color: var(--ink-muted); }
.sk-qr { width: 14px; height: 14px; flex-shrink: 0; border-radius: 2px; background:
  conic-gradient(var(--ink) 0 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 8px 8px,
  linear-gradient(var(--ink), var(--ink)) 50% 50% / 4px 4px no-repeat, #fff;
  border: 1.5px solid var(--ink); opacity: .75; }

.sk-time { font-family: var(--sk-mono); font-size: 10px; font-weight: 600; white-space: nowrap; }
.sk-thumb { width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; background: linear-gradient(135deg, #C9B79B, #8E7B5C); }
.sk-thumb.g2 { background: linear-gradient(135deg, #A9B99E, #67785C); }
.sk-thumb.g3 { background: linear-gradient(135deg, #B9C4CE, #6E8091); }
.sk-thumb.g4 { background: linear-gradient(135deg, #D0BDA4, #9C8163); }

/* progress bar (expedition day X of Y) */
.sk-prog { height: 4px; border-radius: 99px; background: var(--sk-accent-soft); margin: 7px 0; overflow: hidden; }
.sk-prog i { display: block; height: 100%; border-radius: 99px; background: var(--sk-accent); }

/* ---- buttons ---- */
.sk-btn { display: inline-block; border-radius: 6px; padding: 4px 10px; font-size: 10.5px; font-weight: 700; border: 1px solid var(--line); background: #fff; white-space: nowrap; }
.sk-btn.pri { background: var(--sk-accent); border-color: var(--sk-accent); color: #fff; }
.sk-btn.quiet { border: none; background: none; color: var(--ink-muted); font-weight: 600; }

/* segmented control (sighting status, view toggles) */
.sk-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.sk-seg span { padding: 4px 12px; font-size: 10.5px; font-weight: 600; color: var(--ink-muted); border-right: 1px solid var(--line); }
.sk-seg span:last-child { border-right: none; }
.sk-seg span.on { background: var(--sk-green); color: #fff; }
.sk-seg span.on-warn { background: var(--sk-amber); color: #fff; }
.sk-seg span.on-soft { background: var(--paper); color: var(--ink); }

/* ---- tables ---- */
.sk-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.sk-table th { text-align: left; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); background: var(--sk-accent-soft); padding: 6px 8px; }
.sk-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sk-table tr:last-child td { border-bottom: none; }
.sk-table .nm { font-weight: 600; font-size: 11px; }
.sk-table .mt { color: var(--ink-muted); font-size: 9.5px; }
.sk-check { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--sk-green); position: relative; }
.sk-check::after { content: ''; position: absolute; left: 3.5px; top: 1px; width: 3px; height: 6px; border-right: 1.5px solid var(--sk-green); border-bottom: 1.5px solid var(--sk-green); transform: rotate(40deg); }
.sk-check.pending { border-color: var(--sk-amber); }
.sk-check.pending::after { display: none; }

/* form bits */
.sk-field label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.sk-field label i { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.sk-input { border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 8px 10px; font-size: 10.5px; color: var(--ink-muted); }
.sk-select { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 5px 10px; font-size: 10.5px; font-weight: 600; }
.sk-select::after { content: ''; width: 5px; height: 5px; border-right: 1.4px solid var(--ink-muted); border-bottom: 1.4px solid var(--ink-muted); transform: rotate(45deg); margin-top: -3px; }

/* definition grid (detail drawers) */
.sk-defs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.sk-defs i { font-style: normal; display: block; font-size: 9.5px; color: var(--ink-muted); }
.sk-defs b { font-size: 11px; font-weight: 600; }
.sk-sect { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-muted); margin: 12px 0 6px; }
.sk-sect:first-child { margin-top: 0; }

/* ---- schedule grid ---- */
.sk-sched { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 10px; }
.sk-sched-days { display: grid; grid-template-columns: 78px repeat(7, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); }
.sk-sched-days span { padding: 5px 4px; text-align: center; font-size: 8.5px; font-weight: 700; letter-spacing: .05em; color: var(--ink-muted); }
.sk-sched-row { display: grid; grid-template-columns: 78px 1fr; border-bottom: 1px solid var(--line); }
.sk-sched-row:last-child { border-bottom: none; }
.sk-sched-row > b { padding: 8px 8px; font-size: 10px; font-weight: 600; }
.sk-lanes { padding: 5px 5px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sk-block { border: 1px solid var(--line); background: var(--sk-accent-soft); border-radius: 5px; padding: 2px 7px; font-size: 9px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-block.clash { border-color: var(--sk-red); background: var(--sk-red-soft); }
.sk-clash-note { font-size: 9px; color: var(--sk-red); font-weight: 600; padding: 1px 2px 0; }

/* footer action bars */
.sk-actions { display: flex; gap: 8px; align-items: center; padding-top: 10px; }
.sk-actions .spacer { flex: 1; }

/* ============================================================
   Mobile schematics
   ============================================================ */

/* phone frame — matches the site's existing .phone convention */
.sk-phone { background: var(--brand-900); border-radius: 26px; padding: 9px; box-shadow: 0 30px 70px -34px rgba(43,36,26,.55); max-width: 320px; width: 100%; }
.sk-phone-screen { background: var(--paper); border-radius: 19px; overflow: hidden; display: flex; flex-direction: column; min-height: 430px; }
.sk-phone-body { padding: 12px 12px 8px; flex: 1; }
.sk-notch { width: 74px; height: 16px; background: var(--brand-900); border-radius: 99px; margin: 8px auto 6px; flex-shrink: 0; }
.sk-ptabs { display: flex; border-top: 1px solid var(--line); background: #fff; margin-top: auto; }
.sk-ptabs span { flex: 1; text-align: center; padding: 8px 2px 10px; font-size: 9.5px; font-weight: 600; color: var(--ink-muted); position: relative; }
.sk-ptabs span.on { color: var(--sk-accent); font-weight: 700; }
.sk-ptabs span i { font-style: normal; display: block; font-size: 8px; letter-spacing: .1em; opacity: .8; }
.sk-ptabs .sk-tabdot { position: absolute; top: 6px; right: 18%; background: var(--sk-amber); color: #fff; font-size: 7.5px; font-weight: 700; border-radius: 99px; padding: 0 4px; line-height: 1.6; }

/* branded expedition band (guest home hero) */
.sk-band { background: var(--sk-accent); color: var(--sk-hero-ink); padding: 12px 14px; }
.sk-band h5 { font-family: var(--serif); font-weight: 400; font-size: 16px; margin: 0 0 6px; }
.sk-band .sk-daychip { background: var(--paper); color: var(--ink); font-size: 8.5px; font-weight: 700; letter-spacing: .05em; border-radius: 99px; padding: 2px 8px; }
.sk-band .dt { font-size: 10px; color: var(--sk-hero-ink-dim); margin-left: 6px; }
.sk-band .sk-prog { background: rgba(255,255,255,.25); margin: 9px 0 0; }
.sk-band .sk-prog i { background: var(--gold-500); }

/* operator wordmark strip above the band */
.sk-opmark { text-align: center; font-weight: 700; font-size: 10.5px; letter-spacing: .08em; color: var(--sk-accent); padding: 6px 0 8px; text-transform: uppercase; }
.sk-opmark .sk-oplogo { height: 26px; margin: 0 auto; }

/* amber guide-update banner */
.sk-banner { background: #FBF3E4; border: 1px solid #E8CFA6; color: var(--sk-amber); border-radius: 8px; padding: 7px 10px; font-size: 10px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 0; }

/* guide quote block (field report "From your guide") */
.sk-quote { border-left: 2.5px solid var(--sk-accent); padding: 2px 0 2px 10px; font-size: 10.5px; color: var(--ink); margin: 8px 0 10px; }

/* paired stat tiles (26 species / 26 sightings) */
.sk-stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.sk-stat2 > span { border: 1px solid var(--line); background: #fff; border-radius: 8px; text-align: center; padding: 8px 4px; }
.sk-stat2 b { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; }
.sk-stat2 i { font-style: normal; font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }

/* selectable chips (behaviors, characteristics) */
.sk-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 10px; }
.sk-chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 3px 10px; font-size: 10px; font-weight: 600; }
.sk-chip.on { background: var(--sk-accent-soft); border-color: var(--sk-accent); }

/* count stepper */
.sk-stepper { display: flex; gap: 6px; align-items: stretch; margin: 5px 0 10px; }
.sk-stepper span { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 5px 12px; font-weight: 700; font-size: 12px; }
.sk-stepper .val { flex: 1; text-align: center; }

/* dark branded share card */
.sk-share { background: var(--sk-accent); color: var(--sk-hero-ink); border-radius: 12px; padding: 14px; }
.sk-share .kick { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-100); }
.sk-share h5 { font-family: var(--serif); font-weight: 400; font-size: 19px; margin: 3px 0 8px; color: #fff; }
.sk-share .nums { display: flex; gap: 16px; margin-bottom: 10px; }
.sk-share .nums b { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--gold-100); display: block; }
.sk-share .nums i { font-style: normal; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--sk-hero-ink-dim); }
.sk-share ul { list-style: none; margin: 0; padding: 0; }
.sk-share li { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--serif); font-size: 12px; }
.sk-share li:last-child { border-bottom: none; }
.sk-share .rr { font-size: 7.5px; font-weight: 700; letter-spacing: .06em; border: 1px solid rgba(255,255,255,.4); border-radius: 3px; padding: 1px 5px; color: var(--gold-100); }
.sk-share .xn { font-size: 10px; color: var(--gold-100); }
.sk-share .brand { margin-top: 10px; font-size: 9px; color: var(--sk-hero-ink-dim); }
.sk-share .brand b { display: inline-block; background: var(--paper); color: var(--sk-accent); border-radius: 4px; padding: 2px 7px; font-size: 8.5px; margin-right: 6px; }
.sk-share .brand b .sk-oplogo { height: 16px; display: block; }
.sk-share .brand { display: flex; align-items: center; }

/* phone — species detail (Wildlife tab) */
.sk-sp-photo { height: 118px; position: relative; flex-shrink: 0; background: linear-gradient(135deg, #C9B79B 0%, #8E7B5C 60%, #6B5A40 100%); background-size: cover; background-position: center 30%; }
.sk-sp-photo.g2 { background: linear-gradient(135deg, #A9B99E, #67785C 60%, #4B5A43); }
.sk-sp-photo.g3 { background: linear-gradient(135deg, #B9C4CE, #6E8091 60%, #4F5F6E); }
.sk-sp-back { position: absolute; left: 10px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 13px; line-height: 19px; text-align: center; }
.sk-sp-cnt { position: absolute; left: 10px; bottom: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: 8.5px; font-weight: 600; border-radius: 4px; padding: 2px 6px; }
.sk-chip.green { color: var(--sk-green); background: var(--sk-green-soft); border-color: var(--sk-green-soft); }
.sk-chip.gold { color: #9A6B12; background: #FBF1D6; border-color: #FBF1D6; }
.sk-btn.block { display: block; text-align: center; padding: 8px 10px; font-size: 11px; margin: 0 0 10px; }
.sk-sp-desc { font-size: 10.5px; font-style: italic; color: var(--ink); line-height: 1.45; margin: 0; padding-top: 8px; border-top: 1px solid var(--line); }
.sk-facts { list-style: none; margin: 0; padding: 0; }
.sk-facts li { font-size: 10px; color: var(--ink-muted); line-height: 1.4; padding: 3px 0 3px 12px; position: relative; }
.sk-facts li::before { content: '•'; position: absolute; left: 0; color: var(--sk-accent); }

/* phone — sightings map */
.sk-map { position: relative; flex: 1; min-height: 250px; overflow: hidden; background: linear-gradient(160deg, #E4E7D3 0%, #D6DEC5 45%, #CBD6BC 100%); }
.sk-map-lake { position: absolute; left: 30%; top: 8%; width: 58%; height: 60%; background: #9FC7DE; border-radius: 48% 62% 55% 45% / 60% 40% 65% 45%; transform: rotate(-18deg); }
.sk-map-road { position: absolute; left: -10%; top: 6%; width: 120%; height: 0; border-top: 2px dashed rgba(60,110,70,.5); transform: rotate(-9deg); }
.sk-map-label { position: absolute; left: 32%; top: 44%; font-style: italic; font-size: 9.5px; color: #4E7A9E; }
.sk-pin { position: absolute; transform: translate(-50%, -100%); color: #fff; font-size: 8.5px; font-weight: 700; border-radius: 99px; padding: 3px 7px 3px 6px; line-height: 1.2; white-space: nowrap; box-shadow: 0 2px 4px rgba(0,0,0,.18); }
.sk-pin::before { content: '⛨ '; font-size: 8px; }
.sk-pin::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 7px; height: 7px; transform: translateX(-50%) rotate(45deg); background: inherit; }
.sk-pin.v { background: #2E8B57; }
.sk-pin.p { background: #2F5FD6; }
.sk-pin.p::before { content: ''; }
/* phone — species hotspots (guide) */
.sk-hsmap { min-height: 150px; flex: 0 0 auto; height: 150px; }
.sk-heat { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(180,71,46,.55), rgba(220,120,60,.35) 45%, rgba(240,200,90,.18) 75%, transparent); }
.sk-hpin { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--sk-accent); border: 1.5px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.sk-zone { position: absolute; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 8.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 1.5px solid #fff; }
.sk-map-foot { background: #FBF3E4; border-top: 1px solid #E8CFA6; color: var(--sk-amber); font-size: 9.5px; font-weight: 700; padding: 7px 10px; display: flex; justify-content: space-between; align-items: center; }

/* tablet frame (landscape, split view) */
.sk-tablet { background: var(--brand-900); border-radius: 18px; padding: 10px; box-shadow: 0 30px 70px -34px rgba(43,36,26,.55); width: 100%; }
.sk-tablet-screen { background: var(--paper); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.sk-tablet-title { text-align: center; font-family: var(--serif); font-size: 13px; color: var(--sk-accent); padding: 8px 10px 6px; border-bottom: 1px solid var(--line); }
.sk-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.sk-split > div { padding: 10px 12px; min-width: 0; }
.sk-split > div:first-child { border-right: 1px solid var(--line); }
.sk-internal { background: #FDF8DF; border: 1px solid #EADFA8; border-radius: 8px; padding: 7px 10px; font-size: 10px; margin-bottom: 10px; }
.sk-internal i { font-style: normal; display: block; font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sk-amber); font-weight: 700; margin-bottom: 2px; }
.sk-daynum { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 8.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sk-status-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.sk-status-dot.sent { background: var(--sk-green); position: relative; }
.sk-status-dot.due { background: var(--sk-amber); }
.sk-status-dot.open { background: none; border: 1.5px solid var(--sk-amber); }

/* ============================================================
   Wildlife Library + Reports
   ============================================================ */

/* page header (h1 + muted subtitle) used by list pages and the Reports hub */
.sk-page-h { margin-bottom: 10px; }
.sk-page-h b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.sk-page-h span { font-size: 10.5px; color: var(--ink-muted); }
.sk-page-h .sk-back { display: block; font-size: 9.5px; color: var(--ink-muted); margin-bottom: 4px; }

/* sortable table headers + card footer with pagination */
.sk-table th .sort { font-size: 8px; opacity: .55; margin-left: 3px; }
.sk-table th .sort.on { opacity: 1; }
.sk-star { color: #D9A21B; font-size: 10px; }
.sk-btn.icon { padding: 4px 7px; }
.sk-tfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; font-size: 10px; color: var(--ink-muted); }
.sk-pages { display: inline-flex; gap: 3px; align-items: center; }
.sk-pages span { min-width: 18px; text-align: center; padding: 1px 4px; border-radius: 4px; font-size: 9.5px; font-weight: 600; color: var(--ink-muted); }
.sk-pages span.on { background: var(--sk-accent-soft); color: var(--ink); }

/* species detail sheet — tinted header band */
.sk-sheet-head { background: var(--sk-accent-soft); border-bottom: 1px solid var(--line); padding: 12px 16px; }
.sk-sheet-head h5 { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.15; }
.sk-sheet-head .sci { font-style: italic; font-size: 10.5px; color: var(--ink-muted); }
.sk-sheet-photo { height: 132px; border-radius: 8px; background: linear-gradient(135deg, #C9B79B, #8E7B5C 60%, #6B5A40); background-size: cover; background-position: center 30%; position: relative; margin-bottom: 10px; }
.sk-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 4px; }
.sk-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
.sk-dots i.on { background: #fff; }

/* IUCN status pill (code + full label) and IUCN table chips */
.sk-iucn { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; padding: 2px 8px; font-size: 9px; font-weight: 500; white-space: nowrap; }
.sk-iucn b { font-weight: 700; }
.sk-iucn.lc { background: #E7F4EC; color: #1F5A35; }
.sk-iucn.nt { background: #EEF5DC; color: #4A5E12; }
.sk-iucn.vu { background: #FBF0D5; color: #7A4B10; }
.sk-iucn.en { background: #FBE7D6; color: #8A3E10; }
.sk-iucn.cr { background: #F9DEDA; color: #8B2A1E; }
.sk-iucn.dd { background: var(--paper); color: var(--ink-muted); }
.sk-iucn.chip { border-radius: 4px; padding: 1px 6px; font-weight: 700; color: #fff; }
.sk-iucn.chip.lc { background: #2F8A4C; } .sk-iucn.chip.nt { background: #E8C22B; color: #2B241A; }
.sk-iucn.chip.vu { background: #E39B1B; } .sk-iucn.chip.en { background: #E0701E; }
.sk-iucn.chip.cr { background: #C93A2E; } .sk-iucn.chip.dd { background: #A19A8E; }
/* rarity chip (ordinal classification) */
.sk-rarity { display: inline-block; border-radius: 4px; padding: 1px 6px; font-size: 9px; font-weight: 600; white-space: nowrap; }
.sk-rarity.common { background: #E4F0E7; color: #24593A; }
.sk-rarity.occasional { background: #E4EAF6; color: #2E4A85; }
.sk-rarity.uncommon { background: #FBF1CB; color: #6E5410; }
.sk-rarity.rare { background: #FBE7D6; color: #8A3E10; }
.sk-rarity.very-rare { background: #F8E4DE; color: #8B2A1E; }

/* stat band + region cards inside the species sheet */
.sk-statband { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.sk-statband > span { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 7px 9px; }
.sk-statband i { font-style: normal; display: block; font-size: 9px; color: var(--ink-muted); }
.sk-statband b { display: block; font-size: 12.5px; font-weight: 600; margin: 2px 0 1px; }
.sk-region { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; margin-bottom: 6px; background: #fff; }
.sk-region .nm { font-weight: 600; font-size: 11px; display: inline-flex; gap: 6px; align-items: center; }
.sk-region .mt { display: block; font-size: 9.5px; color: var(--ink-muted); line-height: 1.4; }

/* Reports — hub cards, report stat cards, tables, charts */
.sk-group-h { font-size: 10px; font-weight: 600; color: var(--ink-muted); margin: 10px 0 5px; }
.sk-group-h:first-of-type { margin-top: 0; }
.sk-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.sk-cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sk-cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.sk-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px 10px; min-width: 0; }
.sk-card .ic { color: var(--sk-accent); font-size: 10px; margin-right: 4px; }
.sk-card .nm { font-weight: 600; font-size: 10.5px; display: block; line-height: 1.3; }
.sk-card .ds { font-size: 9px; color: var(--ink-muted); line-height: 1.4; display: block; margin: 3px 0; }
.sk-card .mt { font-size: 9px; color: var(--ink-muted); display: block; }
.sk-card .ttl, .sk-chart .ttl { font-size: 11px; font-weight: 600; display: block; margin-bottom: 6px; }
.sk-stat { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px 10px; min-width: 0; }
.sk-stat i { font-style: normal; display: block; font-size: 9px; font-weight: 600; color: var(--ink-muted); }
.sk-stat b { font-size: 16px; font-weight: 600; line-height: 1.2; }
.sk-stat b.warm { color: #C2611A; }
.sk-stat .up { font-size: 9px; color: var(--sk-green); font-weight: 600; margin-left: 4px; }
.sk-stat .down { font-size: 9px; color: var(--sk-red); font-weight: 600; margin-left: 4px; }
.sk-stat small { display: block; font-size: 8.5px; color: var(--ink-muted); }
.sk-exports { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 10px; font-weight: 600; color: var(--ink-muted); }
.sk-range-lbl { font-size: 9.5px; color: var(--ink-muted); text-align: right; margin-top: 4px; }
.sk-table td.num, .sk-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.sk-chart { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px 10px 6px; }
.sk-chart svg { display: block; width: 100%; height: auto; }
.sk-chart .ax { font-size: 9.5px; fill: var(--ink-muted); font-family: var(--sans); }
.sk-bars { display: flex; flex-direction: column; gap: 5px; }
.sk-bars > div { font-size: 10px; }
.sk-bars .lbl { display: flex; justify-content: space-between; margin-bottom: 2px; }
.sk-bars .lbl span:last-child { color: var(--ink-muted); }
.sk-bars .bar { height: 5px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.sk-bars .bar i { display: block; height: 100%; border-radius: 99px; background: var(--sk-accent); }
.sk-list { list-style: none; margin: 0; padding: 0; }
.sk-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; }
.sk-list li:last-child { border-bottom: none; }
.sk-list .nm { font-weight: 600; display: block; line-height: 1.3; }
.sk-list .mt { font-size: 9px; color: var(--ink-muted); display: block; }
.sk-list .big { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sk-ini { width: 20px; height: 20px; border-radius: 50%; background: var(--sk-accent-soft); color: var(--sk-accent); font-size: 8px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 6px; }

/* misc */
.sk-note { font-size: 10px; color: var(--ink-muted); }
.sk-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.sk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .sk-cols { grid-template-columns: 1fr; } .sk-shell { grid-template-columns: 1fr; } .sk-side { display: none; } .sk-cards3, .sk-cards4 { grid-template-columns: 1fr 1fr; } }
