/* Linas Agro elevator schedule — public timetable
   Palette: agrarian green + grain gold on a warm neutral field. */
:root {
  /* Agrolinas brand palette */
  --bg:        #f2f2f2;
  --surface:   #ffffff;
  --ink:       #223330;
  --muted:     #6a726d;
  --faint:     #9aa19c;
  --green:     #005b44;
  --green-dk:  #00402f;
  --gold:      #ffc25a;
  --gold-dk:   #a77200;
  --closed:    #be0000;
  --closed-bg: #fff0f2;
  --open-bg:   #e5fff1;
  --line:      #e4e6e3;
  --shadow:    0 1px 2px rgba(0,64,47,.06), 0 6px 20px rgba(0,64,47,.06);
  --radius:    14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, var(--open-bg) 0%, transparent 55%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.45;
}

a { color: var(--green-dk); }

/* ---- Top bar ---------------------------------------------------------- */
.topbar {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.4rem;
  background: var(--green-dk);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.topbar .brand-link { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.topbar .logo-img { height: 30px; display: block; }
.topbar .brand-sub {
  font-size: .72rem; color: #b6e6d2; text-transform: uppercase; letter-spacing: .1em; line-height: 1.2;
}
.topbar .spacer { flex: 1; }
.topbar .who { font-size: .85rem; color: #d5eadd; opacity: .9; }
.topbar a.btn-ghost {
  color: #fff; text-decoration: none; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.35); padding: .35rem .8rem; border-radius: 999px;
}
.topbar a.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---- Layout ----------------------------------------------------------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 1.6rem 1.4rem 4rem; }

/* ---- Date navigator --------------------------------------------------- */
.datenav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 1.4rem; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .8rem 1.1rem; margin-bottom: 1.4rem;
}
.datenav .nav-cluster { display: flex; align-items: center; gap: .6rem; }
.datenav .nav-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.datenav .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--green-dk);
  font-size: 1.25rem; line-height: 1; text-decoration: none;
}
.datenav .arrow:hover { border-color: var(--green); background: var(--open-bg); }
.datenav .current { display: flex; flex-direction: column; text-align: center; min-width: 132px; }
.datenav .current .big { font-size: 1.5rem; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.datenav .current .sub { color: var(--muted); font-size: .88rem; }
.datenav .today-badge {
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green-dk); background: var(--open-bg); border: 1px solid #b6e6d2;
  padding: .05rem .4rem; border-radius: 999px;
}
.datenav .dateform { display: flex; align-items: center; gap: .5rem; }
.datenav input[type=date] {
  font: inherit; padding: .5rem .65rem; border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink); background: #fff; cursor: pointer;
}
.datenav .btn {
  font: inherit; font-size: .88rem; cursor: pointer;
  padding: .5rem .95rem; border-radius: 10px; border: 1px solid var(--green);
  background: var(--green); color: #fff; text-decoration: none;
}
.datenav .btn.secondary { background: #fff; color: var(--green-dk); }
.datenav .summary-pill {
  font-size: .9rem; color: var(--muted); font-weight: 600; white-space: nowrap;
  background: var(--open-bg); border: 1px solid #cfe6d7; border-radius: 999px;
  padding: .4rem .8rem;
}
.datenav .summary-pill b { color: var(--green-dk); font-size: 1.05rem; }

/* ---- Highlights (longest / shortest working) -------------------------- */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: -0.4rem 0 1.2rem; }
.hl {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .7rem .95rem;
  display: flex; flex-direction: column; gap: .12rem; border-left: 4px solid var(--line);
}
.hl-long { border-left-color: var(--green); }
.hl-short { border-left-color: var(--gold); }
.hl-cap { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 700; }
.hl-name { font-weight: 700; font-size: 1rem; }
.hl-meta { font-size: .84rem; color: var(--muted); }
@media (max-width: 480px) { .highlights { grid-template-columns: 1fr; } }

/* ---- View tabs (Visi / Mano prenumerata) ------------------------------ */
.view-tabs { display: flex; gap: .3rem; margin: 0 0 1.2rem; border-bottom: 2px solid var(--line); }
.tab-btn {
  font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
  background: none; border: none; color: var(--muted);
  padding: .6rem 1rem; margin-bottom: -2px; border-bottom: 2px solid transparent;
}
.tab-btn:hover { color: var(--green-dk); }
.tab-btn.is-active { color: var(--green-dk); border-bottom-color: var(--green); }
.tab-empty { color: var(--muted); font-size: .95rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1.4rem; }

/* ---- Help / info notes ------------------------------------------------ */
.help-note { margin: -0.2rem 0 1rem; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .5rem .9rem; font-size: .9rem; }
.help-note summary { cursor: pointer; font-weight: 600; color: var(--green-dk); list-style: none; }
.help-note summary::-webkit-details-marker { display: none; }
.help-note[open] summary { margin-bottom: .5rem; }
.help-note ul { margin: 0 0 .3rem; padding-left: 1.2rem; color: var(--muted); }
.help-note li { margin: .25rem 0; }
.info-note { background: var(--open-bg); border: 1px solid #cdeadd; border-radius: 10px;
  padding: .7rem .9rem; font-size: .88rem; color: var(--ink); margin-bottom: 1.15rem; line-height: 1.4; }

/* ---- Search bar ------------------------------------------------------- */
.searchbar { position: relative; margin: -0.4rem 0 1.4rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.filter-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip-btn {
  font: inherit; font-size: .85rem; cursor: pointer;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.chip-btn:hover { border-color: var(--green); }
.chip-btn.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.crop-filter {
  font: inherit; font-size: .85rem; cursor: pointer; color: var(--ink);
  padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.crop-filter:focus { outline: none; border-color: var(--green); }
.searchbar input[type=search] {
  font: inherit; width: 100%; max-width: 420px;
  padding: .65rem .9rem .65rem 2.2rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6a60' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat .8rem center;
  color: var(--ink); box-shadow: var(--shadow);
}
.searchbar input[type=search]:focus { outline: none; border-color: var(--green); }
.searchbar .search-empty { color: var(--muted); font-size: .9rem; font-style: italic; }

.view-toggle { display: flex; gap: .4rem; margin-left: auto; }

/* ---- Table view ------------------------------------------------------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.el-table { border-collapse: collapse; width: 100%; font-size: .82rem; line-height: 1.25; }
.el-table th { text-align: left; padding: .4rem .6rem; background: var(--green); color: #fff;
  font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
.el-table td { padding: .3rem .6rem; border-top: 1px solid var(--line); vertical-align: middle; }
.el-table tr.cat-row td { background: var(--open-bg); color: var(--green-dk); padding: .28rem .6rem;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.el-table .badge { padding: .12rem .45rem; font-size: .62rem; }
.el-table .edit { padding: .12rem .4rem; font-size: .74rem; }
.el-table tr.el-row:hover td { background: #fafbfa; }
.el-table .nowrap { white-space: nowrap; }
.el-table a { color: var(--green-dk); }
.el-table .edit { font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--green-dk);
  border: 1px solid var(--line); border-radius: 7px; padding: .18rem .5rem; }
.el-table .edit:hover { border-color: var(--green); background: var(--open-bg); }

/* ---- Subscribe (button + modal) -------------------------------------- */
.subscribe-btn { border-color: var(--gold); color: var(--gold-dk); font-weight: 600; }
.subscribe-btn:hover { background: #fff7e8; border-color: var(--gold); }

.subscribe-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.subscribe-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,32,23,.5); }
.modal-card { position: relative; background: var(--surface); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.3); width: 100%; max-width: 460px; padding: 1.6rem;
  max-height: 88vh; overflow-y: auto; border-top: 4px solid var(--gold); }
.modal-card h2 { margin: 0 0 .2rem; font-size: 1.25rem; }
.modal-sub { color: var(--muted); margin: 0 0 1.2rem; font-size: .92rem; }
.modal-x { position: absolute; top: .6rem; right: .8rem; background: none; border: none; font-size: 1.6rem;
  line-height: 1; color: var(--faint); cursor: pointer; }
.modal-x:hover { color: var(--ink); }
.modal-card .field input[type=email] { font: inherit; padding: .6rem .7rem; border: 1px solid var(--line);
  border-radius: 10px; width: 100%; }
.sub-scope label { display: inline-flex; align-items: center; gap: .35rem; margin-right: 1.2rem; font-weight: 500; }
.sub-checks { display: flex; flex-direction: column; gap: .45rem; max-height: 220px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; background: #fafbfa; }
.sub-checks label { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .92rem; }
.unsub-details { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.unsub-details summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.unsub-details summary:hover { color: var(--closed); }
.unsub-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
.unsub-form input[type=email] { font: inherit; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; flex: 1; min-width: 180px; }
.unsub-form .btn.secondary { background: #fff; color: var(--green-dk); border: 1px solid var(--green); }
.unsub-hint { color: var(--faint); font-size: .8rem; margin: .5rem 0 0; }

/* ---- Section ---------------------------------------------------------- */
.section-title {
  display: flex; align-items: baseline; gap: .6rem;
  margin: 1.8rem .2rem .9rem;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--faint); font-weight: 700;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-title.muted { color: var(--closed); opacity: .8; margin-top: 2.4rem; }

/* ---- Grid & cards ----------------------------------------------------- */
.grid {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.05rem;
  display: flex; flex-direction: column; gap: .55rem;
  border-left: 4px solid var(--line);
}
.card.is-open   { border-left-color: var(--green); }
.card.is-closed { border-left-color: var(--closed); opacity: .92; }

.card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.card .name { font-weight: 700; font-size: 1.02rem; line-height: 1.25; }

.badge {
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: .22rem .55rem; border-radius: 999px; white-space: nowrap;
}
.badge.open   { color: var(--green-dk); background: var(--open-bg);   border: 1px solid #b6e6d2; }
.badge.closed { color: var(--closed);   background: #fff0f2; border: 1px solid #fcd5db; }

.hours { font-size: 1.5rem; font-weight: 700; letter-spacing: -.5px; }
.card.is-open   .hours { color: var(--ink); }
.card.is-closed .hours { color: var(--closed); font-size: 1.2rem; }
.hours .override-tag {
  vertical-align: middle; margin-left: .5rem;
  font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: .1rem .45rem;
}

.crops { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip {
  font-size: .74rem; color: var(--green-dk);
  background: #e5fff1; border: 1px solid #cdeadd; border-radius: 8px;
  padding: .18rem .5rem;
}
.crops.empty { color: var(--faint); font-size: .8rem; font-style: italic; }

.note { font-size: .82rem; color: var(--muted); }
.note::before { content: "❦ "; color: var(--gold); }

.address { font-size: .82rem; color: var(--muted); display: flex; align-items: baseline; gap: .35rem; }
.address .ico { font-size: .8rem; }
.address a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--faint); }
.address a:hover { color: var(--green-dk); border-bottom-color: var(--green); }
.contact { font-size: .84rem; color: var(--ink); display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.contact .ico { color: var(--green); }
.contact .cname { color: var(--muted); }
.contact a { color: var(--green-dk); text-decoration: none; font-weight: 600; }
.contact a:hover { text-decoration: underline; }

/* Footer pinned to the bottom so address/phone/buttons align across a row */
.card-footer { margin-top: auto; padding-top: .3rem; display: flex; flex-direction: column; gap: .55rem; }
.card .edit-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .1rem; }
.card .edit {
  align-self: flex-start;
  font-size: .8rem; font-weight: 600; text-decoration: none;
  color: var(--green-dk); border: 1px solid var(--line); border-radius: 8px;
  padding: .3rem .7rem;
}
.card .edit:hover { border-color: var(--green); background: var(--open-bg); }

/* ---- Messages --------------------------------------------------------- */
.messages { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.messages li {
  padding: .7rem 1rem; border-radius: 10px; font-size: .9rem;
  border: 1px solid var(--line); background: #fff;
}
.messages li.success { border-color: #b6e6d2; background: var(--open-bg); color: var(--green-dk); }
.messages li.error   { border-color: #fcd5db; background: #fff0f2; color: var(--closed); }
.messages li.info    { border-color: #cfe0ea; background: #eaf2f7; color: #275b78; }

/* ---- Edit form -------------------------------------------------------- */
.form-card {
  max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem;
}
.form-card h1 { margin: 0 0 .2rem; font-size: 1.4rem; }
.form-card .meta { color: var(--muted); margin-bottom: 1.3rem; }
.field { margin-bottom: 1.15rem; }
.field > label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input[type=time], .field input[type=text], .field input[type=date] {
  font: inherit; padding: .55rem .65rem; border: 1px solid var(--line);
  border-radius: 10px; width: 100%; max-width: 220px;
  background: #fff; color: var(--ink);
}
.field input[type=date]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
.field input[type=text] { max-width: 100%; }
.field input[inputmode=numeric] { max-width: 120px; letter-spacing: .04em; }
.field input[type=date] { width: 180px; max-width: 180px; }
.field.daterange { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.field.daterange > div { display: flex; flex-direction: column; }
.field.daterange label { margin-bottom: .35rem; }
.field.daterange .helptext { margin-top: .3rem; }
.field .helptext { display: block; color: var(--faint); font-size: .8rem; margin-top: .25rem; }
.radios label, .checks label { display: inline-flex; align-items: center; gap: .35rem; margin-right: 1.1rem; font-weight: 500; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.scope-radios label { display: inline-flex; align-items: center; gap: .35rem; margin-right: 1.2rem; font-weight: 600; }
.specific-box { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; margin: 0 0 1.15rem;
  background: #fafbfa; }
.specific-box[hidden] { display: none; }
.wd-toggle { font-weight: 400; font-size: .82rem; color: var(--muted); }
.linkbtn { background: none; border: none; padding: 0; cursor: pointer; font: inherit;
  color: var(--green-dk); text-decoration: underline; }
.linkbtn:hover { color: var(--green); }
.weekdays, .weekdays > div { display: flex; flex-wrap: wrap; gap: .4rem .7rem; }
.weekdays label { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600;
  border: 1px solid var(--line); border-radius: 8px; padding: .3rem .55rem; }
.errorlist { color: var(--closed); font-size: .85rem; margin: .3rem 0; padding-left: 1rem; }
.actions { display: flex; gap: .7rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }
.actions .btn {
  font: inherit; font-size: .92rem; cursor: pointer; text-decoration: none;
  padding: .6rem 1.2rem; border-radius: 10px; border: 1px solid var(--green);
  background: var(--green); color: #fff;
}
.actions .btn.secondary { background: #fff; color: var(--green-dk); }
.actions .btn.danger { background: #fff; color: var(--closed); border-color: #fcd5db; }
.actions .cancel { margin-left: auto; color: var(--muted); text-decoration: none; font-size: .9rem; }

/* ---- Cookie bar ------------------------------------------------------- */
.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--green-dk); color: #fff; border-top: 3px solid var(--gold);
  border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.3);
  padding: .9rem 1.2rem; font-size: .88rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-text { flex: 1; min-width: 220px; line-height: 1.4; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-bar .cookie-ok {
  font: inherit; cursor: pointer; white-space: nowrap;
  padding: .55rem 1.3rem; border-radius: 10px; border: 1px solid var(--gold);
  background: var(--gold); color: #3a2f10; font-weight: 700;
}
.cookie-bar .cookie-ok:hover { filter: brightness(1.05); }

/* ---- Mobile ----------------------------------------------------------- */
@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; gap: .5rem .6rem; padding: .7rem 1rem; }
  .topbar .spacer { display: none; }
  .topbar .brand-link { flex: 1 1 100%; }
  .topbar .brand-sub { display: none; }
  .topbar .who { flex-basis: 100%; order: 5; }
  .topbar a.btn-ghost { padding: .4rem .7rem; }

  .wrap { padding: 1rem 1rem 3rem; }

  .datenav { gap: .7rem; padding: .8rem .9rem; }
  .datenav .nav-cluster { flex: 1 1 100%; justify-content: space-between; }
  .datenav .nav-right { flex: 1 1 100%; justify-content: space-between; }
  .datenav .dateform { flex: 1; justify-content: flex-end; }
  .datenav input[type=date] { flex: 1; max-width: 200px; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .datenav .current .big { font-size: 1.35rem; }
  .card .hours { font-size: 1.35rem; }
  /* Larger tap targets on touch screens */
  .card .edit, .contact a { padding: .5rem .8rem; display: inline-block; }
}

/* Per-weekday hours editor (edit_entry) */
.wd-editor{width:100%;border-collapse:collapse;margin-top:.5rem}
.wd-editor td{padding:.4rem .4rem;border-bottom:1px solid #eee;vertical-align:middle}
.wd-editor tr:last-child td{border-bottom:none}
.wd-name{font-weight:600;white-space:nowrap;padding-right:.6rem}
.wd-switch{display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;white-space:nowrap;font-weight:600;color:var(--green)}
.wd-times{width:100%;white-space:nowrap;text-align:right}
.wd-time{width:4.6rem;padding:.35rem .4rem;text-align:center;border:1px solid #ccc;border-radius:8px;font-size:1rem}
.wd-dash{margin:0 .35rem;color:#888}
.wd-row.is-closed .wd-name{color:#a00}
.wd-row.is-closed .wd-time{opacity:.35}
.wd-row.is-closed .wd-switch{color:#999}

/* Subscriber report */
.report-cards{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 8px}
.rep-card{flex:1 1 150px;background:#fff;border:1px solid #dfe3da;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.rep-n{font-size:1.9rem;font-weight:700;color:var(--green)}
.rep-l{font-size:.85rem;color:#667}
.rep-h{font-size:1.05rem;margin:18px 0 6px;color:var(--green)}
.rep-table td,.rep-table th{padding:.4rem .6rem}
.tag-internal{background:#e2efe8;color:#1f5c3f;border-radius:20px;padding:2px 9px;font-size:.8rem;font-weight:600}
.tag-client{background:#fdf0d8;color:#8a5a10;border-radius:20px;padding:2px 9px;font-size:.8rem;font-weight:600}

/* Daily visits (report) */
.vbar-cell{width:40%;min-width:120px}
.vbar{display:inline-block;height:12px;background:var(--green);border-radius:6px;min-width:2px;vertical-align:middle}
.v-total td{border-top:2px solid #cfd6cd;font-weight:700}

/* Report: compact + collapsible */
.rep-card-v .rep-n{color:#8a5a10}
.rep-scroll{max-height:340px;overflow-y:auto;border:1px solid #e4e6e3;border-radius:8px}
.rep-scroll table{margin:0}
.rep-scroll thead th{position:sticky;top:0;background:#f6f7f4;z-index:1}
.rep-details{margin:14px 0;border:1px solid #e4e6e3;border-radius:8px;background:#fff}
.rep-details>summary{cursor:pointer;padding:10px 14px;font-weight:600;color:var(--green);list-style:none}
.rep-details>summary::-webkit-details-marker{display:none}
.rep-details>summary::before{content:"▸ ";color:#8a968c}
.rep-details[open]>summary::before{content:"▾ "}
.rep-details .table-wrap{padding:0 12px 12px}

/* Manager add-crop (LV) */
.add-crop{margin-top:.7rem}
.add-crop input{width:100%;max-width:340px;padding:.5rem .6rem;border:1px dashed #b7c3b7;border-radius:8px;font-size:1rem}
