/* One visual system for the owner and employees; company portals have their own identities. */
.reference-owner .owner-main>.page-heading { background:transparent; border:0; box-shadow:none; border-radius:0; padding:8px 0 16px; margin:0; }
.reference-owner .owner-main>.page-heading h1 { color:#172b45; font-size:clamp(27px,2.3vw,35px); font-weight:900; }
.reference-owner .owner-main>.page-heading p { color:#758396; }
.reference-owner .owner-main>.text-link { display:inline-flex; padding:8px 0; color:#297db0; }
.reference-owner .owner-main .surface { border:1px solid #e0e7ec; border-radius:11px; box-shadow:0 5px 18px #1933420b; }
.reference-owner .owner-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin:12px 0 17px; }
.reference-owner .owner-summary .metric { min-height:113px; padding:16px 18px; border:1px solid #e2e9ec; background:#f4fbf8; }
.reference-owner .owner-summary .metric:nth-child(3n+2) { background:#f3f8fd; }.reference-owner .owner-summary .metric:nth-child(3n) { background:#fffbf3; }
.reference-owner .owner-summary .metric::after { display:none; }.reference-owner .owner-summary .metric strong { font-size:28px; color:#142841; }.reference-owner .owner-summary .metric-top { color:#52657b; }
.reference-owner .section { padding:18px; }.reference-owner .section-heading h2 { color:#172b45; font-size:18px; }.reference-owner .settings-grid { gap:15px; }
.reference-owner .owner-insights { margin:0 0 18px; }.reference-owner .demo-banner { border-radius:9px; }
.reference-owner .owner-company-preview { display:inline-flex; margin:0 0 16px; }
.reference-owner th { background:#f2f6f9; color:#536984; }.reference-owner td { color:#273c55; }.reference-owner .table-wrap { border-radius:9px; }
.reference-owner .btn.primary,.shell .btn.primary { background:#1e6b9c; color:white; box-shadow:0 7px 16px #1e6b9c25; }.reference-owner .btn.primary:hover,.shell .btn.primary:hover { background:#13577f; }
.reference-owner .pending-employees .pending-person { background:#f9fbfd; border:1px solid #e1e8ee; }

.shell { background:#f9fbfd; color:#172b45; }
.shell .sidebar { background:linear-gradient(160deg,#132f4d,#0b2038); width:clamp(208px,16vw,240px); padding:17px 10px; color:#e4edf4; }
.shell .sidebar-brand { color:white; padding:14px 9px 22px; margin:0; font-size:27px; line-height:1.1; }
.shell .sidebar-brand small { font-size:11px; color:#afc2d1; }
.shell .sidebar .brand-mark { background:linear-gradient(135deg,#dbb870,#b4812f); color:#fff; border-radius:11px; box-shadow:none; }
.shell .sidebar-label { color:#9cb5c8; font-size:11px; margin:7px 11px 8px; }
.shell .nav-item { color:#e0e9f0; border-radius:7px; padding:10px 12px; min-height:45px; font-size:15px; margin:2px 0; }
.shell .nav-item:hover { background:#1a4668; transform:none; }.shell .nav-item.active { background:#174668; box-shadow:inset -4px 0 0 #23c2e9; }
.shell .nav-icon { width:20px; flex:none; }.shell .nav-icon svg { width:19px; height:19px; }.shell .nav-count { border-radius:50%; background:#ee5d6b; color:white; margin-right:auto; }
.shell .sidebar-bottom { border-color:#56738a55; }.shell .topbar { background:white; height:70px; min-height:70px; border-bottom:1px solid #e0e8ed; box-shadow:none; }
.shell .topbar .location-label { color:#354b65; font-weight:800; font-size:16px; }.shell .topbar .company-name-pill { background:#fff8e9; border:1px solid #ead7ab; color:#916b28; }
.shell .user-pill { font-size:14px; color:#5b7184; }.shell .user-dot { background:#dcebf6; color:#265d86; }
.shell .content { max-width:1680px; padding:24px clamp(18px,2.4vw,38px); }
.shell .content>.page-heading { background:transparent; border:0; box-shadow:none; padding:4px 0 12px; margin:0; }
.shell .content .page-heading h1 { font-size:clamp(28px,2.4vw,36px); color:#142841; font-weight:900; }.shell .content .page-heading p { color:#758396; font-size:16px; }
.shell .content .page-kicker { color:#ba8e3c; }.shell .content .surface { border:1px solid #e0e7ed; border-radius:11px; box-shadow:0 5px 16px #19334209; }
.shell .metrics { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:12px 0 17px; }.shell .metric { min-height:112px; padding:17px; background:#f2fbf8; }
.shell .metric:nth-child(4n+2) { background:#f3f9ff; }.shell .metric:nth-child(4n+3) { background:#fffbf0; }.shell .metric:nth-child(4n+4) { background:#f4f8fc; }
.shell .metric::after { display:none; }.shell .metric strong { font-size:28px; color:#162a43; }.shell .metric-top { color:#435970; }.shell .metric-top i { background:#d9ece8; color:#1a7c73; }
.shell .work-alerts { gap:14px; }.shell .work-alerts>div { border-radius:10px; background:#fff; }.shell .work-alerts strong { font-size:15px; }.shell .work-alerts small { font-size:13px; }
.shell .section { padding:19px; }.shell .section-heading h2 { font-size:19px; color:#172b45; }.shell .pipeline-column { background:#f7fafc; border-radius:9px; }
.shell .pipeline-card { border-radius:8px; }.shell th { background:#f2f6f9; color:#546981; }.shell td { color:#293e55; }.shell .table-wrap { border-radius:9px; }
.shell .badge.success { background:#e3f6ee; color:#137a5f; }.shell .badge.warning { background:#fff1ce; color:#9b6a16; }
.import-banner { background:#f3f8fc; border:1px solid #d8e7f0; border-radius:13px; padding:16px; display:grid; gap:5px; }
.import-banner strong { color:#183953; font-size:18px; }.import-banner>span { color:#6a7e8f; font-size:14px; }.import-banner p { margin:2px 0 0; color:#287263; font-size:13px; }.import-banner p.warn { color:#b35826; }
.file-drop { margin-top:8px; min-height:75px; border:2px dashed #8cb6ce; background:#fff; border-radius:10px; display:flex; align-items:center; justify-content:center; gap:9px; cursor:pointer; color:#245f81; font-weight:800; font-size:15px; position:relative; overflow:hidden; }
.file-drop svg { width:23px; height:23px; }.file-drop input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.candidate-photo-preview { width:120px; height:130px; background:#eff3f5; border:1px solid #dce5e9; border-radius:12px; display:grid; place-items:center; overflow:hidden; color:#8595a2; font-size:12px; text-align:center; }
.candidate-photo-preview img { width:100%; height:100%; object-fit:cover; }
.modal { border-radius:15px; }.modal-head { background:#f8fafc; }.modal-head .icon-btn { color:#334b64; background:#e6eef3; border-radius:50%; width:35px; height:35px; }.modal-head .icon-btn:hover { background:#f5d8df; color:#ae243a; }

.public-page { --portal-accent:#c29b50; --portal-deep:#102c48; --portal-bg:#f7f8fa; --portal-card:#fff; background:var(--portal-bg); color:#1c2d43; }
.public-page [hidden] { display:none!important; }
.public-page .public-header { background:var(--portal-deep); color:white; border-radius:0 0 28px 28px; position:relative; overflow:hidden; }
.public-page .public-header::after { content:''; position:absolute; width:420px; height:420px; left:-100px; bottom:-290px; border-radius:50%; border:70px solid #ffffff0b; pointer-events:none; }
.public-page .public-nav { max-width:1360px; padding:20px 24px; border-color:#ffffff2b; }.public-page .public-nav .brand { font-size:22px; }.public-page .brand-mark { background:var(--portal-accent); box-shadow:none; }.public-page .public-nav .brand small { color:#d4e1ea; font-size:12px; }
.public-page .public-hero { max-width:1360px; padding:52px 24px 58px; position:relative; z-index:1; }.public-page .public-hero .eyebrow { color:#f2d79c; font-size:15px; }.public-page .public-hero h1 { max-width:850px; font-size:clamp(38px,4vw,65px); line-height:1.1; margin:13px 0; }.public-page .public-hero p { font-size:clamp(17px,1.6vw,22px); max-width:750px; line-height:1.7; color:#e0e9ee; }
.public-page .hero-stats { gap:14px; font-size:14px; color:#f3dba6; }.public-page .hero-stats span { background:#ffffff14; border:1px solid #ffffff25; border-radius:30px; padding:7px 12px; }
.public-page .public-main { max-width:1360px; padding:35px 24px 70px; }.public-page .public-main .section-heading { margin-bottom:22px; }.public-page .public-main .section-heading h2 { font-size:clamp(26px,2.6vw,37px); margin:2px 0; }.public-page .page-kicker { color:var(--portal-accent); font-size:14px; }
.public-page #public-filter { border-radius:10px; min-width:190px; background:white; border:1px solid #d8e1e7; }.public-page .candidate-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.public-page .candidate-card { border:1px solid #dce5e9; border-radius:17px; overflow:hidden; background:var(--portal-card); box-shadow:0 12px 25px #122b4010; }
.public-page .candidate-photo { height:280px; background:linear-gradient(145deg,#d7e5e9,#f0f3f5); overflow:hidden; }.public-page .candidate-photo img { width:100%; height:100%; object-fit:cover; object-position:center 20%; }
.public-page .candidate-placeholder { display:grid; place-items:center; width:100%; height:100%; font-size:84px; font-weight:900; color:#a5b5bd; }
.public-page .candidate-info { padding:19px; }.public-page .candidate-info h3 { font-size:23px; margin:8px 0 2px; }.public-page .candidate-info p { font-size:16px; }.public-page .candidate-facts { gap:6px; }.public-page .candidate-facts span { font-size:13px; background:#f1f5f7; color:#4a6173; border-radius:6px; padding:5px 8px; }
.public-page .candidate-card .btn.primary { background:var(--portal-accent); color:white; border-radius:9px; }.public-page .candidate-card .btn.primary:hover { filter:brightness(.87); }
.public-page .candidate-card .btn.outline { border-color:#b9cbd3; color:#2d5974; border-radius:9px; }.public-page .public-footer { color:#7c8994; background:var(--portal-bg); }
.public-detail-photo { width:115px; height:135px; border-radius:10px; object-fit:cover; float:right; margin:0 0 12px 15px; }.public-detail::after { content:''; clear:both; display:block; }
/* Three distinct company identities retain the same booking and privacy rules. */
.public-page.theme-two { --portal-accent:#0c9889; --portal-deep:#073f45; --portal-bg:#eff7f5; --portal-card:#fff; }
.public-page.theme-two .public-header { border-radius:0; background:linear-gradient(115deg,#0c706c,#063941); }.public-page.theme-two .public-hero { padding-block:67px; }.public-page.theme-two .candidate-card { border-radius:26px 8px 26px 8px; }.public-page.theme-two .candidate-info { border-top:4px solid #29b8a4; }.public-page.theme-two .candidate-photo { background:#d9f0eb; }
.public-page.theme-three { --portal-accent:#ee705d; --portal-deep:#263c66; --portal-bg:#f7f4f2; --portal-card:#fffcfa; }
.public-page.theme-three .public-header { border-radius:0 0 58px 58px; background:linear-gradient(135deg,#394e7b,#213455 67%,#354d79); }.public-page.theme-three .candidate-card { border-radius:8px 26px 8px 26px; }.public-page.theme-three .candidate-photo { height:310px; background:#e4e6f1; }.public-page.theme-three .candidate-info { border-right:4px solid #ed8d78; }
@media(max-width:1150px) { .shell .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.public-page .candidate-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) { .shell .sidebar { width:240px; right:-250px; position:fixed; }.shell .sidebar.open { right:0; }.reference-owner .owner-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .shell .content { padding:16px 11px; }.shell .content>.page-heading { display:flex; flex-wrap:wrap; }.shell .content .page-heading h1 { font-size:27px; }.shell .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.shell .metric { min-height:107px; padding:13px; }.shell .metric strong { font-size:25px; }.shell .work-alerts { grid-template-columns:1fr; }.reference-owner .owner-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.public-page .public-hero { padding:44px 18px 50px; }.public-page .public-hero h1 { font-size:39px; }.public-page .public-main { padding:27px 15px 55px; }.public-page .candidate-grid { grid-template-columns:1fr; }.public-page .candidate-photo,.public-page.theme-three .candidate-photo { height:330px; }.public-page .public-main .section-heading { flex-wrap:wrap; }.public-page #public-filter { width:100%; }.public-detail-photo { width:90px; height:108px; } }
/* Keep the viewport fixed; wide operational tables scroll inside their own panels. */
html,body,#app { width:100%; max-width:100%; }
.shell,.shell .workspace,.shell .content,.reference-owner,.reference-owner .owner-main { min-width:0; max-width:100%; }
.shell .workspace { width:0; flex:1 1 0; }
.shell .content { width:100%; margin:0; }
.shell .content > *, .reference-owner .owner-main > *, .settings-grid > *, .employee-dashboard-grid > * { min-width:0; max-width:100%; }
.shell .table-wrap,.reference-owner .table-wrap { width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.shell .topbar { min-width:0; }
.shell .location-label,.shell .topbar-start,.shell .topbar-actions { min-width:0; }
.shell .location-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.shell .staff-list,.reference-owner .staff-list { min-width:0; }
.shell .staff-list > div,.reference-owner .staff-list > div { flex-wrap:wrap; overflow-wrap:anywhere; }
.shell .copy-row input { min-width:0; }
@media(max-width:900px) {
  .shell .sidebar { position:fixed; width:240px; right:-250px; left:auto; top:0; height:100dvh; }
  .shell .sidebar.open { right:0; }
  .shell .workspace { width:100%; flex-basis:100%; }
  .reference-owner { width:100%; grid-template-columns:minmax(0,1fr); }
  .reference-owner .owner-main { grid-column:1; width:100%; }
}
@media(max-width:700px) {
  .shell .topbar { padding:0 12px; gap:7px; }
  .shell .topbar-start { flex:1 1 auto; overflow:hidden; }
  .shell .topbar-actions { flex:none; }
  .shell .company-name-pill,.shell .user-pill > span:last-child { display:none; }
  .shell .content,.reference-owner .owner-main { padding-inline:12px; }
  .shell .settings-grid,.reference-owner .settings-grid { grid-template-columns:minmax(0,1fr); }
  .shell .staff,.reference-owner .staff { grid-column:1; }
  .shell .member-form,.reference-owner .member-form { flex-direction:column; align-items:stretch; }
  .shell .member-form .field,.reference-owner .member-form .field { width:100%; min-width:0; }
  .shell .metrics,.reference-owner .owner-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shell .metric,.reference-owner .owner-summary .metric { min-width:0; overflow-wrap:anywhere; }
  .shell .employee-dashboard-grid { grid-template-columns:minmax(0,1fr); }
  .shell .pipeline { max-width:100%; }
}
