:root{font:16px/1.5 "DM Sans","Segoe UI",sans-serif;color:#173e39;background:#f3f7f4}
*{box-sizing:border-box}body{margin:0}header{background:#173e39;color:#fff;display:flex;justify-content:space-between;padding:1rem max(1.25rem,calc((100% - 950px)/2))}header a{color:#fff}header span{letter-spacing:.14em;font-weight:700}
main{max-width:990px;margin:auto;padding:1.4rem 1.25rem 4rem}h1{line-height:1.15;margin:.6rem 0}h2{margin:1.5rem 0 .6rem}a{color:#075c56}p{max-width:78ch}
.inputs,form{display:flex;flex-wrap:wrap;gap:.8rem;align-items:end}label{display:grid;gap:.25rem;font-weight:600}input,select,button{font:inherit;max-width:100%;padding:.55rem .8rem;border:1px solid #9cafa8;border-radius:.4rem;background:#fff;color:inherit}.inputs>label{flex:1;min-width:min(100%,190px)}button{background:#09635c;color:white;cursor:pointer}button:disabled{opacity:.5;cursor:default}
article,#editor{border:1px solid #d0ddd6;border-radius:.65rem;padding:1rem;background:white;margin:1rem 0}h3{margin:0}.choice{background:#e8f2ed;padding:.7rem .9rem;border-left:3px solid #257361}.candidate{padding:.65rem 0;border-top:1px solid #dfebe5}summary{cursor:pointer;font-weight:600}small{color:#52635d}#message:empty{display:none}
pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:.4rem 0}details>form{margin:1rem 0 .3rem}input:focus-visible,select:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #df9d29;outline-offset:2px}

body>header{align-items:center;gap:12px;background:white;border-bottom:1px solid #ceddd5;color:#214d44}
body>header a{display:inline-flex;align-items:center;min-height:44px;color:#145d50;font-weight:650;text-underline-offset:3px}
body>header select{width:auto;max-width:40%;color:#173e39;min-height:44px}
.inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.inputs>label,.inputs select,.inputs input{min-width:0;width:100%}
#port-detail{overflow-wrap:anywhere}
#port-detail summary{padding-block:9px}
@media(max-width:550px){body>header{padding:8px 16px}body>header span{display:none}main{padding-inline:16px}}
