*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#f4f7f6;color:#14211c}
.shell{max-width:1080px;margin:auto;padding:24px}
header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
header strong{display:block;font-size:22px}
header span{color:#68766f;font-size:13px}

.card,.panel{background:#fff;border:1px solid #dfe7e2;border-radius:18px;box-shadow:0 10px 30px #183b2510;padding:28px}
.card{max-width:460px;margin:10vh auto}

.tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}

.tabs button{
  border:1px solid #cfdad4;
  background:#ffffff;
  color:#183b25;
  padding:11px 16px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
}

.tabs button:hover{
  background:#eef4f0;
  color:#183b25;
}

.tabs button.active{
  background:#183b25;
  color:#ffffff;
  border-color:#183b25;
}

.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}

label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}

input,select{
  width:100%;
  padding:12px;
  border:1px solid #cfdad4;
  border-radius:10px;
  font:inherit;
  background:#fff;
}

.full{grid-column:1/-1}

button{
  border:0;
  border-radius:10px;
  padding:12px 16px;
  background:#183b25;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.ghost{
  background:#fff;
  color:#183b25;
  border:1px solid #cfdad4;
}

.hidden{display:none!important}

.msg{margin-top:12px;min-height:20px;color:#36584a}
.muted{color:#69776f}

.row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #edf1ee
}

.row button{
  padding:7px 10px;
  background:#a33b31;
  font-size:12px
}

@media(max-width:700px){
  .grid{grid-template-columns:1fr}
  .full{grid-column:auto}
}