/* Balanced public footer and database-backed partner strip. */
.footer-identity{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:26px 0 20px}.footer-identity h3,.footer-identity p{margin:4px 0}.footer-contact{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:12px;color:#b9c9e1}.footer-contact a{margin:0}.footer-identity .footer-logo{display:inline-block;vertical-align:middle;max-height:32px;margin:0 12px 0 0}
body .footer-grid.footer-balanced{grid-template-columns:1.8fr repeat(4,minmax(0,1fr));align-items:stretch;gap:24px;padding:20px 0 28px}
body .footer-balanced>div{display:flex;flex-direction:column;grid-column:auto;min-width:0;height:100%;border-top:1px solid #ffffff20;padding-top:12px}
body .footer-balanced h3{margin:0 0 12px;font-size:13px;min-height:24px}
body .footer-balanced .footer-link-grid{display:grid;grid-template-columns:1fr;gap:0;align-content:start}
body .footer-balanced>div:first-child .footer-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
body .footer-balanced .footer-link-grid a,body .footer-balanced .text-button{font-size:12px;line-height:1.45;padding:7px 0;margin:0;min-height:32px;text-align:left;color:#c5d1e5;overflow-wrap:break-word}
body .footer-balanced a:hover{color:white}.site-footer .footer-top{padding-bottom:28px}.site-footer .footer-top h2{font-size:26px;margin:12px 0 20px}
.partner-strip{padding:24px 0;background:var(--surface);border-bottom:1px solid var(--border)}.partner-strip-heading{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 20px;padding:0 20px 18px;text-align:center}.partner-strip-heading>span{font-size:10px;letter-spacing:.15em;color:var(--primary);font-weight:800}.partner-strip-heading strong{font-size:14px;color:var(--text)}.partner-pause{border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--text);padding:6px 14px;font:inherit;font-size:12px;cursor:pointer}.partner-window{overflow:hidden}.partner-track{display:flex;width:max-content;min-width:200%;animation:partners-right 35s linear infinite}.partner-item{flex:1 0 180px;width:180px;padding:12px 24px;display:flex;justify-content:center;align-items:center;min-height:72px}.partner-item img{width:140px;height:48px;object-fit:contain}.partner-item span{font-size:18px;font-weight:750;color:var(--text)}.partner-strip:hover .partner-track,.partner-strip:focus-within .partner-track,.partner-strip.is-paused .partner-track{animation-play-state:paused}.partner-item a:focus-visible{outline:3px solid var(--primary);outline-offset:4px}@keyframes partners-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
/* Forms must fit the viewport; preserve browser zoom for accessibility. */
body input.sr-only{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden}.media-choice-content{position:relative}
body[data-workspace=true] :is(.portal-main,.polished-form,.profile-fields,.profile-field,.control-experience,.editor-layout,.editor-layout>*,.media-choice-card,.media-choice-content){min-width:0;max-width:100%}
body[data-workspace=true] :is(input,textarea,select){max-width:100%;min-width:0;color:var(--text);background:var(--surface);border:1px solid var(--line-soft);border-radius:10px;padding:11px 12px}
body[data-workspace=true] :is(.profile-field,.polished-form p)>:is(input:not([type=checkbox]),select,textarea){width:100%}
body[data-workspace=true] .button:not(.ghost){color:#fff!important;background:var(--primary)}body[data-workspace=true] .button.ghost{color:var(--primary)}
body[data-workspace=true] :is(.muted,.helptext,small){color:var(--subtle)}body[data-workspace=true] .workspace-topbar>div{min-width:0}.workspace-topbar-brand{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-topbar .theme-menu{margin-left:auto}.workspace-topbar .topbar-profile{margin-left:0}.workspace-topbar .theme-popover{z-index:60}.profile-field label{color:var(--text)}.social-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}.social-fields label{display:block;font-size:12px;margin-bottom:6px}.social-fields input{width:100%}.structured-editor{width:100%;min-width:0}.structured-row{padding:12px;border:1px solid var(--line-soft);border-radius:12px;margin:10px 0;min-width:0}.structured-row>input,.structured-row>select{margin-bottom:8px;width:100%}.structured-row button{font:inherit;font-size:12px;padding:7px 12px;border:1px solid var(--line-soft);border-radius:8px;color:var(--text);background:var(--surface-soft);margin:4px}.structured-nested{padding-left:10px}.device-field{display:grid;gap:8px;margin-top:8px}.device-field input{width:100%;font-size:13px}.device-field small{font-size:12px}.control-field:has(.social-fields),.control-field:has(.structured-editor){grid-column:1/-1}.admin-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.data-table-wrap{overflow-x:auto;max-width:100%}.data-table{width:100%;border-collapse:collapse}.data-table td,.data-table th{padding:12px;text-align:left;border-bottom:1px solid var(--line-soft)}
@media(max-width:1100px){body .footer-grid.footer-balanced{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr}body .footer-balanced>div:first-child .footer-link-grid{grid-template-columns:1fr}.footer-identity{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){body .footer-grid.footer-balanced{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.footer-contact{flex-direction:column;gap:8px}.social-fields{grid-template-columns:1fr}body[data-workspace=true] :is(input,textarea,select){font-size:16px}.profile-field .password-toggle{position:static}.partner-item{flex-basis:150px;width:150px;padding:10px 16px}.partner-strip-heading strong{font-size:12px}.workspace-topbar .theme-menu>summary{font-size:24px}.control-save-bar{position:static}.media-choice-card{grid-template-columns:1fr}.workspace-topbar-brand{max-width:150px}.profile-edit-form{padding:16px}.profile-field .social-fields{min-width:0}}
@media(prefers-reduced-motion:reduce){.partner-track{animation:none;min-width:0;width:100%;flex-wrap:wrap;justify-content:center}.partner-item[aria-hidden=true]{display:none}.partner-pause{display:none}}
