*{
  box-sizing:border-box
}
body{
  margin:0;
  background:#f6f7f9;
  color:#202b36;
  font:15px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif
}
button,input,select{
  font:inherit
}
button{
  cursor:pointer;
  border:1px solid #dce2e7;
  border-radius:8px;
  background:white;
  padding:10px 16px;
  color:inherit
}
button:hover{
  background:#edf4f1
}
button.primary{
  background:#156c56;
  color:white;
  border-color:#156c56
}
aside{
  position:fixed;
  width:220px;
  inset:0 auto 0 0;
  background:#fff;
  border-right:1px solid #e5e9ed;
  padding:32px 22px
}
.logo{
  font-weight:800;
  font-size:28px;
  color:#156c56;
  letter-spacing:-1px
}
.logo small{
  display:block;
  font-size:12px;
  font-weight:400;
  letter-spacing:1px;
  color:#83908c;
  margin-top:5px
}
nav{
  margin-top:54px;
  display:grid;
  gap:10px
}
nav button{
  text-align:left;
  border:0;
  background:transparent
}
nav button.active{
  background:#e9f3ef;
  color:#156c56;
  font-weight:600
}
.foot{
  position:absolute;
  bottom:28px;
  color:#78858d;
  font-size:12px;
  line-height:1.8
}
main{
  margin-left:220px;
  padding:0 48px 60px;
  max-width:1600px
}
header{
  height:85px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e2e7eb;
  color:#6e7c86
}
.avatar{
  background:#e4eee9;
  color:#156c56;
  border-radius:50%;
  padding:10px;
  margin-right:8px
}
.intro{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:43px 0 30px
}
h1{
  font-size:30px;
  letter-spacing:-1px;
  margin:0 0 12px
}
p{
  color:#78858d;
  line-height:1.6
}
h2{
  font-size:18px
}
input,select{
  border:1px solid #dce2e7;
  border-radius:8px;
  padding:12px;
  background:white;
  color:#25333d
}
input[type=search]{
  width:340px
}
.toolbar{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:28px
}
.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}
.card{
  background:white;
  border:1px solid #e1e6ea;
  border-radius:14px;
  overflow:hidden
}
.preview{
  height:145px;
  background:#edf3f0;
  display:flex;
  align-items:end;
  padding:26px 30px;
  gap:12px
}
.bar{
  background:#93b7a5;
  border-radius:4px 4px 0 0;
  flex:1
}
.bar:nth-child(2n){
  background:#3d8169
}
.content{
  padding:22px
}
.content h2{
  margin:0 0 10px
}
.content p{
  min-height:44px;
  font-size:13px;
  margin:0 0 24px
}
.meta{
  font-size:12px;
  color:#7c8991
}
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.card .row{
  margin-top:20px
}
.empty{
  padding:70px;
  text-align:center;
  color:#78858d;
  grid-column:1/-1
}
.notice{
  background:#fff7e7;
  padding:10px 18px;
  font-size:12px;
  color:#806529;
  border-radius:8px;
  margin-top:20px
}
dialog{
  border:0;
  border-radius:16px;
  width:min(560px,94vw);
  padding:30px;
  box-shadow:0 20px 100px #162c3c33
}
dialog::backdrop{
  background:#1b2d4266
}
form{
  display:grid;
  gap:16px
}
label{
  display:grid;
  gap:8px;
  font-size:13px
}
label input,label select{
  width:100%
}
.actions{
  display:flex;
  justify-content:end;
  gap:10px;
  margin-top:12px
}
.view{
  background:white;
  border:1px solid #e0e5e9;
  border-radius:12px;
  padding:30px;
  margin-top:30px
}
.mock{
  padding:70px 20px;
  text-align:center;
  background:#f3f6f5;
  margin-top:25px;
  border-radius:8px
}
.mock strong{
  font-size:24px
}
table{
  width:100%;
  border-collapse:collapse;
  margin-top:25px
}
td,th{
  text-align:left;
  padding:18px 10px;
  border-bottom:1px solid #e6eaed;
  font-size:14px
}
th{
  color:#83909a;
  font-weight:400
}
.toast{
  position:fixed;
  bottom:25px;
  right:30px;
  background:#203e34;
  color:white;
  padding:15px 24px;
  border-radius:10px
}
a{
  color:#156c56
}
@media(max-width:1050px){
  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  main{
    padding:0 25px 40px
  }
}
@media(max-width:700px){
  aside{
    position:static;
    width:auto;
    padding:20px
  }
  nav{
    display:flex;
    margin-top:20px
  }
  .foot{
    display:none
  }
  main{
    margin:0
  }
  .grid{
    grid-template-columns:1fr
  }
  header{
    height:65px
  }
  .intro{
    align-items:start;
    gap:10px
  }
  input[type=search]{
    width:100%
  }
}
.error{
  color:#a33b31
}
.choices{
  display:grid;
  gap:8px;
  max-height:160px;
  overflow:auto
}
.choices label{
  display:flex;
  align-items:center;
  gap:8px
}
.choices input{
  width:auto
}
.login-shell{
  max-width:450px;
  margin:70px auto;
  padding:32px;
  background:white;
  border-radius:16px
}
main:has(.login-shell){
  margin:0 auto
}
.field{
  display:grid;
  gap:8px;
  margin:14px 0
}
.view table{
  display:block;
  overflow:auto
}
.preview{
  display:none
}
.content p{
  min-height:44px
}
@media(max-width:700px){
  nav button{
    white-space:nowrap;
    padding:10px 8px;
    font-size:13px;
    flex:1
  }
  nav{
    gap:3px
  }
  .view{
    padding:18px;
    overflow:auto
  }
  .view table{
    display:table;
    min-width:560px
  }
  .view td,.view th{
    white-space:nowrap
  }
}
