/* GM39 - PC-only community action alignment and legal page refresh.
   No global/mobile/editor/DB styles. V34+V36+V37+V38 kept intact. */
@media (min-width:1025px) {
  /* Write screen: tables and editor consume their own row; submit actions below. */
  .gm36-community #bbswrite,
  .gm36-community #bbswrite > form {display:flow-root!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;}
  .gm36-community #bbswrite > form > .writeTable,
  .gm36-community #bbswrite > form > table {display:table!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;position:static!important;margin:0 0 16px!important;}
  .gm36-community #bbswrite .writeTable td,
  .gm36-community #bbswrite .writeTable tr {float:none!important;}
  .gm36-community #bbswrite form > .bottombox,
  .gm36-community #bbswrite form > .gm39-post-actions {box-sizing:border-box!important;position:static!important;display:flex!important;clear:both!important;float:none!important;width:100%!important;max-width:100%!important;min-height:65px!important;
    align-items:center!important;justify-content:flex-end!important;flex-flow:row wrap!important;gap:10px!important;
    padding:18px 0 3px!important;margin:14px 0 0!important;border-top:1px solid #ececf5!important;text-align:right!important;}
  .gm36-community #bbswrite .bottombox input,
  .gm36-community #bbswrite .gm39-post-actions input {display:inline-flex!important;float:none!important;position:static!important;align-items:center;justify-content:center;min-height:43px!important;min-width:116px!important;padding:10px 18px!important;margin:0!important;border-radius:9px!important;font-size:15px!important;line-height:1.4!important;font-weight:800!important;cursor:pointer;}
  .gm36-community #bbswrite .bottombox input[type=submit] {background:#685beb!important;color:#fff!important;border:1px solid #685beb!important;}
  .gm36-community #bbswrite .bottombox input[type=button] {background:#f6f6fd!important;color:#626d8c!important;border:1px solid #e2e3ef!important;}

  /* Legal docs share the same purple-white frame as login/account/community. */
  .gm36-privacy .gm36-page-shell,.gm36-agreement .gm36-page-shell {max-width:1100px!important;}
  .gm36-privacy .gm36-page-body,.gm36-agreement .gm36-page-body {padding:27px 32px 36px!important;}
  .gm36-subpage .gm39-legal-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid #edf0f8;}
  .gm36-subpage .gm39-legal-tabs a {display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px 15px;
    background:#f8f7ff;border:1px solid #e4e1f7;border-radius:11px;color:#66708c;font-size:15px!important;font-weight:800;text-decoration:none;}
  .gm36-subpage .gm39-legal-tabs a.is-current {background:#685bea;border-color:#685bea;color:#fff!important;}
  .gm36-subpage .gm39-legal-tabs a:hover:not(.is-current) {background:#eeeaff;color:#5c50c7;}
  .gm36-subpage .gm39-legal-document {display:flow-root;max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:keep-all;color:#424c66;font-size:15px;line-height:1.9;}
  .gm36-subpage .gm39-legal-document :is(h1,h2,h3,h4) {float:none!important;clear:both;max-width:100%;height:auto!important;color:#303950!important;font-weight:800;line-height:1.5!important;letter-spacing:-.35px;}
  .gm36-subpage .gm39-legal-document h1 {font-size:23px!important;margin:9px 0 19px!important;}
  .gm36-subpage .gm39-legal-document h2 {font-size:19px!important;margin:27px 0 13px!important;padding:0 0 10px;border-bottom:1px solid #e9eaf4;}
  .gm36-subpage .gm39-legal-document :is(h3,h4) {font-size:16px!important;margin:22px 0 9px!important;}
  .gm36-subpage .gm39-legal-document :is(p,li,td,th,dd,dt,div,span,strong,b,small) {max-width:100%;font-size:15px;line-height:1.9;}
  .gm36-subpage .gm39-legal-document :is(p,ul,ol,dl) {float:none!important;max-width:100%;margin-top:0;margin-bottom:15px;}
  .gm36-subpage .gm39-legal-document :is(ul,ol) {padding-left:24px;}
  .gm36-subpage .gm39-legal-document :is(a) {color:#6255d7;overflow-wrap:anywhere;}
  .gm36-subpage .gm39-legal-document :is(hr) {border:0;border-top:1px solid #eceef6;margin:23px 0;}
  .gm36-subpage .gm39-legal-document table {width:100%!important;max-width:100%!important;table-layout:auto!important;float:none!important;border-collapse:collapse!important;margin:12px 0 18px;border:1px solid #e6e9f2!important;background:#fff!important;}
  .gm36-subpage .gm39-legal-document th,.gm36-subpage .gm39-legal-document td {padding:11px 13px!important;border:1px solid #e6e9f2!important;text-align:left!important;vertical-align:top!important;background:#fff!important;}
  .gm36-subpage .gm39-legal-document th {background:#f8f7ff!important;color:#414c68;font-weight:800;}
  .gm36-subpage .gm39-legal-document :is(img,iframe,video) {max-width:100%;height:auto;}
  .gm36-subpage .gm39-legal-document :is([style*="width: 1200"],[style*="width:1200"]) {max-width:100%!important;}
}
@media (min-width:1025px) and (max-width:1180px){
  .gm36-privacy .gm36-page-body,.gm36-agreement .gm36-page-body {padding:22px 24px!important;}
}
