/* Workspace surfaces only. Existing routes, forms, permissions and event handlers stay intact. */
body:is([data-page=dashboard],[data-page=profile_builder],[data-page=profile],[data-page=jobs],[data-page=applications],[data-page=saved_jobs],[data-page=hr_talent],[data-page=compare_candidates],[data-page=comparison_presets],[data-page=hr_posts],[data-page=hr_team],[data-page=admin],[data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_hr_verification115],[data-page=admin_accounts98]){
 --ui-brand:#c64b0a;--ui-ink:#172b4d;--ui-muted:#526176;--ui-line:#dce3eb;--ui-surface:#fff;--ui-bg:#f5f7fa;
 background:var(--ui-bg);color:var(--ui-ink)
}
body:is([data-page=dashboard],[data-page=profile_builder],[data-page=profile],[data-page=jobs],[data-page=applications],[data-page=saved_jobs],[data-page=hr_talent],[data-page=compare_candidates],[data-page=comparison_presets],[data-page=hr_posts],[data-page=hr_team],[data-page=admin],[data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_hr_verification115],[data-page=admin_accounts98]) :is(.panel,.x8-results,.x8-preview,.x8-filters){border-color:var(--ui-line);border-radius:8px;box-shadow:0 2px 8px #172b4d04;background:var(--ui-surface)}
body:is([data-page=dashboard],[data-page=profile_builder],[data-page=profile],[data-page=jobs],[data-page=applications],[data-page=saved_jobs],[data-page=hr_talent],[data-page=compare_candidates],[data-page=comparison_presets],[data-page=hr_posts],[data-page=hr_team],[data-page=admin],[data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_hr_verification115],[data-page=admin_accounts98]) .top{
 background:#fff!important;color:#172b4d!important;border-top:3px solid #e96b20;border-bottom:1px solid #dce3eb;box-shadow:0 2px 8px #172b4d05
}
body[data-page] :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=submit]),select,textarea):focus-visible{outline:2px solid #d66b2e;outline-offset:2px}
body[data-page] :is(button,a,summary):focus-visible{outline:2px solid #176bc1;outline-offset:3px}
body:is([data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_hr_verification115],[data-page=admin_accounts98],[data-page=hr_posts]) th{background:#eef2f7;color:#263c56;text-align:left}
body:is([data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_hr_verification115],[data-page=admin_accounts98],[data-page=hr_posts]) :is(th,td){padding:9px 12px;border-color:#e2e8f0;vertical-align:top}
body:is([data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_accounts98]) tbody tr:hover{background:#f8fafc}
@media(min-width:1024px){body:is([data-page=dashboard],[data-page=profile_builder],[data-page=profile],[data-page=admin],[data-page=hr_team],[data-page=comparison_presets]) main.wrap{max-width:1200px;margin-inline:auto}}
@media(max-width:767px){body[data-page] :is(.panel,.x8-results,.x8-preview,.x8-filters){box-shadow:none}body[data-page] main.wrap{padding-inline:10px}}

/* R01: opt-in daily-workspace layer for existing Seeker and HR screens. */
body.r01-workbench{--r01-ink:#172b4d;--r01-muted:#526176;--r01-line:#dce3eb;--r01-bg:#f5f7fa;--r01-surface:#fff;--r01-brand:#c64b0a;--r01-brand-hover:#a83c07;background:var(--r01-bg);color:var(--r01-ink)}
body.r01-workbench main.wrap{max-width:1200px;margin-inline:auto;padding-top:20px;padding-bottom:36px}
body.r01-workbench .breadcrumb{margin:0 0 10px;color:var(--r01-muted);font-size:13px}
body.r01-workbench h1{margin:0 0 16px;color:var(--r01-ink);font-size:24px;line-height:1.35;font-weight:500}
body.r01-workbench :is(.panel,.x8-results,.x8-preview,.x8-filters,.tablewrap){border:1px solid var(--r01-line);border-radius:8px;background:var(--r01-surface);box-shadow:0 1px 2px #172b4d08}
body.r01-workbench :is(.panel,.x8-results,.x8-preview,.x8-filters){padding:16px}
body.r01-workbench .flow157-context{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 16px;padding:8px 10px;border:1px solid var(--r01-line);border-radius:8px;background:var(--r01-surface);box-shadow:0 1px 2px #172b4d08}
body.r01-workbench .flow157-context .btn{min-height:34px;padding:6px 10px;border-radius:6px;font-size:13px;line-height:1.35}
body.r01-workbench .flow157-context a[aria-current=page]{background:var(--r01-brand);border-color:var(--r01-brand);color:#fff}
body.r01-workbench :is(.btn,button[type=submit],input[type=submit]){min-height:34px;border-radius:6px}
body.r01-workbench :is(.btn:not(.secondary),button[type=submit],input[type=submit]){background:var(--r01-brand);border-color:var(--r01-brand)}
body.r01-workbench :is(.btn:not(.secondary),button[type=submit],input[type=submit]):hover{background:var(--r01-brand-hover);border-color:var(--r01-brand-hover)}
body.r01-workbench :is(label,th,.form-label){font-weight:500;color:#263c56}
body.r01-workbench :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#cbd5e1;border-radius:6px;min-height:36px;background:#fff;color:var(--r01-ink)}
body.r01-workbench .tablewrap{overflow:auto;overscroll-behavior:contain}
body.r01-workbench .tablewrap table{min-width:680px;margin:0}
body.r01-workbench :is(th,td){border-color:#e2e8f0;vertical-align:middle}
body.r01-workbench th{padding:10px 12px;background:#f1f5f9;color:#263c56;font-size:13px}
body.r01-workbench td{padding:10px 12px;line-height:1.55}
body.r01-workbench tbody tr:hover{background:#fffaf5}
body.r01-workbench :is(.empty,.empty-state,.notice){border-radius:8px}
@media(min-width:768px){body.r01-workbench .flow157-context{justify-content:flex-start}body.r01-workbench :is(.panel,.x8-results,.x8-preview,.x8-filters){padding:18px}}
@media(max-width:767px){body.r01-workbench main.wrap{padding:14px 10px 28px;max-width:none}body.r01-workbench h1{font-size:20px;margin-bottom:12px}body.r01-workbench .flow157-context{gap:6px;padding:7px;margin-bottom:12px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}body.r01-workbench .flow157-context .btn{flex:0 0 auto;min-height:40px;display:inline-flex;align-items:center;white-space:nowrap}body.r01-workbench :is(.panel,.x8-results,.x8-preview,.x8-filters){padding:12px}body.r01-workbench :is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%;max-width:100%;box-sizing:border-box}body.r01-workbench .tablewrap{width:100%;max-width:100%}body.r01-workbench .tablewrap table{min-width:620px}}

/* R02: primary navigation remains above; local page actions are compact and predictable. */
body.r01-workbench.r02-navigation .flow157-context{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;min-width:0}
body.r01-workbench.r02-navigation .flow157-context>.btn{flex:0 0 auto;white-space:nowrap}
body.r01-workbench.r02-navigation .r02-context-more{display:none;flex:0 0 auto}
body.r01-workbench.r02-navigation .r02-context-more summary{cursor:pointer;list-style:none;min-height:34px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:6px;color:#263c56;background:#fff;font-size:13px;white-space:nowrap}
body.r01-workbench.r02-navigation .r02-context-more summary::-webkit-details-marker{display:none}
@media(min-width:1100px){
 body.r01-workbench.r02-navigation[data-menu=left] main.wrap{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:20px;align-items:start;max-width:1440px}
 body.r01-workbench.r02-navigation[data-menu=left] main.wrap>.flow157-context{grid-column:1;grid-row:1/span 99;position:sticky;top:96px;align-self:start;display:flex;flex-direction:column;align-items:stretch;max-height:calc(100dvh - 120px);overflow-y:auto;overflow-x:hidden;padding:8px}
 body.r01-workbench.r02-navigation[data-menu=left] main.wrap>.flow157-context>.btn{width:100%;justify-content:flex-start;text-align:left}
 body.r01-workbench.r02-navigation[data-menu=left] main.wrap>:not(.flow157-context){grid-column:2;min-width:0}
}
@media(max-width:767px){
 body.r01-workbench.r02-navigation .flow157-context{overflow:visible;flex-wrap:wrap;align-items:center}
 body.r01-workbench.r02-navigation .flow157-context>[data-r02-overflow]:not([aria-current=page]){display:none}
 body.r01-workbench.r02-navigation .r02-context-more{display:block;position:relative}
 body.r01-workbench.r02-navigation .r02-context-more[open] .r02-context-more-list{display:flex;position:absolute;z-index:30;right:0;top:calc(100% + 6px);width:min(280px,calc(100vw - 36px));padding:8px;gap:6px;flex-direction:column;border:1px solid var(--r01-line);border-radius:8px;background:#fff;box-shadow:0 10px 22px #172b4d26}
 body.r01-workbench.r02-navigation .r02-context-more-list{display:none}
 body.r01-workbench.r02-navigation .r02-context-more-list .btn{justify-content:flex-start;white-space:normal}
}

/* R03 shared product surface: restrained, compact and deliberately opt-in. */
body.r03-product-surface{--r03-navy:#173047;--r03-muted:#617184;--r03-line:#dce4ec;--r03-canvas:#f4f7fa;--r03-surface:#fff;--r03-accent:#cf5a17;--r03-accent-dark:#a9470f;--r03-blue:#176e9c;background:var(--r03-canvas);color:var(--r03-navy)}
body.r03-product-surface main.wrap{max-width:1280px;margin-inline:auto;padding:24px 24px 42px;min-height:68vh}
body.r03-product-surface :is(.breadcrumb,.muted,.hint,small){color:var(--r03-muted)}
body.r03-product-surface .breadcrumb{margin-bottom:10px}
body.r03-product-surface :is(h1,.wrap>h1){font-size:24px!important;line-height:1.35!important;letter-spacing:0;margin-bottom:16px;color:var(--r03-navy)}
body.r03-product-surface :is(.panel,.jobcard,.metric,.filters,.listsearch,.callout,.message,.notice){border:1px solid var(--r03-line);border-radius:8px;background:var(--r03-surface);box-shadow:0 1px 2px #1730470d}
body.r03-product-surface :is(.panel,.jobcard,.metric,.filters,.listsearch,.callout,.message,.notice){padding:16px}
body.r03-product-surface .panel{margin-bottom:14px}
body.r03-product-surface :is(.btn,button[type=submit],input[type=submit]){min-height:36px!important;padding:7px 11px!important;border-radius:6px!important;font-size:13px!important;line-height:1.35!important;font-weight:500!important;box-shadow:none!important}
body.r03-product-surface :is(.btn:not(.secondary),button[type=submit],input[type=submit]){background:var(--r03-accent)!important;border-color:var(--r03-accent)!important;color:#fff!important}
body.r03-product-surface :is(.btn:not(.secondary),button[type=submit],input[type=submit]):hover{background:var(--r03-accent-dark)!important;border-color:var(--r03-accent-dark)!important;transform:none!important}
body.r03-product-surface :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),select,textarea){min-height:38px;border:1px solid #cbd6e1;border-radius:6px;background:#fff;color:var(--r03-navy);box-shadow:none;font-size:14px!important}
body.r03-product-surface textarea{min-height:96px;resize:vertical}
body.r03-product-surface :is(label,.form-label,th){font-weight:500!important;color:#263c56}
body.r03-product-surface :is(.filter-grid,.t133-filters,.x8-filters){gap:12px}
body.r03-product-surface .module-nav{margin:0 0 14px;padding:7px 8px;border-color:var(--r03-line);border-radius:8px;background:#fff;box-shadow:0 1px 2px #17304708}
body.r03-product-surface .module-nav a{padding:6px 9px;border-radius:6px;color:#365069;background:#f7f9fb;font-size:13px!important;font-weight:500!important}
body.r03-product-surface .module-nav a[aria-current=page],body.r03-product-surface .module-nav a:hover{background:var(--r03-accent);color:#fff}
body.r03-product-surface .flow157-context>.btn{height:36px!important;min-height:36px!important;box-sizing:border-box}
body.r03-product-surface .tablewrap{border:1px solid var(--r03-line);border-radius:8px;background:#fff;overflow:auto;overscroll-behavior:contain}
body.r03-product-surface .tablewrap table{margin:0;min-width:680px}
body.r03-product-surface :is(th,td){padding:9px 11px;border-color:#e5ebf0;vertical-align:middle}
body.r03-product-surface th{background:#f3f6f9;color:#385169;font-size:13px!important}
body.r03-product-surface tbody tr:hover{background:#fff9f5}
body.r03-product-surface .dashgrid{gap:12px}
body.r03-product-surface .metric{background:#fff;border-color:var(--r03-line)}
body.r03-product-surface .metric b{color:var(--r03-accent);font-size:23px}
body.r03-product-surface[data-page=home]{background:linear-gradient(180deg,#fff 0,#f7f9fc 52%,#fff 100%)}
body.r03-product-surface[data-page=home] .hero{gap:42px;padding:36px 0 44px}
body.r03-product-surface[data-page=home] .hero h2{font-size:42px;line-height:1.22;letter-spacing:-.02em}
body.r03-product-surface[data-page=home] .hero-art{border-radius:18px;box-shadow:0 12px 32px #17304714}
body.r03-product-surface[data-page=home] .section{padding:28px 0 42px}
body.r03-product-surface[data-page=home] .jobcard{transition:border-color .16s,box-shadow .16s}
body.r03-product-surface[data-page=home] .jobcard:hover{transform:none;box-shadow:0 8px 20px #17304714;border-color:#e8b18e}
@media(max-width:767px){
 body.r03-product-surface main.wrap{padding:14px 12px 32px;max-width:none}
 body.r03-product-surface :is(h1,.wrap>h1){font-size:20px!important;margin-bottom:12px}
 body.r03-product-surface :is(.panel,.jobcard,.metric,.filters,.listsearch,.callout,.message,.notice){padding:12px}
 body.r03-product-surface :is(.btn,button[type=submit],input[type=submit]){min-height:40px!important;font-size:13px!important}
 body.r03-product-surface .flow157-context>.btn{height:40px!important;min-height:40px!important}
 body.r03-product-surface :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),select,textarea){font-size:16px!important}
 body.r03-product-surface .filter-grid{grid-template-columns:1fr}
 body.r03-product-surface .tablewrap{width:100%;max-width:100%}
 body.r03-product-surface[data-page=home] .hero{gap:22px;padding:18px 0 28px}
 body.r03-product-surface[data-page=home] .hero h2{font-size:31px}
 body.r03-product-surface[data-page=home] .hero-art{height:auto;min-height:220px}
}

/* R04 HR daily workspace: presentation only; post, search and workflow logic remain server-owned. */
body.r03-product-surface[data-page^=hr_] .r44-nav{gap:6px;padding:8px max(16px,calc((100% - 1280px)/2));background:#fff;border-bottom:1px solid var(--r03-line);box-shadow:0 1px 2px #17304708}
body.r03-product-surface[data-page^=hr_] .r44-nav a{padding:7px 10px;border-radius:6px;font-size:13px;color:#365069;font-weight:500}
body.r03-product-surface[data-page^=hr_] .r44-nav a:hover{background:#fff4eb;color:#b64d10}
body.r03-product-surface[data-page^=hr_] .r44-nav a[aria-current=page]{background:var(--r03-accent);color:#fff}
body.r03-product-surface[data-page^=hr_] .r44-heading{margin-bottom:12px;gap:12px}
body.r03-product-surface[data-page^=hr_] .r44-heading h2{font-size:22px;line-height:1.35;color:var(--r03-navy)}
body.r03-product-surface[data-page^=hr_] .r44-quota{gap:9px;padding:9px 12px;margin-bottom:12px;border-color:#f0dcc7;background:#fffbf7;border-radius:8px}
body.r03-product-surface[data-page^=hr_] :is(.r44-search,.r45-post-controls){gap:8px;margin:10px 0}
body.r03-product-surface[data-page^=hr_] :is(.r44-search input,.r45-post-controls input,.r45-post-controls select,.r45-post-controls button){min-height:36px!important}
body.r03-product-surface[data-page^=hr_] .r44-posts{gap:12px;margin:12px 0}
body.r03-product-surface[data-page^=hr_] .r44-post{gap:10px;padding:14px;border-color:var(--r03-line);border-radius:8px;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page^=hr_] .r44-title{font-size:16px;color:var(--r03-navy)}
body.r03-product-surface[data-page^=hr_] .r44-post small{font-size:13px;margin-top:3px}
body.r03-product-surface[data-page^=hr_] .r44-state{padding:4px 8px;border-radius:99px;background:#f2f6f3}
body.r03-product-surface[data-page^=hr_] .r44-lines .r44-post.r46-row{gap:10px;padding:9px 12px;min-height:52px;border-radius:8px}
body.r03-product-surface[data-page^=hr_] .r46-row .r46-title{font-size:15px;color:var(--r03-navy)}
body.r03-product-surface[data-page^=hr_] .r46-actions select{min-height:34px!important;border-color:#cad7e3}
body.r03-product-surface[data-page=hr_talent] .x8-talent{gap:12px}
body.r03-product-surface[data-page=hr_talent] :is(.x8-filters,.x8-results,.x8-profile){border-color:var(--r03-line);border-radius:8px;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=hr_talent] .x8-results{padding:12px}
body.r03-product-surface[data-page=hr_talent] .x8-profile{padding:12px;background:#fff}
body.r03-product-surface[data-page=hr_talent] .x8-person{gap:9px;padding:10px;margin-bottom:8px;border-color:#d8e2ea;border-radius:8px;box-shadow:none}
body.r03-product-surface[data-page=hr_talent] .x8-person:hover{border-color:#d78450;background:#fffaf7}
body.r03-product-surface[data-page=hr_talent] .x8-person[aria-selected=true]{border:2px solid #cf6a2d;background:#fff4eb;box-shadow:0 1px 3px #a9470f1a}
body.r03-product-surface[data-page=hr_talent] .x8-person strong{font-size:14px;color:var(--r03-navy)}
body.r03-product-surface[data-page=hr_talent] .x8-person small{font-size:12px;line-height:1.45}
body.r03-product-surface[data-page=hr_talent] .x8-profile-actions{gap:7px;padding:10px;border-top-color:var(--r03-line);box-shadow:0 -2px 8px #1730470a}
body.r03-product-surface[data-page=hr_talent] .x8-profile-actions .btn{min-height:34px!important;padding:6px 9px!important}
@media(max-width:767px){
 body.r03-product-surface[data-page^=hr_] .r44-nav{padding:7px 10px;gap:5px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
 body.r03-product-surface[data-page^=hr_] .r44-nav a{flex:0 0 auto;padding:8px 10px;font-size:13px}
 body.r03-product-surface[data-page^=hr_] .r44-heading h2{font-size:20px}
 body.r03-product-surface[data-page^=hr_] .r44-post{padding:12px}
 body.r03-product-surface[data-page^=hr_] :is(.r44-search,.r45-post-controls){display:grid;grid-template-columns:1fr;max-width:none}
 body.r03-product-surface[data-page^=hr_] .r45-post-controls label{width:100%}
 body.r03-product-surface[data-page=hr_talent] .x8-talent{gap:10px}
 body.r03-product-surface[data-page=hr_talent] .x8-talent{display:flex;flex-direction:column;min-width:0;height:auto;min-height:0}
 body.r03-product-surface[data-page=hr_talent] .x8-results{padding:10px}
 body.r03-product-surface[data-page=hr_talent] .x8-profile{padding:10px}
 body.r03-product-surface[data-page=hr_talent] .x8-person{padding:10px}
}

/* R05 Seeker daily workspace: visual grouping only; existing discovery, CV,
   application and freelance forms/routes remain server-owned. */
body.r03-product-surface:is([data-page=jobs],[data-page=applications],[data-page=profile_full],[data-page=freelance_my]) :is(.v10-actions,.e127-actions){display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;border:1px solid var(--r03-line);border-radius:8px;background:#fff;box-shadow:0 1px 2px #17304708}
body.r03-product-surface:is([data-page=jobs],[data-page=applications],[data-page=profile_full],[data-page=freelance_my]) :is(.v10-actions,.e127-actions) :is(.btn,a:not(.btn)){margin:0;min-height:34px;display:inline-flex;align-items:center;white-space:nowrap}
body.r03-product-surface[data-page=jobs] .cards{gap:12px}
body.r03-product-surface[data-page=jobs] .jobcard{position:relative;padding:15px 16px;border-color:var(--r03-line);box-shadow:0 1px 2px #1730470d;transition:border-color .16s,box-shadow .16s}
body.r03-product-surface[data-page=jobs] .jobcard:hover{border-color:#e4b08c;box-shadow:0 6px 16px #17304712;transform:none}
body.r03-product-surface[data-page=jobs] .jobcard h3{margin:0 0 6px;font-size:16px;line-height:1.45;color:var(--r03-navy)}
body.r03-product-surface[data-page=jobs] .jobcard :is(p,b){position:relative;z-index:1;margin:5px 0;line-height:1.55}
/* Public jobs currently render a split result/detail browser rather than
   .jobcard tiles.  Keep the same compact-card language for that live markup. */
body.r03-product-surface[data-page=jobs] .job-result-list{gap:10px;padding-right:4px}
body.r03-product-surface[data-page=jobs] .job-result{padding:15px 16px!important;border-color:var(--r03-line);border-radius:8px;box-shadow:0 1px 2px #1730470d;transition:border-color .16s,box-shadow .16s,background-color .16s}
body.r03-product-surface[data-page=jobs] .job-result:hover{border-color:#e4b08c;box-shadow:0 6px 16px #17304712;transform:none}
body.r03-product-surface[data-page=jobs] .job-result.is-selected{border-color:var(--r03-accent);background:#fff7f2;box-shadow:0 4px 12px #a9470f12}
body.r03-product-surface[data-page=jobs] .job-result h3{margin:4px 0 6px;font-size:16px!important;line-height:1.45;color:var(--r03-navy)}
body.r03-product-surface[data-page=jobs] .job-result :is(p,b,.job-result-meta){margin:4px 0;line-height:1.5}
body.r03-product-surface[data-page=jobs] .job-detail-panel{border-color:var(--r03-line);border-radius:8px;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=applications] .panel>h2,body.r03-product-surface[data-page=freelance_my] .panel>h2{margin:0 0 6px;font-size:17px;line-height:1.4;color:var(--r03-navy)}
body.r03-product-surface[data-page=applications] .panel,body.r03-product-surface[data-page=freelance_my] .panel{border-color:var(--r03-line);box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=freelance_my] .f127-grid{gap:12px}
body.r03-product-surface[data-page=freelance_my] .f127-card{padding:15px;border-color:var(--r03-line);border-radius:8px;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=freelance_my] .f127-card h2{font-size:16px;line-height:1.45;color:var(--r03-navy)}
body.r03-product-surface[data-page=profile_full] .v10-actions{margin-bottom:12px}
@media(max-width:767px){
 body.r03-product-surface:is([data-page=jobs],[data-page=applications],[data-page=profile_full],[data-page=freelance_my]) :is(.v10-actions,.e127-actions){flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:8px;gap:6px}
 body.r03-product-surface:is([data-page=jobs],[data-page=applications],[data-page=profile_full],[data-page=freelance_my]) :is(.v10-actions,.e127-actions) :is(.btn,a:not(.btn)){flex:0 0 auto;min-height:40px}
 body.r03-product-surface[data-page=jobs] .cards,body.r03-product-surface[data-page=freelance_my] .f127-grid{grid-template-columns:1fr}
 body.r03-product-surface[data-page=jobs] .jobcard,body.r03-product-surface[data-page=freelance_my] .f127-card{padding:13px}
 body.r03-product-surface[data-page=jobs] .job-browser{display:block;height:auto;min-height:0}
 body.r03-product-surface[data-page=jobs] .job-result-list{max-height:none;overflow:visible;padding-right:0}
 body.r03-product-surface[data-page=jobs] .job-result{padding:13px!important}
 body.r03-product-surface[data-page=jobs] .job-detail-panel{margin-top:12px}
}

/* R06 Admin daily workspace: presentation-only refinement for existing
   Superadmin/Admin pages. Navigation generation, authorization and actions
   remain owned by the existing PHP and flow-navigation script. */
body.r03-product-surface:is([data-page=admin_performance],[data-page=admin_activity],[data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_dropdowns139],[data-page=owner_control]) :is(.x7-metric-grid,.x7-company-columns){gap:12px;margin:12px 0}
body.r03-product-surface[data-page=admin_performance] .x7-metric-grid>.panel{display:grid;gap:5px;align-content:start;min-height:92px;padding:14px}
body.r03-product-surface[data-page=admin_performance] .x7-metric-grid>.panel>span{color:var(--r03-muted);font-size:13px;line-height:1.45}
body.r03-product-surface[data-page=admin_performance] .x7-metric-grid>.panel>b{font-size:25px;line-height:1.15;color:var(--r03-accent);font-variant-numeric:tabular-nums}
body.r03-product-surface[data-page=admin_performance] .x7-company-columns>.panel{padding:14px;min-width:0}
body.r03-product-surface[data-page=admin_performance] :is(.tablewrap,.admin-table-wrap){border-color:var(--r03-line);border-radius:8px;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=admin_activity] .x7-terminal{max-height:min(62dvh,620px);padding:12px;border:1px solid var(--r03-line);border-radius:8px;background:#122133;color:#dce9f5;line-height:1.55;overflow:auto}
body.r03-product-surface:is([data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_dropdowns139]) :is(.tablewrap,.admin-table-wrap){border-color:var(--r03-line);border-radius:8px;box-shadow:0 1px 2px #1730470d}
@media(min-width:1100px){
 html body.owner196-active[data-menu=left] .u121-header.owner196-header>.owner196-menu{top:var(--owner196-sidebar-top,82px)!important;bottom:var(--owner196-sidebar-bottom,0px)!important;height:calc(100dvh - var(--owner196-sidebar-top,82px) - var(--owner196-sidebar-bottom,0px))!important;max-height:none!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}
 html body.owner196-active[data-menu=left] .owner196-menu>a{flex:0 0 auto!important}
}
@media(max-width:767px){
 body.r03-product-surface[data-page=admin_performance] .x7-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.r03-product-surface[data-page=admin_performance] .x7-metric-grid>.panel{min-height:78px;padding:11px}
 body.r03-product-surface[data-page=admin_performance] .x7-metric-grid>.panel>b{font-size:21px}
 body.r03-product-surface[data-page=admin_performance] .x7-company-columns{grid-template-columns:1fr;gap:10px}
 body.r03-product-surface[data-page=admin_performance] :is(.tablewrap,.admin-table-wrap){width:100%;max-width:100%;overflow:auto}
 body.r03-product-surface[data-page=admin_activity] .x7-terminal{max-height:52dvh;padding:10px;font-size:12px}
 body.r03-product-surface:is([data-page=admin_users134],[data-page=admin_companies133],[data-page=admin_dropdowns139]) :is(.tablewrap,.admin-table-wrap){width:100%;max-width:100%;overflow:auto}
}

/* R07 HR overview and post workspace: preserve PHP-owned counts, actions,
   form submission and recruitment-state controls; presentation only. */
body.r03-product-surface[data-page=hr_overview] .r49-org-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:12px 0}
body.r03-product-surface[data-page=hr_overview] .r49-org-stats>div{display:grid;gap:4px;align-content:start;min-width:0;padding:13px 14px;border:1px solid var(--r03-line);border-radius:8px;background:#fff;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=hr_overview] .r49-org-stats b{font-size:23px;line-height:1.15;font-variant-numeric:tabular-nums;color:var(--r03-accent)}
body.r03-product-surface[data-page=hr_overview] .r49-org-stats span{font-size:13px;line-height:1.4;color:var(--r03-muted)}
body.r03-product-surface[data-page=hr_overview] .r49-performance{margin:12px 0;border-color:var(--r03-line);border-radius:8px;background:#fff;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=hr_overview] .r49-performance>summary{padding:11px 14px;font-weight:500;cursor:pointer;color:var(--r03-navy)}
body.r03-product-surface[data-page=hr_overview] .r49-performance .r44-table-wrap{margin:0 12px 12px}
body.r03-product-surface[data-page=hr_overview] .r49-org-list{gap:10px}
body.r03-product-surface[data-page=hr_post] .r44-position{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px}
body.r03-product-surface[data-page=hr_post] .r44-position h2{margin:6px 0;font-size:21px;line-height:1.35;color:var(--r03-navy)}
body.r03-product-surface[data-page=hr_post] .r44-position p{margin:0;color:var(--r03-muted)}
body.r03-product-surface[data-page=hr_post] .r44-position-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.r03-product-surface[data-page=hr_post] .r44-position-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:9px 11px;border:1px solid var(--r03-line);border-radius:8px;background:#fff;box-shadow:0 1px 2px #17304708}
body.r03-product-surface[data-page=hr_post] .r44-position-toolbar> :is(a,summary){min-height:34px;display:inline-flex;align-items:center;color:#365069}
body.r03-product-surface[data-page=hr_post] .r44-position-toolbar details{position:relative}
body.r03-product-surface[data-page=hr_post] .r44-position-toolbar details>summary{cursor:pointer;list-style:none}
body.r03-product-surface[data-page=hr_post] .r44-position-toolbar details>summary::-webkit-details-marker{display:none}
body.r03-product-surface[data-page=hr_post] .r44-applicants{padding:16px}
body.r03-product-surface[data-page=hr_post] .r44-table-wrap,body.r03-product-surface[data-page=hr_overview] .r44-table-wrap{width:100%;max-width:100%;overflow:auto;overscroll-behavior:contain;border:1px solid var(--r03-line);border-radius:8px}
body.r03-product-surface[data-page=hr_post] .r44-table-wrap table,body.r03-product-surface[data-page=hr_overview] .r44-table-wrap table{min-width:720px;margin:0}
body.r03-product-surface[data-page=hr_all_posts] .r61-all-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:12px 14px;border:1px solid var(--r03-line);border-radius:8px;background:#fff;box-shadow:0 1px 2px #1730470d}
body.r03-product-surface[data-page=hr_all_posts] .r61-all-toolbar .r61-title{min-width:170px;flex:1 1 200px}
body.r03-product-surface[data-page=hr_all_posts] .r61-all-toolbar .r61-title h2{margin:0;font-size:21px;color:var(--r03-navy)}
body.r03-product-surface[data-page=hr_all_posts] .r61-all-toolbar .r45-post-controls{flex:2 1 430px;margin:0}
@media(max-width:767px){
 body.r03-product-surface[data-page=hr_overview] .r49-org-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.r03-product-surface[data-page=hr_overview] .r49-org-stats>div{padding:11px}
 body.r03-product-surface[data-page=hr_overview] .r49-org-stats b{font-size:20px}
 body.r03-product-surface[data-page=hr_post] .r44-position{display:grid;gap:12px;padding:13px}
 body.r03-product-surface[data-page=hr_post] .r44-position h2{font-size:19px}
 body.r03-product-surface[data-page=hr_post] .r44-position-actions{justify-content:flex-start}
 body.r03-product-surface[data-page=hr_post] .r44-position-actions .btn{flex:1 1 170px}
 body.r03-product-surface[data-page=hr_post] .r44-position-toolbar{gap:7px;padding:8px}
 body.r03-product-surface[data-page=hr_post] .r44-applicants{padding:12px}
 body.r03-product-surface[data-page=hr_post] .r44-table-wrap table,body.r03-product-surface[data-page=hr_overview] .r44-table-wrap table{min-width:640px}
 body.r03-product-surface[data-page=hr_all_posts] .r61-all-toolbar{display:grid;grid-template-columns:1fr;padding:11px}
 body.r03-product-surface[data-page=hr_all_posts] .r61-all-toolbar .r45-post-controls{width:100%;min-width:0}
}
