/* Full browser layout; the original files remain intact as visual references. */
html,body{width:100%;height:100%;min-width:320px}
body{display:block!important;padding:0!important;background:#eef1e9!important}
.shell{width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.top{padding-top:max(14px,env(safe-area-inset-top))!important}
#server-status{position:fixed;top:0;left:50%;transform:translateX(-50%);font-size:10px;color:#64736b;z-index:50;pointer-events:none;white-space:nowrap}
#server-status[data-failed=true]{background:#fff0ce;padding:4px 12px;color:#6c4100}
.role{cursor:pointer!important;min-height:44px}
.main{min-width:0}
.page{max-width:1100px;margin:0 auto}
.sheetback{position:fixed!important}
.sheet{max-width:760px;margin:0 auto}
@media(min-width:900px){
 .shell{display:grid!important;grid-template-columns:220px minmax(0,1fr);grid-template-rows:82px minmax(0,1fr)}
 .top{grid-column:1 / -1;padding:18px 36px!important;border-bottom:1px solid #dde4d5}
 .nav{grid-column:1;grid-row:2;display:flex!important;flex-direction:column;justify-content:flex-start;gap:0;padding:24px 16px!important;border-top:0;border-right:1px solid #dde4d5;min-height:0;height:100%;overflow-y:auto}
 .nav button{flex:none!important;flex-direction:row!important;justify-content:flex-start;gap:14px!important;padding:15px 18px!important;font-size:14px!important;border-radius:12px}
 .nav button.active{background:#e4edda}
 .nav-group{display:grid;align-content:start;gap:8px;flex:1 0 auto}
 .nav-group-label{padding:0 18px 4px;color:#8a9581;font-size:9px;font-weight:700;letter-spacing:1.2px}
 .nav button:focus-visible{outline:2px solid #173d32;outline-offset:2px}
 .main{grid-column:2;grid-row:2}
 .page{padding:36px 42px 60px!important}
 .feed{max-width:680px;margin:auto;background:#173d32}
 .feed .job{min-height:520px}
 .jobbody{left:36px!important;right:36px!important;bottom:36px!important}
 .job h1{font-size:44px!important;max-width:540px}
 .job-meta{font-size:14px!important}
 .sheetback{align-items:center!important;padding:32px}
 .sheet{border-radius:24px!important;max-height:90dvh}
 .toast{left:auto!important;right:30px!important;width:380px;bottom:24px!important}
}
@media(max-height:700px) and (min-width:900px){.nav-group-label{display:none}}
@media(max-width:899px){.nav .nav-group{display:contents}.nav-group-label{display:none!important}}
@media(max-width:899px){.page{padding-bottom:28px}.nav{padding-bottom:max(12px,env(safe-area-inset-bottom))!important}.sheet{max-height:92dvh}.top{padding-left:20px!important;padding-right:20px!important}}
@media print{.nav,.top,#server-status{display:none!important}.shell{display:block!important;height:auto!important}.main{overflow:visible!important}}
/* Video discovery is a workspace on desktop and a full-screen feed on mobile. */
.video-workspace{height:100%;min-height:0;min-width:0}
#role-context{display:none}
.feed .jobbody{left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:auto!important;min-width:0!important}
.feed .jobbody h1{overflow-wrap:anywhere}
.feed .actions{width:100%;min-width:0}
.feed .actions>*{min-width:0}
.feed .save{width:100%!important}
#server-status{position:static;transform:none;order:2;margin-left:auto;margin-right:20px;font-size:11px}
.top .role{order:3}
@media(min-width:1000px){
 .shell{grid-template-columns:190px minmax(0,1fr);grid-template-rows:76px minmax(0,1fr)}
 .main.has-video-workspace{overflow:hidden;background:#edf0e9}
 .video-workspace{display:grid;grid-template-columns:minmax(280px,440px) minmax(330px,560px);justify-content:center;gap:28px;padding:28px;max-width:1120px;margin:auto}
 .video-workspace .feed{height:100%;width:100%;max-width:none;margin:0;border-radius:22px;overflow-y:auto;box-shadow:0 8px 30px #173d3210}
 .video-workspace .feed .job{height:100%;min-height:0!important}
 .video-workspace .feed .jobbody{padding:12px 22px 24px!important}
 .video-workspace .feed .job h1{font-size:32px!important;line-height:1.08}
 .video-workspace .feed .job-meta{font-size:12px!important}
 #role-context{display:block;min-width:0;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e0e6db;border-radius:22px;padding:28px;scrollbar-width:thin}
 .context-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}
 .context-kicker{font-size:10px;font-weight:750;letter-spacing:1.8px;color:#74816e}
 .context-live{font-size:11px;color:#3c6643;background:#edf5e5;padding:6px 10px;border-radius:20px}
 .context-company{display:flex;gap:12px;align-items:center;font-size:13px}
 .context-logo{display:grid;place-items:center;background:#e8eedf;color:#173d32;width:44px;height:44px;border-radius:13px;font-weight:750;font-size:22px;flex-shrink:0}
 .context-company p{margin:4px 0 0;font-size:12px;color:#71806e}
 #role-context h1{font-size:34px;line-height:1.12;letter-spacing:-1.2px;margin:24px 0 10px}
 .context-intro{font-size:14px;line-height:1.6;color:#74816e;margin:0 0 24px}
 .context-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;padding:20px 0;border-top:1px solid #e8ede2;border-bottom:1px solid #e8ede2}
 .context-facts div:last-child{grid-column:1/-1}
 .context-facts span{display:block;font-size:11px;color:#7b8675;margin-bottom:6px}
 .context-facts strong{font-size:13px;font-weight:650}
 #role-context section{margin:24px 0}
 #role-context h2{font-size:15px;margin:0 0 9px}
 #role-context section p{font-size:13px;line-height:1.8;color:#65715f;margin:0}
 .context-workplace{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:18px;border-radius:14px;background:#f3f6ee}
 .context-workplace strong{display:block;font-size:13px}
 .context-workplace small{display:block;font-size:11px;color:#77836f;margin-top:6px}
 .context-cta{margin-top:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:20px;border-top:1px solid #e8ede2}
 .context-cta .primary{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:15px}
 .context-cta p{grid-column:1/-1;font-size:11px;line-height:1.6;color:#7c8874;margin:0}
}
@media(min-width:900px) and (max-width:999px){
 .video-workspace{padding:20px}.video-workspace .feed{max-width:430px;width:100%;border-radius:20px}.feed .job{min-height:0!important}.feed .job h1{font-size:32px!important}.feed .jobbody{padding:12px 20px 22px!important}
}
@media(max-width:899px){
 .video-workspace .feed{max-width:none;width:100%;margin:0;height:100%}
 .feed .job{min-height:0!important}
 #server-status{font-size:9px;margin-right:10px;max-width:130px;text-align:right}
}
@media(max-width:400px){#server-status{display:none}.top .role{margin-left:auto}.feed .job h1{font-size:27px!important}.feed .jobbody{padding:8px 16px 16px!important}}
@media(min-width:1000px) and (max-height:780px){.video-workspace{padding:18px;gap:22px;grid-template-columns:minmax(260px,360px) minmax(330px,560px)}#role-context{padding:24px}.video-workspace .feed .job h1{font-size:28px!important}.video-workspace .feed .jobbody{padding-bottom:18px!important}}
/* Quiet actions: the video introduces the role; the panel holds the application. */
.feed .actions{display:flex!important;justify-content:space-between;align-items:center;gap:16px!important}
.feed .jt-feed-details{flex:0 1 auto}
.feed .jt-feed-details button{display:inline-flex!important;align-items:center;justify-content:flex-start!important;gap:10px!important;width:auto!important;min-height:44px!important;padding:6px 0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;font-size:12px!important;font-weight:500!important}
.feed .jt-feed-details button span{font-size:15px!important}
.feed .jt-feed-details button:hover{text-decoration:underline;text-underline-offset:4px}
.feed .save{flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;border-radius:50%!important;background:#173d324d!important;border-color:#ffffff45!important;color:white!important}
.feed .save.is-saved{background:#ffffff26!important;border-color:#d5f478!important;color:#d5f478!important}
.feed .save svg{width:20px!important;height:20px!important}
@media(min-width:1000px){
 .feed .jt-feed-details{display:none}
 .feed .actions{justify-content:flex-end}
 .context-workplace{background:none;border-radius:0;padding:16px 0;border-top:1px solid #e8ede2;border-bottom:1px solid #e8ede2}
 .context-workplace:hover{color:#527334}
 .context-cta{display:flex;justify-content:flex-start;margin-top:20px;padding-top:0;border-top:0}
 .context-cta .primary{flex:0 0 auto;align-items:center;justify-content:center;gap:22px;min-height:42px;padding:11px 22px;font-size:13px;border-radius:9px;background:#173d32;color:#fff;font-weight:600}
 .context-cta .primary:hover{background:#245542}
 .context-cta .primary:disabled{opacity:.5}
}
/* A portrait stage always keeps 9:16, fitted to both available height and width. */
.video-workspace{display:grid;place-content:center;justify-items:center;background:#e9ede5;overflow:hidden}
.video-workspace .feed{width:var(--portrait-width,100%)!important;height:var(--portrait-height,100%)!important;max-width:100%!important;max-height:100%;min-height:0;margin:0!important;aspect-ratio:9/16;background:#12261d;container-type:inline-size;align-self:center}
.video-workspace .feed .job{width:100%;height:100%!important;min-height:0!important;aspect-ratio:9/16}
.video-workspace .feed .cover{object-fit:cover!important;object-position:center!important;background:#12261d}
@media(min-width:1000px){
 .video-workspace{grid-template-columns:var(--portrait-width,340px) minmax(330px,560px);grid-template-rows:minmax(0,1fr);align-items:stretch;place-content:normal;justify-content:center;justify-items:stretch;max-width:1120px}
 .video-workspace #role-context{height:100%;min-height:0}
}
@media(min-width:900px) and (max-width:999px){.video-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:20px}}
@media(max-width:899px){.video-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.video-workspace .feed{border-radius:0}}
@container(max-width:340px){
 .video-workspace .feed .jobbody{padding:8px 14px 14px!important}
 .video-workspace .feed .job h1{font-size:25px!important;letter-spacing:-.7px}
 .feed .job-meta{font-size:11px!important;margin-bottom:4px}
 .feed .company-line{font-size:12px}
 .feed .feedhead{padding:12px 14px}
 .feed .captions{font-size:10px;margin-left:14px;margin-bottom:6px}
 .feed .actions{gap:8px!important}
}
/* Give the portrait stage the available height, with only a small outer gutter. */
@media(min-width:900px){
 .shell{grid-template-rows:60px minmax(0,1fr)!important}
 .top{padding:8px 28px!important}
 .top .brand{font-size:23px}
 .top .brand-mark{width:28px;height:28px}
 .top .role{min-height:36px}
 .video-workspace{padding:10px 24px;gap:24px}
}
@media(min-width:1000px){
 .video-workspace #role-context{display:flex;flex-direction:column;overflow:hidden;padding:0}
 .context-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:26px 28px 20px;scrollbar-width:thin}
 #role-context .context-cta{flex:none;margin:0;padding:12px 28px;border-top:1px solid #e8ede2;background:#fff}
}
@media(min-width:1000px) and (max-height:780px){
 .video-workspace{padding:8px 20px;gap:22px}
 .context-content{padding:22px 24px 16px}
 #role-context .context-cta{padding:10px 24px}
}
/* Keep the opportunity facts readable when the video and detail panel share
   a compact desktop viewport. */
@media(min-width:1000px) and (max-width:1199px){
 .context-facts{grid-template-columns:minmax(0,1fr);gap:12px}
 .context-facts div:last-child{grid-column:auto}
 .context-facts strong{overflow-wrap:anywhere}
}
@media(min-width:1000px){.feed .swipe-guide{display:none!important}}
.gesture-hint{font-size:10px;line-height:1.5;color:#ffffffa8;letter-spacing:.2px;pointer-events:none}
.feed .actions{justify-content:space-between}
.feed .job.swipe-confirmed:before{opacity:1}
@media(max-width:999px){.gesture-hint{display:none}}
@media(prefers-reduced-motion:reduce){.feed{scroll-behavior:auto}.feed .job{transition:none}}
@media(max-width:600px){#server-status{display:none}.top .role{margin-left:auto}}

/* Keep swipe feedback readable and the portrait card feeling responsive. */
@media(prefers-reduced-motion:no-preference){
 .feed .job:before{transition:opacity .14s ease,scale .2s cubic-bezier(.22,1,.36,1),background-color .18s ease}
 .feed .job.swiping:before{scale:1}
 .feed .save{transition:transform .2s cubic-bezier(.22,1,.36,1),background-color .18s ease,border-color .18s ease,color .18s ease}
 .feed .save:active{transform:scale(.9)}
 .feed .save.is-saved svg{animation:jt-feed-save-pop .28s cubic-bezier(.22,1,.36,1)}
 .feed .video-progress>span{transition:transform .16s linear}
 @keyframes jt-feed-save-pop{50%{transform:scale(1.2)}to{transform:scale(1)}}
}
@media(prefers-reduced-motion:reduce){.feed .save.is-saved svg{animation:none!important}.feed .job:before{transition:none!important}}

/* Tablet uses the familiar mobile navigation and single-column journeys,
   with more breathing room for the wider touch screen. */
@media (min-width:600px) and (max-width:1199px){
 .shell{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:60px minmax(0,1fr) 72px!important}
 .top{grid-column:1!important;grid-row:1!important;padding:8px 24px!important}
 .nav{grid-column:1!important;grid-row:3!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:stretch;gap:8px!important;height:auto!important;min-height:0;padding:7px 16px max(7px,env(safe-area-inset-bottom))!important;border-top:1px solid #dde4d5;border-right:0;background:#f7f8f4}
 .nav .nav-group{display:contents!important}
 .nav-group-label{display:none!important}
 .nav button{flex:1 1 0!important;max-width:180px;min-width:0;min-height:52px;flex-direction:column!important;justify-content:center!important;gap:3px!important;padding:6px 8px!important;font-size:11px!important;border-radius:12px}
 .nav button svg{width:19px;height:19px}
 .main{grid-column:1!important;grid-row:2!important;min-height:0;overflow:auto}
 .page{width:min(100%,900px);padding:28px 30px 36px!important}
 .feed{width:min(100%,520px);margin:0 auto}
 .feed .job{min-height:0!important}
 .video-workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);justify-items:center;gap:0;padding:12px 24px}
 .video-workspace .feed{width:min(100%,520px);height:100%;max-width:520px;border-radius:20px;overflow-y:auto}
 #role-context{display:none!important}
 .portal-workspace{display:block!important;max-width:860px;margin:0 auto}
 .portal-search{padding:28px 30px 36px}
 .portal-filters{display:none}
 .portal-mobile-tools{display:flex}
 .sheetback{padding:24px}
 .sheet{max-height:90dvh}
}

/* Shorts-style immersive playback on small screens. */
@media(max-width:899px){
 body:not(.is-public) .main.has-video-workspace{position:absolute;inset:0;z-index:0;overflow:hidden!important;padding:0!important}
 .video-workspace{width:100%;height:100%;padding:0!important}
 .video-workspace .feed{border-radius:0!important}
 .video-workspace .feed .job{aspect-ratio:auto!important}
 .video-workspace .feed .cover{object-fit:cover!important;object-position:center!important}
 .top{position:relative;z-index:5;background:#f7f8f4e8!important;backdrop-filter:blur(12px)}
 .nav{position:relative;z-index:5;background:#f7f8f4e8!important;backdrop-filter:blur(12px)}
}
@media(min-width:1000px){
 .video-workspace{max-width:none!important}
 .video-workspace .feed .cover{object-fit:cover!important;object-position:center!important}
}

/* Guests can sign in from search or video. Members use their profile menu. */
body:not(.is-public) .shell>.top { display: none !important; }
.is-public .top .role {
 display: inline-flex !important;
 align-items: center;
 justify-content: center;
 min-height: 44px !important;
 padding: 8px 18px !important;
 border-radius: 10px;
 background: #173d32 !important;
 color: white !important;
 font-size: 14px !important;
 font-weight: 650;
 text-decoration: none;
}
.is-public .top .role:hover { background: #102c24 !important; }
.is-public .role:focus-visible { outline: 3px solid #476c38; outline-offset: 3px; }
.is-public .top { flex: none; }

#server-status{position:fixed!important;top:max(10px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:80;max-width:min(92vw,680px);padding:9px 14px;border:1px solid #d8e3d3;border-radius:12px;background:#f7f8f4;color:#355b43;box-shadow:0 8px 28px #15261d24;font-size:12px;line-height:1.45;text-align:center;white-space:normal}
#server-status[hidden]{display:none!important}
#server-status[data-failed=true]{border-color:#e2bc70;background:#fff0ce;color:#6c4100}
@media(min-width:900px){
 body:not(.is-public) .shell{grid-template-rows:minmax(0,1fr)!important}
 body:not(.is-public) .nav{grid-row:1!important}
 body:not(.is-public) .main{grid-row:1!important}
}
@media(min-width:600px) and (max-width:1199px){
 body:not(.is-public) .shell{grid-template-rows:minmax(0,1fr) 72px!important}
 body:not(.is-public) .main{grid-row:1!important}
 body:not(.is-public) .nav{grid-row:2!important}
}

/* Keep the portrait player a stable, centered size across breakpoints. */
.video-workspace .feed{max-width:440px!important;overflow-y:auto}

/* Keep shared screens and controls within phone, tablet and desktop viewports. */
html{min-height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow:hidden}
.shell{min-height:0;min-width:320px;isolation:isolate}
.main{min-height:0;min-width:0;overscroll-behavior:contain}
.page,.product-page{min-width:0;overflow-wrap:anywhere}
.product-page{width:100%;margin-inline:auto}
.product-heading{min-width:0;flex-wrap:wrap}
.product-heading h1,.product-heading p{overflow-wrap:anywhere}
.product-panel,.product-profile-grid>*{min-width:0}
.video-project-card{min-width:0}
.video-project-card strong,.video-project-card small{max-width:100%;overflow-wrap:anywhere}
.sheetback{z-index:90;overscroll-behavior:contain}
.sheet{min-width:0;max-width:min(760px,100%);overflow-x:hidden;overscroll-behavior:contain}
.toast{max-width:calc(100vw - 30px);overflow-wrap:anywhere}
@media(max-width:599px){
 .shell{width:100%;height:100vh;height:100dvh}
 .page,.product-page{padding:22px 18px max(28px,env(safe-area-inset-bottom))!important}
 .product-heading{align-items:flex-start;gap:12px;margin-bottom:18px}
 .product-heading>.primary{flex:none;min-height:44px;padding:10px 14px}
 .product-dashboard-grid,.product-profile-grid,.product-review-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 .product-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .product-stats button{padding:14px}
 .product-stats strong{font-size:23px}
 .product-panel{padding:16px}
 .product-role-columns{display:none}
 .product-role-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:16px 0}
 .product-row-actions{justify-content:flex-start}
 .product-saved-row,.product-application-row{align-items:flex-start;flex-direction:column;gap:6px}
 .product-form-actions{align-items:stretch;flex-direction:column-reverse;gap:8px}
 .product-form-actions>*{width:100%;min-height:44px}
 .product-heading-actions{width:100%;justify-content:flex-start}
 .product-heading-actions>button{min-height:44px}
 .sheetback{padding:0!important;align-items:flex-end!important}
 .sheet:not(:has(.video-editor)){width:100%;max-width:none;max-height:min(92dvh,920px);padding:14px 18px max(24px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0!important}
 .toast{left:12px!important;right:12px!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;width:auto}
 .nav{padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
 .nav button{flex:1 1 0!important;min-width:0;min-height:54px;padding:6px 2px!important;font-size:10px!important;line-height:1.2;white-space:normal!important}
 .nav button svg{width:20px;height:20px;flex:none}
}
@media(max-width:370px){
 .page,.product-page{padding-left:14px!important;padding-right:14px!important}
 .product-heading h1{font-size:25px!important}
 .nav button{font-size:9px!important;gap:3px!important}
 .video-hub-start{padding:18px!important}
}
@media(min-width:1200px){
 .page,.product-page{padding-left:40px!important;padding-right:40px!important}
 .product-dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:24px}
}

@media(max-width:899px){
 body:not(.is-public) .video-workspace .feed .jobbody{padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}
}
