/* Shared portal shell. Reading/form bounds stay inside this common outer grid. */
@media screen {
.aztek-portal,
.aztek-portal.aztek-workspace,
.aztek-portal.aztek-workspace.aztek-page-clientareahome,
.aztek-portal.aztek-workspace:is(.aztek-page-supportticketslist,.aztek-page-viewticket) { --az-workspace-width:1680px; }
.aztek-portal .container { width:calc(100% - 64px);max-width:var(--az-workspace-width);padding-inline:0; }
.aztek-portal #header .container,
.aztek-portal .master-breadcrumb > .container,
.aztek-portal #main-body > .container,
.aztek-portal #footer > .container { width:calc(100% - 64px);max-width:var(--az-workspace-width);padding-inline:0; }
.aztek-portal.aztek-knowledge-workspace .aztek-knowledge-layout > .primary-content { max-width:none;margin-inline:0; }
.aztek-portal.aztek-knowledge-workspace:is(.aztek-page-knowledgebasearticle,.aztek-page-viewannouncement) .aztek-knowledge-layout:not(:has(> #aztek-knowledge-tools)) > .primary-content { max-width:none; }
/* Short account fields and reading content use a deliberate inner measure. */
.aztek-page-user-profile .card-body > form { max-width:1040px; }
.aztek-portal :is(form,.card-footer) > .btn + .btn { margin-left:8px; }
.aztek-page-clientareaproductdetails.aztek-detail-workspace .product-actions-wrapper { max-width:720px; }
.aztek-portal.aztek-knowledge-workspace:is(.aztek-page-knowledgebasearticle,.aztek-page-viewannouncement) .aztek-reading-card > .card-body { max-width:880px;width:100%;margin-inline:auto; }
.aztek-portal.aztek-page-knowledgebasearticle .aztek-reading-card > .list-group > .kb-article-item { max-width:880px;width:100%;margin-inline:auto; }
.aztek-page-clientareainvoices #tableInvoicesList :is(th,td) { text-align:left!important;padding-inline:16px!important; }
.aztek-page-clientareaproducts #tableServicesList :is(th,td) { text-align:left!important;padding-inline:16px!important; }
.aztek-page-contact .card-body > form { max-width:880px;margin-inline:auto; }
.aztek-page-contact .card-body > form > .form-group.row { display:block;margin-inline:0; }
.aztek-page-contact .card-body > form > .form-group.row > :is(label,div) { max-width:none;width:100%;padding-inline:0;flex:none;text-align:left!important; }
@media(min-width:768px) and (max-width:1199px) {
 .aztek-page-supportticketsubmit-steptwo .aztek-request-details > .row:has(#inputRelatedService) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
/* Authentication has its own two-panel opening, bounded by the same shell. */
.aztek-portal.aztek-brand-welcome #main-body { width:calc(100% - 64px);max-width:1680px;margin-inline:auto; }
.aztek-portal.aztek-brand-welcome #main-body > .container { width:100%;max-width:none;padding:clamp(32px,4vw,64px); }
@media(min-width:1200px) {
 .aztek-portal #header #mainNavbar .dropdown-menu { max-height:min(60dvh,calc(100dvh - 180px));overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:8px; }
}
@media(max-width:767px) {
 .aztek-portal .container,
 .aztek-portal #header .container,
 .aztek-portal .master-breadcrumb > .container,
 .aztek-portal #main-body > .container,
 .aztek-portal #footer > .container { width:calc(100% - 32px);padding-inline:0; }
 .aztek-portal.aztek-brand-welcome #main-body { width:calc(100% - 32px); }
 .aztek-portal.aztek-brand-welcome #main-body > .container { width:100%;padding:32px 20px; }
 .aztek-portal #order-standard_cart .products .product div.product-desc { float:none;width:100%;min-height:0;padding:20px; }
 .aztek-portal #order-standard_cart .products .product footer { float:none;clear:both;width:100%;margin:0;padding:20px;text-align:left; }
 .aztek-portal #order-standard_cart .products .product .product-pricing { text-align:left;overflow-wrap:normal; }
 .aztek-portal #order-standard_cart .products .product .product-pricing .price { white-space:nowrap; }
 .aztek-portal #order-standard_cart .products .product .btn-order-now { display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;white-space:normal; }
}
}
/* R43: match existing ticket-list/detail Support navigation on Open Ticket. */
.aztek-portal:is(.aztek-page-supportticketsubmit-stepone,.aztek-page-supportticketsubmit-steptwo) .sidebar .card-sidebar[menuitemname="Support"] :is([menuitemname="Announcements"],[menuitemname="Knowledgebase"]) { display:none!important; }
