body[data-screen=admin] .portal-config-section{margin-bottom:20px;padding-bottom:20px}
.portal-name-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 22px}
.portal-name-grid label{margin:0!important;min-width:0}
.portal-name-grid input{margin-top:6px}
.portal-name-grid small{font-size:10px;color:#b6a899;display:block;margin-top:3px}
.portal-config-section>.table-wrap{margin-top:16px}
body[data-screen=admin] .portal-config-section table{min-width:1060px}
body[data-screen=admin] .portal-config-section [data-portal-section=services]{min-width:1360px}
body[data-screen=admin] .portal-config-section th,body[data-screen=admin] .portal-config-section td{padding:12px 10px;vertical-align:top}
.portal-config-section [name=target]{min-width:135px}
.portal-config-section [name=title]{min-width:150px}
.portal-config-section [name=description]{min-width:180px;min-height:72px;resize:vertical;line-height:20px}
.portal-config-section [name=icon]{min-width:105px}
.portal-config-section [name=order]{width:76px;min-width:76px}
.portal-config-section [name=audience]{min-width:155px}
.portal-config-section .portal-toggle{font-size:12px;white-space:nowrap;margin:10px 0!important}
.portal-toggle input{accent-color:#a91620;vertical-align:middle}
.portal-icon-preview{display:block;padding:6px 0;color:#ac3f39}
.portal-config-section .admin-section-head{margin-bottom:6px}
.portal-config-section .muted{font-size:12px;line-height:22px;margin:6px 0 0}
.portal-services[hidden]{display:none}
body[data-screen=home] .portal-services{height:auto;min-height:var(--portal-services-min-height,140px)}
body[data-screen=home] .configurable-services{grid-template-columns:repeat(var(--service-columns,6),minmax(0,1fr))}
body[data-screen=home] .configurable-services .service{height:auto;min-height:var(--portal-service-min-height,84px);min-width:0;padding-block:var(--portal-service-padding,9px)}
.configurable-services .service>span:last-child{min-width:0}
.configurable-services .service b,.configurable-services .service small{white-space:normal;overflow-wrap:anywhere;word-break:normal}
.portal-main .portal-heading h2,.qr-card h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:1001px){
  body[data-nav-expanded=true]:not([data-screen=admin]) .header{display:block;height:auto;min-height:150px;padding-top:18px;padding-bottom:14px}
  body[data-nav-expanded=true]:not([data-screen=admin]) .header .brand{max-width:48%;font-size:28px}
  body[data-nav-expanded=true]:not([data-screen=admin]) .header-tools{position:absolute;right:32px;top:22px}
  body[data-nav-expanded=true]:not([data-screen=admin]) .header-right{display:block;width:100%;margin-top:12px}
  body[data-nav-expanded=true]:not([data-screen=admin]) .nav{position:static;width:100%}
  body[data-nav-expanded=true]:not([data-screen=admin]) .nav #nav{flex-wrap:wrap;justify-content:center;gap:6px 10px}
  body[data-nav-expanded=true]:not([data-screen=admin]) .nav a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:1000px){body[data-screen=home] .configurable-services{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.portal-name-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-config-section .admin-section-head .ghost{font-size:11px;padding:6px 10px}.portal-config-section .admin-section-head h2{font-size:15px}.portal-config-section .muted{font-size:11px}}
@media(max-width:480px){.portal-name-grid{grid-template-columns:minmax(0,1fr)}}
