
:root{
  --green-dark:#1D3C34;
  --green:#71CC98;
  --green-deep:#007749;
  --green-mid:#169B62;
  --yellow:#FFD94A;
  --red:#DD5061;
  --sand:#DDCBA4;
  --stone:#AFA89D;
  --gray:#7A7D81;
  --gray-light:#D9D9D6;
  --ink:#20312c;
  --paper:#ffffff;
  --page:#f5f7f5;
  --line:#dfe6e2;
  --shadow:0 10px 28px rgba(29,60,52,.08);
  font-family:"Source Sans Pro", Calibri, "Segoe UI", Arial, sans-serif;
}

*{box-sizing:border-box}
html{background:var(--page)}
body{margin:0;color:var(--ink);background:var(--page);line-height:1.5}
a{color:var(--green-deep)}
.wrap{max-width:1180px;margin:0 auto;padding:0 22px}

.site-header{
  background:var(--green-dark);
  color:#fff;
  border-bottom:5px solid var(--green);
}
.header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:13px;
  color:#fff;
  text-decoration:none;
  min-width:0;
}
.brand-mark{
  width:44px;
  height:44px;
  border:3px solid var(--green);
  border-radius:50% 50% 45% 55%;
  display:grid;
  place-items:center;
  transform:rotate(-8deg);
  flex:0 0 44px;
}
.brand-mark-inner{
  width:15px;
  height:15px;
  border-radius:50%;
  background:var(--green);
  box-shadow:11px 8px 0 -4px var(--yellow);
}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-text strong{font-size:1.38rem;letter-spacing:.01em}
.brand-text small{font-size:.78rem;color:#d8ece3;margin-top:5px}

.header-right{display:flex;align-items:center;gap:22px}
.org-chip{
  display:flex;
  flex-direction:column;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;
  min-width:150px;
}
.org-chip-label{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.64rem;
  opacity:.7;
}
.org-chip strong{font-size:.92rem;margin-top:2px}
.navlinks{display:flex;align-items:center;gap:8px}
.navlinks a{
  color:#fff;
  text-decoration:none;
  padding:9px 11px;
  border-radius:8px;
  font-weight:700;
}
.navlinks a:hover{background:rgba(255,255,255,.1)}

.admin-context{background:#e9f6ef;border-bottom:1px solid #cbe8d8}
.admin-context-inner{min-height:38px;display:flex;align-items:center;gap:9px;font-size:.9rem;color:#31584b}
.dot{opacity:.45}

.page-shell{padding-top:28px;padding-bottom:42px}
.page-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.page-header h1{margin:0}
.eyebrow{
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--green-deep);
  font-weight:800;
  margin-bottom:5px;
}

h1,h2,h3{
  font-family:Calibri, "Segoe UI", Arial, sans-serif;
  color:var(--green-dark);
  line-height:1.15;
}
h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.02em}
h2{font-size:1.5rem}
h3{font-size:1.08rem}

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  margin:18px 0;
  box-shadow:var(--shadow);
}
.card.compact{padding:18px 20px}
.card.hero{
  background:linear-gradient(135deg,#ffffff 0%,#eff9f3 100%);
  border-top:5px solid var(--green);
}
.card h1:first-child,.card h2:first-child{margin-top:0}

.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}
.stat{
  padding:18px;
  border-radius:14px;
  background:#f0f7f3;
  border:1px solid #d7eade;
}
.stat-label{font-size:.82rem;color:#557166;font-weight:700}
.big{font-size:2.1rem;font-weight:800;color:var(--green-dark);line-height:1.05;margin-top:3px}
.stat-note{font-size:.85rem;color:#6b7e76;margin-top:5px}

.status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border-radius:999px;
  font-weight:800;
  font-size:.85rem;
}
.status::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:currentColor;
}
.status.active{background:#daf2e4;color:#14683f}
.status.inactive{background:#f3e6e8;color:#9d3140}

.info-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:15px 17px;
  border-radius:13px;
  background:#f2f6f4;
  border:1px solid #dfe8e3;
  margin:14px 0;
}
.info-strip strong{color:var(--green-dark)}

label{display:block;font-weight:700;margin-top:16px;color:#29463d}
label .muted{font-weight:400}
input,select,textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #cbd8d1;
  border-radius:10px;
  margin-top:6px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  transition:border-color .15s,box-shadow .15s;
}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--green-mid);
  box-shadow:0 0 0 3px rgba(113,204,152,.24);
}
textarea{resize:vertical}
.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.checkbox-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:20px;
  padding:14px 15px;
  background:#f3f8f5;
  border:1px solid #dcebe2;
  border-radius:12px;
  cursor:pointer;
}
.checkbox-row input[type="checkbox"]{
  width:20px;
  height:20px;
  margin:0;
  flex:0 0 20px;
  accent-color:var(--green-deep);
}
.checkbox-row span{line-height:1.2}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:10px;
  padding:11px 17px;
  background:var(--green-dark);
  color:#fff;
  text-decoration:none;
  cursor:pointer;
  font-weight:800;
  font:inherit;
  min-height:44px;
}
.btn:hover{filter:brightness(1.07)}
.btn.primary{background:var(--green-deep)}
.btn.accent{background:var(--green);color:var(--green-dark)}
.btn.secondary{background:#e7ece9;color:var(--green-dark)}
.btn.danger{background:#a83c49}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}

table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
th,td{
  text-align:left;
  padding:13px 12px;
  border-bottom:1px solid #e6ece8;
  vertical-align:top;
}
th{
  font-size:.78rem;
  color:#5c7168;
  text-transform:uppercase;
  letter-spacing:.04em;
  background:#f6f9f7;
}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fbfdfc}

.trip-card{
  border-left:6px solid var(--green);
}
.trip-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:#5c7168;
  font-size:.95rem;
}
.trip-arrow{font-weight:800;color:var(--green-deep)}

.badge{
  display:inline-block;
  padding:5px 8px;
  border-radius:999px;
  background:#eef4f1;
  font-size:.82rem;
  font-weight:700;
}
.muted{color:#687b73}
.error,.success,.notice{
  padding:13px 15px;
  border-radius:10px;
  margin:13px 0;
}
.error{background:#fdebed;color:#8e2736;border:1px solid #f1cbd1}
.success{background:#e3f5ea;color:#16623d;border:1px solid #c8e9d6}
.notice{background:#fff7d6;color:#6a5510;border:1px solid #f3e19b}

.public-link{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  padding:13px 15px;
  background:#f7faf8;
  border:1px dashed #b8cbc1;
  border-radius:11px;
}
.public-link a{word-break:break-all}

.empty-state{
  text-align:center;
  padding:34px 20px;
  background:#f7faf8;
  border:1px dashed #cbdad2;
  border-radius:14px;
}
.empty-state h3{margin-top:0}

.site-footer{
  background:var(--green-dark);
  color:#d9e9e2;
  margin-top:40px;
}
.footer-inner{
  min-height:84px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:.9rem;
}
.footer-inner > span:first-child{font-weight:800;color:#fff}
.footer-note{opacity:.75}

@media(max-width:800px){
  .header-inner{align-items:flex-start;flex-direction:column;padding-top:16px;padding-bottom:14px}
  .header-right{width:100%;justify-content:space-between;align-items:flex-end}
  .org-chip{min-width:0}
  .page-header{flex-direction:column}
}
@media(max-width:650px){
  .wrap{padding-left:15px;padding-right:15px}
  .header-right{align-items:stretch;flex-direction:column;gap:10px}
  .navlinks{justify-content:flex-start}
  .row{grid-template-columns:1fr}
  .card{padding:19px}
  table{font-size:.88rem}
  th,td{padding:10px 8px}
  .footer-inner{flex-direction:column;align-items:flex-start;justify-content:center;padding-top:18px;padding-bottom:18px}
}
