/* Table content only: dashboard data tables and mathematical layouts are untouched. */
.gp-resource-content,.gp-blog-article-content,.gp-scheme-content,.gp-rich-content,.q-body,.question-text,.gp-qtitle,.gp-option,.gp-answer,.pv-qtext,.pv-question,#questionBox,.question-content,.option-content{min-width:0;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.note-editable table:not([class*="math-"]),
.cke_editable table:not([class*="math-"]),
.gp-resource-content table:not([class*="math-"]),
.gp-blog-article-content table:not([class*="math-"]),
.gp-scheme-content table:not([class*="math-"]),
.gp-rich-content table:not([class*="math-"]),
.q-body table:not([class*="math-"]),
.question-text table:not([class*="math-"]),
.pv-qtext table:not([class*="math-"]),
.pv-question table:not([class*="math-"]),
.gp-qtitle table:not([class*="math-"]),
.gp-option table:not([class*="math-"]),
.gp-answer table:not([class*="math-"]),
#questionBox table:not([class*="math-"]),
.question-content table:not([class*="math-"]),
.option-content table:not([class*="math-"]){display:table!important;visibility:visible!important;border-collapse:collapse;border-spacing:0;width:100%;max-width:100%;margin:12px 0;border:1px solid #9ca3af!important;color:inherit;background:transparent;table-layout:auto}
.note-editable table:not([class*="math-"]) > thead > tr > th,
.note-editable table:not([class*="math-"]) > thead > tr > td,
.note-editable table:not([class*="math-"]) > tbody > tr > th,
.note-editable table:not([class*="math-"]) > tbody > tr > td,
.note-editable table:not([class*="math-"]) > tfoot > tr > th,
.note-editable table:not([class*="math-"]) > tfoot > tr > td,
.note-editable table:not([class*="math-"]) > tr > th,
.note-editable table:not([class*="math-"]) > tr > td,
.cke_editable table:not([class*="math-"]) > thead > tr > th,
.cke_editable table:not([class*="math-"]) > thead > tr > td,
.cke_editable table:not([class*="math-"]) > tbody > tr > th,
.cke_editable table:not([class*="math-"]) > tbody > tr > td,
.cke_editable table:not([class*="math-"]) > tfoot > tr > th,
.cke_editable table:not([class*="math-"]) > tfoot > tr > td,
.cke_editable table:not([class*="math-"]) > tr > th,
.cke_editable table:not([class*="math-"]) > tr > td,
.gp-resource-content table:not([class*="math-"]) > thead > tr > th,
.gp-resource-content table:not([class*="math-"]) > thead > tr > td,
.gp-resource-content table:not([class*="math-"]) > tbody > tr > th,
.gp-resource-content table:not([class*="math-"]) > tbody > tr > td,
.gp-resource-content table:not([class*="math-"]) > tfoot > tr > th,
.gp-resource-content table:not([class*="math-"]) > tfoot > tr > td,
.gp-resource-content table:not([class*="math-"]) > tr > th,
.gp-resource-content table:not([class*="math-"]) > tr > td,
.gp-blog-article-content table:not([class*="math-"]) > thead > tr > th,
.gp-blog-article-content table:not([class*="math-"]) > thead > tr > td,
.gp-blog-article-content table:not([class*="math-"]) > tbody > tr > th,
.gp-blog-article-content table:not([class*="math-"]) > tbody > tr > td,
.gp-blog-article-content table:not([class*="math-"]) > tfoot > tr > th,
.gp-blog-article-content table:not([class*="math-"]) > tfoot > tr > td,
.gp-blog-article-content table:not([class*="math-"]) > tr > th,
.gp-blog-article-content table:not([class*="math-"]) > tr > td,
.gp-scheme-content table:not([class*="math-"]) > thead > tr > th,
.gp-scheme-content table:not([class*="math-"]) > thead > tr > td,
.gp-scheme-content table:not([class*="math-"]) > tbody > tr > th,
.gp-scheme-content table:not([class*="math-"]) > tbody > tr > td,
.gp-scheme-content table:not([class*="math-"]) > tfoot > tr > th,
.gp-scheme-content table:not([class*="math-"]) > tfoot > tr > td,
.gp-scheme-content table:not([class*="math-"]) > tr > th,
.gp-scheme-content table:not([class*="math-"]) > tr > td,
.gp-rich-content table:not([class*="math-"]) > thead > tr > th,
.gp-rich-content table:not([class*="math-"]) > thead > tr > td,
.gp-rich-content table:not([class*="math-"]) > tbody > tr > th,
.gp-rich-content table:not([class*="math-"]) > tbody > tr > td,
.gp-rich-content table:not([class*="math-"]) > tfoot > tr > th,
.gp-rich-content table:not([class*="math-"]) > tfoot > tr > td,
.gp-rich-content table:not([class*="math-"]) > tr > th,
.gp-rich-content table:not([class*="math-"]) > tr > td,
.q-body table:not([class*="math-"]) > thead > tr > th,
.q-body table:not([class*="math-"]) > thead > tr > td,
.q-body table:not([class*="math-"]) > tbody > tr > th,
.q-body table:not([class*="math-"]) > tbody > tr > td,
.q-body table:not([class*="math-"]) > tfoot > tr > th,
.q-body table:not([class*="math-"]) > tfoot > tr > td,
.q-body table:not([class*="math-"]) > tr > th,
.q-body table:not([class*="math-"]) > tr > td,
.question-text table:not([class*="math-"]) > thead > tr > th,
.question-text table:not([class*="math-"]) > thead > tr > td,
.question-text table:not([class*="math-"]) > tbody > tr > th,
.question-text table:not([class*="math-"]) > tbody > tr > td,
.question-text table:not([class*="math-"]) > tfoot > tr > th,
.question-text table:not([class*="math-"]) > tfoot > tr > td,
.question-text table:not([class*="math-"]) > tr > th,
.question-text table:not([class*="math-"]) > tr > td,
.pv-qtext table:not([class*="math-"]) > thead > tr > th,
.pv-qtext table:not([class*="math-"]) > thead > tr > td,
.pv-qtext table:not([class*="math-"]) > tbody > tr > th,
.pv-qtext table:not([class*="math-"]) > tbody > tr > td,
.pv-qtext table:not([class*="math-"]) > tfoot > tr > th,
.pv-qtext table:not([class*="math-"]) > tfoot > tr > td,
.pv-qtext table:not([class*="math-"]) > tr > th,
.pv-qtext table:not([class*="math-"]) > tr > td,
.pv-question table:not([class*="math-"]) > thead > tr > th,
.pv-question table:not([class*="math-"]) > thead > tr > td,
.pv-question table:not([class*="math-"]) > tbody > tr > th,
.pv-question table:not([class*="math-"]) > tbody > tr > td,
.pv-question table:not([class*="math-"]) > tfoot > tr > th,
.pv-question table:not([class*="math-"]) > tfoot > tr > td,
.pv-question table:not([class*="math-"]) > tr > th,
.pv-question table:not([class*="math-"]) > tr > td,
.gp-qtitle table:not([class*="math-"]) > thead > tr > th,
.gp-qtitle table:not([class*="math-"]) > thead > tr > td,
.gp-qtitle table:not([class*="math-"]) > tbody > tr > th,
.gp-qtitle table:not([class*="math-"]) > tbody > tr > td,
.gp-qtitle table:not([class*="math-"]) > tfoot > tr > th,
.gp-qtitle table:not([class*="math-"]) > tfoot > tr > td,
.gp-qtitle table:not([class*="math-"]) > tr > th,
.gp-qtitle table:not([class*="math-"]) > tr > td,
.gp-option table:not([class*="math-"]) > thead > tr > th,
.gp-option table:not([class*="math-"]) > thead > tr > td,
.gp-option table:not([class*="math-"]) > tbody > tr > th,
.gp-option table:not([class*="math-"]) > tbody > tr > td,
.gp-option table:not([class*="math-"]) > tfoot > tr > th,
.gp-option table:not([class*="math-"]) > tfoot > tr > td,
.gp-option table:not([class*="math-"]) > tr > th,
.gp-option table:not([class*="math-"]) > tr > td,
.gp-answer table:not([class*="math-"]) > thead > tr > th,
.gp-answer table:not([class*="math-"]) > thead > tr > td,
.gp-answer table:not([class*="math-"]) > tbody > tr > th,
.gp-answer table:not([class*="math-"]) > tbody > tr > td,
.gp-answer table:not([class*="math-"]) > tfoot > tr > th,
.gp-answer table:not([class*="math-"]) > tfoot > tr > td,
.gp-answer table:not([class*="math-"]) > tr > th,
.gp-answer table:not([class*="math-"]) > tr > td,
#questionBox table:not([class*="math-"]) > thead > tr > th,
#questionBox table:not([class*="math-"]) > thead > tr > td,
#questionBox table:not([class*="math-"]) > tbody > tr > th,
#questionBox table:not([class*="math-"]) > tbody > tr > td,
#questionBox table:not([class*="math-"]) > tfoot > tr > th,
#questionBox table:not([class*="math-"]) > tfoot > tr > td,
#questionBox table:not([class*="math-"]) > tr > th,
#questionBox table:not([class*="math-"]) > tr > td,
.question-content table:not([class*="math-"]) > thead > tr > th,
.question-content table:not([class*="math-"]) > thead > tr > td,
.question-content table:not([class*="math-"]) > tbody > tr > th,
.question-content table:not([class*="math-"]) > tbody > tr > td,
.question-content table:not([class*="math-"]) > tfoot > tr > th,
.question-content table:not([class*="math-"]) > tfoot > tr > td,
.question-content table:not([class*="math-"]) > tr > th,
.question-content table:not([class*="math-"]) > tr > td,
.option-content table:not([class*="math-"]) > thead > tr > th,
.option-content table:not([class*="math-"]) > thead > tr > td,
.option-content table:not([class*="math-"]) > tbody > tr > th,
.option-content table:not([class*="math-"]) > tbody > tr > td,
.option-content table:not([class*="math-"]) > tfoot > tr > th,
.option-content table:not([class*="math-"]) > tfoot > tr > td,
.option-content table:not([class*="math-"]) > tr > th,
.option-content table:not([class*="math-"]) > tr > td{display:table-cell!important;visibility:visible!important;border:1px solid #9ca3af!important;padding:8px 10px!important;min-width:4.5rem;vertical-align:top;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.note-editable table:not([class*="math-"]) th,
.cke_editable table:not([class*="math-"]) th,
.gp-resource-content table:not([class*="math-"]) th,
.gp-blog-article-content table:not([class*="math-"]) th,
.gp-scheme-content table:not([class*="math-"]) th,
.gp-rich-content table:not([class*="math-"]) th,
.q-body table:not([class*="math-"]) th,
.question-text table:not([class*="math-"]) th,
.pv-qtext table:not([class*="math-"]) th,
.pv-question table:not([class*="math-"]) th,
.gp-qtitle table:not([class*="math-"]) th,
.gp-option table:not([class*="math-"]) th,
.gp-answer table:not([class*="math-"]) th,
#questionBox table:not([class*="math-"]) th,
.question-content table:not([class*="math-"]) th,
.option-content table:not([class*="math-"]) th{font-weight:700}
.note-editable table caption,.cke_editable table caption,.gp-resource-content table caption,.gp-blog-article-content table caption,.gp-scheme-content table caption{caption-side:top;text-align:start;font-weight:600;padding:6px 0}
@media(max-width:575px){.note-editable,.cke_editable{overflow-x:auto}.gp-option>span:not(.gp-letter){min-width:0;max-width:100%;overflow-x:auto}}

/* Restore semantic editor formatting after the site theme reset. */
.note-editable strong,.note-editable b,.cke_editable strong,.cke_editable b,.gp-resource-content strong,.gp-resource-content b,.gp-blog-article-content strong,.gp-blog-article-content b,.gp-scheme-content strong,.gp-scheme-content b,.gp-rich-content strong,.gp-rich-content b{font-weight:700}
.note-editable em,.cke_editable em,.gp-resource-content em,.gp-blog-article-content em,.gp-scheme-content em,.gp-rich-content em{font-style:italic}
.note-editable ul,.cke_editable ul,.gp-resource-content ul,.gp-blog-article-content ul,.gp-scheme-content ul,.gp-rich-content ul{list-style:disc outside;padding-inline-start:26px;margin:10px 0}
.note-editable ol,.cke_editable ol,.gp-resource-content ol,.gp-blog-article-content ol,.gp-scheme-content ol,.gp-rich-content ol{list-style:decimal outside;padding-inline-start:26px;margin:10px 0}
.note-editable li,.cke_editable li,.gp-resource-content li,.gp-blog-article-content li,.gp-scheme-content li,.gp-rich-content li{display:list-item;list-style:inherit;margin:5px 0}
.note-editable td p:last-child,.note-editable th p:last-child,.cke_editable td p:last-child,.cke_editable th p:last-child,.gp-resource-content td p:last-child,.gp-resource-content th p:last-child,.gp-blog-article-content td p:last-child,.gp-blog-article-content th p:last-child,.gp-scheme-content td p:last-child,.gp-scheme-content th p:last-child,.gp-rich-content td p:last-child,.gp-rich-content th p:last-child{margin-bottom:0}
