/* B07: own support/editor and legal document surfaces; no shared shell rewrite. */
.ab-support-surface,.ab-legal-surface { min-width:0; overflow-wrap:anywhere; }
body.ab-showcase #ContentColumn #News :is(.ab-support-surface,.ab-legal-surface) { color:#49351f; font:14px/1.6 Nunito,sans-serif; }
body.ab-showcase #ContentColumn #News :is(.ab-support-surface,.ab-legal-surface) :is(p,label,legend,small,td,th) { color:#49351f!important; }
body.ab-showcase #ContentColumn #News :is(.ab-support-surface,.ab-legal-surface) a:not(.ab-button,.abp-button,[aria-current=page]) { color:#174a73!important; }
body.ab-showcase #ContentColumn #News .ab-support-surface :is(button,.ab-button,.abp-button) { color:#fff!important; background:linear-gradient(#2f5fa8,#163a6e)!important; border:1px solid #173c63!important; border-radius:3px!important; min-height:34px; padding:6px 12px!important; font:700 12px/1.4 Nunito,sans-serif!important; text-decoration:none!important; text-shadow:none!important; white-space:normal; }
body.ab-showcase #ContentColumn #News .ab-support-surface :is(input:not([type=hidden],[type=radio],[type=checkbox]),select,textarea) { color:#49351f!important; background:#d7c7a7!important; border:1px solid #aa9470!important; border-radius:3px!important; box-sizing:border-box; max-width:100%; min-width:0; padding:7px 10px; font:14px/1.5 Nunito,sans-serif!important; }
body.ab-showcase #ContentColumn #News :is(.ab-support-surface,.ab-legal-surface) :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #1767a0!important; outline-offset:3px; }
.ab-support-surface .ab-support-filters { grid-template-columns:repeat(4,minmax(0,1fr)) auto; gap:10px 12px; padding:13px; margin:0 0 12px; border:1px solid #b39f7c; }
.ab-support-surface .ab-support-filters select { min-height:32px; width:100%; }
.ab-support-surface .ab-support-callout { padding:10px 12px; }
.ab-support-surface .ab-support-callout a { flex-shrink:0; }
.ab-support-surface .ab-support-count { font-size:12px; }
.ab-support-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; }
.ab-support-scroll>table { width:100%; min-width:510px; border-collapse:collapse; }
body.ab-showcase #ContentColumn #News .ab-support-surface .ab-reference-table :is(th,td) { padding:8px 12px!important; border:1px solid #b9a582!important; font:14px/1.5 Nunito,sans-serif!important; }
body.ab-showcase #ContentColumn #News .ab-support-surface .ab-reference-table thead th { background:#d4c4a8!important; color:#4a341a!important; font-size:12px!important; font-weight:800!important; }
.ab-support-surface .ab-reference-table tbody tr:nth-child(odd) { background:#d8c7a7; }
.ab-support-surface .ab-reference-table tbody tr:nth-child(even) { background:#eadcba; }
.ab-support-surface .abp-form>label { display:block; margin-top:14px; font-weight:800; }
.ab-support-surface .abp-form>input,.ab-support-surface .abp-form>select { display:block; width:100%; max-width:520px; min-height:36px; margin:6px 0 12px; }
.ab-support-surface .abp-form textarea { display:block; width:100%; max-width:100%; min-height:150px; resize:vertical; }
.ab-support-editor { min-width:0; padding:0; border:0; margin:14px 0; }
.ab-support-editor>legend { padding:0; font-weight:800; }
.ab-support-editor>label { display:block; margin:8px 0 5px; font-size:12px; }
.ab-support-editor select { display:block; width:100%; max-width:300px; min-height:36px; margin:5px 0 10px; }
.ab-support-toolbar { display:flex; flex-wrap:wrap; gap:6px; padding:8px; border:1px solid #b9a582; border-bottom:0; background:#e3d2ac; }
.ab-support-toolbar[hidden],.ab-support-preview[hidden],.ab-support-surface [data-support-preview-toggle][hidden] { display:none!important; }
.ab-support-editor-help { margin:8px 0; font-size:12px; }
.ab-support-preview { padding:12px; border:1px solid #b9a582; background:#fff8e8; margin-top:10px; min-height:40px; overflow-wrap:anywhere; }
.ab-support-surface .ab-support-message { border-radius:0; }
.ab-support-surface .ab-support-message header { gap:8px; }
.ab-support-message-body p,.ab-support-preview p { white-space:normal; margin:8px 0; }
.ab-support-message-body code,.ab-support-preview code { white-space:pre-wrap; overflow-wrap:anywhere; background:#e5d7b7; padding:1px 4px; }
.ab-support-message-body :is(ul,ol),.ab-support-preview :is(ul,ol) { padding-inline-start:24px; }
.ab-support-attachments { display:flex; flex-wrap:wrap; gap:12px; list-style:none; margin:12px 0 0; padding:0; }
.ab-support-attachments li { min-width:0; max-width:180px; padding:8px; border:1px solid #b9a582; background:#f4e5c6; }
.ab-support-attachments img { display:block; max-width:160px; max-height:160px; width:auto; height:auto; object-fit:contain; margin-bottom:6px; }
.ab-support-attachments small { display:block; }
.ab-support-uploads { min-width:0; padding:12px; border:1px solid #b9a582; margin:14px 0; }
.ab-support-uploads legend { font-weight:800; }
.ab-support-uploads label { display:block; }
.ab-support-uploads input { width:100%; min-height:38px; }
.ab-support-uploads p { font-size:12px; margin:8px 0 0; }
.ab-support-read-error { padding:14px; border:1px solid #9c4c39; background:#fff0d6; }
.ab-support-surface .abp-tabs { flex-wrap:wrap; }
.ab-support-surface .ab-ranking-pagination { display:flex; gap:14px; flex-wrap:wrap; margin-top:12px; }
body.ab-showcase #ContentColumn #News .ab-legal-surface .ab-reference-heading { font:800 13.5px/1.4 MedievalSharp,serif; min-height:40px; margin:0; }
body.ab-showcase #ContentColumn #News .ab-legal-surface .ab-reference-content { padding:14px 16px; }
.ab-legal-surface .ab-legal-contact { overflow-wrap:anywhere; }
.ab-legal-surface .ab-legal-directory strong,.ab-legal-surface .ab-legal-directory small { font-size:12px; }
.ab-legal-surface .ab-rule-item summary { min-height:24px; }
@media(max-width:850px) { .ab-support-surface .ab-support-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:450px) { .ab-support-surface .ab-support-message { padding:12px; } }
@media(max-width:350px) { .ab-support-surface .ab-support-filters { grid-template-columns:minmax(0,1fr); } }
@media(pointer:coarse) { body.ab-showcase #ContentColumn #News .ab-support-surface :is(button,.ab-button,.abp-button,select,input:not([type=hidden],[type=radio],[type=checkbox])) { min-height:44px; font-size:16px!important; } }

/* Per-family reference metrics; new editor remains a native textarea fallback. */
.ab-support-surface { padding:10px 2px 4px; }
.ab-support-surface .ab-support-new { padding:8px 2px 2px; }
.ab-support-surface .ab-support-filters label { font-size:11px; gap:5px; }
body.ab-showcase #ContentColumn #News .ab-support-surface .ab-support-filters select { height:34px; padding:0 10px; font-size:12px!important; }
.ab-support-surface .ab-support-callout { margin-top:14px; padding:11px 12px; }
.ab-support-surface .ab-support-new>input,.ab-support-surface .ab-support-new>select { max-width:100%; height:36px; }
.ab-support-categories { border:0; padding:0; margin:0 0 18px; min-width:0; }
.ab-support-categories legend { font-size:12px; font-weight:800; padding:0; margin:0 0 7px; }
.ab-support-categories>div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.ab-support-categories label { display:flex; align-items:center; gap:7px; min-width:0; padding:10px 12px; background:#dfcfad; border:1px solid #b39f7c; }
.ab-support-categories label:has(:checked) { outline:2px solid #1e527f; outline-offset:-2px; background:#f6e8c8; }
body.ab-showcase #ContentColumn #News .ab-support-categories input { flex:0 0 auto; width:16px; height:16px; min-height:0; padding:0; }
.ab-support-surface .ab-support-new .abp-actions { justify-content:flex-end; gap:10px; margin-top:20px; }
.ab-support-toolbar { gap:2px; padding:5px 6px; }
body.ab-showcase #ContentColumn #News .ab-support-toolbar button { min-height:30px; padding:4px 8px!important; }
.ab-legal-surface { margin:5px 5px 18px; }
.ab-legal-surface .ab-legal-directory { margin:10px 14px 14px; }
.ab-legal-surface .ab-legal-directory>a { display:grid; grid-template-columns:28px minmax(0,1fr) 16px; gap:12px; padding:11px 12px; }
.ab-legal-surface .ab-legal-chevron { margin:0; }
body.ab-showcase #ContentColumn #News .ab-legal-surface .ab-reference-heading { font-size:14.5px!important; font-weight:800!important; padding:0 16px!important; }
.ab-legal-surface.ab-legal-document-reference { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.ab-legal-surface .ab-legal-clause { gap:6px; padding:11px 0; margin:0; }
@media(max-width:768px) { .ab-legal-surface .ab-legal-directory>a { grid-template-columns:24px minmax(0,1fr) 12px; gap:8px; padding:10px 8px; } .ab-legal-surface .ab-legal-clause p { text-align:start; } }
@media(max-width:640px) { .ab-support-categories>div { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:440px) { .ab-support-categories>div { grid-template-columns:minmax(0,1fr); } }
@media(pointer:coarse) { body.ab-showcase #ContentColumn #News .ab-support-categories input { min-height:16px; } body.ab-showcase #ContentColumn #News .ab-support-toolbar button { min-height:44px; } }

.ab-support-message { padding:14px 16px; border:1px solid #c6ae7d; border-inline-start:4px solid #9a7b43; border-radius:0; background:#fff8e8; }
.ab-support-message-staff { border-inline-start-color:#2f5da8; background:#edf3fa; }
.ab-support-message header { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; font-size:12px; }

.ab-support-scroll:focus-visible { outline:3px solid #1767a0; outline-offset:2px; }
.ab-support-categories input { accent-color:#245c90; }

/* Native field reset uses !important; retain the reference dimensions explicitly. */
body.ab-showcase #ContentColumn #News .ab-support-surface :is(input[type=text],input:not([type]),select) { height:36px!important; min-height:36px!important; padding:0 10px!important; }
body.ab-showcase #ContentColumn #News .ab-support-surface .ab-support-filters select { height:34px!important; min-height:34px!important; padding:0 10px!important; }
body.ab-showcase #ContentColumn #News .ab-support-surface .abp-tabs a { color:#174a73!important; background:#e4d3ad!important; }
body.ab-showcase #ContentColumn #News .ab-support-surface .abp-tabs a[aria-current=page] { color:#fff!important; background:#163a6e!important; }
body.ab-showcase #ContentColumn #News .ab-legal-surface .ab-legal-directory strong { color:#49351f!important; }
body.ab-showcase #ContentColumn #News .ab-legal-surface .ab-legal-clause h3 { color:#49351f!important; background:none!important; text-shadow:none!important; }
@media(pointer:coarse) { body.ab-showcase #ContentColumn #News .ab-support-surface :is(input:not([type=hidden],[type=radio],[type=checkbox]),select,button) { min-height:48px!important; height:auto!important; } }
@media(pointer:coarse) { body.ab-showcase #ContentColumn #News .ab-support-surface :is(input:not([type=hidden],[type=radio],[type=checkbox]),select,textarea) { font-size:16px!important; } }
