
   
* {
  box-sizing:border-box
}

body {
  margin:0;
  font:15px Arial,sans-serif;
  background:#f4f5ef;
  color:#242820
}

header {
  background:#7b8234;
  color:white;
  padding:20px
}

header .brand-logo {
  display:block;
  width:150px;
  height:auto;
  max-width:100%;
  border-radius:0;
  margin:0 0 8px;
}

main {
  max-width:850px;
  margin:auto;
  padding:16px
}

.card {
  background:white;
  border:1px solid #e2e5da;
  border-radius:14px;
  padding:20px;
  margin-bottom:14px
}

h2,h3 {
  margin:0 0 12px
}

label {
  display:block;
  margin:12px 0 5px;
  font-weight:600
}

input,select,textarea {
  width:100%;
  padding:12px;
  border:1px solid #ccd0c4;
  border-radius:8px;
  font:inherit;
  background:white
}

textarea {
  min-height:90px
}

button {
  background:#7c8034;
  color:white;
  border:0;
  border-radius:8px;
  padding:13px 18px;
  font:inherit;
  font-weight:bold;
  cursor:pointer;
  margin:6px 5px 6px 0
}

button.alt {
  background:#e9ecdf;
  color:#384024
}

button:disabled {
  opacity:.5
}

small,.muted {
  color:#666c60
}

#message {
  white-space:pre-wrap;
  padding:10px;
  color:#9b2921
}

#message:empty {
  display:none
}

.bar {
  height:8px;
  background:#e6e9df;
  border-radius:8px;
  overflow:hidden
}

.bar div {
  background:#7c8034;
  height:100%
}

.row {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center
}

.row>* {
  flex:1
}

.history {
  border-top:1px solid #eee;
  padding:12px 0
}

img {
  max-width:100%;
  max-height:360px;
  border-radius:8px
}

.hidden {
  display:none
}

fieldset {
  border:1px solid #ddd;
  border-radius:8px;
  margin:12px 0;
  padding:12px
}

legend {
  font-weight:bold
}

#login {
  max-width:520px;
  margin:48px auto;
  padding:36px 32px;
  border:0;
  border-radius:12px;
  background:#fff;
}
#login h2 {font-size:30px; margin:0 0 40px; letter-spacing:-.5px;}
#login label {font-size:15px; margin:0 0 10px;}
#login input {height:56px; border:1px solid #dedfd9; border-radius:4px; padding:14px;}
#login input:focus {outline:2px solid #7b8234; outline-offset:2px;}
#login button.full {height:54px; margin:28px 0 0; border-radius:4px; background:#7b8234; font-size:16px;}
#login .login-links {display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:12px;}
#login .login-links button {background:transparent; color:#555c24; padding:8px 0; margin:0; font-size:13px;}
#otpDestination {margin:-20px 0 25px; line-height:1.5; overflow-wrap:anywhere;}
@media(max-width:520px){#login {margin:24px auto; padding:28px 20px;} #login h2 {margin-bottom:32px;}}


button.full {
  width:100%
}


.checkpoint {
  border:1px solid #dce0d2;
  border-radius:12px;
  padding:16px;
  margin:14px 0;
  background:white
}

.checkpoint h3 {
  font-size:17px;
  line-height:1.45;
  margin:8px 0
}

.checkpoint .status {
  font-size:13px;
  margin:8px 0;
  overflow-wrap:anywhere
}

.success {
  color:#267344
}

.error {
  color:#a22
}

.section-nav {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.section-nav button {
  flex:1
}

.checkpoint img {
  display:block;
  margin:10px 0;
  max-height:240px
}

.checkpoint .photo-count {
  font-size:13px;
  color:#666c60
}

button {
  touch-action:manipulation
}

 .dash-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(135px,1fr));
  gap:10px;
  margin:12px 0
}

.dash-kpi {
  background:white;
  border:1px solid #dce0d2;
  border-radius:12px;
  padding:15px
}

.dash-kpi strong {
  display:block;
  font-size:25px;
  margin-top:6px
}

.dash-scroll {
  overflow-x:auto
}

.dash-table {
  border-collapse:collapse;
  width:100%;
  font-size:13px
}

.dash-table th,.dash-table td {
  text-align:left;
  padding:10px;
  border-bottom:1px solid #e3e5dc;
  white-space:nowrap
}

.dash-table th {
  background:#eef0e7
}

.dash-line {
  display:flex;
  justify-content:space-between;
  margin:12px 0 4px
}

.dash-filters {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:8px
}

.dash-table td {
  white-space:normal;
  min-width:85px
}

.dash-table td:first-child {
  min-width:125px
}

summary {
  cursor:pointer;
  font-weight:bold;
  line-height:1.5
}

  .comparison-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.comparison-side {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce0d2;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .comparison-pair { grid-template-columns: 1fr; }
}
