
/* Member comment dialogs: one readable surface for current and earlier comments. */
.social-native-dialog{width:min(420px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:88dvh;overflow:auto;border-radius:20px;color:#302044}
.social-native-dialog>.social-modal:not(.social-login){position:relative!important;box-sizing:border-box;width:100%!important;max-width:none!important;min-height:160px;padding:18px!important;background:#fff8e9;border:2px solid #302044;border-radius:20px;font:14px/1.65 Arial,sans-serif!important}
.social-native-dialog>.social-modal>.shared-board{margin:8px 0 18px;padding:14px}
.social-native-dialog>.social-modal>div:last-child:not(.shared-board){padding:16px 14px;margin:12px 0 0;border:1px solid #c9a7c0;border-radius:16px;background:#fff3e5;font:14px/1.65 Arial,sans-serif}
.social-native-dialog>.social-modal>div:last-child:not(.shared-board) h4{margin:0 0 12px;font:700 16px/1.5 Arial,sans-serif}
.social-native-dialog>.social-modal>div:last-child:not(.shared-board) p{font:14px/1.7 Arial,sans-serif!important;overflow-wrap:anywhere;padding:10px 0;margin:0;border-bottom:1px solid #dac5cf}
.social-native-dialog button{min-height:44px!important;color:#302044!important}
.social-native-dialog .shared-board :is(input,textarea,select){font:14px/1.6 Arial,sans-serif!important}
html[data-theme=dark] .social-native-dialog{color:#eee7e1}
html[data-theme=dark] .social-native-dialog>.social-modal{background:#121212!important;color:#eee7e1!important;border-color:#706672!important;box-shadow:4px 4px 0 #3ddc84!important}
html[data-theme=dark] .social-native-dialog>.social-modal>div:last-child:not(.shared-board){background:#19171b!important;color:#eee7e1!important;border-color:#706672!important}
html[data-theme=dark] .social-native-dialog :is(h2,h3,h4,p,b,label,small){color:#eee7e1!important}
html[data-theme=dark] .social-native-dialog button{background:#302716!important;color:#fff0c1!important;border-color:#a79883!important;box-shadow:2px 2px 0 #574358!important}
html[data-theme=dark] .social-native-dialog button:disabled{opacity:.6!important;color:#fff0c1!important}
html[data-theme=dark] .social-native-dialog :is(input,textarea,select){background:#242017!important;color:#fff4df!important;border-color:#a79883!important}
html[data-theme=dark] .social-native-dialog>.social-modal>div:last-child:not(.shared-board) p{border-color:#51464e!important}
/* Keep composing compact across saved boards. */
.shared-board .post-form{gap:7px!important;margin-top:12px!important;padding:10px!important}
.shared-board .post-form label{gap:3px!important;font-size:13px!important;margin:0!important}
.shared-board .post-form input:not([type=file]),.shared-board .post-form select{min-height:36px!important;height:36px!important;padding:5px 8px!important;box-shadow:none!important}
.shared-board .post-form textarea{min-height:60px!important;height:60px;padding:6px 8px!important;box-shadow:none!important}
.shared-board .localized-file{min-height:38px!important;padding:5px!important;font-size:12px!important}
.shared-board .localized-file .file-button{padding:5px 8px!important;min-height:28px!important;font-size:12px!important}
.shared-board .post-form>button{min-height:38px!important;padding:6px 12px!important;margin:2px 0!important}
.shared-board .post-form small,.shared-board .post-form>p{font-size:11px!important;line-height:1.4!important;margin:2px 0!important}
.shared-board .comment-feed{display:flex;flex-direction:column;gap:12px;margin:18px 0}
.shared-board .comment-feed>.demo-post{margin:0!important;padding:16px!important;font:15px/1.8 Arial,sans-serif!important;overflow-wrap:anywhere}
.member-comment-dialog>.social-modal>.shared-board{margin:8px 0 0!important;padding:14px!important;min-height:0!important}
.member-comment-dialog .comment-feed{min-height:180px}
.member-comment-dialog .comment-feed>.demo-post{flex:none}
html[data-theme=dark] .shared-board .post-form :is(input,textarea,select){background:#242017!important;color:#fff4df!important;border-color:#a79883!important}
html[data-theme=dark] .shared-board .localized-file{background:#242017!important;color:#fff4df!important;border-color:#a79883!important}
html[data-theme=dark] .shared-board .localized-file .file-button{background:#302716!important;color:#fff0c1!important}
.shared-board .comment-feed>.demo-post>p{font:15px/1.75 Arial,sans-serif!important;margin:6px 0!important}
.shared-board .comment-feed>.demo-post>p>b{font-size:15px!important}
