/* Consistent comment composer controls on desktop and mobile. */
html body .comment-form{display:grid;gap:12px;margin-top:18px;padding:16px;border:1px solid #dce7ef;border-radius:16px;background:#f8fbfd;min-width:0}
html body .comment-form>label{margin:0;color:#31536c;font-size:13px;font-weight:600;line-height:1.5}
html body .comment-form>label:has(select[name="commentIdentity"]){display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #e0e9f0}
html body .comment-form>label[hidden]{display:none!important}
html body .comment-form select[name="commentIdentity"]{box-sizing:border-box;width:auto;max-width:70%;min-width:130px;min-height:42px;margin:0;padding:9px 32px 9px 12px;border:1px solid #cbdce8;border-radius:10px;background-color:#fff;color:#174d75;font:600 14px system-ui;cursor:pointer}
html body .comment-form textarea{box-sizing:border-box;width:100%;min-height:104px;margin:0;padding:12px 14px;border:1px solid #cbdce8;border-radius:12px;background:#fff;color:#173b60;font:16px/1.5 system-ui;resize:vertical}
html body .comment-form textarea:focus-visible,html body .comment-form select:focus-visible{outline:2px solid #1785d4;outline-offset:2px}
html body .comment-form .comment-help{margin:0;color:#71849d;font-size:12px;line-height:1.5}
html body .comment-form>.post-button{margin:2px 0 0;min-height:42px;border-radius:10px;padding:10px 18px;font-size:14px;justify-self:end}
html[data-theme=dark] body .comment-form{background:#20313e;border-color:#405464}
html[data-theme=dark] body .comment-form>label{color:#d6e6f2}
html[data-theme=dark] body .comment-form select[name="commentIdentity"],html[data-theme=dark] body .comment-form textarea{background:#172733;color:#e1edf5;border-color:#526b7c}
@media(max-width:600px){html body .comment-form{padding:14px}html body .comment-form select[name="commentIdentity"]{font-size:16px}}
html body #listing-detail>.dialog-top{position:sticky!important;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:10px 0;margin:0;border-bottom:1px solid #dce7ef;box-shadow:0 5px 10px #173b6008}
html body #listing-detail>.dialog-top button{flex:0 0 auto;min-width:44px;min-height:44px;cursor:pointer}
html[data-theme=dark] body #listing-detail>.dialog-top{background:#20313e;border-color:#405464}
