:root{
  --ink:#142b36;
  --muted:#536872;
  --teal:#146d6d;
  --line:#d9e3e3;
  --paper:#fff;
  --amber:#795421;
  --radius:16px
}

*{
  box-sizing:border-box
}
body{
  margin:0;
  color:var(--ink);
  font-family:"PingFang SC","Microsoft YaHei",sans-serif;
  background:radial-gradient(ellipse at 90% 0,#dceee9,transparent 48%),#f3f6f5;
  line-height:1.65
}
header{
  background:#122e38;
  color:white;
  padding:19px max(24px,calc((100vw - 1180px)/2));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.brand{
  color:inherit;
  text-decoration:none;
  font-weight:750;
  letter-spacing:2px;
  font-size:22px
}
.brand span{
  display:block;
  font-size:11px;
  letter-spacing:1px;
  font-weight:400;
  color:#c0d6d6
}
.tag{
  font-size:12px;
  border:1px solid #668184;
  padding:5px 12px;
  border-radius:30px;
  white-space:nowrap
}
main{
  max-width:1236px;
  margin:auto;
  padding:42px 28px
}
.intro{
  max-width:810px;
  margin-bottom:25px
}
.eyebrow{
  font-size:12px;
  letter-spacing:2px;
  color:var(--teal);
  font-weight:700
}
h1{
  font-family:"Noto Serif SC","Songti SC",serif;
  font-size:clamp(30px,4vw,45px);
  letter-spacing:-1px;
  line-height:1.3;
  margin:10px 0 14px
}
h2{
  font-size:19px;
  margin:0
}
h3{
  font-size:17px;
  margin:6px 0 10px
}
.intro>p:last-child,.hint,small{
  color:var(--muted)
}
.notice{
  border:1px solid #c9ded7;
  background:#edf6f1;
  padding:13px 18px;
  border-radius:10px;
  font-size:13px;
  margin-bottom:28px
}
.workspace{
  display:grid;
  grid-template-columns:minmax(300px,410px) minmax(0,1fr);
  gap:30px;
  align-items:start
}
.panel,.result-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 5px 20px #193a4210
}
.section-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px
}
.step{
  font-size:12px;
  font-weight:700;
  color:var(--teal);
  border-bottom:2px solid var(--teal);
  padding:4px 0
}
fieldset{
  border:0;
  margin:0;
  padding:0;
  min-width:0
}
label{
  display:block;
  font-size:13px;
  font-weight:600;
  margin:13px 0 6px
}
input,select,textarea,button{
  font:inherit
}
input,select,textarea{
  width:100%;
  border:1px solid #bdcdcf;
  border-radius:8px;
  padding:10px 12px;
  background:#fcfdfd;
  color:var(--ink);
  font-size:14px;
  min-height:44px
}
textarea{
  resize:vertical;
  line-height:1.7
}
input:focus,select:focus,textarea:focus,button:focus-visible,summary:focus-visible{
  outline:3px solid #90caca;
  outline-offset:2px
}
button{
  border:0;
  border-radius:8px;
  padding:11px 16px;
  min-height:44px;
  cursor:pointer;
  font-size:14px;
  font-weight:650
}
.primary{
  background:var(--teal);
  color:white;
  width:100%;
  margin-top:20px;
  display:flex;
  justify-content:space-between
}
.secondary{
  background:#eaf1f1;
  color:var(--ink);
  margin-top:10px
}
button:hover{
  filter:brightness(.94)
}
button:disabled{
  opacity:.55;
  cursor:wait
}
.two,.param-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.two>div{
  min-width:0
}
details{
  border-top:1px solid var(--line);
  padding-top:14px;
  margin-top:18px
}
summary{
  cursor:pointer;
  font-size:13px;
  font-weight:600;
  min-height:32px
}
.hint{
  font-size:13px
}
.check{
  display:flex;
  align-items:center;
  gap:8px
}
.check input{
  width:18px;
  min-height:18px;
  height:18px
}
#json{
  font-family:ui-monospace,monospace;
  font-size:12px
}
#message{
  font-size:13px;
  min-height:24px;
  margin-bottom:0
}
#message.error{
  color:#9d2926
}
.empty{
  padding:45px 28px;
  border:1px dashed #b6c7c9;
  border-radius:16px;
  text-align:center;
  color:var(--muted)
}
.empty-mark{
  font-family:Georgia,serif;
  font-size:54px;
  color:#8dafaa;
  line-height:1.3
}
.result-card{
  margin-bottom:18px;
  animation:enter .25s ease-out
}
.card-meta{
  font-size:12px;
  color:var(--muted);
  margin-bottom:7px
}
.state{
  display:inline-block;
  font-size:12px;
  background:#fff4de;
  color:var(--amber);
  padding:3px 10px;
  border-radius:5px;
  margin:6px 0
}
.review-box{
  border-left:3px solid #b39660;
  padding-left:14px;
  margin:15px 0;
  font-size:14px
}
.review-box p{
  margin:6px 0
}
.reference{
  border:1px solid var(--line);
  border-radius:8px;
  margin:12px 0;
  padding:14px;
  font-size:13px
}
.reference p{
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.reference a{
  color:var(--teal)
}
.blocked{
  font-size:13px;
  color:var(--amber);
  overflow-wrap:anywhere
}
.param-grid small{
  display:block;
  font-size:11px;
  margin-top:4px
}
.pending-edit{
  color:var(--amber);
  font-size:13px
}
footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  margin-top:36px;
  font-size:12px;
  color:var(--muted)
}
[hidden]{
  display:none!important
}
@keyframes enter{
  from{
  opacity:.4;
  transform:translateY(5px)
}
to{
  opacity:1;
  transform:none
}

}
@media(max-width:760px){
  main{
  padding:25px 16px
}
.workspace{
  grid-template-columns:1fr;
  gap:25px
}
.panel,.result-card{
  padding:19px
}
header{
  padding:15px 18px
}
.intro{
  margin-bottom:20px
}
.notice{
  font-size:12px
}
.two{
  grid-template-columns:1fr
}
.param-grid{
  grid-template-columns:1fr 1fr;
  gap:10px
}
h1{
  letter-spacing:0
}
.brand{
  font-size:20px
}

}
@media(prefers-reduced-motion:reduce){
  .result-card{
  animation:none
}

}

h1 {
   text-wrap: balance;
   
}

