/* Shared frame and readable spacing, with compact mobile gutters. */
@media screen{
html body main.flex-1>.tab-content:is(#freelance,#salary,#loan,#currency,#personal-finance,#personal-center){width:100%!important;max-width:var(--fixer-page-width569,1280px)!important;margin-inline:auto!important;min-width:0!important;padding:clamp(14px,2vw,28px)!important;box-sizing:border-box!important}

html body main.flex-1>.tab-content{padding:clamp(14px,2vw,28px)!important;box-sizing:border-box!important}
html body main.flex-1>.tab-content :is(.fxh-shell,.salary-shell,.loan-shell){width:100%;max-width:none;margin-inline:0;min-width:0;box-sizing:border-box}
html body main.flex-1>.tab-content :is(input,select,textarea){box-sizing:border-box;max-width:100%;min-width:0}
html body main.flex-1>.tab-content :is(h2,h3,h4,p,label,legend,summary,button){word-break:normal;overflow-wrap:break-word}
html body main.flex-1>.tab-content :is(fieldset,.p542-record,.p542-form){min-width:0;box-sizing:border-box}
html body main.flex-1>.tab-content>.p542-shell{padding:clamp(16px,2vw,24px)!important;box-sizing:border-box;width:100%;max-width:none;margin-inline:0}
html body :is(#personal-finance,#personal-center) :is(.p543-tools,.p544-tools,.p545-tools){padding:clamp(16px,2vw,24px)!important;border-radius:18px;margin-block:20px}
html body :is(#personal-finance,#personal-center) :is(.p543-tools,.p544-tools,.p545-tools)>:is(h3,.p544-head){margin-block:0 16px;line-height:1.5}
html body :is(#personal-finance,#personal-center) :is(.p542-tabs,.p542-toolbar,.p546-subnav){gap:10px;align-items:center;padding:6px 2px 12px;box-sizing:border-box;max-width:100%;scroll-padding-inline:8px}
html body :is(#personal-finance,#personal-center) .p542-tabs button{padding:10px 14px;line-height:1.45;word-break:normal;overflow-wrap:normal;white-space:normal}
html body :is(#personal-finance,#personal-center) :is(p,.p546-note){line-height:1.8;word-break:normal;overflow-wrap:break-word;margin-block:12px}
html body :is(#personal-finance,#personal-center) :is(label,legend,summary){line-height:1.55;word-break:normal;overflow-wrap:break-word}
html body :is(#personal-finance,#personal-center) .p542-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin-block:14px;border:1px solid #cbd5e1;border-radius:12px}
html body :is(#personal-finance,#personal-center) .p542-table table{min-width:100%;line-height:1.6}
html body :is(#personal-finance,#personal-center) .p542-table :is(th,td){padding:12px 14px;white-space:normal;word-break:normal;overflow-wrap:normal;min-width:100px;vertical-align:top}
html body :is(#personal-finance,#personal-center) .p542-table th{font-weight:750;background:#f1f5f9}
html body :is(#personal-finance,#personal-center) .p542-table td{font-variant-numeric:tabular-nums}
html body .dark :is(#personal-finance,#personal-center) .p542-table{border-color:#475569}
html body .dark :is(#personal-finance,#personal-center) .p542-table th{background:#1e293b}
#currency .fx-mega-zone{display:none!important}
}
@media(max-width:640px){
html body main.flex-1>.tab-content{padding:14px!important}
html body main.flex-1>.tab-content>.p542-shell{padding:14px!important}
html body :is(#personal-finance,#personal-center) :is(.p543-tools,.p544-tools,.p545-tools){padding:14px!important}
html body :is(#personal-finance,#personal-center) .p542-tabs{flex-wrap:wrap;overflow:visible;gap:8px}
html body :is(#personal-finance,#personal-center) .p542-tabs button{flex:1 1 140px;min-width:0;max-width:100%}
html body :is(#personal-finance,#personal-center) .p542-table :is(th,td){min-width:112px;padding:10px 12px;line-height:1.6}
html body :is(#personal-finance,#personal-center) .p542-table :is(th,td):first-child{white-space:nowrap;min-width:70px}
}
