/* SAERO ENGINE board UX: one document scrollbar, full-width composer, usable controls. */
.se-v7-app[data-ratio="full"] .se-v7-content.se-v7-page-content main.board-main{
 width:100%!important;max-width:none!important;margin:0!important;
 padding:clamp(14px,2vw,32px)!important;box-sizing:border-box!important;
}
.se-v7-app[data-ratio="full"] .board-main .board-layout,
.se-v7-app[data-ratio="full"] .board-main .board-content,
.se-v7-app[data-ratio="full"] .board-main .write-post,
.se-v7-app[data-ratio="full"] .board-main #post-detail{
 width:100%!important;max-width:none!important;min-width:0!important;
}
.se-v7-app .board-main .write-actions{
 display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
 width:100%!important;gap:10px!important;min-width:0!important;
}
.se-v7-app .board-main .write-actions>button[type="submit"]{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;flex:1 1 0%!important;min-width:0!important;
}
.se-v7-app .board-main .write-actions>#cancel-write,
.se-v7-app .board-main .write-actions>button[type="button"]{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 94px!important;width:94px!important;min-width:94px!important;
 max-width:none!important;writing-mode:horizontal-tb!important;
 white-space:nowrap!important;word-break:keep-all!important;text-orientation:mixed!important;
 font-size:13px!important;line-height:1.3!important;padding:8px 12px!important;
}
.se-v7-app .board-main .board-editor-toolbar{min-width:0!important}
.se-v7-app .board-main .board-editor-toolbar .se-rich-extra-toolbar{
 display:flex;flex:1 0 100%;align-items:center;gap:7px;flex-wrap:wrap;
 padding-top:8px;border-top:1px solid rgba(150,160,170,.22);min-width:0;
}
.se-v7-app .board-main .se-rich-font-picker{
 width:auto!important;min-width:120px!important;max-width:180px!important;
 border:1px solid #64748b5c!important;border-radius:8px!important;
 padding:7px 9px!important;font-size:12px!important;background:transparent!important;
 color:inherit!important;
}
.se-v7-app .board-main .se-rich-background-label{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 width:auto!important;gap:5px!important;font-size:12px!important;font-weight:600!important;
 color:inherit!important;white-space:nowrap!important;
}
.se-v7-app .board-main .se-rich-background-label input[type="color"]{
 width:34px!important;min-width:34px!important;height:33px!important;min-height:33px!important;
 padding:3px!important;border:1px solid #64748b5c!important;border-radius:7px!important;
}
.se-v7-app .board-main .se-rich-align-buttons{display:flex;align-items:center;gap:3px}
.se-v7-app .board-main .se-rich-align-buttons button{min-width:33px!important;font-weight:800}
.se-v7-app .board-main .se-rich-extra-toolbar button{white-space:nowrap!important;word-break:keep-all!important;font-size:12px!important}
.se-v7-app .board-main .se-rich-table-wrap{max-width:100%;overflow-x:auto;margin:14px 0}
.se-v7-app .board-main .se-rich-table{
 width:100%;border-collapse:collapse;table-layout:fixed;min-width:280px;
 background:rgba(125,140,160,.07);font-size:13px;
}
.se-v7-app .board-main .se-rich-table td{
 padding:10px 12px;border:1px solid rgba(128,145,167,.48);
 vertical-align:top;overflow-wrap:anywhere;min-height:34px;
}
.se-v7-app .board-main .se-rich-table td:focus-within{outline:1px solid #f16a42}
.se-v7-app .board-main .se-rich-rendered a,
.se-v7-app .board-main .se-rich-editor a{
 color:#f16a42;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;
}
.se-v7-app .board-main .se-rich-rendered [style*="background-color"],
.se-v7-app .board-main .se-rich-editor [style*="background-color"]{
 padding:1px 3px;border-radius:3px;color:#222;
}
.se-v7-app .board-main .se-rich-editor:focus{outline:2px solid rgba(241,106,66,.18)}
/* All ten category tabs are visible: no horizontal scrolling or cutoff. */
.se-v7-app .board-main .se-emoji-popup{
 width:min(585px,100%)!important;
 max-width:min(585px,100%)!important;
 max-height:min(640px,85dvh)!important;
 padding:14px!important;
}
.se-v7-app .board-main .se-emoji-tabs{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:6px!important;overflow:visible!important;flex-wrap:initial!important;
 width:100%!important;min-height:0!important;max-width:100%!important;
}
.se-v7-app .board-main .se-emoji-tabs button{
 min-width:0!important;width:100%!important;min-height:35px!important;
 padding:6px 4px!important;font-size:11px!important;text-align:center!important;
 white-space:nowrap!important;overflow:visible!important;word-break:keep-all!important;
}
.se-v7-app .board-main .se-emoji-grid{max-height:min(350px,45dvh)!important}
@media(max-width:640px){
 .se-v7-app .board-main .se-emoji-popup{max-width:min(445px,calc(100vw - 28px))!important}
 .se-v7-app .board-main .se-emoji-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .se-v7-app .board-main .se-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
 .se-v7-app .board-main .se-rich-extra-toolbar{gap:5px}
}


/* Inline media should appear as the media itself, without a colored card,
   frame, border, or inset padding in either composer or published posts. */
.se-v7-app .board-main .se-rich-editor .se-rich-media,
.se-v7-app .board-main .se-rich-rendered .se-rich-media{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  min-height:0!important;
  outline:0!important;
  overflow:visible!important;
}
/* Dark mode used to repaint the media wrapper with a solid gray background. */
.se-v7-app[data-theme="dark"] .board-main .se-rich-media,
.se-v7-app[data-theme="light"] .board-main .se-rich-media{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.se-v7-app .board-main .board-image-preview-card{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.se-v7-app .board-main .board-image-preview-card img,
.se-v7-app .board-main .post-image-gallery img{
  border:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
/* Preserve actual image/video sizing, aspect ratios and play controls. */
