/* Compact CMS typography. Public website buttons must not override these controls. */
body.ramre-admin-mode .ad-sidebar nav a{font-size:15px;line-height:1.45}
body.ramre-admin-mode .ad-sidebar nav a>span:first-child{width:18px;font-size:18px;line-height:1}
body.ramre-admin-mode .ad-btn.ad-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:0!important;font-size:18px;line-height:1}
body.ramre-admin-mode .ad-btn.ad-icon svg{width:18px;height:18px}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) .ad-content{font:13px/1.6 Arial,Helvetica,sans-serif}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) :is(.ad-btn,.ja-button){min-height:40px;padding:9px 14px;font-size:13px;font-weight:500;line-height:1.5}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) .ad-btn.ad-icon{min-height:36px;padding:0!important;font-size:18px;line-height:1}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) :is(.ad-section-top h2,.ad-enquiries-heading h2,.ja-heading h2){font-size:26px;line-height:1.25;letter-spacing:-.4px;font-weight:500}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) :is(.ad-field>span,.ad-field input,.ad-field select,.ad-field textarea,.ja-field>span,.ja-field input,.ja-field select,.ja-field textarea){font-size:13px;line-height:1.5}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) .ad-search{height:42px!important;min-height:42px!important;gap:9px!important}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) .ad-search input{font-size:13px!important;min-height:40px!important;padding:9px 0!important}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) .ad-search>span[aria-hidden]{font-size:18px;width:18px;flex-basis:18px}
body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) :is(.ad-filterbar select,.ad-enquiry-filters select,.ja-filters select,.ja-filters input){min-height:42px;font-size:13px!important}
/* Developer cards use the same 104px square image standard as agent profiles. */
body.ramre-admin-mode .ad-developer-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:stretch}
body.ramre-admin-mode .ad-developer-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:14px 10px 12px;gap:10px;border:1px solid #e0e4eb;border-radius:12px;background:#fff;box-shadow:0 3px 12px #1a2b4404}
body.ramre-admin-mode .ad-developer-logo{display:flex;align-items:center;justify-content:center;flex:none;width:104px;height:104px;min-height:104px;max-width:100%;padding:0;border:0;border-radius:10px;background:#f7f8fa;box-sizing:border-box;overflow:hidden}
body.ramre-admin-mode .ad-developer-logo img{display:block;flex:none;width:104px;height:104px;max-width:100%;max-height:100%;padding:10px;object-fit:contain;object-position:center;border:1px solid #e8ebef;border-radius:10px;background:#f7f8fa;box-sizing:border-box}
body.ramre-admin-mode #ad-developer-image .ad-image-field>img,body.ramre-admin-mode #ad-developer-image .ad-image-placeholder{width:104px;height:104px;max-width:100%;padding:10px;object-fit:contain;object-position:center;flex:none;border:1px solid #e8ebef;border-radius:10px;background:#f7f8fa;box-sizing:border-box}
body.ramre-admin-mode .ad-developer-logo span{font-size:14px;font-weight:600;line-height:1.4;padding:8px;text-align:center;overflow-wrap:anywhere;color:#a91129}
body.ramre-admin-mode .ad-developer-card h3{width:100%;min-height:2.9em;margin:0;font-size:13px;line-height:1.45;font-weight:600;letter-spacing:0;text-align:center;overflow-wrap:anywhere;color:#253044}
body.ramre-admin-mode .ad-developer-card p{width:100%;font-size:12px;line-height:1.6;text-align:center;overflow-wrap:anywhere;color:#657083}
body.ramre-admin-mode .ad-developer-card>.ad-developer-description,body.ramre-admin-mode .ad-developer-card>.ad-help{min-height:4.8em;margin-bottom:2px}
body.ramre-admin-mode[data-cms-section=developers] .ad-developer-card>.ad-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:auto;padding:8px 6px;font-size:12px;line-height:1.4;text-align:center;white-space:normal;border-radius:7px}
@media(max-width:1279px){body.ramre-admin-mode .ad-developer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}
@media(max-width:959px){body.ramre-admin-mode .ad-developer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){body.ramre-admin-mode .ad-developer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.ramre-admin-mode .ad-developer-grid{grid-template-columns:minmax(0,1fr)}body.ramre-admin-mode .ad-developer-card{padding:20px}body.ramre-admin-mode .ad-developer-card h3{font-size:16px;min-height:0}body.ramre-admin-mode .ad-developer-card>.ad-developer-description,body.ramre-admin-mode .ad-developer-card>.ad-help{min-height:0}}
body.ramre-admin-mode .ad-enquiry-stats button{min-height:132px;padding:17px!important;gap:9px}
body.ramre-admin-mode .ad-enquiry-stats button>span{font-size:13px}
body.ramre-admin-mode .ad-enquiry-stats button strong{font-size:30px;font-weight:600;line-height:1.15}
body.ramre-admin-mode .ad-enquiry-stats button small{font-size:12px}
body.ramre-admin-mode .ad-enquiry-stats button.is-active::after{width:18px;height:18px;font-size:12px;top:15px;right:15px}
body.ramre-admin-mode .ad-enquiry-item{padding:16px!important}
body.ramre-admin-mode .ad-enquiry-card-heading>strong{font-size:14px;font-weight:600}
body.ramre-admin-mode .ad-enquiry-item>.ad-enquiry-card-heading{margin-bottom:10px!important;gap:7px!important}
body.ramre-admin-mode .ad-enquiry-contact-details dd,body.ramre-admin-mode .ad-message p{font-size:14px!important;line-height:1.7}
body.ramre-admin-mode .jobs-admin .ja-heading h2{font-size:26px;line-height:1.25;letter-spacing:-.4px;font-weight:500}
body.ramre-admin-mode .jobs-admin .ja-heading p:not(.ja-eyebrow){font-size:13px}
body.ramre-admin-mode .jobs-admin .ja-stat{min-height:130px;padding:17px}
body.ramre-admin-mode .jobs-admin .ja-stat>strong{font-size:30px;font-weight:600}
body.ramre-admin-mode .jobs-admin .ja-stat>span{font-size:13px;font-weight:500}
body.ramre-admin-mode .jobs-admin .ja-card h3{font-size:17px;font-weight:500}
body.ramre-admin-mode .jobs-admin .ja-section-number{width:32px;height:32px;font-size:13px}
body.ramre-admin-mode .jobs-admin .ja-platform{width:32px;height:32px;font-size:13px}
body.ramre-admin-mode .jobs-admin .ja-document-icon{font-size:18px}
body.ramre-admin-mode .jobs-admin .ja-title{font-size:14px;font-weight:500}
@media(max-width:650px){body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) :is(.ad-btn,.ja-button){min-height:44px}body.ramre-admin-mode .ad-btn.ad-icon{width:44px;min-width:44px;height:44px;min-height:44px;flex-basis:44px}body.ramre-admin-mode:is([data-cms-section=developers],[data-cms-section=enquiries],[data-cms-section=careers]) .ad-btn.ad-icon{min-height:44px}}


/* Workspace navigation: readable labels without scaling content cards or controls. */
body.ramre-admin-mode .ad-sidebar{height:100vh;height:100dvh;min-height:0;box-sizing:border-box;padding:26px 14px 18px;overflow:hidden}
body.ramre-admin-mode .ad-sidebar .ad-brand{flex:none;margin:0 11px 26px}
body.ramre-admin-mode .ad-sidebar .ad-brand small{font-size:10px;line-height:1.5;letter-spacing:1.6px}
body.ramre-admin-mode .ad-sidebar-label{flex:none;font-size:12px;font-weight:650;line-height:1.5;letter-spacing:1.5px;color:#68717d;padding:0 11px;margin:0 0 12px}
body.ramre-admin-mode .ad-sidebar nav{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;gap:4px;overflow-x:hidden;overflow-y:auto;padding:3px;margin:-3px;scrollbar-width:thin;scrollbar-color:#cbb9be transparent;overscroll-behavior:contain}
body.ramre-admin-mode .ad-sidebar nav a{flex:0 0 auto;min-height:44px;box-sizing:border-box;padding:10px 11px;gap:10px;font-size:15px;font-weight:500;line-height:1.45;letter-spacing:0;color:#414754;white-space:normal;border:1px solid transparent;border-radius:7px}
body.ramre-admin-mode .ad-sidebar nav a>span:first-child{flex:0 0 18px;width:18px;min-width:18px;font-size:18px;line-height:1;text-align:center}
body.ramre-admin-mode .ad-sidebar nav a:hover{background:#fff1f4;color:#a01028}
body.ramre-admin-mode .ad-sidebar nav a.is-active{background:#b4122a;border-color:#b4122a;color:#fff;font-weight:600}
body.ramre-admin-mode .ad-sidebar :is(a,button):focus-visible{outline:2px solid #9e1229;outline-offset:2px}
body.ramre-admin-mode .ad-sidebar-bottom{flex:none;display:grid;gap:3px;margin-top:17px;padding-top:13px;border-top:1px solid #e7dfe2}
body.ramre-admin-mode .ad-sidebar-bottom :is(a,button){min-height:44px;box-sizing:border-box;padding:10px 11px;gap:10px;font-size:14px;font-weight:500;line-height:1.5;color:#4c5260;border-radius:7px}
body.ramre-admin-mode .ad-sidebar-bottom :is(a,button)>span:first-child{flex:0 0 17px;width:17px;font-size:17px;line-height:1;text-align:center}
body.ramre-admin-mode .ad-sidebar-bottom .ad-account-name>span:last-child{flex:1 1 auto;width:auto;min-width:0;font-size:14px;font-weight:500;line-height:1.5;text-align:start}
body.ramre-admin-mode .ad-sidebar-note{flex:none;font-size:12px;line-height:1.5;margin:12px 11px 0;padding-top:0;border-top:0;color:#666c77;gap:8px}
@media(min-width:721px) and (max-width:960px){body.ramre-admin-mode .ad-sidebar{padding-left:8px;padding-right:8px}body.ramre-admin-mode .ad-sidebar nav a{font-size:14px;padding:10px 8px;gap:8px}body.ramre-admin-mode .ad-sidebar-bottom :is(a,button){padding:10px 8px;gap:8px}}
@media(max-width:720px){
 body.ramre-admin-mode .ad-sidebar{height:auto;min-height:0;max-height:none;position:relative;display:block;padding:20px 18px 15px;overflow:visible}
 body.ramre-admin-mode .ad-sidebar .ad-brand{margin:0 0 17px}
 body.ramre-admin-mode .ad-sidebar .ad-brand small{font-size:10px;letter-spacing:1.2px}
 body.ramre-admin-mode .ad-sidebar-label{display:block;padding:0;margin:0 0 10px;font-size:12px}
 body.ramre-admin-mode .ad-sidebar nav{flex-direction:row;flex:none;gap:6px;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:3px 3px 10px;margin:-3px;scrollbar-width:thin;overscroll-behavior-x:contain}
 body.ramre-admin-mode .ad-sidebar nav a{min-height:44px;padding:10px 12px;gap:8px;font-size:14px;white-space:nowrap;border-color:#e6dde1}
 body.ramre-admin-mode .ad-sidebar nav a>span:first-child{flex-basis:17px;width:17px;min-width:17px;font-size:17px}
 body.ramre-admin-mode .ad-sidebar-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;margin-top:13px;padding-top:10px;justify-content:stretch}
 body.ramre-admin-mode .ad-sidebar-bottom :is(a,button){width:100%;min-height:44px;padding:10px 8px;gap:8px;font-size:14px;text-align:left}
 body.ramre-admin-mode .ad-sidebar-note{display:flex;margin:9px 8px 0;font-size:12px}
}
@media(min-width:721px) and (max-height:540px){body.ramre-admin-mode .ad-sidebar{overflow-y:auto}body.ramre-admin-mode .ad-sidebar nav{flex:0 0 auto;overflow-y:visible}}

/* Account controls can be opened when needed without crowding the workspace menu. */
body.ramre-admin-mode .ad-account-menu{flex:none;margin-top:16px;padding-top:10px;border-top:1px solid #e7dfe2}
body.ramre-admin-mode .ad-account-menu>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 11px;box-sizing:border-box;list-style:none;cursor:pointer;border-radius:7px;color:#414754;font-size:14px;font-weight:600;line-height:1.5}
body.ramre-admin-mode .ad-account-menu>summary::-webkit-details-marker{display:none}
body.ramre-admin-mode .ad-account-menu>summary:hover{background:#fff1f4;color:#a01028}
body.ramre-admin-mode .ad-account-menu>summary:focus-visible{outline:2px solid #9e1229;outline-offset:2px}
body.ramre-admin-mode .ad-account-chevron{margin-left:auto;transition:transform .15s ease}
body.ramre-admin-mode .ad-account-menu[open] .ad-account-chevron{transform:rotate(180deg)}
body.ramre-admin-mode .ad-account-menu .ad-sidebar-bottom{margin:4px 0 0;padding:0;border:0}
body.ramre-admin-mode .ad-account-menu:not([open])>.ad-sidebar-bottom{display:none}
@media(prefers-reduced-motion:reduce){body.ramre-admin-mode .ad-account-chevron{transition:none}}
body.ramre-admin-mode .ad-manager-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
body.ramre-admin-mode .ad-developer-contact-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;padding:8px 5px!important;border:1px solid #e4c5cb;border-radius:7px;background:#fff8f9!important;color:#a61029!important;font-size:11px!important;font-weight:600;line-height:1.4;cursor:pointer}
body.ramre-admin-mode .ad-developer-contact-button svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body.ramre-admin-mode .ad-developer-contact-button:hover{background:#fce9ed!important;border-color:#bd5063}
body.ramre-admin-mode .ad-developer-contact-button:focus-visible{outline:2px solid #aa1731;outline-offset:2px}
body.ramre-admin-mode #ad-developer-manager{scroll-margin-top:95px}
