:root{
  --green:#79bd56;
  --green-dark:#4c8732;
  --green-soft:#eef7e9;
  --text:#3b3b3b;
  --muted:#8a8a8a;
  --line:#d9d9d9;
  --surface:#fff;
  --band:#f0f0f0;
  --danger:#9d3b31;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#fff}
body{
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
}
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  height:58px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  padding:0 max(12px,calc((100vw - 1120px)/2));
  background:var(--green);
  color:#fff;
  box-shadow:0 1px 5px rgba(0,0,0,.12);
}
.topbar>strong{font-size:19px;line-height:1;text-align:left}
.back-link{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  color:#fff;
  text-decoration:none;
  font-size:28px;
  line-height:1;
}
.info-mark{
  justify-self:end;
  width:19px;
  height:19px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--green);
  font-size:13px;
  font-weight:800;
}
main{min-height:calc(100vh - 58px)}
.document-heading{
  height:74px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:var(--band);
  border-bottom:1px solid #e5e5e5;
}
.document-heading strong{font-size:25px;font-weight:400;line-height:1.1}
.document-heading span{margin-top:3px;color:#aaa;font-size:13px}
.document-view{
  width:min(1120px,calc(100% - 32px));
  margin:0 auto;
  padding:16px 0 36px;
}
.photo-wrap{
  width:92px;
  height:116px;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  border:3px solid #aaa;
  background:#ececec;
  color:#888;
  font-size:26px;
  font-weight:700;
  overflow:hidden;
}
.photo-wrap img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.verified-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:max-content;
  max-width:100%;
  margin:0 auto 18px;
  padding:7px 12px;
  border-radius:4px;
  background:var(--green-soft);
  color:var(--green-dark);
}
.verified-icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  flex:0 0 22px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  font-size:13px;
  font-weight:800;
}
.verified-line strong,.verified-line small{display:block}
.verified-line strong{font-size:12px}
.verified-line small{margin-top:1px;font-size:10px;color:#6b9860}
.details{border-top:1px solid var(--line)}
.detail-row{
  min-height:61px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:9px 0 8px;
  border-bottom:1px solid var(--line);
}
.detail-row span{
  display:block;
  margin-bottom:3px;
  color:#5d9b45;
  font-size:12px;
  line-height:1.2;
}
.detail-row strong{
  display:block;
  color:#3f3f3f;
  font-size:18px;
  line-height:1.25;
  word-break:break-word;
}
.detail-row.multiline strong{white-space:pre-line}
.document-footer{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding-top:16px;
  color:var(--muted);
  font-size:11px;
}
.search-view{
  width:min(620px,calc(100% - 32px));
  margin:70px auto;
  padding:30px;
  border:1px solid var(--line);
  border-top:4px solid var(--green);
  box-shadow:0 12px 34px rgba(0,0,0,.08);
}
.search-heading{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}
.search-mark{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  flex:0 0 52px;
  background:var(--green);
  color:#fff;
  font-size:18px;
  font-weight:800;
}
h1,p{margin:0}
h1{font-size:24px}
.search-heading p{margin-top:4px;color:var(--muted)}
.lookup-form label{
  display:block;
  margin-bottom:7px;
  color:var(--green-dark);
  font-size:12px;
  font-weight:700;
}
.input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
input,button{height:46px;font:inherit}
input{
  min-width:0;
  width:100%;
  padding:0 13px;
  border:1px solid #bdbdbd;
  border-radius:3px;
  color:var(--text);
  outline:none;
}
input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(121,189,86,.16)}
button{
  padding:0 22px;
  border:0;
  border-radius:3px;
  background:var(--green);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
button:hover{background:#6cac4c}
.notice{
  margin-top:16px;
  padding:12px 13px;
  border-left:4px solid var(--danger);
  background:#fff3f1;
  color:var(--danger);
}
.search-hint{margin-top:14px;color:var(--muted);font-size:12px;line-height:1.45}
@media(max-width:640px){
  .topbar{height:54px}
  .topbar>strong{font-size:17px}
  main{min-height:calc(100vh - 54px)}
  .document-heading{height:68px}
  .document-heading strong{font-size:22px}
  .document-view{width:calc(100% - 28px);padding-top:14px}
  .photo-wrap{width:78px;height:100px}
  .detail-row{min-height:58px}
  .detail-row strong{font-size:17px}
  .document-footer{flex-direction:column;gap:4px}
  .search-view{margin:28px auto;padding:22px 18px}
  .input-row{grid-template-columns:1fr}
  button{width:100%}
}
