/**********************  Self-hosted fonts ************************/
/* Variable fonts: one woff2 per subset covers weights 400–700. The browser
   only downloads latin-ext when a glyph in that range is actually used. */

/* Nunito — latin */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(/assets/fonts/nunito-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Nunito — latin-ext */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(/assets/fonts/nunito-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Darker Grotesque — latin */
@font-face {
	font-family: 'Darker Grotesque';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(/assets/fonts/darker-grotesque-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Darker Grotesque — latin-ext */
@font-face {
	font-family: 'Darker Grotesque';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(/assets/fonts/darker-grotesque-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/**********************  Reset CSS ************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/**********************  End: Reset CSS ************************/

/* ====================  Design tokens  ====================
   The brand accent ("ranked" orange) and the info/active blue were previously
   hardcoded several different ways across this sheet (`orange`, #ff8000,
   #c67400, rgba(255,165,0,…)). Each distinct value now has one named token so
   it stays consistent — values are unchanged, only centralised.
   Rank-tier card colors live in functions/cards.js (getRankColor), the single
   source for those, since cards are rendered in JS. */
:root {
  --brand: orange;                       /* primary accent / gold-rank text */
  --brand-fill: #ff8000;                 /* checked checkbox + active fills */
  --brand-fill-edge: #c67400;            /* their border */
  --brand-ring: rgba(255, 165, 0, 0.85); /* focus/hover ring on the brand */
  --brand-ring-soft: rgba(255, 165, 0, 0.1);
  --info-blue: rgb(0, 187, 250);         /* focus rings, toast "loading" */
}

html {
  background-color: black;
  color: white;
  /*font-family: 'Nunito', sans-serif;*/
  font-family: "Darker Grotesque", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* Stop mobile browsers auto-inflating "body" text (the Privacy Policy / Terms
     consent sentences got boosted while short UI labels didn't, so they scaled
     differently). The whole site sizes itself via the rem root-font ladder — let
     that be the only thing that scales text. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ===== Scrollbars ==========================================================
   Windows/Linux render chunky, opaque, light-gray scrollbars that look wrong
   on this dark UI. Force the thin, rounded, translucent "macOS Chrome" look on
   every platform: transparent track, a floating pill thumb (inset via a
   transparent border + background-clip) that brightens on hover. WebKit/Blink
   (Chrome, Edge, Safari) use the ::-webkit-scrollbar pseudo-elements; Firefox
   uses the standard scrollbar-width/scrollbar-color. */
* {
  scrollbar-width: thin;                                   /* Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;  /* thumb, track */
}
::-webkit-scrollbar {
  width: 0.75rem;
  height: 0.75rem;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  border: 0.25rem solid transparent;   /* inset → thumb reads as a thin pill */
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.4);
  background-clip: padding-box;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

h2 {
  font-weight: bold;
  font-size: 3.2rem;
  padding: 0rem;
  margin-top: 0rem;
}

a {
  text-decoration: none;
  color: white;
}

[hidden] {
  display: none !important;
}

.pressable {
  cursor: pointer;
}

.orange {
  color: var(--brand);
}

.flex-1 {
  flex: 1;
}

/* The PAGE HEADER lives in its own sheet — styles/header.css. It is sized in
   its own px ladder rather than in `rem` so it renders identically on every
   page, including the ones that hand the document root a font-size of their own
   (html.statistics-page-html / html.company-page-html below 600px). Nothing
   about the header belongs in here; see the note at the top of that file. */

.Header {
  width: 100%;
  background: radial-gradient(ellipse at right top, rgba(7,7,7,1) 0%, rgba(5,5,5,1) 47%, rgba(7,7,7,1) 100%) !important;
  padding-top: 1.0rem;
  padding-bottom: 1.0rem;  
}

.scannedResumeElement {
  font-size: 0.625rem;
}

.row {
  display: flex;
  flex-direction: row;
}

.column {
  display: flex;
  flex-direction: column;
}

.row-item {
  flex: 1;
}

.filters {
  z-index: 2;
  position: relative;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 0.4rem;
  /* Stay within the sidebar so groups wrap instead of bleeding past its edge. */
  min-width: 0;
  max-width: 100%;
}

.generic-button {
  margin: 0.04rem;
  margin-top: 0.08rem;
  margin-bottom: 0.08rem;
}

.generic-group-title {
  padding: 0.1875rem;
  font-size: 0.5625rem;
  color: rgba(100,100,100,1);
}

.generic-group-checkbox {
  /* Use 'appearance: none;' for modern browsers to remove default styles */
  appearance: none;
  -webkit-appearance: none; /* For Safari support */
  /* Hide the input element but keep it focusable and functional */
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.generic-group-checkbox-label {
  -webkit-user-select: none; /* iOS Safari < 16.4 */
  user-select: none;
  display: inline-block;
  padding: 0.5em 0.5em;
  width: 5.35rem;
  font-size: 0.585rem;
  text-align: center;
  border: 0.0625rem solid rgb(16, 16, 16);
  border-radius: 0.0rem;
  background-color: rgba(255,255,255,1);
  color: white;
  cursor: pointer;
  /* Add smooth transition for visual feedback */
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.filter-button {
  margin: 0.04rem;
  margin-top: 0.08rem;
  margin-bottom: 0.08rem;
}


.filter-group {
  padding: 0.35rem;
  padding-left: 0rem;
  padding-right: 0rem;
  /* Allow the group to shrink to the sidebar so its rows wrap rather than
     overflowing to the right. */
  min-width: 0;
  max-width: 100%;
}

/* A text-only group (the companies "Search" bar) takes the whole sidebar row so
   it sits on its own line; the input stretches to fill it. */
.filter-group--full {
  flex-basis: 100%;
  width: 100%;
}
.filter-group--full .filter-text-input-container {
  width: 100%;
  min-width: 0;
}
/* The full-row search input matches a two-button filter row exactly:
   2 × 5.35rem buttons + their 2 × 0.04rem inter-margins. */
.filter-group--full .filter-search-input {
  width: 10.78rem;
  min-width: 0; /* override the input's intrinsic min so it can't force overflow */
  box-sizing: border-box;
}

.filter-group-title {
  padding: 0.1875rem;
  font-size: 0.5625rem;
  color: rgba(150,150,150,1);
}

.filter-group-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* wrap filters onto a new line instead of bleeding past the sidebar edge */
  font-size: 0.71875rem;
  color: rgba(200,200,200,1);
}

.filter-group-checkbox {
  /* Use 'appearance: none;' for modern browsers to remove default styles */
  appearance: none;
  -webkit-appearance: none; /* For Safari support */
  /* Hide the input element but keep it focusable and functional */
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}


.slider {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.slider-row {
  display: flex;
}

.slider.slow .slider-track {
  animation-duration: 60s;
}

.slider.reverse .slider-track {
  animation-direction: reverse;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}

svg {
  width: 72rem;
}

/* ⚠️ Sizing floor for the card glyphs (functions/siteIcons.js), and it exists
   because of the rule DIRECTLY ABOVE: `svg` with no class is 72rem wide, which
   was harmless while every icon was an <img> and is not now. Several glyphs sit
   in a span that sized the old <img> by descendant selector and so carry no
   class of their own. Declared here, immediately after, so every later class
   rule (.job-like-image, .job-link-image, …) still wins on source order. */
.site-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.circuit {
  fill: none;
  stroke: rgba(255,127,0,0);
  stroke-width: 0.1;
}

.profile-tag-text {
  text-align: center;
}

.pulse {
  fill: none;
  stroke: var(--brand);
  stroke-width: 0.1;
  stroke-linecap: round;

  /* VERY small dash = cheap to render */
  stroke-dasharray: 6 60;

  /* single animation only */
  animation: move 2.2s linear infinite;
}

/* second pulse, same direction but offset */
.pulse2 {
  animation-delay: -1.1s;
  /*stroke: rgba(255,0,255,1);*/
}

@keyframes move {
  to {
    stroke-dashoffset: -66;
  }
}

.narrow {
  width: 4.05rem;
}

#items-grid,
.items-grid {
  display: contents;
}

.container {
  display: grid;

  /* responsive columns */
  grid-template-columns: repeat(auto-fill, minmax(15.5375rem, 1fr));

  /* each "box" has consistent height */
  /*grid-auto-rows: 11.25rem;*/
  grid-auto-rows: minmax(11.25rem, auto); 

  /* allows items to backfill gaps under sidebar */
  grid-auto-flow: dense;

  padding-left: 1rem;
  padding-right: 1rem;
  gap: 0.6rem;
  padding-top: 0.6rem;
  padding-bottom: 0vh;
}

/* Compact grid for profile/company listings. Tighter columns than jobs so the
   smaller cards pack densely; 1fr lets them stretch to fill the row evenly, so
   the gaps between items match the gaps above/below them — a clean grid. Cards
   fill their column (see .container--compact .profile-card below). */
.container--compact {
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
}
/* Fill the (narrower) compact column instead of the fixed 15rem, so cards sit
   flush with no inter-item gap. The fixed width still applies in the About page
   slider and the edit modal, where the card isn't in a compact grid. */
.container--compact .profile-card {
  width: 100%;
}

.hideonnarrow {
  display: inherit;
}

.Page-container {
  display: flex;
  flex-direction: row;
  width: 100%; /* not 100vw — see .header-container (scrollbar overflow) */
  /* Grow to fill the leftover space above the footer (sticky-footer partner of
     .Page's min-height) so the footer sits at the viewport bottom on short pages. */
  flex: 1 0 auto;
}
/* The pages that are NOT built on .Page — the legal pages and the 404 — put
   their content region straight in the body. Give the body the column and the
   viewport min-height that .Page provides on a listing page, so those get the
   identical sticky footer rather than one floating mid-screen on a short page.
   Scoped by :has() so it only ever applies where that content region is a direct child, and
   never to the .Page layouts, which already do this for themselves.
   The rail is `position: fixed` on a site page, so it is out of flow here and
   the column is exactly header / content / footer. */
body:has(> .Page-container) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

html {
  font-size: 16px;
}

@media (max-width: 1300px) {
  html {
    /* Keep the desktop 16px here — a previous 20px spiked the root font UP on
       mid-size screens (~916–1300px), rem-scaling the whole site "zoomed in",
       then it dropped back at the 915px breakpoint. Match desktop so the ladder
       only ever steps DOWN as the viewport narrows (16 → 14 → 13 → ~12). */
    font-size: 16px;
  }
  .hideonnarrow {
    display: none;
  }
}

@media (max-width: 915px) {
  html {
    font-size: 14px;
  }  
}

@media (max-width: 755px) {
  html {
    font-size: 13px;
  }  
}

@media (max-width: 600px) {
  html {
    /* The whole site is rem-based, so the root font-size sets every element size
       AND the job grid's column count (columns = viewport ÷ card-min, and the
       card-min is in rem). Below the cap width we scale the root DOWN with the
       viewport so every phone is a proportionally-shrunk version of the same
       layout (same size ratios), down to the smallest common widths.
       2.353vw = 12px at 510px; `min` caps it at 12px so 510–600px stays put and
       the shrink now starts at 510px (was 412px). */
    font-size: min(12px, 2.353vw);
  }
}

/* Once the phone layout starts scaling down, keep job cards readable by using
   two wider cards beside the filter sidebar. This is explicitly scoped to live
   job-list pages; compact profile/company grids and About-page demo cards keep
   their existing layout. Six tags then flow as three rows of two. */
@media (max-width: 510px) {
  .container--jobs {
    grid-template-columns: repeat(2, minmax(12.5rem, 1fr));
  }

  .container--companies {
    grid-template-columns: repeat(2, minmax(12.5rem, 1fr));
  }

  /* Company cards keep their established compact 13rem × 13rem proportions
     while growing to fill the wider two-column phone tracks. Container-relative
     internals scale with that same ratio instead of leaving tiny content in a
     larger box. Talent/profile listings intentionally keep their old layout. */
  .container--companies .profile-card {
    width: 100%;
    height: auto;
    max-width: none;
    aspect-ratio: 1;
    box-sizing: border-box;
    container-type: inline-size;
  }

  .container--companies .profile-image {
    width: 28.462cqw;
    height: 28.462cqw;
  }

  .container--companies .profile-card--compact .profile-image-container {
    margin-top: 6.923cqw;
  }

  .container--companies .profile-header .job-title {
    font-size: 6.538cqw;
  }

  .container--companies .profile-header .job-company,
  .container--companies .profile-loc-badge .job-company {
    font-size: 5cqw;
  }

  .container--companies .job-description {
    font-size: 5.385cqw;
    line-height: 1.2;
  }

  .container--companies .profile-desc-wrap {
    margin-top: 3.846cqw;
  }

  .container--companies .profile-card .profile-footer {
    padding: 2.308cqw;
  }

  .container--companies .profile-footer .job-link-image {
    width: 8.462cqw;
    height: 8.462cqw;
  }

  .container--companies .profile-loc-icon {
    width: 5.385cqw;
    height: 5.385cqw;
  }

  /* Keep each card exactly as wide as its grid track and enlarge its contents
     independently. With no forced aspect ratio, Grid lets the tallest card set
     each row's natural height and stretches its row-mate to match. */
  .container--jobs .job {
    width: 100%;
    max-width: none;
    min-height: 0;
    box-sizing: border-box;
  }

  .container--jobs .job-image {
    width: 28px;
    height: 28px;
  }

  .container--jobs .job-image-container {
    padding: 8px 8px 0;
  }

  .container--jobs .job-header > div:last-child {
    padding-right: 8px;
  }

  .container--jobs .job-title {
    padding: 10px 0 2px;
    font-size: 13px;
  }

  .container--jobs .job-company,
  .container--jobs .job-company-line {
    font-size: 10px;
  }

  .container--jobs .job-body {
    padding: 0 8px 10px;
  }

  .container--jobs .tags {
    padding: 7px 0 10px;
  }

  .container--jobs .tag {
    width: 50%;
    padding-bottom: 3px;
  }

  .container--jobs .tag-text {
    font-size: 9px;
  }

  .container--jobs .tag-info {
    font-size: 8px;
  }

  .container--jobs .job-description {
    font-size: 11px;
    line-height: 1.25;
  }

  .container--jobs .job-footer {
    width: 100%;
    padding: 3px 8px;
    box-sizing: border-box;
  }

  .container--jobs .job-salary {
    font-size: 11px;
  }

  .container--jobs .job-like-image,
  .container--jobs .job-link-image {
    width: 15px;
    height: 15px;
  }

  /* Preserve the proven desktop filter layout and slider geometry, scaling the
     complete sidebar as one unit so every label and control grows together. */
  .container--jobs .filters-sidebar,
  .container--companies .filters-sidebar {
    zoom: 1.35;
  }

  .Page:is(.job-list-page, .company-list-page) .related-job-searches-title {
    font-size: 1rem;
  }

  .Page:is(.job-list-page, .company-list-page) .related-job-searches-link {
    font-size: 1.05rem;
  }

  /* The two-column phone cards are much narrower than desktop cards, so keep
     their footer controls compact too. A 32px control plus 12px of footer
     padding made this strip 44px tall and visually heavier than the card body.
     Company cards keep the larger target because their footer has no salary
     row competing for space. */
  .container--jobs .job-footer > .job-like-image-container,
  .container--jobs .job-footer > .job-link-image-container,
  .container--companies .profile-footer > .job-link-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    touch-action: manipulation;
  }

  .container--jobs .job-footer > .job-like-image-container,
  .container--jobs .job-footer > .job-link-image-container {
    min-width: 28px;
    min-height: 28px;
  }

  .container--companies .profile-footer > .job-link-image-container {
    min-width: 32px;
    min-height: 32px;
  }
}

/* normal boxes */
.box {
  background: #eee;
}

/* sidebar */
.sidebar {
  grid-column: -2 / -1; /* last column */
  grid-row: span 2;
  /* Grid items default to min-width:auto (min-content), so a wide child — e.g.
     the full-width search input's intrinsic width — can push the sidebar past
     its grid track and bleed the filters over the page's right edge. Let it
     shrink to its track and keep its content (padding-right so buttons don't
     touch the edge). */
  min-width: 0;
  box-sizing: border-box;
  padding-right: 1rem;
}

/* The optional filter drawer gives the sidebar one more card-row of breathing
   room. Dense grid flow can still place cards below it when space allows. */
.sidebar.filters-expanded {
  grid-row: span 3;
}

.filter-group-checkbox-label {
  -webkit-user-select: none; /* iOS Safari < 16.4 */
  user-select: none;
  box-sizing: border-box; /* declared width/height includes padding+border, so buttons never overflow their slot */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.35rem; /* shared control height — text inputs match this so the rows align */
  padding: 0 0.5em;
  width: 5.35rem;
  font-size: 0.585rem;
  font-family: Nunito;
  font-weight: 400;
  text-align: center;
  border: 0.0625rem solid rgb(16, 16, 16);
  border-radius: 0.0rem;
  background-color: rgba(255,255,255,1);
  color: black;
  cursor: pointer;
  /* Add smooth transition for visual feedback */
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

/* Narrow filters set 4.05rem on the wrapper; make the label fill it (instead of
   keeping its own 5.35rem width and spilling over). */
.filter-button.narrow .filter-group-checkbox-label {
  width: 100%;
}

/* A label too long for the fixed chip width at the normal size ("Visa sponsor
   (maybe)") — set smaller and kept on one line rather than wrapping out of the
   chip's fixed height. */
.filter-button--compact .filter-group-checkbox-label {
  font-size: 0.48rem;
  white-space: nowrap;
}

input[type="checkbox"]:checked + .filter-group-checkbox-label {
  background-color: var(--brand-fill); /* active/checked fill */
  border-color: var(--brand-fill-edge);
  color: #fff; /* white text on the orange active fill */
}

/* Hover paints only where a real hover exists: on touch screens the :hover
   state sticks after a tap, so unchecking a filter left the button glued gray
   until the next tap elsewhere. */
@media (hover: hover) {
  .filter-group-checkbox-label:hover {
    background-color: #a9a9a9;
  }
}

input[type="checkbox"]:focus + .filter-group-checkbox-label {
  outline: 0rem solid #007bff;
  outline-offset: 0rem;
}

.filter-group-input {
  height: 0.625rem;
  font-size: 0.625rem;
}

.filter-text-input-container {
  /* Stacked search fields read as one compact group. */
  margin-top: 0.02rem;
  margin-bottom: 0.02rem;
}

textarea {
  min-height: 1.02rem;
  width: 13.5rem;
  margin: 0.0125rem;
  outline: 0rem solid #007bff;
  outline-offset: 0rem;
  text-align: center;

}

textarea::placeholder { /* Standard syntax, Chrome, Opera, Safari, Firefox 51+ */
  color: rgba(150,150,150,1);
}

@media (hover: hover) {
  textarea:hover {
    background-color: #9a9a9a;
    cursor: text;
  }
}

textarea:not(:placeholder-shown) {
  background-color: var(--brand-fill); /* active/checked fill */
  border-color: var(--brand-fill-edge);
  color: white;
}

input {
  min-height: 1.02rem;
  width: 13.5rem;
  margin: 0.0125rem;
  outline: 0rem solid #007bff;
  outline-offset: 0rem;
  text-align: center;

}

input::placeholder { /* Standard syntax, Chrome, Opera, Safari, Firefox 51+ */
  color: rgba(150,150,150,1);
}

@media (hover: hover) {
  input:hover {
    background-color: #9a9a9a;
    cursor: text;
  }
}

input:not(:placeholder-shown) {
  background-color: var(--brand-fill); /* active/checked fill */
  border-color: var(--brand-fill-edge);
  color: white;
}


.filter-text-input {
  /* The search input shares .filter-group-checkbox-label with the buttons; pin
     display back to inline-block (not the buttons' inline-flex) and match the
     shared 1.5rem control height so inputs and buttons line up exactly. */
  display: inline-block;
  box-sizing: border-box;
  height: 1.35rem;
  margin: 0; /* the wrapper (.filter-button) supplies spacing, same as the buttons' labels — no extra input margin */
  outline: 0rem solid #007bff;
  outline-offset: 0rem;
}

.filter-text-input::placeholder { /* Standard syntax, Chrome, Opera, Safari, Firefox 51+ */
  color: rgba(150,150,150,1);
}

@media (hover: hover) {
  .filter-text-input:hover {
    background-color: #9a9a9a;
    cursor: text;
  }
}

.filter-text-input:not(:placeholder-shown) {
  background-color: var(--brand-fill); /* active/checked fill */
  border-color: var(--brand-fill-edge);
  color: white;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.Page {
  /*height: 100vh;*/
  /*overflow: hidden;  */
  min-width: 100%; /* not 100vw — see .header-container (scrollbar overflow) */
  /* Sticky footer: fill at least the viewport so a short page (e.g. a listing
     that returns 0 items) still pushes the footer to the bottom instead of
     floating it up mid-screen. dvh tracks the real height on mobile. */
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  align-items: center;
}



.Mainarea {
  /*box-shadow: inset 0.43em 0.35em 1.063em rgba(0, 0, 0, 0.98), inset -0.43em -0.0em 1.063em rgba(0, 0, 0, 0.98);*/
  flex: 1;
}

.Profile {
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.progress-bar {
  height: 0.31rem;
  width: 7.2rem;
  background-color: white;
  border-radius: 0.625rem;
  margin-top: 0.5rem;
}

.button {
  padding: 0rem;
  border-radius: 0rem;
  background-color: rgba(20,20,20,1);  
  color: rgba(210,210,210,1);
  cursor: pointer;
}

.button:hover {
  background-color: rgba(30,30,30,1);  
  color: rgba(250,250,250,1);
}

.job-list {
  width: 100vw;
  display: flex;
  flex-direction: row;  
  justify-content: center;  
  flex-wrap: wrap;
}

.job {      
  background: radial-gradient(ellipse at right top, rgba(10,10,10,1) 0%, rgba(0,0,0,1) 47%, rgba(10,10,10,1) 100%) !important;
  font-size: 0.6rem;
  display: flex;
  overflow: hidden;
  align-items: flex-start;
  color: rgba(200,200,200,1);
  max-width: 22rem;
  /*box-shadow: -0.3em 0.3em 0.1em rgba(110, 110, 110, 0.8);*/
}

.job-image {
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 0.2rem;
  object-fit: contain;
}

.job-salary {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 500;
}

.profile-email {
  display: none;
  position: absolute;
  margin-left: -2rem;
  background-color: black;
  font-size: 0.8rem;
  padding: 0.1rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

.job-link-image-container:hover .profile-email {
  display: flex;  
}

.job-image-container {
  padding: 0.5rem;
  padding-bottom: 0rem;
}

/* The title/company column (the icon's sibling) runs to the card's right edge
   otherwise — give it the same 0.5rem inset the icon container gives the left. */
.job-header > div:last-child {
  padding-right: 0.5rem;
}

.job-updated {
  font-size: 0.35rem;
  color: rgba(70,70,70,1);
}

.filter-range-container {
  font-size: 0.656rem;
  color: rgba(140,140,140,1);
  text-align: center;
}

.filter-range {
  width: 6.875rem;
}

.header-image {
  height: 1.06rem;
  width: 1.06rem;
  cursor: pointer;
}

.job-like-image {
  height: 1.1rem;
  width: 1.1rem;
}
/* ONE heart, two states. It was two PNGs swapped on `src` on the
   click (likejob.js); now the same inline path is outlined white until the
   container carries `is-liked`, then filled in the red the artwork used. The
   filled state keeps its stroke, so it sits a hair heavier than the outline —
   which is the relation the two PNGs had (21.3 vs 21.0 units tall). */
.job-like-image {
  fill: none;
  stroke: currentColor;
}
.job-like-image-container.is-liked .job-like-image {
  fill: #e34646;
  stroke: #e34646;
}

.explain-image-container {
  cursor: pointer;
}

.explain-image {
  height: 2rem;
  width: 2rem;
}

.job-link-image {
  height: 1.1rem;
  width: 1.1rem;
  opacity: 0.25;
  transition: opacity 0.15s ease;
}
/* Brighten the footer icons (link / up-arrows / QR) when hovering their
   clickable container, so they read as interactive. */
.job-link-image-container.pressable:hover .job-link-image {
  opacity: 0.65;
}
/* The company-details (building) button on company cards is a primary action —
   keep it clear white at full strength, not dimmed like the other footer icons. */
.job-link-image-container[title="Company details"] .job-link-image {
  opacity: 1;
}
/* The applicant card's two footer actions are a pair — "Request resume" at the
   left, the relay ✉ (.profile-msg-glyph, full strength) at the right — so the
   resume page is drawn at the plane's strength, not the dimmed link icons'. */
.applicant-resume-request .job-link-image {
  opacity: 1;
}

.liked {
  opacity: 0.7;
}

.job-like-image-container {
  padding: 0rem;
  opacity: 0.3;
  transition: opacity 0.2s ease;
  /* Always look clickable — the like button is wired by delegation (likejob.js)
     regardless of the .pressable class, and older baked cards may lack it. */
  cursor: pointer;
}

.job-like-image-container.is-liked {
  opacity: 1;
}

.job-link-image-container {  
  text-align: center;
  align-items: center;
  justify-content: center;
}

.job-link-image-container.is-liked {
  opacity: 1;
}

.job-title {
  /* May be an <a> (job-page link) — block keeps the <a> laying out exactly
     like the <p>, and the base anchor rule already renders white/no-underline,
     so the card looks identical either way. */
  display: block;
  padding: 0.65rem;
  padding-bottom: 0.1rem;
  padding-left: 0rem;
  padding-right: 0rem;
  font-size: 0.85rem;
  color: white;
}

/* WHICH OF SEVERAL IDENTICALLY-NAMED ROLES THIS CARD IS — "1/2", "2/2".
   Drawn only when a company genuinely lists the same title more than once
   (functions/cards.js numberDuplicateJobTitles), which is rare but real: Money
   Forward runs six "Security Specialist" roles across its group companies.

   ⚠️ IT INHERITS EVERYTHING BUT COLOUR. Same size, same weight, same font,
   sitting on the title's own line exactly where it already was — the only
   change is that it recedes. It answers a question a reader has only once they
   notice two cards with one name, so it must be findable and never compete
   with the title it qualifies. `#555` on the card's near-black is legible on
   inspection and close to invisible at a glance, the same judgement the
   employer surface's ghosts make at 0.32 opacity. */
.job-title-count {
  color: #555;
  /* Never the ellipsis's first casualty: the title clips before this does. */
  white-space: nowrap;
}

.job-company {
  /* Also an <a> on job cards now (link to the company page) — keep it laying
     out like the <p> it replaced. */
  display: block;
  font-size: 0.65rem;
  color: rgba(185,185,185,1);
}

/* Company link + the posting's workplace on one line ("Fast Retailing ·
   UNIQLO Shibuya Dogenzaka"). Only rendered when a job names its site. */
.job-company-line {
  display: block;
  font-size: 0.65rem;
  color: rgba(185,185,185,1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-company-line .job-company {
  display: inline;
  font-size: inherit;
}

.job-workplace {
  color: rgba(150,150,150,1);
}

.job-body {
  padding: 0.5rem;
  padding-top: 0rem;
  padding-bottom: 0.6rem;
  color: rgba(140,140,140,1);
  flex: 1;
}

.job-description {
  font-size: 0.7rem;
  color: rgba(185,185,185,1);
}

.tags {
  flex-wrap: wrap;
  padding-bottom: 0.65rem;
  padding-top: 0.5rem;
}

.tag {
  width: 33.3%;
  text-align: left;
  padding-bottom: 0.15rem;
  font-size: 0.5rem;
  color: rgba(100,100,100,1);
}

.tag-text {  
  font-size: 0.6rem;
  color: white;
}

.tag-rank {
  font-size: 0.8rem;
}

/* Estimated tags (visa, soft language levels): AI-extracted and hedged, flagged
   with an ⓘ that reveals a "confirm with the employer" note on tap/hover/focus.

   The DOTTED UNDERLINE is the part that carries the legal weight. Under the
   職業安定法's 的確表示義務 a listing must not be displayed in a way that creates
   misunderstanding, and "Visa likely" is our guess while "Full-time" is the
   employer's own word — so the difference has to be visible at a glance, on the
   card, with no interaction at all. The ⓘ and the help cursor say "there's more
   to read"; neither exists on a phone, where most of this is read, and the tip
   itself needs a tap (functions/tagtip.js). This does not. */
.tag--est {
  cursor: help;
}
.tag--est .tag-text {
  text-decoration: underline dotted rgba(150, 150, 150, 0.85);
  text-underline-offset: 0.18em;
  /* The chip is ~0.6rem; keep the dots from thickening into a solid rule. */
  text-decoration-thickness: 0.5px;
}
/* Same signal for the detail page's labelled facts, which reuse this tooltip. */
.has-tip {
  text-decoration: underline dotted rgba(150, 150, 150, 0.85);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.5px;
}
.tag-info {
  font-size: 0.5rem;
  color: rgba(150, 150, 150, 1);
  /* Raise the ⓘ visually WITHOUT expanding the line box (which `vertical-align:
     super` does, pushing the tag text down). line-height:0 + relative offset
     shifts the glyph but keeps it out of layout flow. */
  vertical-align: baseline;
  position: relative;
  top: -0.35em;
  line-height: 0;
}

/* Custom tooltip for the hedged tags (see functions/tagtip.js). Appended to
   <body> and positioned via JS so it escapes the card's overflow:hidden, and it
   appears instantly instead of the native `title`'s ~1s delay. */
.tag-tip {
  position: fixed;
  z-index: 9999;
  max-width: 220px;
  padding: 0.4rem 0.55rem;
  border-radius: 0.3rem;
  background: rgba(20, 20, 20, 0.97);
  color: rgba(235, 235, 235, 1);
  font-size: 0.7rem;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.08s ease;
}
.tag-tip.is-visible {
  opacity: 1;
}

.job-footer {
  width: 91.5%;
  border-top: 0.031rem solid rgba(40,40,40,1);
  padding: 0.4rem;
}

.job-footer-item {
  
}

/* The articles grid (pages/ListPage.jsx `container--articles`, on the
   companies grid): no 11.25rem row minimum, which is the square company card's.
   The filters column is a grid item spanning the first rows, so the cards do
   not stretch to those rows (align-self) and the column spans more of them,
   sharing its height out below the cards instead of opening gaps between. */
.container.container--articles {
  grid-auto-rows: auto;
}
.container--articles .article-card {
  align-self: start;
}
.container--articles .sidebar {
  grid-row: span 8;
}

/* The ARTICLE card (functions/articleCard.js): the site's card box holding one
   link — a small coloured type label, the title (up to three lines), the date.
   A faint border that takes the type's colour on hover; one fixed height, so a
   row of cards lines up whatever the titles. */
.card.article-card {
  height: 6.5rem;
  border-color: rgba(255, 255, 255, 0.14);
  transition: border-color 0.15s ease;
}
.card.article-card:hover,
.card.article-card:focus-within {
  border-color: var(--article-color, var(--brand));
}
.article-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.95rem 0.7rem;
  text-decoration: none;
}
.article-card-type {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--article-color, var(--brand));
}
/* Sized here, not by its attributes: the site's `svg { width: 72rem }` wins
   over those. em, so it follows the label's own size. */
.article-card-type-icon {
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
}
.article-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.1rem;
  font-weight: 400;            /* the job card titles' weight */
  line-height: 1.12;
  color: white;
}
.article-card-date {
  margin-top: auto;
  font-size: 0.75rem;
  color: rgba(150, 150, 150, 1);
}
.article-card-draft {
  color: rgba(150, 150, 150, 1);
  font-weight: 400;
}

.grid-container {
  
}

.grid {
  display: grid;  
  padding-left: 1rem;
  padding-right: 1rem;      
  

  /* size of one "square" */
  grid-template-columns: repeat(auto-fill, minmax(14.375rem, 1fr));

  gap: 0.6rem;

  /* this makes everything auto-pack */
  grid-auto-flow: dense;

  padding-top: 0.6rem;
  padding-bottom: 0vh;  
}

.card {
  background: #151419;
  border-radius: 0rem;
  padding: 0rem;
  min-height: 1.875rem;
  min-width: 1.875rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  border: 0.125rem solid var(--brand-fill);
}

/* Detail pages retain empty job-card shells behind the open drawer to prevent
   the grid from shifting after the live listing loads. They are structural,
   not ranked jobs, so let them recede into the page instead of inheriting the
   card's attention-grabbing orange border. */
.job-card-placeholder {
  position: relative;
  background: #0c0c10;
  border-color: rgba(135, 135, 135, 0.12);
}

/* A small, deliberately low-contrast spinner says the cards are loading
   without turning the background grid into another focal point. */
.job-card-placeholder::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 0.9rem;
  margin: -0.45rem;
  box-sizing: border-box;
  border: 0.08rem solid rgba(170, 170, 170, 0.09);
  border-top-color: rgba(170, 170, 170, 0.22);
  border-radius: 50%;
  animation: job-placeholder-spin 3s linear infinite;
}

@keyframes job-placeholder-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .job-card-placeholder::after { animation: none; }
}

/* size definitions */
.size-1x1 {
  grid-column: span 1;
  grid-row: span 1;
}

.size-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

.size-1x2 {
  grid-column: span 1;
  grid-row: span 2;
}

.size-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}



/* Container element - essential for positioning the tooltip text */
.tooltip {
  position: relative;
  display: inline-block; /* Helps prevent the popup from affecting surrounding elements' layout */
}

/* The actual popup content - hidden by default */
.tooltip .tooltip-box {
  visibility: hidden;
  width: 11.25rem;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 0.375rem;
  padding: 0.3125rem 0.125rem;
  position: absolute; /* Position the tooltip text absolutely */
  z-index: 1; /* Ensure the popup appears in front of other elements */
  top: 0%; /* Position above the hovered element */
  right: 120%;
  opacity: 0;
  font-size: 0.8rem;
  transition: opacity 0.3s; /* Add a smooth fade-in effect */
}

.tooltip .tooltip-above {
  top: -250%; /* Position above the hovered element */
  left: -110%;
  width: 6.25rem;
}

/* Show the tooltip text when the user hovers over the container */
.tooltip:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
}


/* Basic CSS for the range slider */
.slider-wrapper {
  width: 12.1875rem;
  font-family: sans-serif;
  position: relative;
}

.values {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.range-container {
  position: relative;
  height: 1.75rem;
  /* The container handles all dragging (functions/salaryRange.js): a touch
     drag must move the thumb, never scroll the page. */
  touch-action: none;
  cursor: pointer;
}

input[type="range"] {
  position: absolute;
  width: 100%;
  /* All pointer input goes to .range-container, which routes the drag to the
     right slider in JS (salaryRange.js). Re-enabling pointer-events on the
     thumb pseudo-element does NOT work on iOS Safari touch, so the thumbs
     themselves must stay inert. Keyboard (Tab + arrows) still works. */
  pointer-events: none;
  -webkit-appearance: none; /* iOS Safari < 15.4 ignores the unprefixed form */
  appearance: none;
  background: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* required to strip the native thumb in Safari */
  appearance: none;
  margin-bottom: -0.625rem;
  height: 0.625rem;
  width: 0.625rem;
  background: var(--brand);
  border-radius: 1.25rem;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  margin-bottom: -0.625rem;
  height: 0.625rem;
  width: 0.625rem;
  background: var(--brand);
  border-radius: 1.25rem;
  cursor: pointer;
  border: none;
}

.track {
  position: absolute;
  height: 0.1875rem;
  width: 100%;
  background: rgba(130,130,130,1);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 0.125rem;
}

.range-highlight {
  position: absolute;
  height: 0.1875rem;
  background: var(--brand);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 0.125rem;
}

/* moving value labels */
.value{
  position:absolute;
  top: 1.25rem;
  font-size: 0.75rem;
  transform:translateX(-50%);
  background:#000;
  color:#fff;
  padding: 0.125rem 0.375rem;
  border-radius:0.375rem;
  white-space:nowrap;
}

.slider-wrapper-single{
  position:relative;
}


.slider-wrapper-single .value{
  position:absolute;
  top: 1.25rem;
  left:0;
  transform:translateX(-50%);
}


.slider-wrapper-single .range-container{
  position:relative;
}

.job-like-image-container.is-liked img {
  transform: scale(1.05);
  transition: transform 0.15s ease;
}


@media only screen and (max-width: 568px) {
  .hide-on-mobile {
    display: none !important; /* !important helps override other styles */
  }
}

.privacy-policy {
  /* 44rem includes the body's 3rem padding on each side (box-sizing below),
     preserving the previous 38rem text measure on wide screens. */
  max-width: 44rem;
  line-height: 1.55;
}

.privacy-policy .c11 {          /* page title */
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.privacy-policy .c4 {           /* paragraphs + "last updated" */
  font-size: 1.05rem;
  color: rgba(190,190,190,1);
  margin: 0.5rem 0;
}

.privacy-policy .c6 {           /* section headings — brand accent, like the site */
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 2rem;
  margin-bottom: 0.35rem;
}

.privacy-policy .c9 {           /* bullet lists (list-style was reset globally) */
  font-size: 1.05rem;
  color: rgba(210,210,210,1);
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0.4rem 0;
}
.privacy-policy .c9 li {
  margin: 0.3rem 0;
}
.privacy-policy a {             /* links + long URLs used as link text */
  color: var(--brand);
  overflow-wrap: anywhere;
}

/* ===== Listing page — extracted from inline styles =====
   The filters column. This carries what a first-gen `.Sidebar` class used to
   (2026-08-16): the element wore `Sidebar sidebar filters-sidebar` at once, one
   name per generation of this codebase, and only ONE of them was ever selected
   for. `.Sidebar` was the last live rule of that first set — the rest
   (.Small-Sidebar, .Sidebar-section, .sidebar-image*, .sidebar-hidden) styled
   markup that has not existed since the Next.js frontend and are gone.
   Its declarations moved here verbatim; `.sidebar` (the grid placement above)
   keeps its own, since that name is also the drawer's hook in globalfilters.js. */
.filters-sidebar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;

  width: 16.7rem;
  /* Never wider than the grid track holding it — on the compact
     (companies/talent) grid at phone widths the last column is narrower than
     16.7rem and the fixed width bled 9px past the screen edge. Desktop tracks
     are wider, so this only bites on phones. */
  max-width: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.results-count {
  font-size: 3.8rem;
  font-weight: bold;
  line-height: 0.9;
}
.sidebar-title {
  font-size: 1.1rem;
  font-weight: 500;
  width: 100%;
  color: rgba(120,120,120,1);
  /* Explicit h1-default margins so the stamped detail pages' demoted <h2>
     (hostedJobsHtml.js drawerPageFromListing) renders identically. Keep the
     count-to-title gap tighter than the space below the title. */
  margin: 0 0 0.67em;
}
.privacy-link {
  padding-top: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(120,120,120,1);
}
.filter-footer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  /* Three narrow language buttons sit directly above this on most pages. With
     the row's 0.04rem outer margin, this lands the toggle exactly on N2's
     visible right edge. */
  width: 12.31rem;
  max-width: 100%;
  margin-top: 0.15rem;
  margin-left: 0.04rem; /* align with the visible label edges above */
  /* Match the full visible gap above: the preceding filter contributes its
     0.35rem group padding + 0.08rem button margin, then this row adds 0.15rem. */
  padding-bottom: 0.5rem;
}
.show-all-filters {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(120,120,120,1);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}
.show-all-filters:hover,
.show-all-filters:focus-visible {
  color: var(--brand);
}
.more-filters {
  display: none;
  padding-top: 0;
}
.filters-expanded .more-filters {
  display: flex;
}
.more-filters-group {
  padding-top: 0;
}
.salary-header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
.salary-header-label {
  color: white;
}
.salary-values {
  color: white;
  display: flex;
  flex-direction: row;
  margin-bottom: -2px;
}
.salary-sep {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: rgba(160,160,160,1);
}
.minLabel {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}
.maxLabel {
  font-size: 1.2rem;
  font-weight: bold;
}
.filter-search-input {
  width: 5.35rem; /* match the checkbox-button width exactly */
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}
/* Auth entry buttons start hidden; session.js reveals the correct set on load
   (driven by the localStorage session hint) so there's no flash of wrong state. */
#edit-profile,
#open-profile-edit,
#open-profile-login,
#nav-edit-profile,
#nav-register,
#nav-login {
  display: none;
}
.badge-link {
  margin: 0.25rem;
}
.scroll-sentinel {
  height: 0.9375rem;
}

/* ===== Privacy policy / terms pages — extracted from inline styles ===== */
.privacy-content-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.privacy-body {
  width: 100%;
  box-sizing: border-box;
  padding: 3rem;
  text-align: left;
  overflow-wrap: anywhere;   /* never let long URLs force horizontal scroll */
}

/* Narrow devices: let the content scroll with the page instead of in a
   fixed-height sub-pane. */
@media (max-width: 760px) {
  .privacy-body {
    padding: 1.5rem 1.2rem 3rem;
  }
  .privacy-policy .c11 {
    font-size: 2.2rem;
  }
  .privacy-policy .c6 {
    font-size: 1.3rem;
  }
}

/* ===== Profile card (renderProfile) — extracted from inline styles =====
   Appended last so these override the shared .job-* / .card base rules. */
.profile-card {
  height: 14.5rem;
  width: 15rem;
  display: flex;
  align-items: center;
  position: relative;
  /* Fixed-height card: clip is the final backstop so nothing can spill past the
     box. Combined with the pinned footer below and the clamped description, the
     footer is always inside the card and never pushed out of view. */
  overflow: hidden;
}
.profile-image-container {
  position: relative;
  margin-top: 0.3rem;
  flex-shrink: 0;
}
.profile-image {
  height: 3.7rem;
  width: 3.7rem;
  /* User avatars: circular crop. Companies override below. */
  border-radius: 100rem;
  object-fit: cover;
  transition: box-shadow 0.15s ease, opacity 0.15s ease;
}
/* Company logos: no circular crop (it clipped square logos), shown whole
   (contain) with a little inner padding so the mark doesn't touch the edge.
   The icon AREA stays the same 3.7rem as user avatars. */
.profile-image--company {
  border-radius: 0.2rem;
  object-fit: contain;
  padding: 0.3rem;
  box-sizing: border-box;
}
/* Only these explicitly selected dark company marks need a white surface. Match the exact
   cached logo path so other companies and fallback icons keep their styling. */
:is(.job-image:not(.profile-image), .profile-image--company, .detail-logo, .related-company-logo):is([src$="/company-icons/rapyuta-robotics"], [src$="/company-icons/rightware"], [src$="/company-icons/section-l"], [src$="/company-icons/liberius"], [src$="/company-icons/ibm"], [src$="/company-icons/square-enix"], [src$="/company-icons/dena"], [src$="/company-icons/groove-x"], [src$="/company-icons/tbm"], [src$="/company-icons/voyage-group"]) {
  background: #fff;
  border-radius: 0.2rem;
  box-sizing: border-box;
}
:is(.job-image:not(.profile-image), .detail-logo, .related-company-logo):is([src$="/company-icons/rapyuta-robotics"], [src$="/company-icons/rightware"], [src$="/company-icons/section-l"], [src$="/company-icons/liberius"], [src$="/company-icons/ibm"], [src$="/company-icons/square-enix"], [src$="/company-icons/dena"], [src$="/company-icons/groove-x"], [src$="/company-icons/tbm"], [src$="/company-icons/voyage-group"]) {
  padding: 2px;
}
/* The company LOGO on a docked company card links to the company's page, beside
   the title that links to the same place. `display: block` so the anchor is the
   image's own box rather than a text line — an inline anchor sits on a baseline
   and any decoration on it draws a rule under the logo. */
.profile-image-link {
  display: block;
  text-decoration: none;
}
/* Company subtitle (the domain) links to the company's website. Keep the
   subtitle's muted look; reveal the link on hover. */
.profile-company-link {
  display: inline-block;
  text-decoration: none;
}
.profile-company-link:hover,
.profile-company-link:focus-visible {
  color: var(--brand);
  text-decoration: underline;
}
/* In edit mode the icon is a click-to-upload target (the file input overlays
   it). Show a pointer and an orange ring that follows the icon's rounded shape
   so it's obviously interactive. */
.profile-card.editable .profile-image-container {
  cursor: pointer;
}
.profile-card.editable .profile-image-container:hover .profile-image {
  box-shadow: 0 0 0 2px var(--brand-ring);
  opacity: 0.85;
}
.profile-card.editable .profile-image[src$="/assets/user.png"] {
  opacity: 0.38;
}
.profile-card.editable .profile-image-container:hover .profile-image[src$="/assets/user.png"] {
  opacity: 0.62;
}
.image-upload-overlay {
  position: absolute;
  inset: 0;
  /* Pin the size explicitly: the global `input { width: 13.5rem }` rule would
     otherwise win over inset's right:0, stretching the invisible click target
     way past the avatar (clicking blank card space opened the file picker). */
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  cursor: pointer;
}
.profile-header {
  align-items: center;
  text-align: center;
  width: 88%;
  flex-shrink: 0;
}
/* Job cards inset their title column 0.5rem from the right edge
   (.job-header > div:last-child above). On the profile card's CENTERED
   header that same rule shifted the title/subtitle ~4px left of the icon's
   center — neutralize it here. */
.profile-card .job-header > div:last-child {
  padding-right: 0;
}
.w-full {
  width: 100%;
}
.profile-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  /* Allow this region to shrink below its content and clip the overflow, so in
     the rare case everything above is maxed out (2-line subtitle + 2 rows of
     tags + 4-line description) the description gives up its last line(s) instead
     of spilling over the footer. Normal content still shows all four lines. */
  min-height: 0;
  overflow: hidden;
}
.profile-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 82%;
  /* Tighter than the shared .tags spacing — reclaims vertical room above the
     description so four lines fit without pushing the footer down. */
  padding-top: 0.3rem;
  padding-bottom: 0.4rem;
}
.profile-desc-wrap {
  display: flex;
  align-items: center;
  text-align: center;
  width: 88%;
  /* Spacing between subtitle and description, restoring the gap the (removed)
     tags row used to provide. */
  margin-top: 0.5rem;
}
/* Profile-scoped spacing trims (job cards keep the shared .job-* spacing): pull
   a little off the title gap, the body's bottom pad and the footer pad so the
   4-line description fits the fixed-height card. */
.profile-card .job-body {
  padding-bottom: 0.3rem;
}
/* Title/subtitle vertical rhythm applied to BOTH view and edit modes, so
   toggling editing never moves them: the icon→title gap lives on the header and
   the title→subtitle gap on the title. In edit mode the chip only adds the
   (non-layout) outline + background on top of this exact same box. */
.profile-card .profile-header {
  margin-top: 0.28rem;
}
.profile-card .profile-header .job-title {
  padding-top: 0.04rem;
  margin-bottom: 0.12rem;
}
.profile-card .profile-footer {
  padding: 0.3rem;
}
.profile-footer {
  border-top: 0;
  align-items: flex-end;
  margin-bottom: 0.1rem;
  /* Pin to the bottom of the card and never shrink, so the salary/contact row
     stays visible regardless of how much the fields above it take up. */
  margin-top: auto;
  flex-shrink: 0;
}
.profile-salary {
  font-weight: bold;
  font-size: 1.1rem;
}
.profile-points-label {
  font-weight: 400;
  font-size: 0.6rem;
}
.profile-loc-badge {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
}
/* Company totals occupy the card's upper-right corner. */
.profile-loc-badge[data-company-job-count] {
  left: auto;
  right: 0.25rem;
}
.items-center {
  align-items: center;
}
.profile-loc-icon {
  height: 0.7rem;
  width: 0.7rem;
  margin-top: 0.1rem;
}

/* ===== Editable profile card fields =====
   Each editable field reserves the same "chip" box — rounded + horizontally
   padded — in BOTH view and edit modes (applied by class here), so toggling
   editing only paints the chip's background + outline (neither affects layout)
   and nothing on the card reflows. The horizontal padding being present in view
   mode too means the description wraps to the exact same lines in both. */
.profile-card .profile-header .job-title,
.profile-card .profile-header .job-company,
.profile-card .job-description,
.profile-card .profile-tag-text,
.profile-card .profile-loc-badge .job-company {
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  border-radius: 0.3rem;
}
.profile-card.editable [contenteditable] {
  cursor: text;
  outline-offset: 0;
  min-height: 0.9em;
  overflow-wrap: anywhere;
  transition: outline-color 0.15s ease, background-color 0.15s ease;
}
.profile-card.editable [contenteditable]:hover {
  background: rgba(255,255,255,0.08);
}
.profile-card.editable [contenteditable]:focus {
  outline: 1px solid var(--brand-ring);
  background: var(--brand-ring-soft);
}
/* Placeholders for a brand-new profile (e.g. registered without a resume) so
   the card never looks empty. CSS-only on truly-:empty fields — never DOM
   text, so a save can't pick placeholder copy up as real values. (Requires
   the fields to render TIGHT, no whitespace inside the element.) */
.profile-card.editable [data-edit="title"]:empty::before {
  content: "Name";
  color: rgba(120, 120, 120, 1);
}
.profile-card.editable [data-edit="subtitle"]:empty::before {
  content: "Role or headline";
  color: rgba(120, 120, 120, 1);
}
.profile-card.editable [data-edit="description"]:empty::before {
  content: "Brief professional introduction";
  display: block;
  color: rgba(120, 120, 120, 1);
}
.profile-card.editable [data-edit="description"]:empty::after {
  content: "";
  display: block;
  width: 82%;
  height: 2.36em;
  margin: 0 auto;
  opacity: 0.55;
  background:
    linear-gradient(rgba(120, 120, 120, 1), rgba(120, 120, 120, 1)) center 0.58em / 100% 0.0625rem no-repeat,
    linear-gradient(rgba(120, 120, 120, 1), rgba(120, 120, 120, 1)) center 1.76em / 72% 0.0625rem no-repeat;
}
.profile-card.editable [data-edit="loc"]:empty::before {
  content: "City";
  color: rgba(120, 120, 120, 1);
}
.profile-card .profile-loc-placeholder {
  color: rgba(120, 120, 120, 1);
}
/* Same tag min-width in both modes so short tags don't change the tag row's
   wrapping when editing turns on. */
.profile-card .profile-tag-text {
  min-width: 1.5rem;
}

/* The main fields keep their full width (and centered text) even when empty, so
   the editable area is always a stable, clickable box rather than collapsing to
   its content. The location badge only needs a small min-width. */
.profile-card.editable .profile-header .job-title,
.profile-card.editable .profile-header .job-company {
  width: 100%;
  /* Without a global border-box, width:100% + the shared 0.3rem chip padding
     would make the box 0.6rem wider than the (auto-width) view-mode box, nudging
     the centered title/subtitle sideways when editing turns on. Border-box keeps
     the box exactly parent-width in both modes so nothing moves. */
  box-sizing: border-box;
  text-align: center;
}
/* Center the description identically on the rendered and editable card, and
   keep the user's line breaks (saved as "\n" via innerText) instead of
   collapsing them onto one line. Scoped to .profile-card so job-card
   descriptions are unaffected. */
.profile-card .job-description {
  width: 100%;
  text-align: center;
  white-space: pre-wrap;
  /* Fixed, slightly tighter line-height so four lines fit the card without
     pushing the footer down (editable max-height + non-editable line-clamp both
     rely on this landing the same height regardless of the browser default). */
  line-height: 1.18;
}
/* Applied in BOTH modes (not just .editable): left-aligned so the location
   text sits right next to the pin icon with only the chip padding as the gap,
   and doesn't slide sideways when editing toggles (the left edge anchors it in
   both modes). Edit mode alone keeps a min-width so an empty value still
   leaves a clickable chip. */
.profile-card .profile-loc-badge .job-company {
  text-align: left;
}
.profile-card.editable .profile-loc-badge .job-company {
  min-width: 2.5rem;
}

/* Cap each field's growth so a long value can't squeeze its neighbours. These
   only constrain overflow — short/normal content still renders at its natural
   size and position. Title stays one line with an ellipsis; subtitle and
   description allow a few lines, then scroll. Heights include the chip padding
   so the last line isn't clipped. */
.profile-card.editable .profile-header .job-title {
  max-height: 1.7em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-card.editable .profile-header .job-company {
  max-height: 2.6em;
  overflow-y: auto;
}
.profile-card.editable .job-description {
  /* ~4 lines (+ chip padding) — matches the non-editable line-clamp below and
     the PROFILE_LIMITS.descriptionRows cap, so the editor shows what renders. */
  max-height: 5.1em;
  overflow-y: auto;
}

/* Render-time caps for displayed (non-editable) profile cards — including
   profiles coming from the API — so an over-long field can't overflow the fixed
   card box and shove its neighbours. PROFILE_LIMITS (cards.js) bounds the text;
   these line-clamps are the layout backstop. The editor has its own caps above. */
.profile-card:not(.editable) .profile-header .job-title,
.profile-card:not(.editable) .profile-loc-badge .job-company {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.profile-card:not(.editable) .profile-header .job-company {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profile-card:not(.editable) .job-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* RANKED v2: all profile-style cards (persons AND companies) are compact —
   footer buttons hidden, box shorter (≈1:1 in the 13rem compact grid column),
   description clamped to 3 lines. The taller 4-line rules above are the v3
   defaults; renderProfile applies this modifier unconditionally for now. */
.profile-card--compact {
  height: 13rem;
}
.profile-card--compact:not(.editable) .job-description {
  -webkit-line-clamp: 4;
}
.profile-card--compact.editable .job-description {
  /* Keep the editor visibly three rows tall regardless of whether it is empty,
     focused, or contains only one short line. Longer content scrolls inside. */
  height: 3.9em;
  min-height: 3.9em;
  max-height: 3.9em;
  box-sizing: border-box;
}
/* With the footer buttons hidden the bottom of the card went empty — ease the
   content block down so it reads visually centered in the box, while staying
   top-anchored (icon → title → description order and alignment unchanged; the
   footer stays pinned to the bottom via its margin-top:auto). */
.profile-card--compact .profile-image-container {
  margin-top: 0.9rem;
}

.profile-card-wrap {
  width: 15rem;
  margin: 0.5rem;
  flex: 0 0 auto;  
}
.profile-form-note {
  font-size: 0.9rem;
  max-width: 240px;
  text-align: center;
  color: rgba(160,160,160,1);
  padding-bottom: 30px;
}
/* Small link under the login/register forms to switch to the other one. */
.auth-toggle {
  font-size: 0.85rem;
  color: rgba(160,160,160,1);
  padding-top: 0.75rem;
}
/* Optional résumé upload on the registration form. A label styled as a button
   wraps a hidden file <input>; the chosen filename is echoed beside it. */
/* Résumé attach = a subtle drag-and-drop zone: barely-there dotted orange border,
   sharp corners; click anywhere to browse, or drop a file on it. */
.resume-upload.resume-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  margin: 0.4rem 0;
  border: 1px dotted rgba(255, 128, 0, 0.32);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.resume-upload.resume-drop:hover {
  border-color: rgba(255, 128, 0, 0.55);
}
.resume-drop.resume-drop-over {
  border-color: var(--brand);
  background: rgba(255, 128, 0, 0.06);
}
.resume-drop-text {
  font-size: 0.78rem;
  color: rgba(150, 150, 150, 1);
  /* Long unbroken filenames must wrap, but normal words break at spaces —
     break-all split the hint text mid-word ("resu / me") on phones. */
  overflow-wrap: anywhere;
  pointer-events: none;
}
.resume-drop-over .resume-drop-text,
.resume-drop-has-file .resume-drop-text {
  color: var(--brand);
}
/* Reassurance microcopy under the form. Left-aligned like the rest of the
   form column (the centered version floated oddly under the left-aligned
   button); the base .profile-form-note max-width is undone for the same reason. */
.auth-reassure {
  font-size: 0.72rem;
  line-height: 1.25;
  color: rgba(150, 150, 150, 1);
  text-align: left;
  max-width: none;
  padding-bottom: 0 !important;
  margin-top: 0.5rem;
}
.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.modal-close-label {
  font-size: 1rem;
}
/* ---- Looking for / Offering hover reveal (person cards' bottom-left icon).
   The card clips overflow, so the popover is an overlay INSIDE the card:
   hovering the icon flips the card face to the lists (staying while the
   cursor is over the overlay — it's a DOM child of the hover target). Labels
   and rows echo the editor's Opportunities styling. ---- */
.profile-opps-pop {
  display: none;
  position: absolute; /* against .profile-card (position:relative) */
  inset: 0;
  z-index: 3;
  padding: 0.7rem 0.9rem;
  background-color: rgba(10, 10, 10, 0.96);
  overflow-y: auto;
  overscroll-behavior: contain;
  text-align: left;
}
.profile-opps-wrap:hover .profile-opps-pop,
/* Keyboard parity: the trigger is focusable (.pressable via a11y.js), so
   tabbing to it reveals the same overlay hover does. */
.profile-opps-wrap:focus-within .profile-opps-pop {
  display: block;
}
.profile-opps-trigger {
  cursor: help;
}
/* Active = full opacity (the disabled state below dims it). */
.profile-opps-trigger .job-link-image {
  opacity: 1;
}
.profile-opps-label {
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(150, 150, 150, 1);
  margin: 0.6rem 0 0.2rem;
  padding-bottom: 0.15rem;
  border-bottom: 0.0625rem solid rgba(80, 80, 80, 0.5);
}
.profile-opps-pop .profile-opps-label:first-child {
  margin-top: 0;
}
.profile-opps-item {
  font-size: 0.82rem;
  line-height: 1.25;
  padding: 0.15rem 0;
  color: rgba(220, 220, 220, 1);
}
/* Heavy content (many/long entries — flagged at render time) drops to a
   denser type so more fits before the internal scroll kicks in. */
.profile-opps-pop--dense {
  padding: 0.55rem 0.7rem;
}
.profile-opps-pop--dense .profile-opps-item {
  font-size: 0.68rem;
  line-height: 1.18;
  padding: 0.1rem 0;
}
.profile-opps-pop--dense .profile-opps-label {
  font-size: 0.62rem;
  margin: 0.4rem 0 0.15rem;
}

/* ---- Message compose (person cards' bottom-right ✉). Click-to-open in-card
   overlay (typing needs persistence, so not hover); Send opens the visitor's
   mail app prefilled to the relay address — see functions/messagecard.js. */
.profile-msg-glyph {
  width: 1.05rem;
  height: 1.05rem;
  /* The plane is an inline SVG on currentColor now, so it is already light on
     the dark card. It was black artwork under `filter: invert(1)` — leaving
     that filter here would paint the new glyph black. */
  /* Active = full opacity; the disabled state (opted out) dims it below. */
  opacity: 1;
  transition: opacity 0.15s ease;
}
/* Applicant cards (cards.js renderApplicant) are job cards; these two rules are
   all they add — the overlay needs a positioned card to cover, and the ✉ sits
   where a job card's external link does (the footer's right end). */
.applicant-card {
  position: relative;
}
.applicant-card .job-footer {
  justify-content: space-between;
}
/* "Tom T. · 8 yrs · Tokyo" under the role: three values on the byline, kept
   apart by a dimmed dot with room either side. */
.applicant-card .applicant-sep {
  color: rgba(110, 110, 110, 1);
  margin: 0 0.35em;
}
.profile-msg-pop {
  display: none;
  position: absolute; /* against .profile-card (position:relative) */
  inset: 0;
  z-index: 4; /* above the Looking for / Offering hover overlay */
  padding: 0.6rem 0.9rem;
  background-color: rgba(10, 10, 10, 0.97);
  overflow-y: auto;
  overscroll-behavior: contain;
  text-align: left;
}
.profile-msg-wrap.open .profile-msg-pop {
  display: block;
}
/* Disabled footer actions: the message ✉ when the person opted out of being
   contacted (jobEmails off), and the Looking-for/Offering ☑ when there's nothing
   to show. The icon stays VISIBLE (so the affordance reads as present) but greyed
   and non-interactive. The consent toggle flips --optout live (session.js). */
.profile-msg-wrap--optout,
.profile-opps-wrap--optout,
.profile-opps-wrap--disabled {
  pointer-events: none;
}
.profile-msg-wrap--optout .profile-msg-glyph,
.profile-opps-wrap--optout .job-link-image,
.profile-opps-wrap--disabled .job-link-image {
  opacity: 0.3;
}
.profile-msg-close {
  position: absolute;
  top: 0.25rem;
  right: 0.55rem;
  line-height: 0;
}
.profile-msg-close svg {
  width: 0.72rem;
  height: 0.72rem;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}
.profile-msg-close:hover svg {
  opacity: 1;
}
/* The hover/typed selectors beat the global textarea/input rules (which
   paint a gray hover + orange :not(:placeholder-shown) fill for the career
   inputs) — the compose fields stay calm dark fields in every state. */
.profile-msg-from,
.profile-msg-from:hover,
.profile-msg-from:not(:placeholder-shown),
.profile-msg-input,
.profile-msg-input:hover,
.profile-msg-input:not(:placeholder-shown) {
  width: 100%;
  box-sizing: border-box;
  margin: 0.3rem 0 0.45rem;
  padding: 0.4rem 0.5rem;
  background-color: rgba(30, 30, 30, 1);
  color: rgba(230, 230, 230, 1);
  border: 0.0625rem solid rgba(80, 80, 80, 0.6);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: left;
  resize: none;
}
.profile-msg-from,
.profile-msg-from:hover,
.profile-msg-from:not(:placeholder-shown) {
  margin: 0.3rem 0 0;
}
.profile-msg-from:focus,
.profile-msg-input:focus {
  outline: 1px solid var(--brand-ring);
}
.profile-msg-send.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.profile-msg-send {
  text-align: center;
}
.profile-msg-alt {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  color: rgba(150, 150, 150, 1);
}
.profile-msg-email {
  color: var(--brand);
  -webkit-user-select: all; /* iOS Safari < 16.4 — tap to select the whole address */
  user-select: all;
  overflow-wrap: anywhere;
}

/* Resume actions sit together beneath the privacy note. */
.resume-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.9rem;
  margin: 0.1rem 0 0.5rem;
}
.resume-links-row .resume-download-link {
  display: inline;
  margin: 0;
}
/* The owner-only download action sits naturally at the left. */
.resume-links-row #resume-download {
  margin-left: 0;
}
.resume-panel-drop.resume-drop {
  margin: 0.65rem 0 0.45rem;
}
.resume-panel-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.resume-panel-btn + .resume-panel-btn {
  margin-top: 0.4rem;
}
/* Small text action under the drop zone (presigned, owner-only download). */
.resume-download-link {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
  width: fit-content;
}
/* Below the desktop width the resume panel gets narrow (17rem, and it stacks),
   so "Show computed values" + "Download saved resume" no longer fit on one row
   and the download link dropped to its own line. Shrink the two links a touch
   (and tighten their gap + keep each on one line) so they stay side by side. */
@media (max-width: 1300px) {
  .resume-links-row {
    gap: 0.15rem 0.55rem;
  }
  .resume-links-row .resume-download-link {
    font-size: 0.62rem;
    white-space: nowrap;
  }
}
/* iOS-style toggle: a hidden checkbox over a track; the knob is the track's
   ::after, slid right and recolored when :checked. */
.vector-switch {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 1.05rem;
}
.vector-switch-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.vector-switch-track {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background: rgba(80, 80, 80, 1);
  transition: background 0.15s;
}
.vector-switch-track::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(220, 220, 220, 1);
  transition: transform 0.15s, background 0.15s;
}
.vector-switch-input:checked + .vector-switch-track {
  background: var(--brand-fill);
}
.vector-switch-input:checked + .vector-switch-track::after {
  transform: translateX(0.95rem);
  background: #fff;
}
.vector-switch-input:focus-visible + .vector-switch-track {
  outline: 0.125rem solid var(--brand);
  outline-offset: 0.125rem;
}
/* Company details panel — sits under the company card in the detail drawer
   (functions/cards.js renderCompanyStats). Like every drawer panel it's a
   flat, full-width section divided from the card above by a hairline (the
   drawer body is the card now — no box chrome of its own). */
.company-stats-panel {
  width: 100%;
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--brand-ring-soft);
  color: rgba(200, 200, 200, 1);
}
.company-stats-title {
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand);
  margin: 0 0 0.5rem;
}
.company-stats-list {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.company-stat {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.28rem 0;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.06);
}
.company-stat:first-child {
  border-top: none;
}
.company-stat-key {
  flex: 0 0 4.7rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(150, 150, 150, 1);
}
.company-stat-val {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: rgba(225, 225, 225, 1);
  word-break: break-word;
}
.company-stat-link {
  color: var(--info-blue);
  text-decoration: none;
}
.company-stat-link:hover {
  text-decoration: underline;
}
.company-stats-disclaimer {
  margin: 0.6rem 0 0;
  padding-top: 0.5rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.06);
  font-size: 0.66rem;
  line-height: 1.35;
  font-style: italic;
  color: rgba(130, 130, 130, 1);
}
/* "About <company>" blurb on stamped job pages: the company description + company-page link,
   compact, inside the same flat stats-panel chrome. */
.company-about-text {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(200, 200, 200, 0.9);
}
.company-about-link {
  font-size: 0.8rem;
  color: var(--brand);
}
/* "About this role" — our own long-form write-up (descriptionFull) shown on the
   stamped job page as readable paragraphs beside the stats/about sections. */
/* ⚠️ A PLAIN WRAPPER SINCE 2026-08-26. It used to be the whole section — its
   own box, its own hairline, its own heading — because a crawled job page had
   no section shell of its own. It sits inside .hosted-job-section now, the same
   one an authored posting's sections use, so the box, the rule and the heading
   all come from there and this is only what holds the paragraphs. */
.crawled-job-desc {
  width: 100%;
}
.crawled-job-desc-p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(215, 215, 215, 0.92);
}
.crawled-job-desc-p:last-child {
  margin-bottom: 0;
}
/* A SUBHEADING INSIDE A WRITE-UP. The long-form text on a job page, a posting
   and a company page is one splitter (hostedJobsHtml.js descriptionParagraphs),
   which reads a `## ` line as a heading — so employers can give their own copy
   structure without any of them being able to write markup into a public page.
   Quieter than .company-stats-title, which names the whole SECTION: this sits
   inside one, so it is white rather than brand and takes its space from above,
   where the break in the reading actually is. */
.detail-desc-h {
  margin: 1.2rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
}
.detail-desc-h:first-child {
  margin-top: 0;
}
/* An authored posting's "About the role". It was one escaped block until
   2026-08-25 and is now the same paragraphs everything else here uses, so it
   needs the gap between them that a single <p> never did. */
.hosted-job-desc-p {
  margin: 0 0 0.7rem;
  line-height: 1.45;
}
.hosted-job-desc-p:last-child {
  margin-bottom: 0;
}
/* "Looking for" / "Offering" lists rendered under the spotlighted profile card
   (functions/cards.js renderProfileLists) — also reused (editable) in the
   profile editor's Lists section. */
.profile-lists {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 auto;
  width: 14rem;
  padding-top: 0.5rem;
}
.profile-list-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.profile-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.profile-list-item {
  background-color: rgba(40, 40, 40, 1);
  border: 0.0625rem solid rgba(70, 70, 70, 1);
  border-radius: 0.4rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.85rem;
  color: rgba(220, 220, 220, 1);
}
.profile-list-empty {
  font-size: 0.85rem;
  color: rgba(140, 140, 140, 1);
  font-style: italic;
}
/* Editable rows (editor only): a single-line editable input-style chip + a remove
   control, and the "+ Add" ghost button beneath. Styled to match the site's
   editable fields (orange focus ring, like the profile card's contenteditables). */
.profile-list-item--edit {
  display: flex;
  align-items: flex-start; /* keep × at the top line when the text wraps */
  gap: 0.35rem;
  width: 100%;
  padding: 0.3rem 0.35rem 0.3rem 0.6rem;
  /* Warm, on-brand look instead of the flat gray chip: faint orange tint + a
     thin brand-tinted border, with a stronger orange accent bar on the left. */
  background-color: rgba(255, 133, 0, 0.07);
  border: 0.0625rem solid rgba(255, 133, 0, 0.3);
  border-left: 0.18rem solid var(--brand-fill);
  border-radius: 0; /* sharp edges, matching the rest of the app */
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.profile-list-item--edit:focus-within {
  border-color: var(--brand-fill);
  background-color: var(--brand-ring-soft);
  box-shadow: 0 0 0 0.15rem var(--brand-ring-soft);
}
.profile-list-text {
  flex: 1 1 auto;
  min-width: 0;
  outline: none;
  /* Auto-wrap by width (no manual line breaks — Enter is blocked and pasted
     newlines are flattened to spaces in session.js). Long words break too. */
  white-space: normal;
  overflow-wrap: anywhere;
}
/* Placeholder for a fresh/empty row so it doesn't read as a blank chip. */
.profile-list-text:empty::before {
  content: "Type here…";
  color: rgba(120, 120, 120, 1);
  pointer-events: none;
}
/* Round remove button: muted by default, turns red on hover (matches the site's
   interactive controls). */
.profile-list-remove {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  line-height: 0;
}
.profile-list-remove svg {
  width: 0.6rem;
  height: 0.6rem;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.profile-list-remove:hover svg {
  opacity: 1;
}
/* "+ Add" as a ghost pill: dashed brand outline, fills orange on hover. */
.profile-list-add {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.2rem 0.65rem 0.25rem;
  border: 0.0625rem dashed var(--brand-fill-edge);
  border-radius: 0; /* sharp edges, matching the rest of the app */
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.profile-list-add:hover {
  background-color: var(--brand-fill);
  border-color: var(--brand-fill);
  color: white;
}
/* Opportunities tab: private matching details followed by email controls. */
.opportunity-privacy-note {
  margin: 0.25rem 0 0.85rem;
  color: rgba(165, 165, 165, 1);
  font-size: 0.75rem;
  line-height: 1.4;
}
.opportunity-block {
  margin-top: 0.75rem;
}
.opportunity-block + .opportunity-block {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 0.0625rem solid rgba(70, 70, 70, 0.45);
}
.opportunity-section-title {
  margin: 0 0 0.25rem;
  color: rgba(190, 190, 190, 1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.opportunity-permission-row {
  padding: 0.55rem 0 0.25rem;
}
.opportunities-section .job-alerts-section {
  margin: 0;
  padding: 0.45rem 0 0.55rem;
  border-bottom: 0.0625rem solid rgba(70, 70, 70, 0.4);
}
.profile-permissions-section {
  margin-bottom: 1rem;
}
.profile-permission-row {
  padding: 0.65rem 0;
}
.profile-permission-row + .profile-permission-row {
  margin-top: 0.15rem;
  border-top: 0.0625rem solid rgba(70, 70, 70, 0.4);
}
.opportunities-lists {
  margin-top: 0;
}
.opportunities-lists .profile-lists {
  width: 100%;
  gap: 0.9rem;
}
/* Private matching lists use the same subdued hierarchy as the rest of the
   sidebar. Scoped here so public profile lists keep their card treatment. */
.opportunities-lists .profile-list-label {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(205, 205, 205, 1);
}
.opportunities-lists .profile-list + .profile-list {
  padding-top: 0.8rem;
  border-top: 0.0625rem solid rgba(70, 70, 70, 0.35);
}
.opportunities-lists .profile-list-items {
  gap: 0;
}
.opportunities-lists .profile-list-item--edit {
  background: none;
  border: 0;
  /* Resting rows are clean text lines (like the Preferences rows — only the
     section headers carry hairlines); the underline exists but stays
     invisible until focus so editing keeps an affordance. */
  border-bottom: 0.0625rem solid transparent;
  padding: 0.14rem 0 0.2rem;
}
.opportunities-lists .profile-list-item--edit:focus-within {
  background: none;
  box-shadow: none;
  border-bottom-color: var(--brand-fill);
}
.opportunities-lists .profile-list-text {
  font-size: 0.74rem;
  line-height: 1.25;
  color: rgba(190, 190, 190, 1);
}
.opportunities-lists .profile-list-remove {
  width: 0.9rem;
  height: 0.9rem;
}
.opportunities-lists .profile-list-remove svg {
  width: 0.45rem;
  height: 0.45rem;
  opacity: 0.35;
}
.opportunities-lists .profile-list-add {
  border: 0;
  padding: 0.15rem 0;
  margin-top: 0.15rem;
  color: rgba(145, 145, 145, 1);
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 1;
}
.opportunities-lists .profile-list-add:hover {
  background: none;
  color: var(--brand);
  opacity: 1;
}
/* ---- Career panel (work experience + education) ---- */
.profile-career .profile-list-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 0.0625rem solid rgba(80, 80, 80, 0.5);
}
.career-group {
  margin-top: 0.75rem;
}
.career-entries {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
/* Career entry — a self-contained editable card that copies the JOB CARD's look
   (dark radial background, thin border, 1.75rem logo, title/company/description
   typography) without reusing .job/.card (whose flex + brand-orange border + the
   global input width were leaking in / overflowing). box-sizing:border-box + a
   hard overflow:hidden keep everything inside the card. No orange. */
.career-entry {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(ellipse at right top, rgba(10, 10, 10, 1) 0%, rgba(0, 0, 0, 1) 47%, rgba(10, 10, 10, 1) 100%);
  border: 0.0625rem solid rgba(190, 190, 190, 0.32);
}
.career-head {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.45rem 1.3rem 0.15rem 0.45rem; /* right pad clears the × */
}
/* Fixed-size placeholder box: reserves the logo's space so filling in the real
   company logo later never shifts the text. */
.career-logo-box {
  flex: 0 0 auto;
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.15rem;
  border-radius: 0.2rem;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
/* Once a real logo is in place, drop the grey placeholder behind it. */
.career-logo-box--filled {
  background: transparent;
}
.career-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.career-heading {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.career-body {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0 0.45rem 0.5rem;
}
/* Every field: strip the global input chrome and render as card text, constrained
   to the card width. Scoped under .career-entry so it outranks the global
   `input/textarea:not(:placeholder-shown)` rules (which paint filled fields
   brand-orange) and `input:hover`. Faint highlight on hover/focus = editable. */
.career-entry .career-input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0.08rem 0.2rem;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0;
  color: rgba(200, 200, 200, 1);
  font-family: inherit;
}
.career-entry .career-input:hover {
  background: rgba(255, 255, 255, 0.04);
}
.career-entry .career-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
}
.career-entry .career-input::placeholder {
  color: rgba(120, 120, 120, 1);
}
/* Typography copied from the job card (.job-title / .job-company / .job-description).
   .job-title sets no font-weight, so it inherits the site's 400 — match that
   (bigger size + white colour is what sets the title apart, not weight). */
.career-entry .career-title {
  font-size: 0.85rem;
  color: #fff;
}
.career-entry .career-company {
  font-size: 0.65rem;
  color: rgba(185, 185, 185, 1);
}
.career-entry .career-desc {
  font-size: 0.7rem;
  color: rgba(185, 185, 185, 1);
  line-height: 1.3;
  resize: none;      /* no drag handle — it auto-grows with content instead */
  overflow: hidden;  /* height is managed by JS; no inner scrollbar */
  min-height: 2.1rem;
}
.career-entry .career-period {
  font-size: 0.65rem;
  color: rgba(150, 150, 150, 1);
}
.career-remove {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  line-height: 0;
}
.career-remove svg {
  width: 0.6rem;
  height: 0.6rem;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.career-remove:hover svg {
  opacity: 1;
}
.career-add {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.45rem;
  padding: 0.2rem 0.65rem 0.25rem;
  border: 0.0625rem dashed rgba(150, 150, 150, 0.6);
  color: rgba(200, 200, 200, 1);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.career-add:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 200, 200, 0.8);
  color: white;
}
/* Personalization sliders rendered beside the card in the profile editor
   (functions/cards.js renderProfileVectors) — one 0..1 slider per dimension,
   shown only to the signed-in owner. The global input[type="range"] rules are
   tuned for the salary dual-thumb overlay (absolute, pointer-events:none); these
   selectors are scoped under .profile-vectors to win on specificity and reset
   them for standalone sliders. */
.profile-vectors {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 0 0 auto;
  width: 14rem;
  padding-top: 0.5rem;
}
.profile-vector-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.profile-vector-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: rgba(210, 210, 210, 1);
}
.profile-vector-value {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.profile-vectors input[type="range"] {
  position: static;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 0;
  height: 0.35rem;
  margin: 0;
  padding: 0;
  border-radius: 0.2rem;
  background: rgba(70, 70, 70, 1);
  cursor: pointer;
}
.profile-vectors input[type="range"]:hover {
  background: rgba(70, 70, 70, 1); /* cancel the global input:hover fill */
}
.profile-vectors input[type="range"]:disabled {
  cursor: default;
  opacity: 0.65;
}
.profile-vectors input[type="range"]::-webkit-slider-thumb {
  margin-bottom: 0;
  height: 0.85rem;
  width: 0.85rem;
}
.profile-vectors input[type="range"]::-moz-range-thumb {
  margin-bottom: 0;
  height: 0.85rem;
  width: 0.85rem;
}
/* Loading placeholder in the highlight card area: same footprint as the
   profile card (15 x 14.5rem) so the panel doesn't resize when the real card
   arrives. Plain dark half-opacity box by design. */
.profile-card-skeleton {
  width: 15rem;
  height: 14.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.profile-card-spinner {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--info-blue);
  animation: toast-spin 0.7s linear infinite;
}
.profile-card-loading {
  font-size: 0.85rem;
  color: rgba(160, 160, 160, 1);
}
@media (prefers-reduced-motion: reduce) {
  .profile-card-spinner { animation: none; }
}
/* Demo job cards on the About page (runtime listing cards are not wrapped). */
.job-card-wrap .job {
  min-height: 10rem;
}

/* ===== About / landing page — extracted from inline styles ===== */
.about-parallax {
  position: relative;
  width: 100%; /* not 100vw — see .header-container (scrollbar overflow) */
  overflow: hidden;
}
.about-hero {
  height: 100vh;
  max-height: 100vw;
  flex: 1;
  background-color: rgba(9,9,9,1);
  position: relative;
}
.about-hero-circuit {
  position: absolute;
  margin-top: 1.7rem;
}
/* The circuit frame is always 80% × 80% of the hero box (.about-hero is
   100vh capped at 100vw), so the loop mirrors the hero's aspect ratio on every
   screen — square on phones, wide on desktop — and stays centered on the
   wordmark. The svg stretches to this box (preserveAspectRatio="none"). */
.about-hero-circuit svg {
  width: 80vw;
  height: min(80vh, 80vw);
  display: block;
}
.about-hero-logo {
  /* Fluid size: rem-based sizing jumped at every root font-size breakpoint
     (and mid-widths rendered LARGER than desktop). This line runs smoothly
     from 150px at phone widths to 240px from 1300px up — the same endpoints
     the old rem values hit on desktop and mobile. */
  height: clamp(150px, 10vw + 110px, 240px);
}
.about-section {
  padding-top: 6rem;
  position: relative;
  padding-right: 4rem;
  padding-left: 4rem;
  border-top: 0.35rem solid rgba(5,5,5,1);
}
.section-title {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  padding-bottom: 20px;
}
.text-white {
  color: white;
}
.section-subtitle {
  font-size: 1.5rem;
  max-width: 480px;
  text-align: center;
  color: rgba(160,160,160,1);
  padding-bottom: 30px;
}
/* Flex children size to their content by default. On a narrow viewport that
   made the landing-page heading and copy retain a desktop-width line and get
   clipped by .about-parallax instead of wrapping. Give both an explicit
   available width so they reflow inside the section's horizontal padding. */
.about-section .section-title {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.about-section .section-subtitle {
  width: min(100%, 480px);
  overflow-wrap: anywhere;
}
.about-features {
  padding-top: 3rem;
  padding-left: 3rem;
  padding-right: 3rem;
  position: relative;
}
.about-feature-row {
  max-width: 45rem;
}
.about-feature-row-spaced {
  max-width: 45rem;
  padding-top: 2rem;
}
.about-feature-icon {
  height: 5rem;
}
.about-feature-text {
  font-size: 1rem;
  color: white;
  text-align: center;
  width: 65%;
}
.about-categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 45rem;
  margin-top: 5.5rem;
  justify-content: center;
  position: relative;
}
.category-link {
  margin: 0.25rem;
  background-color: rgba(20,20,20,1);
}
.is-dimmed {
  opacity: 0.35;
}
.category-link-label {
  font-size: 1.8rem;
  color: var(--brand);
  padding-top: 0;
  padding-right: 1.2rem;
  padding-bottom: 0.5rem;
  padding-left: 1.2rem;
}
.about-soon-wrap {
  position: absolute;
  /* Anchor to the bottom of the category grid so it always floats over the
     dimmed "coming soon" buttons (the last items), no matter how many rows the
     buttons wrap into on narrow screens. Anchoring from the top broke on mobile
     because extra wrapped rows pushed active buttons down under the badge. */
  bottom: 1.4rem;
}
.launching-badge {
  rotate: -3.5deg;
  background-color: rgba(150,20,20,1);
  font-size: 1.45rem;
  color: rgba(200,200,200,1);
  padding-top: 0;
  padding-right: 1.2rem;
  padding-bottom: 0.5rem;
  padding-left: 1.2rem;
}
.about-join {
  margin-top: 7rem;
  padding-top: 2.6rem;
  position: relative;
  background-color: rgba(10,10,10,1);
  border-top: 0.35rem solid rgba(5,5,5,1);
}
.about-join-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 45rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  position: relative;
}
.about-company-showcase {
  width: 100%;
  min-height: 24rem;
}
.about-company-showcase .slider:hover .slider-track,
.about-company-showcase .slider:focus-within .slider-track {
  animation-play-state: paused;
}
.about-company-card-wrap {
  /* Match the compact Companies listing's minimum column size. The listing
     class on the showcase supplies the exact same card-width behavior. */
  width: 13rem;
}
.join-btn {
  margin: 0.25rem;
  background-color: rgba(20,20,20,1);
  cursor: pointer;
}
.join-btn-label {
  background-color: rgba(5,5,5,1);
  font-size: 1.8rem;
  color: var(--brand);
  padding-top: 0;
  padding-right: 1.2rem;
  padding-bottom: 0.5rem;
  padding-left: 1.2rem;
}
.justify-center {
  justify-content: center;
}
.slider-offset {
  margin-top: -0.3rem;
}
.about-info-row {
  margin-top: 0.3rem;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.about-info-label {
  font-size: 0.9rem;
  color: rgba(160,160,160,1);
}
.about-privacy-wrap {
  margin-bottom: 1rem;
}
.card-margin {
  margin: 0.5rem;
}
.job-card-wrap {
  width: 17rem;
  margin: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .about-company-showcase .slider-track {
    animation: none;
  }
  .about-company-showcase .slider {
    overflow-x: auto;
  }
}
.about-layer-jobs-1 {
  position: absolute;
  top: 6.6rem;
  left: -16.72rem;
}
.about-layer-jobs-2 {
  position: absolute;
  top: 28.09rem;
  left: 0.8rem;
}
.about-layer-prof-1 {
  position: absolute;
  top: -11.8rem;
  right: -12.3rem;
}
.about-layer-prof-2 {
  position: absolute;
  top: -11.8rem;
  right: 3.4rem;
}
.about-layer-prof-3 {
  position: absolute;
  top: -11.8rem;
  right: 19.2rem;
}

/* (The hero logo's mobile size is handled by the fluid clamp() on
   .about-hero-logo — no breakpoint override needed.) */

/* Visible keyboard focus for pressable controls (functions/a11y.js gives them
   role="button" + tabindex). Mouse clicks don't trigger :focus-visible, so this
   only shows for keyboard navigation. */
.pressable:focus-visible {
  outline: 2px solid var(--info-blue);
  outline-offset: 2px;
  border-radius: 0.4rem;
}

/* --- Global status toast (functions/toast.js) ---
   Success and error only since 2026-08-16: 'loading' no longer draws a bubble,
   it lights the page header's spinner instead (`.header-loader`, over in
   styles/header.css), so the rules for `.toast-spinner` and `.toast--loading`
   went with it. */
.toast {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: min(20rem, calc(100vw - 2rem));
  padding: 0.48rem 0.7rem;
  border: 0.0625rem solid rgba(255, 133, 0, 0.3);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.97);
  color: rgba(225, 225, 225, 1);
  font-family: "Darker Grotesque", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  box-shadow: 0 0.4rem 1.25rem rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translate(-50%, -0.3rem);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast--error {
  border-color: rgba(255, 77, 79, 0.42);
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.2s ease; transform: translate(-50%, 0); }
}
.toast-icon {
  display: grid;
  place-items: center;
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}
.toast--success .toast-icon::before {
  content: "✓";
}
.toast--error .toast-icon {
  color: rgba(255, 95, 95, 1);
}
.toast--error .toast-icon::before {
  content: "×";
}
/* Kept for .profile-card-spinner, the only spinner in this sheet. (The page
   header's ring has its own copy in styles/header.css, which is standalone.) */
@keyframes toast-spin {
  to { transform: rotate(360deg); }
}

/* The phone layout deliberately shrinks the root rem size to preserve the card
   grid. Toasts are viewport-level feedback, so keep them readable in fixed
   pixels on every mobile page instead of inheriting that content scaling. */
@media (max-width: 600px) {
  .toast {
    gap: 8px;
    max-width: calc(100vw - 24px);
    padding: 9px 14px;
    font-size: 15px;
    line-height: 1.2;
  }
  .toast-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    font-size: 16px;
  }
}

/* 404 page (pages/shared.jsx NotFound → output/404.html) */
.notfound-page {
  /* 100% of the .Page-container that now wraps it, not 100vh: that container
     has already grown to the space between the header and the footer, so a
     viewport-height block inside it pushed the footer a header's-worth below
     the fold. `width` too — it is a flex ITEM of a row container now, and would
     otherwise shrink-wrap to the text. */
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
}
.notfound-logo { width: 180px; max-width: 60vw; height: auto; }
.notfound-title { font-size: 28px; margin: 0; }
.notfound-text { opacity: 0.7; margin: 0; }
/* One link normally ("Back to Ranked"); two when the failed URL was an expired
   job and functions/notFound.js puts that job's own listing ahead of the
   general one. The 8px used to sit on the link itself — it is on the row now so
   the spacing above is the same whether there are one or two, and so the pills
   never touch when they wrap onto a phone. */
.notfound-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.notfound-home-link {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand, #ff7a00);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
/* The first link is the one that answers the question the visitor arrived with
   — their category's live jobs. Anything after it is a wider fallback, so it
   reads as secondary rather than as a second equal choice. */
.notfound-links .notfound-home-link:not(:first-child) {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: 0.7;
  font-weight: 600;
}


/* A short, curated route from broad job categories to useful specialist
   searches. These are ordinary links (not filter-query permutations), giving
   people and crawlers a stable hierarchy without turning every facet into a
   crawlable URL. */
/* ===== "Ranked for you" notice =============================================
   The personal feed's honesty line, above the grid (PersonalNotice in
   pages/ListPage.jsx). BOTH messages are in the HTML and both are hidden here;
   the two selectors below are the only things that reveal one:
     data-session="out"                        → signed out
     data-session="in" + data-match-profile    → signed in, nothing to match on
   Neither attribute exists without JavaScript, so a no-JS visitor is never told
   about a session state nothing has checked. */
.personal-notice {
  display: none;
  width: calc(100% - 2rem);
  box-sizing: border-box;
  /* Sits between the page header and the grid, so it needs air above (it was
     rendering flush against the header) and almost none below — `.container`
     already contributes 0.6rem of padding-top before the first card, and the
     notice reads as belonging to the list it introduces. */
  margin: 0.85rem 1rem 0;
  padding: 1rem 1.1rem 1.05rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  border: 1px solid var(--brand-fill-edge);
  border-left-width: 0.25rem;
  border-radius: 0.4rem;
  background: var(--brand-ring-soft);
}
html[data-session="out"] .personal-notice--out,
html[data-session="in"][data-match-profile="off"] .personal-notice--profile {
  display: flex;
}
.personal-notice-lead {
  margin: 0;
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}
.personal-notice-body {
  /* The measure the header's own description uses — a callout that runs the
     full grid width is a wall of text on a desktop listing. */
  max-width: 44rem;
  margin: 0;
  color: rgba(215, 215, 215, 1);
  font-size: 1rem;
  line-height: 1.3;
}
.personal-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}
.personal-notice-cta {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--brand-fill-edge);
  border-radius: 1.2rem;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.personal-notice-cta--primary {
  border-color: var(--brand-fill);
  background: var(--brand-fill);
  color: black;
}
.personal-notice-cta:hover,
.personal-notice-cta:focus-visible {
  border-color: var(--brand-ring);
  background: var(--brand-fill);
  color: black;
}

/* ===== "Ranked for you": holding back the baked order =======================
   Every listing page ships the first page of cards in its static HTML — the
   prebuilder bakes them for SEO and first paint, and on the six personal pages
   it bakes the only order it can know, the PUBLIC one. Signed in that is the
   wrong list: the fetch a moment later comes back with `similarity` on every
   job and the grid re-sorts, so the page opened by showing one ranking and then
   visibly rearranging into another — on the pages whose whole purpose is the
   second one.

   So the baked cards are held until the personalised data has painted, and ONLY
   for a visitor `data-session` says is signed in. Signed out (and on a browser
   that has never resolved a session) the public order IS their order and shows
   in the first frame, exactly as it does on the plain category pages, which
   nothing here touches.

   `.is-ranked` is set by functions/itemsLoader.js the moment it renders — and
   also if the fetch FAILS, so a page that cannot reach the API falls back to the
   baked cards rather than an empty grid.

   `.items-grid` is `display: contents`, so it has no box of its own to cover:
   the treatment goes on the CARDS, which are the real grid items and hold the
   grid's shape while they wait. It is the same one the detail pages already use
   for a card whose listing has not arrived (`.job-card-placeholder`) — recede,
   and spin quietly. `!important` on both paints because the card carries an
   inline `border-color` (its rank colour) and `.job` sets its background with
   `!important` of its own. */
html[data-session="in"] .items-grid--personal:not(.is-ranked) > .card {
  position: relative;
  background: #0c0c10 !important;
  border-color: rgba(135, 135, 135, 0.12) !important;
}
html[data-session="in"] .items-grid--personal:not(.is-ranked) > .card > * {
  visibility: hidden;
}
html[data-session="in"] .items-grid--personal:not(.is-ranked) > .card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 0.9rem;
  margin: -0.45rem;
  box-sizing: border-box;
  border: 0.08rem solid rgba(170, 170, 170, 0.09);
  border-top-color: rgba(170, 170, 170, 0.22);
  border-radius: 50%;
  animation: job-placeholder-spin 3s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  html[data-session="in"] .items-grid--personal:not(.is-ranked) > .card::after {
    animation: none;
  }
}

.related-job-searches {
  width: min(72rem, calc(100% - 2rem));
  box-sizing: border-box;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.related-job-searches-title {
  margin: 0 0 0.8rem;
  color: rgba(190, 190, 190, 1);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.related-job-searches-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.25rem;
}
.related-job-searches-link {
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.related-job-searches-link:hover,
.related-job-searches-link:focus-visible {
  text-decoration: underline;
}

/* ===== Similar jobs (generated job detail pages) =====
   The links from one job to other jobs. Sits at the foot of the reading
   column, INSIDE detailLayout's main — unlike .related-job-searches above,
   which is a page-wide strip under the listing grid and leads to tag landing
   pages rather than to individual roles.
   The site's own job cards, in a grid — see .related-jobs-grid below. */
.related-jobs {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.related-jobs-title {
  margin: 0 0 0.9rem;
  color: rgba(190, 190, 190, 1);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* ⚠️ A GRID OF THE SITE'S OWN CARDS since 2026-08-26, where this was a list of
   anchors. Same track sizing as a company page's open positions
   (.company-jobs-grid), so the two card grids on the generated pages measure
   alike; 15.5375rem is the card's own natural width. */
.related-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5375rem, 1fr));
  gap: 0.6rem;
}
/* The list form is retired. Its rules are kept OUT rather than left behind —
   .related-jobs-list / -item / -link / -role / -company no longer appear in any
   markup, and a stylesheet that still describes them invites the next person to
   wonder which form is current. */

/* ===== Site footer (all pages) =====
   Centered stack with a clear rhythm: logo + tagline, section links, smaller
   legal links, the company facts (会社概要) under a hairline, then the © +
   disclaimer line under a second hairline. */
/* The SITE FOOTER lives in its own sheet — styles/footer.css. Like the page
   header it is sized in its own px ladder rather than in `rem`, so it renders
   identically on every page and on the chat, whatever font-size that document
   hands its root. Nothing about the footer belongs in here. */

/* ===== Register-form benefit bullets (authBenefitsHtml) ===== */
/* Post-send confirmation (renderAuthConfirmation). */
.auth-confirm-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(200,200,200,1);
  max-width: 21rem;
}
.auth-confirm-text strong {
  color: var(--brand);
}

/* Consent-row links (Privacy Policy / Terms) inside the register form. */
.permission-row a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Elements outside the tag system that reuse the instant tooltip (tagtip.js) —
   e.g. the relay address on profile cards. The dotted underline is declared with
   .tag--est above, where the reason for it is written down. */
.has-tip {
  cursor: help;
}

/* ===== Mobile filter collapse (listing sidebar) — DISABLED =====
   The filters are always visible at every width; the "Filters ▾" toggle never
   shows (user prefers no collapse on narrow devices). The toggle markup
   (ListPage.jsx) and its click handler (globalfilters.js) are still in place —
   restore the old behavior by re-adding the max-width:755px block that showed
   .filters-toggle and hid #filters until .filters-open (see git history). */
.filters-toggle {
  display: none;
}


/* Footer contact link on the About info row. */

/* ===== About: numbered 3×2 feature list.
   Features wear the site's card look (.card: #151419, sharp corners, thin
   border) so the grid matches the listing pages; the white border is the
   base rank tier. ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  justify-items: stretch;
  width: 100%;
  max-width: 50rem;
}
@media (max-width: 600px) {
  /* Phones: feature boxes two per row, and the grid narrows to 85% so the
     section keeps a margin from the screen edges. */
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.5rem;
    max-width: 85%;
  }
  /* 2-column rows on phones: the last row is 05+06 — 04 sits mid-grid and
     must not carry the closing rule. */
  .about-feature-num:nth-child(4) {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
/* Numbered feature items ("ranked" as literal numerals): orange hairline top
   rule, big 01–06 numeral, bold title, one-line description. No boxes, no
   icons — pure typography on the page's black. */
.about-feature-num {
  text-align: left;
  border-top: 0.125rem solid rgba(255, 133, 0, 0.35);
  padding-top: 0.7rem;
}
.about-feature-numeral {
  display: block;
  color: var(--brand);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}
.about-feature-title {
  color: white;
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}
.about-feature-line {
  color: rgba(150, 150, 150, 1);
  font-size: 0.78rem;
  line-height: 1.38;
  margin: 0;
}
/* Closing rule under the last row (04–06 on the 3-column desktop grid),
   mirroring the top rules so the block reads framed. Bottom padding matches
   the 1.6rem row gap, so the framed area of the last row reads the same
   height as the space rows 01–03 get between their top rule and the next
   row's rule. */
.about-feature-num:nth-child(n+4) {
  border-bottom: 0.125rem solid rgba(255, 133, 0, 0.35);
  padding-bottom: 1.6rem;
}

/* Inline registration CTA under the six-point landing-page explanation. It is
   intentionally a real form, not a button that opens the drawer: the visitor
   has just learned why Ranked is useful and can create the account in place. */
.about-register-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  width: min(100%, 45rem);
  margin-top: 4rem;
  padding: 2.2rem;
  box-sizing: border-box;
  border-top: 0.125rem solid rgba(255, 133, 0, 0.6);
  border-bottom: 0.125rem solid rgba(255, 133, 0, 0.25);
  background: linear-gradient(120deg, rgba(24, 17, 9, 0.7), rgba(8, 8, 8, 0.95) 58%);
}
.about-register-copy {
  align-self: center;
  width: min(100%, 30rem);
  margin-inline: auto;
  text-align: center;
}
.about-register-kicker {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-register-copy h2 {
  margin: 0 0 0.55rem;
  color: white;
  font-size: 1.65rem;
  line-height: 1.05;
}
.about-register-copy > p:last-child {
  margin: 0;
  color: rgba(160,160,160,1);
  font-size: 0.8rem;
  line-height: 1.45;
}
.about-register-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(100%, 28rem);
  margin-inline: auto;
  min-width: 0;
}
.about-register-label {
  color: rgba(215,215,215,1);
  font-size: 0.75rem;
  font-weight: 700;
}
.about-register-email {
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  padding: 0 0.8rem;
  box-sizing: border-box;
  border: 0.0625rem solid rgba(95,95,95,1);
  border-radius: 0;
  outline: none;
  background: rgba(20,20,20,1);
  color: white;
  font: 0.82rem 'Nunito', sans-serif;
}
.about-register-email:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.125rem rgba(255, 133, 0, 0.16);
}
.about-register-email::placeholder {
  color: rgba(120,120,120,1);
}
.about-register-consents {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.2rem;
}
.about-register-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(165,165,165,1);
  font-size: 0.68rem;
  line-height: 1.4;
  cursor: pointer;
}
.about-register-consent input {
  width: auto;
  margin: 0.15rem 0 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
}
.about-register-consent a {
  color: rgba(215,215,215,1);
  text-decoration: underline;
  text-underline-offset: 0.12rem;
}
.about-register-submit {
  width: 100%;
  min-height: 2.35rem;
  margin-top: 0.25rem;
  border: 0.0625rem solid var(--brand);
  border-radius: 0;
  background: var(--brand);
  color: black;
  font: 800 0.92rem 'Darker Grotesque', sans-serif;
  cursor: pointer;
}
.about-register-submit:hover:not(:disabled),
.about-register-submit:focus-visible:not(:disabled) {
  background: white;
  border-color: white;
}
.about-register-submit:disabled {
  border-color: rgba(70,70,70,1);
  background: rgba(25,25,25,1);
  color: rgba(115,115,115,1);
  cursor: default;
}
.about-register-message {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
}
.about-register-message--success { color: var(--brand); }
.about-register-message--error { color: rgba(255, 105, 105, 1); }

@media (max-width: 700px) {
  .about-register-cta {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    width: 90%;
    padding: 1.5rem;
  }
}

/* ===== Self-hosted careers pages (render/renderHostedJobs.js) ============== */
/* The footer FOLLOWS the content — on a short page (a company with few jobs)
   it rides up under the last section rather than pinning to the viewport
   bottom, which left a large void between content and footer. (The flex
   column is kept for the header/main/footer stacking; main just doesn't
   stretch.) */
body.hosted-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body.hosted-page main { flex: 0 0 auto; width: 100%; }
/* Chrome: these pages reuse the REAL header markup/classes (siteHeader in
   render/renderHostedJobs.js), and ALL of that styling — including the width
   this rule used to state — lives in styles/header.css now. */
/* Full page width (like the listing pages) — the sidebar column is fixed, the
   content column takes the rest. */
.hosted-careers,
.hosted-job {
  margin: 0 auto;
  /* border-box: main is width:100% (see body.hosted-page main), so without it
     the side padding pushed the page wider than small screens. */
  box-sizing: border-box;
  /* Top padding is modest — the full site header above already gives the page
     its breathing room (was 3rem when the chrome was a slim one-line bar).
     Bottom stays small too: the footer follows directly, no standoff needed. */
  padding: 1.5rem 1.5rem 2rem;
  /* The cards' text grey, not a brighter one-off. */
  color: rgba(200, 200, 200, 1);
  /* Readable body typography: the global reset sets body{line-height:1} and the
     site font is the condensed display "Darker Grotesque", which is hard to read
     for long-form job copy. Give these standalone pages a normal line-height and
     a clean sans body font at the CARD text scale the rest of the site runs at
     (headings below stay tighter). */
  font-family: 'Nunito', sans-serif;
  line-height: 1.5;
  font-size: 0.88rem;
}
.hosted-careers-logo,
.hosted-job-logo {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
  margin-bottom: 0.6rem;
}
.hosted-careers-title,
.hosted-job-title {
  /* The site's display face (body font everywhere else on ranked.jp) — the
     hosted/generated pages keep Nunito for long-form copy, but the hero title
     in the brand type is what makes them read as the same site.
     2.15rem, not the 2.4 it started at: a job title runs long ("Senior System
     Software Engineer - Automotive") and at the larger size it filled the
     column and dwarfed everything under it. */
  font-size: 2.15rem;
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 800;
  margin: 0 0 0.35rem;
  line-height: 0.95;
  color: white;
}
.hosted-careers-intro,
.hosted-job-sub {
  color: rgba(160, 160, 160, 1);
  margin: 0 0 1rem;
}
/* The employer, directly under the title: the display face so the two read as
   one block, a clear step down from it, and brighter than the page's muted
   grey — it is a name, not a caption. */
.hosted-job-sub {
  font-family: "Darker Grotesque", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(195, 195, 195, 1);
}
/* Company links read as pressable from the cursor and the brand hover below —
   NO UNDERLINE. It was a dotted rule under the company's name in the line
   beneath a job title, where the page already leads to that company from its
   docked card's title and logo. */
.hosted-job-sub .job-company-trigger {
  cursor: pointer;
}
.hosted-job-sub .job-company-trigger:hover { color: var(--brand); }
/* Quiet meta line (job pages' "More about X →" link). */
.hosted-careers-meta { font-size: 0.85rem; color: rgba(150, 150, 150, 1); }

/* ---- generated DETAIL pages (a crawled job, a company, a hosted posting) ----
   functions/hostedJobsHtml.js detailPageFromListing builds these out of a
   listing page's shell: the site's rail, page header and footer stay, the
   listing's own body is replaced by the item's two columns. Everything below
   the header is .hosted-job — the type scale, the grid and the docked panel
   the hosted postings already had — so all three page kinds are one design.
   (The hairline under the header on these pages is in styles/header.css, with
   the rest of the header.) */
.detail-page {
  /* FULL width, stated rather than inherited: .Page is a flex column and the
     `margin: 0 auto` .hosted-job carries turns OFF the cross-axis stretch —
     left to itself the page shrink-wraps to its content. A detail page is two
     columns, one of them a fixed 20rem panel, so it should take whatever the
     rail gives back rather than sitting in a 72rem box with the space beside
     it empty. (The reading measure is capped on the copy itself, below.) */
  width: 100%;
}
/* The item's name (and, on a job, who and where), above both columns: the
   hero's type, divided from the content by the hairline the hosted postings'
   own hero uses. */
/* The head reads as THREE groups, spaced apart rather than ruled apart:
   identity (title + company), what the work is (the skill chips), and the two
   actions. Its old hairline is gone — the page already draws one under the
   site header, and a second one 150px below it, at a different width, was the
   thing that made this corner feel unresolved. The facts' uppercase labels
   open the next block clearly enough on their own. */
.detail-head {
  /* Clear of the header's rule above and of the chips below — the title needs
     air on both sides to read as the page's subject rather than the first line
     of a block. */
  padding-top: 0.75rem;
  margin-bottom: 2.25rem;
}
.detail-title { margin: 0; }
.company-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.company-title-row > h1 { min-width: 0; overflow-wrap: anywhere; }
.company-title-row .company-title-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
  border-radius: 4px;
}

/* The company's mark sits ON the line that names it, so the row is a flex
   box rather than an image floating in a paragraph. */
.detail-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Close to the title — they are one unit, the job and who is offering it —
     but not touching its descenders. */
  margin: 0.5rem 0 0;
}
/* The employer's name IS the link to their page (jobDetailHead). Dotted
   underline + brand hover, the same "pressable name" treatment the hosted
   postings' hero gives it. */
/* No underline: at display size the dotted rule the small "pressable name"
   treatment uses reads as fuzz under the letters. Brand on hover is the same
   affordance the page's other in-content link (the category fact) uses. */
.detail-company-link {
  color: inherit;
  text-decoration: none;
}
.detail-company-link:hover { color: var(--brand); }
/* The link WRAPS the mark and the name, so it has to be the flex row .detail-sub
   (and .hosted-job-head .hosted-job-sub) was — an inline anchor around both
   children collapses the gap those rules set between them. Same values, moved
   one level in. The whole line hovers to brand as one control, which is what it
   already looked like before it was one. */
.hosted-job-sub .detail-company-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.detail-logo {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  object-fit: contain;
  /* Optically centred, not box-centred: Darker Grotesque carries tall
     ascenders, so its letters sit a shade below the middle of their line box
     and a mark centred on that box reads as riding high. */
  position: relative;
  top: 1px;
}
/* The card's tag chips, moved up under the title — the job's own page shows no
   card, so this is where its quick facts live. Same .tag markup as the card
   (hedged ⓘ tooltips and all), re-laid: the card packs them into three fixed
   columns, here they flow as a row of chips and take the page's type size
   rather than the card's 0.6rem. */
.detail-tags {
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding-top: 0;
  padding-bottom: 0;
}
/* Title line: the name, and the heart pushed to the column's right edge.
   flex-start, not center — a title that wraps to two lines keeps the heart on
   the first one, level with where reading starts. */
.detail-title-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.detail-title-row .detail-save {
  margin-left: auto;
  /* Optically level with the cap-height of the line beside it. */
  margin-top: 0.3rem;
}
/* Outlined, not filled. These are the job's SKILLS — keywords, the least
   urgent thing in the head — and as the site's solid white filter-button
   rectangle they were its loudest, competing with the apply button for the
   eye. Ghosted, they group as one texture and the only filled shape in the
   head is the one action. (The hosted postings' hero keeps the solid chip:
   there the chips are the posting's FACTS, not its keywords.) */
.detail-tags .tag {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 1.6rem;
  padding: 0 0.6em;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  color: rgba(235, 235, 235, 1);
  font-size: 0.78rem;
}
.detail-tags .tag-text { font-size: 0.78rem; color: inherit; }
.detail-tags .tag-info { font-size: 0.62rem; color: rgba(150, 150, 150, 1); }
/* Facts across a reading column, on BOTH detail page kinds: the job's
   attributes and the company's hiring numbers. Label over value, no chrome,
   the columns doing the aligning — the company page's cells used to be boxed,
   which made a page with six of them read as a form rather than a summary. */
.detail-facts { margin-bottom: 1.9rem; }
.detail-facts-grid,
.company-hiring-facts {
  display: grid;
  /* 8.5rem: the common six facts (location, salary, employment, language,
     posted, category) fit ONE row at full width, and four still fit the
     narrower column the page has with the rail open. */
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 1.1rem 1.75rem;
  margin: 0;
}
.detail-fact dt,
.company-hiring-fact dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(140, 140, 140, 1);
}
/* A fact that is also a route (the category listing). Quiet until hovered —
   the value should read as the value, not as a call to action. */
.detail-fact-link { color: inherit; text-decoration: none; }
.detail-fact-link:hover { color: var(--brand); }
/* An estimated value keeps the chip's ⓘ; size it to this type, not the card's. */
.detail-fact .tag-info { font-size: 0.62rem; }
.detail-fact .has-tip { cursor: help; }
.detail-fact dd,
.company-hiring-fact dd {
  margin: 0.2rem 0 0;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

/* ── the JOB's facts, docked ────────────────────────────────────────────────
   ⚠️ NO TYPE OF THEIR OWN, deliberately (settled 2026-08-26). These rows
   briefly wore the .detail-facts GRID's voice — a white Darker Grotesque
   1.25rem value over a small grey label — on the reasoning that they are the
   facts a reader came for. They are, but a DOCKED PANEL is a docked panel: the
   company panel that sits in the same slot on other pages is Nunito 0.82rem
   grey, and a job page whose panel shouted while a company page's murmured read
   as two different components rather than one. So .company-stat governs both,
   and `job-facts` stays as a scoping hook and nothing else. */
.job-facts .has-tip { cursor: help; }

/* The job page's two actions, on one row under the tag chips: the apply CTA
   the whole page leads to, and the card's heart with a label beside it (there
   is no card here to carry one). functions/likejob.js drives the heart. */
.detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  /* A bigger step than the gaps inside the identity block above: these are the
     only two things on the page you can DO, so they read as their own group
     rather than as a fourth line of the header. */
  margin-top: 1.5rem;
}
.detail-save { margin: 0; }
.detail-save .job-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
}
.detail-save .job-like-image { width: 1.15rem; height: 1.15rem; }
/* Icon only — a 44px-ish target around it so it is still thumb-sized. */
.detail-save .job-like-image-container { padding: 0.35rem; margin: -0.35rem; }
/* Dividers: as few as the page can do with. These sections carry
   .company-stats-panel / .crawled-job-desc so they can also be lifted INTO the
   DRAWER, where a hairline above every panel is the house rhythm — in a 30rem
   column with no headings to spare, the rules ARE the structure. A page has
   room and headings, so the rules only add noise: four of them down one column
   chop the reading into slabs. Space separates them here instead.
   What stays: the one under the head, the column divider, and the one over
   the panel's details — each of those separates two different KINDS of thing.
   The side keeps the site's hairline rather than the drawer's brand-tinted. */
.hosted-job-body > .company-stats-panel,
.hosted-job-body > .company-stats-disclaimer,
.hosted-job-main .hosted-job-section {
  border-top: 0;
  padding-top: 0;
  margin-top: 1.9rem;
}
/* No rule over the panel's details either — the card above it already ends in
   whitespace, and the column divider is the only line this side needs. */
.hosted-job-side > .company-stats-panel {
  border-top: 0;
  padding-top: 0;
  margin-top: 1.4rem;
}
/* Long-form copy: the page's reading measure and colour, one step brighter
   than the surrounding UI text so the write-up leads. The max-width is the
   only thing not filling the column — past ~100 characters a line stops being
   readable, and the page is full-width now. */
.hosted-job-body .crawled-job-desc-p,
.hosted-job-body .detail-desc-h,
.hosted-job-body .hosted-job-desc,
.hosted-job-body .company-about-text,
.hosted-job-body .company-intro {
  max-width: 62rem;
}
/* The company's description, opening its page — the same reading copy as a
   job's write-up, set apart from the hiring section below it. It is SEVERAL
   paragraphs now (hostedJobsHtml.js splits it on blank lines), so the 1.9rem
   below is the gap to the next section and the rule after this one gives the
   paragraphs inside it a tighter one. */
.hosted-job-body .company-intro {
  margin: 0 0 1.9rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(225, 225, 225, 1);
}
/* A paragraph with another behind it is mid-text and takes a paragraph's gap;
   the last one keeps the section break above. `:has()` rather than a wrapper
   div — these paragraphs are direct children of .hosted-job-body, and the phone
   layout drops that box to `display: contents` and orders its children into the
   one-column grid (see frontend/CLAUDE.md), so a wrapper would take them out of
   that ordering. */
.hosted-job-body .company-intro:has(+ .company-intro) { margin-bottom: 0.9rem; }
/* The reading copy on a detail page, whichever kind it is: a crawled job's
   write-up, a posting's About the role, and a posting's bullet lists — which
   are its write-up in another shape and were a step darker and tighter than
   the prose above them. */
.hosted-job-body .crawled-job-desc-p,
.hosted-job-body .hosted-job-desc-p,
.hosted-job-body .hosted-job-desc,
.hosted-job-body .hosted-job-list li,
.hosted-job-body .hosted-job-steps li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(225, 225, 225, 1);
}

/* A company page's open positions get the room a listing gives them. One card
   per row is the DRAWER's constraint (it is 30rem wide); this column is not. */
.hosted-job-body .drawer-extras .company-jobs-grid {
  grid-template-columns: repeat(auto-fill, minmax(15.5375rem, 1fr));
}
/* Section hairlines in this content divide it from whatever the DRAWER put
   above it — the company panel, the job card. On the page the head's own rule
   already does that, so the column's first section must not draw a second one
   a line below it. (Covers .drawer-extras, which is also the whole company
   page's main column, not an appendix under a card.) */
.hosted-job-body > :first-child,
/* …and the company page's extras, which follow its head. */
.hosted-job-body > .drawer-extras {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ---- job detail page ---- */
.hosted-job-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: rgba(160, 160, 160, 1);
  text-decoration: none;
}
/* The site's white chevron asset, turned into a "back" chevron. Dimmed to the
   link's grey; the hover rule brightens it with the text. */
.hosted-job-back-icon {
  width: 0.8rem;
  height: 0.8rem;
  transform: rotate(90deg);
  opacity: 0.6;
}
.hosted-job-back:hover { color: var(--brand); }
.hosted-job-back:hover .hosted-job-back-icon { opacity: 1; }
/* Hero: title/sub/chips/CTA only — flat on the page (no card chrome), divided
   from the content below by the same thin hairline the cards use. Both sit in
   the grid's content column so the docked side panel top-aligns with the
   title, like on the company pages. The company identity (logo, name, blurb)
   lives in the side panel's company card. */
/* ⚠️ THE HEAD LOST ITS HAIRLINE on 2026-08-25, to match the crawled job page's
   .detail-head. The two page kinds are the same thing to a reader — one job,
   read on Ranked — and the rule under this one was the most visible reason
   they did not look it: a boxed hero on a page whose sibling has an open one.
   Same padding above and the same gap below, so a posting and a listing set
   their title at the same height. */
.hosted-job-head {
  padding-top: 0.75rem;
  margin-bottom: 2.25rem;
}
/* …and the title block inside it set exactly as .detail-title / .detail-sub
   set the crawled page's: the name with no gap under it, the employer half a
   line below on its own flex row, the chips 0.9rem under that. Scoped to the
   head so the shared .hosted-job-title / .hosted-job-sub classes keep their own
   spacing everywhere else they are used — the careers listing hero, the company
   page's head, and the crawled job head that already overrides them. */
.hosted-job-head .hosted-job-title { margin-bottom: 0; }
.hosted-job-head .hosted-job-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
}
.hosted-job-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0.9rem 0 0;
}
/* GHOSTED, like .detail-tags .tag, and for the same reason it gives there: as
   the site's solid white filter rectangle these were the loudest thing in the
   head, competing with the apply button for the eye. They are also the least
   urgent — every one of them is repeated as a labelled row in the Job details
   panel beside them, which is where a reader looking for the salary goes.
   (The comment they replace argued the opposite: that a posting's chips are
   FACTS and so earn the solid chip. They are facts, and the panel already
   states them.) */
.hosted-chip {
  display: inline-flex;
  align-items: center;
  height: 1.6rem;
  padding: 0 0.6em;
  font-size: 0.78rem;
  font-family: 'Nunito', sans-serif;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background-color: transparent;
  color: rgba(235, 235, 235, 1);
}
/* two-column: content + sticky facts sidebar — the same proportions as the
   company pages' .company-layout, so the two generated page kinds read as one
   family. */
.hosted-job-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2rem;
  align-items: start;
}
.hosted-job-section { margin-bottom: 1.5rem; }
.hosted-job-section:last-child { margin-bottom: 0; }
/* ⚠️ THE HAIRLINES BETWEEN SECTIONS ARE GONE, and removing them here is what
   makes the rule ~150 lines above (.hosted-job-main .hosted-job-section, in
   the group that zeroes borders on the detail pages) actually take effect —
   the two had the same specificity and this one came later, so the page kept
   drawing five rules the newer rule had already decided against. Space
   separates the sections, exactly as it does on a crawled job page, whose
   own write-up sits under one small heading and no line at all.

   ⚠️ THE SECTION HEADING IS THE POINT OF THIS WHOLE BLOCK. It had no rule of
   its own, so it fell through to the global `h2` — 3.2rem, bold, inheriting
   grey — which put SIX headings on the page, each half again the size of the
   page's own 2.15rem title, over three-line paragraphs. The crawled job page
   answers the same question ("About this role") with .company-stats-title:
   1rem, uppercase, brand. This is that, so the two page kinds name their
   sections in one voice. */
.hosted-job-main .hosted-job-section h2 {
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand);
}
.hosted-job-desc,
.hosted-job-about { line-height: 1.45; margin: 0; }
/* The global reset clears list markers, so draw our own: a brand dash for bullet
   lists and manual numbers for the ordered steps. */
.hosted-job-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.4;
}
.hosted-job-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}
.hosted-job-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--brand);
}
.hosted-job-steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.4;
  counter-reset: hosted-step;
}
.hosted-job-steps li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  counter-increment: hosted-step;
}
.hosted-job-steps li::before {
  content: counter(hosted-step) ".";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.hosted-job-taglist { display: flex; flex-wrap: wrap; gap: 0.4rem; }
/* Tech & tools chips: the same ghosted chip as the head's, which is the same
   chip a crawled job page's skills wear. */
.hosted-tag {
  display: inline-flex;
  align-items: center;
  height: 1.6rem;
  padding: 0 0.6em;
  font-size: 0.78rem;
  font-family: 'Nunito', sans-serif;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background-color: transparent;
  color: rgba(235, 235, 235, 1);
}
/* The sidebar IS the company pages' docked panel — the aside carries the
   .company-side class (sticky, hairline left divider, drawer-content rules
   for the renderProfile card), and the job facts reuse the company panel's
   .company-stats-* classes. Only the deltas live here. */
/* Job fact keys run longer than the company panel's (VISA SPONSORSHIP,
   START DATE…) — widen the key column on these pages. */
.hosted-job-side .company-stat-key { flex: 0 0 6rem; }
/* Edit-mode facts panel (the WYSIWYG sidebar): flat stacked rows —
   label over control. The static page uses the company-stats classes. */
.hosted-job-facts-title {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(225, 225, 225, 1);
}
.hosted-job-facts { margin: 0 0 1rem; }
.hosted-job-facts > div {
  padding: 0.4rem 0;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.06);
}
.hosted-job-facts > div:first-child { border-top: none; padding-top: 0; }
.hosted-job-facts dt {
  color: rgba(150, 150, 150, 1);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
}
.hosted-job-facts dd { margin: 0; font-size: 0.88rem; }
/* CTA in the site's voice: brand fill, SQUARE corners, uppercase display
   type (like the PUBLIC/PERSONAL toggles) instead of a generic rounded pill. */
.hosted-job-apply {
  display: inline-block;
  /* Sized to sit in a head beside "Save job" and under a line of chips — at
     the 1.3rem it started with, a 23-character label ran a third of the
     column and read as the page's subject rather than its action. */
  padding: 0.35rem 1.1rem 0.45rem;
  background-color: var(--brand-fill);
  color: white;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: 0;
  text-decoration: none;
}
.hosted-job-apply:hover { filter: brightness(1.08); }
.hosted-job-applied {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 92, 20, 0.5);
  color: var(--brand);
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

/* ---- the APPLY FORM (functions/apply.js) --------------------------------
   A native <dialog>, opened from the button above on a hosted posting's page.
   IN THIS SHEET rather than injected by the module (the pattern
   functions/employer/ghostCss.js uses) because this is the SITE's own feature
   on the site's own pages: injected CSS arrives after the dialog does, and a
   form that renders unstyled for a frame is a form somebody starts typing in.

   The whole surface is the site's existing vocabulary — no new look here, only
   new markup wearing the old one. Where each value comes from:
     • the PANEL is the toast's (functions/toast.js): near-black, square, one
       brand-tinted hairline, a soft drop shadow. That is what a floating thing
       on ranked.jp looks like;
     • the TYPE is the hosted job page's — Nunito for everything you read, the
       display face only on the title and the two buttons, exactly as .hosted-job
       and .hosted-job-apply have it;
     • the FIELD LABELS are the JOB DETAILS panel's keys (.company-stat-key,
       .hosted-job-facts dt) — uppercase, tracked, grey. The form sits one click
       away from that panel and now asks its questions in the same voice;
     • the EDGES are white hairlines (rgba(255,255,255,0.18–0.22)), the site's
       chip/divider alpha, not the flat rgb(70,70,70) grey this borrowed from the
       employer editor — that sheet paints a workspace, this one paints the site. */
.apply-dialog {
  width: min(36rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0.0625rem solid rgba(255, 133, 0, 0.3);
  border-radius: 0;
  background: rgb(5, 5, 5);
  /* The hosted page's own body colour and face, so the dialog reads as part of
     the page under it. Both are inherited by everything that does not override
     them — except the form controls, which never inherit a font and say Nunito
     for themselves below. */
  color: rgba(200, 200, 200, 1);
  font-family: 'Nunito', sans-serif;
  line-height: 1.5;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.65);
  overflow: auto;
  color-scheme: dark;
  overscroll-behavior: contain;
}
.apply-dialog,
.apply-dialog * { box-sizing: border-box; }
.apply-dialog::backdrop { background-color: rgba(0, 0, 0, 0.75); }
.apply-body {
  padding: 1.25rem;
  overflow-x: hidden;
}
/* The display face at the page title's weight — the dialog is the page's
   action, so it opens in the page's own voice. */
.apply-title {
  margin: 0;
  color: white;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}
/* The role, directly under it: the same treatment .hosted-job-sub gives the
   employer's name under the job title on the page behind. */
.apply-job-title {
  margin: 0.18rem 0 0;
  color: rgba(195, 195, 195, 1);
  font-family: "Darker Grotesque", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.apply-intro,
.apply-sent {
  margin: 0.4rem 0 1rem;
  color: rgba(150, 150, 150, 1);
  font-size: 0.78rem;
  line-height: 1.45;
}
.apply-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.apply-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
}
.apply-paired-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  min-width: 0;
}
/* A field label IS a panel key — same size, case, tracking and grey as the
   LOCATION / EMPLOYMENT / SALARY rows of the job's own details panel. */
.apply-label {
  color: rgba(150, 150, 150, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.apply-optional {
  color: rgba(110, 110, 110, 1);
  font-weight: 400;
}
/* var(--brand), not --brand-fill: this is a mark of text, and the fill token is
   for the things that are filled (the send button, a checked control). */
.apply-required {
  color: var(--brand);
  font-size: 0.68rem;
}
.apply-hint {
  color: rgba(130, 130, 130, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.66rem;
  line-height: 1.3;
}
/* A quiet dark field on a hairline, the way every edge on this page is drawn.
   The extra selectors keep the old listing-filter input rules from repainting
   filled or hovered fields orange/grey. */
.apply-dialog .apply-input,
.apply-dialog .apply-input:hover,
.apply-dialog .apply-input:not(:placeholder-shown) {
  width: 100%;
  min-width: 0;
  min-height: 1.7rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.04);
  color: rgba(225, 225, 225, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  text-align: left;
}
.apply-dialog select.apply-input,
.apply-dialog select.apply-input:hover { cursor: pointer; }
.apply-dialog .apply-input--area,
.apply-dialog .apply-input--area:hover,
.apply-dialog .apply-input--area:not(:placeholder-shown) {
  min-height: 4.5rem;
  resize: vertical;
}
/* The brand ring the rest of the site focuses with, as a glow rather than an
   outline so nothing on the row moves. */
.apply-dialog .apply-input:focus {
  outline: none;
  border-color: var(--brand-ring);
  box-shadow: 0 0 0 0.125rem var(--brand-ring-soft);
}
.apply-dialog .apply-input[readonly],
.apply-dialog .apply-input[readonly]:hover,
.apply-dialog .apply-input[readonly]:not(:placeholder-shown) {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
  color: rgba(150, 150, 150, 1);
  cursor: default;
}
.apply-resume { display: flex; flex-direction: column; gap: 0.35rem; }
.apply-choice {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.apply-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(200, 200, 200, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  cursor: pointer;
}
.apply-radio input,
.apply-radio input:hover,
.apply-radio input:not(:placeholder-shown) {
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  accent-color: var(--brand-fill);
  background: transparent;
  cursor: pointer;
}
.apply-file,
.apply-file:hover,
.apply-file:not(:placeholder-shown) {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: rgba(150, 150, 150, 1);
  background: transparent;
  font: 0.72rem 'Nunito', sans-serif;
  text-align: left;
}
/* ⚠️ The one control here the browser draws itself, and unstyled it was the
   only thing in the dialog that came from the operating system rather than the
   site — a light grey pill on a black page. Dressed as the ghosted chip a job's
   skills wear (.hosted-tag): square, white hairline, display type. */
.apply-file::file-selector-button {
  margin-right: 0.5rem;
  padding: 0.25rem 0.7rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background-color: transparent;
  color: rgba(235, 235, 235, 1);
  font-family: "Darker Grotesque", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
}
.apply-file::file-selector-button:hover {
  border-color: var(--brand-ring);
  color: white;
}
.apply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.apply-send,
.apply-cancel {
  min-height: 1.9rem;
  padding: 0.3rem 0.8rem 0.38rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background-color: transparent;
  color: rgba(235, 235, 235, 1);
  font-family: "Darker Grotesque", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
}
/* The page's own CTA, smaller: .hosted-job-apply's fill, edge and type. */
.apply-send {
  border-color: var(--brand-fill-edge);
  background-color: var(--brand-fill);
  color: white;
}
.apply-send:hover { filter: brightness(1.08); }
.apply-send[disabled] { filter: grayscale(0.6); cursor: default; }
.apply-cancel:hover { border-color: var(--brand-ring); color: white; }
.apply-status:empty { display: none; }
/* This line only ever says something went wrong, so it takes the toast's error
   red rather than the brand — orange on this site is the affirmative colour,
   and it is already spoken for two rows below by the send button. */
.apply-status {
  margin: 0;
  color: rgba(255, 95, 95, 1);
  font-size: 0.75rem;
  line-height: 1.35;
}
@media (max-width: 420px) {
  .apply-dialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
  .apply-body { padding: 1rem; }
  .apply-paired-row { grid-template-columns: 1fr; }
  .apply-actions > * { flex: 1 1 0; min-width: 0; }
}
/* ---- stamped COMPANY pages (listing shell + pre-opened drawer) ----
   The prebuilder appends .drawer-extras INSIDE the drawer content, under the
   company card + stats: the company's open positions (its crawl-source job
   cards) and the Similar-companies tiles, as flat drawer sections — the same
   hairline-divided rhythm as the rest of the drawer, on every device. */
.drawer-extras {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid var(--brand-ring-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: #fff;
}
.drawer-extras-panel + .drawer-extras-panel {
  border-top: 0.0625rem solid rgba(70, 70, 70, 1);
  padding-top: 1.25rem;
}
.drawer-extras .company-jobs { margin: 0; }
/* The extras' own job grid (NOT #items-grid — that id is the listing page's
   grid behind the modal): one card per row at drawer width. */
.drawer-extras .company-jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(11.25rem, auto);
  gap: 0.6rem;
}
/* The panel divider already frames the section — no inner hairline. */
.drawer-extras .company-related { border-top: 0; padding-top: 0; }

/* ---- "Hiring at <Company>" (hostedJobsHtml.js companyHiringSection) --------
   The company page's substantive content, measured from that company's live
   listings: a salary bar, a facts grid of shares, and chip rows for what it
   asks for and what it hires into. Sits first in .drawer-extras, above the
   job cards. It carries no heading of its own — the page is already about this
   company, and "Hiring at <Company>" over the company's own page said nothing
   the reader didn't know. The section keeps an aria-label so the landmark is
   still named for a screen reader. */
/* (The grid and the cells are styled with the job page's facts above — one
   treatment for both.) */
.company-hiring-facts { margin: 0 0 1.6rem; }
/* ── the two CHIP LISTS, as cells of that same grid ────────────────────────
   "Most requested" and "Common areas" are cells like every measured figure —
   a label over a value — so the block reads as ONE wrapping row whatever is
   switched on (hostedJobsHtml.js listCell). They were block-level sections
   under the grid until 2026-08-30, while their switched-off stubs were already
   cells, so the block changed shape depending on what was hidden.

   TWO COLUMNS, because the value is a row of chips rather than a number: at
   the grid's 8.5rem track a single chip would set its own line and a six-chip
   list would be a tall stack. Spanning is capped by the grid itself — a track
   count below the span makes the item fill the row, which is the right answer
   on a phone. */
.company-hiring-fact--list { grid-column: span 2; }
/* ⚠️ AND FULL WIDTH ONCE THE GRID IS NARROW, which is a correctness rule and
   not a preference. `span 2` against a grid that auto-fill has resolved to ONE
   track creates an IMPLICIT second one, and the row then runs past the page —
   measured at a 200px column. `1 / -1` cannot: it is however many tracks there
   are. It is also what the span already came to below ~26rem, where two tracks
   is the whole grid, so nothing moves that was not going to. */
@media (max-width: 600px) {
  .company-hiring-fact--list { grid-column: 1 / -1; }
}
/* The chips carry their own type (below); the cell's dd would otherwise hand
   them the 1.25rem Darker Grotesque a measured VALUE wears. */
.company-hiring-fact--list dd {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.company-hiring-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* The same outlined chip the job page's head uses for a job's skills — these
   are the same kind of thing, a company's skills, with a count after them. */
.company-hiring-skill-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 1.6rem;
  padding: 0 0.6em;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  color: rgba(235, 235, 235, 1);
  font-size: 0.78rem;
}
/* No underline, brand on hover — the page's other in-content links (the
   company name on a job, the category fact) read the same way. */
.company-hiring-skill-list a { text-decoration: none; color: inherit; }
.company-hiring-skill-list a:hover { color: var(--brand); }
.company-hiring-skill-count { color: rgba(150, 150, 150, 1); font-size: 0.7rem; }
.company-hiring-note {
  margin: 1.1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(150, 150, 150, 1);
}
/* ---- generated company pages (prebuilder ← render/renderCompanyTemplate.js) ----
   Two columns: the company's job cards (left, a listings-style grid) and the
   company-details panel (right — the drawer's content, baked in statically). */
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2rem;
  align-items: start;
}
/* The job cards sit in #items-grid, which is display:contents site-wide because
   the listing pages provide the grid via a .container parent. These pages have
   no .container, so give the grid here — same responsive columns as .container,
   so a company's cards read like the main listings, not a stacked list. */
.company-page #items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5375rem, 1fr));
  grid-auto-rows: minmax(11.25rem, auto);
  gap: 0.6rem;
}
.company-jobs-empty { margin: 0; color: rgba(160, 160, 160, 1); }
/* Jobs heading = the listing pages' sidebar heading (big orange count over a
   muted title — .results-count/.sidebar-title carry the sizes/colors). The
   page body is Nunito (see .hosted-job), so restore the site display face
   these classes render in on the listing pages. */
/* The count over its caption, and the company's hiring measurements beside it
   in the same form — one row of big orange numbers introducing the listings.
   (hostedJobsHtml.js companyPageExtras + companyHiringStats.) */
.company-jobs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 2.5rem;
  font-family: "Darker Grotesque", sans-serif;
  line-height: 1;
  margin-bottom: 1.4rem;
}
.company-jobs-count { max-width: 13rem; }
/* The caption under a secondary stat is a <p>, not the <h2> the first one
   carries — give it the same measure and colour. */
.company-jobs-count .sidebar-title { margin-bottom: 0; }
.company-jobs { margin-bottom: 1.9rem; }
.company-related h2 {
  margin: 0 0 0.6rem;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(120, 120, 120, 1);
}
/* Similar companies — small link tiles to related company pages (picks and
   markup in cards.js). Border wears each company's rank color, like the
   full-size cards. */
.company-related {
  border-top: 0.0625rem solid rgba(70, 70, 70, 1);
  padding-top: 1.4rem;
}
.company-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.6rem;
}
.related-company {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border: 0.125rem solid rgba(250, 250, 250, 1);
  background: radial-gradient(ellipse at right top, rgba(10,10,10,1) 0%, rgba(0,0,0,1) 47%, rgba(10,10,10,1) 100%);
  text-decoration: none;
}
.related-company-logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex: 0 0 auto;
}
.related-company-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.related-company-name {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-company-meta {
  color: rgba(150, 150, 150, 1);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-company:hover .related-company-name { color: var(--brand); }
/* The static company panel: the company card and stats, separated
   from the jobs column by a hairline on its left (the same thin rule the
   page's sections use). */
.company-side {
  /* Not sticky: a panel taller than the viewport would pin with its bottom
     unreachable (and an internal scrollbar is worse) — it just scrolls with
     the page. */
  box-sizing: border-box;
  /* Same faint rule as the header's above — see html.company-page-html. */
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 2rem;
  color: #fff;
}
/* The side panel stays on the RIGHT down to 600px — the root font ladder
   (16→14→13px) keeps the content column + the 20rem panel fitting side by
   side that far. Below 600px the site's ladder would shrink everything
   proportionally (min(12px, 2.353vw)) — too small here, and the two columns
   aren't worth it on a phone. Instead: pin the root font (the page renders
   "zoomed in" at a readable scale, filling the width) and stack. Applies to BOTH
   generated page kinds (company pages and hosted /en/careers/ job pages —
   both templates carry the company-page-html class), but they stack the panel
   in DIFFERENT places, and each says why at its own rule below: a job page puts
   it last, a company page mid-column. */
@media (max-width: 600px) {
  /* The root scales WITH the viewport (3.6vw = 14px at 390px), so the single
     column is the same proportionally-zoomed layout on every phone: one job
     card spans the full content width (15.5375rem min = 56vw > half of the
     89vw column, so auto-fill can never fit two), and everything in it scales
     up with the screen. */
  html.company-page-html,
  html.statistics-page-html { font-size: 3.6vw; }
  /* NOTE the page HEADER does not follow this root — it carries its own px
     ladder (styles/header.css) precisely so these pages' header matches the
     listing pages'. The wordmark cap that used to live here went with it. */
  .company-layout,
  .hosted-job-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  /* covers the job pages' sidebar too — the aside carries .company-side */
  .company-side {
    order: -1;
    border-left: 0;
    padding-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1.5rem;
  }
  /* JOB pages: the job content leads on a phone — the company card / facts
     panel drops BELOW it. A COMPANY page places it in the MIDDLE instead; see
     the block below. */
  .hosted-job-side.company-side {
    order: 0;
    border-bottom: none;
    padding-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
  }

  /* ---- COMPANY page, phone: the panel sits mid-column -------------------
     `--lead` is a historical name: the panel used to open the page on a phone,
     because it IS the page's subject. In practice that meant arriving at
     /en/companies/<slug>/ and reading a card, a domain, a repeat of the
     description and eleven rows of "Company details" BEFORE reaching anything
     the page is actually visited for. The panel is reference material — you
     look at it once you care — so it now sits between the two things it sits
     between naturally: after the measured hiring write-up (which ends on its
     "Measured from the N listings…" note), and before the open-positions count
     and the job cards.

     HOW, without touching the DOM. The panel is a sibling of the whole reading
     column, so `order` alone cannot put it inside that column's flow. Below
     600px the grid is ONE column, so the two wrappers are pure nesting with
     nothing left to lay out: dropping their boxes with `display: contents`
     lifts their children into the grid, where `order` can interleave the panel
     among them. Both wrappers are safe to drop here — `.hosted-job-body` has no
     box styling of its own (every rule on it is a descendant selector, and those
     still match: `display: contents` removes the BOX, not the element), and on
     this page `.drawer-extras` has already had its margin/padding/border zeroed
     by the `.hosted-job-body > .drawer-extras` rule above, leaving only a flex
     gap that `row-gap: 0` hands back to the elements' own margins. The panels'
     hairlines come from `.drawer-extras-panel + .drawer-extras-panel`, an
     adjacent-SIBLING rule, so they are unaffected either way.

     Scoped to `:has(.hosted-job-side--lead)` — the one marker that says "company
     page". Desktop is untouched: this whole block is inside the phone query, and
     above it the two wrappers still generate their boxes exactly as before. */
  .hosted-job-grid:has(.hosted-job-side--lead) { row-gap: 0; }
  .hosted-job-grid:has(.hosted-job-side--lead) > .hosted-job-body,
  .hosted-job-grid:has(.hosted-job-side--lead) > .hosted-job-body > .drawer-extras {
    display: contents;
  }
  /* Three groups, so nothing has to be enumerated exhaustively: what comes
     before the panel, the panel (0, the default), and every remaining extras
     panel after it. A section added to the extras later lands after the panel
     without a rule, which is the right default — the hiring write-up is the
     only thing that reads as part of the page's opening. */
  .hosted-job-grid:has(.hosted-job-side--lead) > .hosted-job-body > .detail-head,
  .hosted-job-grid:has(.hosted-job-side--lead) > .hosted-job-body > .company-intro,
  /* …and the box the EMPLOYER surface puts around those paragraphs so the
     write-up is one editable region (hostedJobsHtml.js companyDetailContent,
     under `editable`). It exists on no public page and carries no type of its
     own — it is here so that adding it moves nothing. Without this line the
     About text drops below the company panel on a phone, which is the whole
     reason the paragraphs were annotated one by one first. */
  .hosted-job-grid:has(.hosted-job-side--lead) > .hosted-job-body > .company-intro-wrap,
  .hosted-job-grid:has(.hosted-job-side--lead) .drawer-extras > .company-hiring {
    order: -1;
  }
  .hosted-job-grid:has(.hosted-job-side--lead) .drawer-extras > .drawer-extras-panel:not(.company-hiring) {
    order: 1;
  }
  /* Its own divider above; the one below is drawn by `.company-jobs`, which is
     still the hiring section's next SIBLING and so still gets its border-top. */
  .hosted-job-side--lead.company-side {
    order: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 0;
  }
  /* Full-bleed panel: the drawer rules cap the company card at the drawer's
     15rem — here it spans the screen like everything else. (html-class
     prefix outranks the later-in-file shared drawer rule.) */
  html.company-page-html .company-side .profile-card-wrap { max-width: none; }
  /* The wrapper is full-width, but the identity card above "Company details"
     remains 15rem wide. Centre that card instead of leaving it anchored to the
     wrapper's left edge. Its logo, name, domain and description are already
     internally centred by the shared profile-card styles. */
  html.company-page-html .company-side .profile-card { margin-inline: auto; }
}

/* Company-edit actions still reuse the compact icon control that originally
   lived in the retired account drawer. */
.drawer-close {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.drawer-close:hover { opacity: 1; }
/* No box around the close in any state (removes the pressable focus outline). */
.drawer-close,
.drawer-close:hover,
.drawer-close:focus,
.drawer-close:focus-visible {
  background: none;
  border: 0;
  outline: none;
  box-shadow: none;
}
.drawer-close-icon {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}
/* Disabled header shortcut (e.g. Save until dirty) — dimmed + unclickable. */
.drawer-close.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.company-side .profile-card-wrap {
  width: 100%;
  max-width: 15rem;
  margin: 0 auto;          /* centre the card in the drawer */
  padding-bottom: 1.25rem; /* breathing room below the card */
}
/* Small completion nudge directly under the editable card. It stays visually
   quiet: one percentage, a thin progress line, and the next useful action. */
.profile-completion {
  width: 100%;
  max-width: 15rem;
  margin: -0.35rem auto 0.8rem;
  padding: 0.75rem 0.15rem 0.2rem;
}
.profile-completion--complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: auto;
  max-width: none;
  margin: -0.9rem auto 0.8rem;
  padding: 0.15rem 0.25rem;
  color: rgba(155, 155, 155, 1);
  background: rgba(0, 0, 0, 0.58);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.2;
}
.profile-completion-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.58rem;
  height: 0.58rem;
  color: #000;
  background: var(--brand-fill);
  border-radius: 50%;
  font-size: 0.38rem;
  line-height: 1;
}
.profile-completion-compact-unsaved {
  margin-left: 0.18rem;
  padding-left: 0.4rem;
  border-left: 0.0625rem solid var(--brand-ring-soft);
  color: var(--brand);
}
.profile-completion-compact-save {
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.profile-completion-compact-save:hover,
.profile-completion-compact-save:focus-visible {
  color: var(--brand);
  outline: none;
}
.profile-completion-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(210, 210, 210, 1);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}
.profile-completion-heading strong {
  color: var(--brand);
  font-size: 0.76rem;
}
.profile-completion-track {
  height: 0.22rem;
  margin-top: 0.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}
.profile-completion-fill {
  display: block;
  height: 100%;
  background: var(--brand-fill);
  transition: width 0.2s ease;
}
.profile-completion-note,
.profile-completion-done {
  margin: 0.48rem 0 0;
  color: rgba(145, 145, 145, 1);
  font-size: 0.67rem;
  line-height: 1.35;
}
.profile-completion-next {
  display: block;
  width: fit-content;
  margin: 0.2rem 0 0;
  padding: 0;
  color: rgba(225, 225, 225, 1);
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.profile-completion-next:hover,
.profile-completion-next:focus-visible {
  color: var(--brand);
  outline: none;
}
.profile-completion-save-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 0.0625rem solid var(--brand-ring-soft);
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}
.profile-completion-save {
  flex: 0 0 auto;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.profile-completion-save:hover,
.profile-completion-save:focus-visible {
  color: var(--brand);
  outline: none;
}
.profile-completion-done {
  color: rgba(205, 205, 205, 1);
}
/* In the drawer the profile isn't a card — drop the box (border + background)
   from .card, keeping the icon + name/title/footer structure as a flat block.
   .job sets a radial-gradient with !important, so override it the same way.
   (.company-side is the company pages' static copy of the drawer content —
   it shares every rule in this group.) */
.company-side .profile-card {
  background: none !important;
  border: 0;
  height: auto;          /* flow to content instead of the fixed card height */
  overflow: visible;
}
/* Hide the card's footer action buttons (message / opportunities ☑) here. */
.company-side .profile-card .profile-footer {
  display: none;
}
/* ⚠️ AND THE DESCRIPTION IS NOT CLAMPED HERE (2026-09-10). The 4-line clamp
   above is a LAYOUT BACKSTOP for a card in a fixed 13rem box — it stops one
   long field shoving its neighbours around a grid. This panel is the one place
   that box does not exist: the rule three above gives it `height: auto` so it
   flows to its content, so there is nothing to protect and the clamp was
   cutting the text for no reason.

   It cut real descriptions rather than abusive ones. The render cap is 400
   chars (cards.js PROFILE_LIMITS) and the longest description on the whole
   companies table is 163 — so nothing was ever near the character bound, and
   what an employer actually saw was their own sentence stopping mid-clause
   about four lines in, with no ellipsis to say it had been cut.

   ⚠️ `:not(.editable)` keeps the EMPLOYER's copy alone: there the line is a
   contenteditable box with a deliberate three-row height (.profile-card--compact.editable
   above), and un-boxing it would make the edit target resize under the caret.
   `display: block` is required as well as the clamp — -webkit-line-clamp only
   applies inside a -webkit-box, so leaving the display set would keep it. */
.company-side .profile-card:not(.editable) .job-description {
  display: block;
  -webkit-line-clamp: none;
  overflow: visible;
}
/* Location: out of the top-left corner, sitting just under the card content. */
.company-side .profile-card .profile-loc-badge {
  position: static;
  margin-top: 0.4rem;
}
.resume-drop-icon {
  height: 2rem;
  width: 2rem;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.resume-drop:hover .resume-drop-icon,
.resume-drop-has-file .resume-drop-icon { opacity: 1; }
.resume-drop-has-file .resume-drop-text { color: var(--brand); }
.resume-drop-date {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
/* A freshly staged file isn't the saved one — hide the stale saved date. */
.resume-drop-has-file .resume-drop-date { display: none; }

.resume-intro,
.matching-profile-note {
  margin: 0.25rem 0 0;
  color: rgba(165, 165, 165, 1);
  font-size: 0.75rem;
  line-height: 1.4;
}
.resume-privacy-note {
  margin: 0 0 0.55rem;
  color: rgba(135, 135, 135, 1);
  font-size: 0.68rem;
  line-height: 1.3;
}
.matching-profile-note {
  margin-top: 0;
  margin-bottom: 0.65rem;
}
.matching-profile-tools {
  margin-bottom: 0.7rem;
}
.matching-profile-section .vector-switch-section:first-of-type > .vector-switch-group {
  margin-top: 0;
}
.matching-profile-section .vector-switch-group {
  margin-top: 0.55rem;
  font-size: 0.64rem;
  color: rgba(135, 135, 135, 1);
}
.matching-profile-section .vector-switch-row {
  padding: 0.11rem 0;
}
.matching-profile-section .vector-switch-label {
  font-size: 0.74rem;
  line-height: 1.15;
  color: rgba(205, 205, 205, 1);
}

@media (max-width: 620px) {
  /* Bigger touch targets for company-edit action icons on phones. */
  .drawer-close { width: 2.4rem; height: 2.4rem; }
  .drawer-close-icon { width: 1.25rem; height: 1.25rem; }
}
@media (max-width: 600px) {
  /* tagtip.js appends this directly to <body>, outside the zoomed cards and
     drawers. Fixed phone pixels keep it readable and let its JS viewport
     measurements remain exact. */
  .tag-tip {
    width: max-content;
    max-width: min(300px, calc(100vw - 16px));
    padding: 8px 11px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.35;
    box-sizing: border-box;
  }
}
/* ═══ STANDALONE HOSTED-JOB ADMIN EDITOR (functions/session.js) ═══ */
.company-admin-note {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(150, 150, 150, 1);
}
.company-admin-note a { color: var(--brand); }
/* The global input/textarea rules paint FILLED fields brand-orange and center
   the text (:not(:placeholder-shown) at 0,0,1,1 — see ~line 656/683). This is
   a form, not a search chip: pin the quiet dark style at higher specificity,
   for empty, filled and hovered states alike. */
.company-admin-scope .company-admin-input,
.company-admin-scope .company-admin-input:not(:placeholder-shown),
.company-admin-scope .company-admin-input:hover {
  width: 100%;
  min-height: 1.7rem;
  box-sizing: border-box;
  margin: 0;
  padding: 0.35rem 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  text-align: left;
  color: rgba(225, 225, 225, 1);
  background-color: rgba(20, 20, 20, 1);
  border: 0.0625rem solid rgba(70, 70, 70, 1);
  border-radius: 0.15rem;
}
.company-admin-scope .company-admin-input:focus {
  outline: none;
  border-color: var(--brand-fill);
}
/* Checkboxes keep their native size — the shared width would stretch them. */
.company-admin-scope .company-admin-check input {
  width: auto;
  min-height: 0;
}
.company-admin-scope .company-admin-textarea,
.company-admin-scope .company-admin-textarea:not(:placeholder-shown),
.company-admin-scope .company-admin-textarea:hover {
  min-height: 4.5rem;
  resize: vertical;
  line-height: 1.35;
}
/* Side-by-side field pairs (salary min/max, selects). */
.company-admin-row {
  display: flex;
  gap: 0.5rem;
}
.company-admin-row--checks { margin-bottom: 0.55rem; }
.company-admin-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.company-admin-btn {
  padding: 0.4rem 1rem;
  background-color: var(--brand-fill);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0.2rem;
  cursor: pointer;
}
.company-admin-btn:hover { filter: brightness(1.08); }
.company-admin-btn--danger { background-color: rgba(150, 20, 20, 1); }
.company-admin-btn.is-disabled { opacity: 0.4; pointer-events: none; }
/* Edit button on managed standalone pages (injected by session.js). */
.company-admin-btn--block {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
  max-width: 22rem;
  box-sizing: border-box;
}

/* ── WYSIWYG on-page editing (admin: careersJobEditableContent) ──────────── */
/* Editable text keeps the page's own look; a quiet dashed underline + focus
   ring mark what's editable. */
.job-edit-text {
  border-bottom: 0.0625rem dashed rgba(255, 255, 255, 0.25);
  min-width: 2rem;
  display: inline-block;
}
.job-edit-text:focus {
  outline: 0.0625rem solid var(--brand-fill);
  outline-offset: 0.15rem;
  border-bottom-color: transparent;
}
h1.job-edit-text, p.job-edit-text { display: block; }
.hosted-job-list .job-edit-text,
.hosted-job-steps .job-edit-text { display: inline; }
/* Row/chip remove control — the site's close icon at the profile editor's
   list-remover size (.profile-list-remove), not a typed ×. */
.job-edit-remove {
  margin-left: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  line-height: 0;
  cursor: pointer;
  vertical-align: middle;
}
.job-edit-remove svg {
  width: 0.6rem;
  height: 0.6rem;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.job-edit-remove:hover svg { opacity: 1; }
/* Edit-mode page actions: the profile editor's icon controls (diskette =
   save, close = cancel) on one row at the top of the facts sidebar. */
.job-page-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.job-page-edit-actions .drawer-close:hover { opacity: 1; }
.company-job-delete { margin-top: 1rem; }
.job-edit-chip { gap: 0.2rem; }
.company-admin-addrow {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  opacity: 0.75;
}
.company-admin-addrow:hover { opacity: 1; }
/* Compact fact controls in edit mode. */
.hosted-job-facts .company-admin-input {
  min-height: 1.5rem;
  padding: 0.2rem 0.4rem;
  font-size: 0.82rem;
}

/* ===== Japanese optical sizing — ONE LEVER, and this is it ==================
   A Japanese page renders in IBM Plex Sans JP; an English one renders mostly in
   Darker Grotesque. Set at the SAME font-size those two are nowhere near the
   same size on screen, because the faces fill the em box differently. Measured
   in the browser, per em:

                        x-height   cap-height
     Darker Grotesque     0.406       0.563
     IBM Plex Sans JP     0.541       0.733     ← a third larger

   So the same rem value produces visibly bigger text on /ja/ than on /en/, and
   the boxes around it (which are sized in rem and do not move) end up either
   crowded or overflowing.

   HOW THIS USED TO BE HANDLED, and why it kept slipping: `font-size: 90%` on
   the body, plus ~38 hand-picked per-element sizes. The body rule only reaches
   text that INHERITS its size — anything setting its own rem or px escapes it,
   which is why the rail and the big results count were at 100% while the cards
   around them were at 90%, and why every new element had to be tuned by hand or
   silently came out wrong.

   `font-size-adjust` is the mechanism that does not have that hole. It scales
   the USED font so its x-height hits the ratio below, whatever size the element
   asked for and wherever that size came from — so it reaches every element,
   inherits into new ones, and changes no rem, no padding and no geometry. The
   layout is byte-for-byte the English layout; only the glyphs are normalised.

   THE NUMBER. 0.416 makes Plex JP's CAP HEIGHT match Darker Grotesque's
   (0.563 ÷ 0.733 × 0.541), i.e. Japanese renders at ~0.77× the specified size.
   Cap height rather than x-height because kanji have no x-height to speak of
   and matching that instead lands them at 0.75× — legibly too small. This is
   the ONE value to turn if Japanese still reads large or now reads small:
     0.487 → the old 0.90×, the previous look
     0.416 → cap-height parity with the English face  (current)
     0.406 → x-height parity, the smallest defensible value
   Nothing else needs touching, and nothing per-element should be added back. */
:root { --ja-optical: 0.416; }
html[lang="ja"] {
  font-size-adjust: var(--ja-optical);

  /* ===== …and where Japanese is allowed to WRAP =====
     Japanese is written without spaces, so by default a browser may break a
     line between almost any two characters — 食べた / い, splitting one word
     across two lines. It is not a bug in the text; it is the default rule, and
     it reads as badly in Japanese as "toget / her" does in English.

     Two declarations fix it, and both belong here rather than on any one
     element, because it is a property of the LANGUAGE:

     • `line-break: strict` applies full kinsoku — the prohibitions on what may
       start or end a line. No small kana (っ ゃ ゅ ょ), no long-vowel ー, no
       closing bracket or punctuation stranded at the start of a line.
       Supported everywhere.

     • `word-break: auto-phrase` breaks at PHRASE boundaries instead, using the
       browser's own Japanese segmentation — which is what actually keeps 食べたい
       whole. Chromium 119+; every other browser drops the declaration as
       invalid and simply keeps the strict-kinsoku behaviour above, so this is a
       progressive enhancement with no fallback needed.

     Deliberately NOT `word-break: keep-all`, the other candidate: it forbids
     breaking between CJK characters altogether, which turns a long sentence
     into one unbreakable run that overflows its box.

     ⚠️ …AND THE THIRD DECLARATION IS WHAT STOPS `auto-phrase` DOING THAT ANYWAY
     (2026-09-09). The paragraph above rejected `keep-all` for making an
     unbreakable run, and `auto-phrase` makes a shorter one out of every PHRASE:
     a Japanese compound noun is segmented whole, so `AIプラットフォーム担当カス
     タマーエンジニア` has no break opportunity in it at all. That is not just a
     long line — it is the element's MIN-CONTENT WIDTH, so every box sized from
     its content is at least that wide and grows rather than wrapping. Measured
     at a 390px viewport before this line: 10 of 22 job cards had their title
     clipped by the card's own `overflow: hidden` (up to 79px of it), and 5 of
     34 stamped Japanese detail pages made the whole PAGE wider than the screen
     — one by 207px, its `<h1>` laying out 533px wide inside a 390px viewport.
     English measured 0 of 22 and 0 of 34 on the same pages, which is what makes
     this a Japanese-only bug rather than a narrow layout.

     `overflow-wrap: anywhere` is the emergency valve, and it is the ONLY value
     that works here: `break-word` is defined not to affect intrinsic sizing, so
     the boxes stay too wide — measured, it changed none of the five pages, while
     `anywhere` took all five to zero. It costs nothing in the normal case,
     because overflow-wrap introduces a break only where the line would
     otherwise overflow: 食べたい and メール still wrap whole, on the same phrase
     boundaries, which was verified character-by-character against the
     before-state. A word is split only when it could not have fitted at all,
     which beats clipping it or pushing the page sideways. */
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
html[lang="ja"] body {
  font-family: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}
html[lang="ja"] .job-list-page,
html[lang="ja"] .job-list-page .filter-group-checkbox-label {
  font-family: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}
/* The HEADER has a Japanese ladder of its own; it lives with the rest of the
   header in styles/header.css. */
html[lang="ja"] .job-list-page .sidebar-title {
  line-height: 1.35;
}
html[lang="ja"] .job-list-page .privacy-link,
/* The Japanese privacy and expanded-filter labels are both substantially
   wider than their English equivalents. Give their shared footer row enough
   room to retain a deliberate gap instead of letting the two labels touch. */
html[lang="ja"] .job-list-page .filter-footer-row {
  width: 14.5rem;
  column-gap: 0.75rem;
}
html[lang="ja"] .job-list-page .job-title {
  line-height: 1.3;
}
html[lang="ja"] .job-list-page .job-description {
  line-height: 1.4;
}
/* …but a DETAIL page keeps the listing shell's .job-list-page wrapper, so the
   card ladder above also reaches the head's chips, which are not card tags.
   Same specificity as the rule above, so it has to come after it. */
html[lang="ja"] .job-list-page .job-salary {
}
html[lang="ja"] .job-list-page .related-job-searches-link {
}

html[lang="ja"] .profile-card.editable [data-edit="title"]:empty::before {
  content: "名前";
}
html[lang="ja"] .profile-card.editable [data-edit="subtitle"]:empty::before {
  content: "職種・見出し";
}
html[lang="ja"] .profile-card.editable [data-edit="description"]:empty::before {
  content: "簡単な自己紹介";
}
html[lang="ja"] .profile-card.editable [data-edit="loc"]:empty::before {
  content: "都市";
}
html[lang="ja"] .profile-list-text:empty::before {
  content: "ここに入力…";
}
html[lang="ja"] .about-section .section-title {
  line-height: 1.22;
}
html[lang="ja"] .about-section .section-subtitle,
html[lang="ja"] .about-join .section-subtitle {
  line-height: 1.75;
}
html[lang="ja"] .about-feature-line {
  line-height: 1.45;
}
html[lang="ja"] .category-link-label {
  line-height: 1.35;
  padding-top: 0.25rem;
  padding-right: 1.2rem;
  padding-bottom: 0.5rem;
  padding-left: 1.2rem;
  text-align: center;
}
html[lang="ja"] .category-link-label > span {
  display: inline-block;
  transform: translateY(0.125rem);
}
html[lang="ja"] .join-btn-label {
  line-height: 1.35;
  padding-top: 0.25rem;
}
html[lang="ja"] .stats-hero h1 {
  line-height: 1.08;
}
html[lang="ja"] .stats-section-heading h2,
html[lang="ja"] .stats-explore h2,
html[lang="ja"] .stats-error h2 {
  line-height: 1.18;
}

/* The statistics stylesheet intentionally uses an English display face for
   every descendant. Restore the Japanese family before applying its optical
   sizes, otherwise the browser falls back glyph-by-glyph to a system font. */
html[lang="ja"] .statistics-page * {
  font-family: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}
html[lang="ja"] .stats-hero-copy > p:last-child {
  line-height: 1.5;
}
html[lang="ja"] .stats-section-heading p {
}
html[lang="ja"] .stats-method-grid p,
html[lang="ja"] .stats-explore a {
}

/* Legal documents use the same measure and spacing as English, with a small
   Japanese-only type adjustment so dense kanji does not look oversized. */
html[lang="ja"] .privacy-policy .c4,
html[lang="ja"] .privacy-policy .c6 {
}

/* Footer typography is shared by the landing, listing and statistics pages. */

.profile-language-section {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.account-language-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.account-language-row > span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.25;
}
.account-language-select {
  display: block;
  flex: 0 1 6.25rem;
  width: 6.25rem;
  min-width: 0;
  max-width: 48%;
  height: 1.9rem;
  min-height: 0;
  box-sizing: border-box;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 0;
  color: #ededed;
  background: #141414;
  font-family: inherit;
  font-size: 0.72rem;
  line-height: 1.2;
}

@media (max-width: 510px) {
  html[lang="ja"] .job-list-page .job-title {
  }
  html[lang="ja"] .job-list-page .job-company {
  }
  html[lang="ja"] .job-list-page .tag-text {
  }
  html[lang="ja"] .job-list-page .job-description,
  html[lang="ja"] .job-list-page .job-salary {
  }
  html[lang="ja"] .job-list-page .related-job-searches-title {
  }
  html[lang="ja"] .job-list-page .related-job-searches-link {
  }
}

@media (max-width: 510px) {
}

/* The footer's removal-route link. The note around it is deliberately quiet, so
   the link only needs to be findable, not loud — underline it and let it take
   the note's own colour rather than the site's link blue. */
.site-footer-note-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── The full talent profile (/en/talent/?id=…, functions/talentProfileView.js)
   It is a generated-detail page in all but name — html.company-page-html,
   detailLayout's two columns, .hosted-job-section headings — so only what is
   new to it is styled here. */
/* ── THE PROFILE WHILE IT LOADS (pages/TalentProfile.jsx ProfileSkeleton) ─────
   The page keeps its height from the first frame, so the footer stays at the
   bottom whatever is (or is not yet) drawn — it used to sit right under one
   line of text. The placeholders are the page's own shapes in a faint fill
   with a slow sheen passing over them. */
#talent-profile { min-height: calc(100vh - 12rem); }
/* Scale only the account profile content; the shared site shell stays unchanged. */
.own-profile > #talent-profile { zoom: 0.9; }
.talent-skel-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.talent-skel {
  display: block; border-radius: 0.25rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.13) 37%, rgba(255, 255, 255, 0.06) 63%);
  background-size: 400% 100%;
  animation: talent-skel-sheen 1.4s ease infinite;
}
@keyframes talent-skel-sheen { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .talent-skel { animation: none; background: rgba(255, 255, 255, 0.08); } }
.talent-skel-line { height: 0.8rem; max-width: 100%; }
.talent-skel-stack { display: grid; gap: 0.7rem; }
.talent-skel-stack > .talent-skel-line:first-child { height: 1.05rem; }
.talent-skel-tabs { display: flex; gap: 1.5rem; margin: 0.3rem 0 1.6rem; }
.talent-skel-card { display: grid; gap: 1.2rem; padding: 1.4rem 1.5rem; margin-bottom: 0.75rem; border: 0.0625rem solid rgba(255, 255, 255, 0.08); }
.talent-skel-hero { padding-top: 0; }
.talent-skel-cover { height: 5.5rem; margin: 0 -1.5rem; border-radius: 0; }
.talent-skel-photo { width: 7rem; height: 7rem; margin-top: -4.6rem; border: 0.25rem solid #000; border-radius: 0; background-color: #1c1c1c; }
.talent-skel-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.talent-skel-chips .talent-skel-line { height: 1.5rem; border-radius: 999px; }
.talent-skel-entry { display: flex; gap: 1rem; align-items: flex-start; }
.talent-skel-entry .talent-skel-stack { flex: 1; min-width: 0; }
.talent-skel-logo { flex: none; width: 3rem; height: 3rem; }
.talent-company-skeleton { margin: 0; border-radius: 0; gap: 0.75rem; min-height: 9rem; }
.talent-skel-box { height: 5.5rem; border-radius: 1.2rem; }
.talent-profile--loading .talent-profile-aside { display: grid; gap: 2.2rem; align-content: start; }

.talent-status,
.talent-notice .talent-text {
  color: rgba(185, 185, 185, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  padding: 1rem 0;
}
.talent-back,
.talent-link {
  color: var(--brand);
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
}
.talent-back:hover,
.talent-link:hover { text-decoration: underline; }
.talent-sub .applicant-sep {
  color: rgba(110, 110, 110, 1);
  margin: 0 0.4em;
}
.talent-text {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  /* The job pages' own reading measure (.hosted-job-desc). */
  line-height: 1.45;
  color: rgba(215, 215, 215, 1);
  margin: 0 0 0.5rem;
}
/* The second action: same size as the brand button beside it, outlined. */
.talent-message {
  padding: 0.35rem 1.1rem 0.45rem;
  background: none;
  border: 0.0625rem solid rgba(255, 255, 255, 0.35);
  color: white;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
}
.talent-message:hover { border-color: rgba(255, 255, 255, 0.7); }
.talent-actions button.hosted-job-apply { border: 0; cursor: pointer; }
.talent-no-contact {
  margin-top: 1.25rem;
  color: rgba(150, 150, 150, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
}
/* Work history, education and certifications, the LinkedIn way: a logo square,
   then title / organisation / dates / place / write-up, a hairline between
   entries (functions/talentProfileView.js). */
.talent-history {
  list-style: none;
  margin: 0;
  padding: 0;
}
.talent-entry {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.08);
}
.talent-entry:first-child { padding-top: 0.2rem; }
.talent-entry:last-child { border-bottom: 0; }
.talent-entry-logo {
  flex: none;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* No outline: a company logo stands on its own, as it does on a job card.
     Only the glyph tiles (school, certificate — no logo to show) keep a faint
     fill, so the icon still reads as a mark rather than floating text. */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.2rem;
  color: rgba(200, 200, 200, 1);
  overflow: hidden;
}
.talent-entry-logo:has(img) { background: none; }
/* An employer Ranked has no logo for, on the own page: the tile is a button
   that uploads one (functions/profileIcon.js, 2026-10-12). */
button.talent-entry-logo { padding: 0; border: 0; cursor: pointer; position: relative; font: inherit; }
button.talent-entry-logo::after {
  content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.6); color: #fff; font-family: 'Nunito', sans-serif; font-size: 1.3rem; opacity: 0; transition: opacity 0.12s;
}
button.talent-entry-logo:hover::after, button.talent-entry-logo:focus-visible::after { opacity: 1; }
button.talent-entry-logo[aria-busy="true"] { opacity: 0.5; cursor: progress; }
/* Only the dark-on-transparent logos listed in LIGHT_BACKED
   (functions/talentProfileView.js) get a white tile. */
.talent-entry-logo--light:has(img) { background: #fff; }
.talent-entry-logo--light img { padding: 0.3rem; box-sizing: border-box; }
.talent-entry-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* No white backing: the fallback building is a LIGHT mark (it is drawn on
     the job cards' dark background too) and vanished into it. Company logos
     sit on the dark box the same way they do on a job card. */
}
.talent-entry-logo .site-icon { width: 1.6rem; height: 1.6rem; }
.talent-entry-body {
  min-width: 0;
  font-family: 'Nunito', sans-serif;
}
.talent-entry-body p { margin: 0; }
.talent-entry-title {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.talent-entry-line {
  color: rgba(215, 215, 215, 1);
  font-size: 0.92rem;
  line-height: 1.4;
}
.talent-entry-org { color: inherit; text-decoration: none; }
.talent-entry-org:hover { color: var(--brand); text-decoration: underline; }
.talent-entry-meta {
  color: rgba(140, 140, 140, 1);
  font-size: 0.85rem;
  line-height: 1.4;
}
.talent-entry-meta--lapsed { color: rgba(220, 120, 100, 1); }
.talent-entry .applicant-sep { margin: 0 0.35em; color: rgba(100, 100, 100, 1); }
.talent-entry-desc {
  margin-top: 0.45rem;
}
.talent-entry-desc .talent-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(200, 200, 200, 1);
  margin-bottom: 0.35rem;
}
/* A role's skills: small tags under its description. */
.talent-entry-skills {
  margin-top: 0.4rem;
  gap: 0.25rem;
}
.talent-entry-skills .hosted-tag {
  height: 1.35rem;
  padding: 0 0.45em;
  font-size: 0.72rem;
}
.talent-fact-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75em;
  color: rgba(140, 140, 140, 1);
}
/* "Outside Japan" beside an exact place that is in Japan (own page). */
.talent-conflict { color: #f5a524; }
/* The end of a row that qualifies its value ("English · Required"). */
.talent-row-sub { color: rgba(170, 170, 170, 1); }
.talent-facts .talent-link + .talent-link { margin-left: 0.75rem; }
/* The docked card is the grid's card, at the panel's width — its compose
   overlay still covers it, so Message and Request resume work in place. */
.company-side .applicant-card {
  width: 100%;
  margin-bottom: 1.25rem;
}
/* The profile photo beside the name. The card image's own small radius
   (.job-image), `cover` because it is a photo, not a logo. */
.talent-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.talent-identity-text { min-width: 0; }
/* The profile avatar, at page size:
   the name's first letter on a brand-orange square, an uploaded photo laid
   over it when there is one. */
.talent-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  flex: none;
  overflow: hidden;
  border-radius: 0;
  background: #ff8000;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.talent-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.talent-profile .talent-avatar--editable { padding: 0; border: 0; cursor: pointer; }
.talent-profile .talent-avatar--editable:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.talent-profile .talent-avatar--editable:disabled { opacity: 0.5; cursor: progress; }
@media (max-width: 600px) {
  .talent-avatar { width: 3.5rem; height: 3.5rem; font-size: 1.6rem; }
}
/* The profile's further fields: one definition list per group, the question on
   the left and the answer on the right, stacking on a phone. */
.talent-dl { margin: 0; }
.talent-dl-row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 0.25rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.07);
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}
.talent-dl-row:last-child { border-bottom: 0; }
.talent-dl-row dt { color: rgba(150, 150, 150, 1); }
.talent-dl-row dd { margin: 0; color: rgba(225, 225, 225, 1); }
.talent-dl-row dd .talent-text { font-size: inherit; margin-bottom: 0.3rem; }
/* A list answer (achievements, other languages…): one item per line, aligned
   with every other answer — no bullet indent, which pushed these alone 1rem
   right of the column. */
.talent-dl-list { margin: 0; padding: 0; list-style: none; }
.talent-dl-list li { margin-bottom: 0.2rem; }
.talent-dl-list li:last-child { margin-bottom: 0; }
.talent-dl-row--empty dd,
.talent-empty-value { color: rgba(140, 140, 140, 1); font-style: italic; }
@media (max-width: 600px) {
  .talent-dl-row { grid-template-columns: 1fr; }
}
/* Flush with the section's text, no bullets: the highlights are the About
   section's own lines now, and a single one read as an indented stray. */
.talent-highlights {
  margin: 0;
  padding-left: 0;
  list-style: none;
  max-width: 42rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(225, 225, 225, 1);
}
.talent-highlights li + li { margin-top: 0.4rem; }
/* The highlights are the About section's list, under what they wrote. */
.talent-text + .talent-highlights { margin-top: 0.7rem; }
/* Section headings ("About", "Working conditions"…): the detail pages' own small
   uppercase brand heading. The rule that gives the job pages theirs is scoped
   to .hosted-job-main, which this page does not use, so without this they fell
   through to the global `h2` (3.2rem). */
.talent-profile .talent-section h2 {
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand);
}
/* Keep every field visible, but let answered content lead. Dim an entire
   section heading only when all of its fields are unanswered. No/zero are
   real answers and never receive the empty-row marker. */
.talent-profile { --talent-unanswered: rgba(128, 128, 128, 0.5); }
.talent-profile .talent-dl-row--empty dt,
.talent-profile .talent-dl-row--empty dd,
.talent-profile .talent-empty,
.talent-profile .talent-empty-value,
.talent-profile .company-stat:has(.talent-empty-value) .company-stat-key,
.talent-profile .talent-section:has(> .talent-empty) > h2,
.talent-profile .talent-section:has(> .talent-dl):not(:has(.talent-dl-row:not(.talent-dl-row--empty))) > h2 {
  color: var(--talent-unanswered);
}
/* THE PUBLIC PROFILE (2026-10-11): the layout of a LinkedIn profile — a hero
   (a cover band, the picture overlapping it, the name, the headline, where
   they are), then one card per section — drawn in RANKED'S OWN STYLE, not
   LinkedIn's: black faces outlined by hairlines, with square corners,
   the hero framed in the brand orange like a top-ranked card, the square
   avatar, the display face for the name, and the site's small orange
   uppercase section headings. Nothing here is rounded or grey. */
.talent-profile-card {
  /* Black, like the page (founder, 2026-10-11): the cards are drawn by their
     hairline borders, not by a lighter fill. */
  --talent-face: #000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.talent-profile-card > .detail-head,
.talent-profile-card > .hosted-job-section {
  margin: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: var(--talent-face);
}
.talent-profile-card > .hosted-job-section { padding: 1.2rem 1.5rem 1.4rem; }
/* The hero is the person's card: the brand border a job card wears. */
.talent-profile-card > .detail-head {
  padding: 0 0 1.4rem;
  overflow: hidden;
  border: 0.125rem solid var(--brand-fill);
}
.talent-cover {
  height: 5.5rem;
  background:
    radial-gradient(ellipse at left top, rgba(255, 128, 0, 0.85) 0%, rgba(255, 128, 0, 0) 62%),
    radial-gradient(ellipse at right top, rgba(10, 10, 10, 1) 0%, rgba(0, 0, 0, 1) 47%, rgba(10, 10, 10, 1) 100%);
  border-bottom: 0.0625rem solid var(--brand-ring-soft);
}
.talent-profile-card .talent-identity { display: block; padding: 0 1.5rem; }
/* The site's square avatar, larger, sitting across the cover's edge. */
.talent-profile-card .talent-avatar {
  width: 6.5rem;
  height: 6.5rem;
  margin-top: -3.4rem;
  box-sizing: content-box;
  border: 0.25rem solid var(--talent-face);
  font-size: 2.8rem;
}
.talent-profile .talent-profile-card .talent-avatar--editable { border: 0.25rem solid var(--talent-face); }
.talent-profile-card .talent-identity-text { margin-top: 0.9rem; }
.talent-profile-card .talent-sub { margin-top: 0.25rem; }
.talent-hero-meta {
  display: flex; align-items: center; gap: 0.35rem;
  margin: 0.5rem 0 0;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: rgba(150, 150, 150, 1);
}
.talent-hero-meta svg { width: 0.75rem; height: 0.75rem; flex: none; }
/* "Updated 14 Oct 2026" in the cover's top-right corner (the cover's own
   buttons are bottom-right). Deliberately faint — few readers need it: no
   pill, small, low contrast, with a soft shadow so it survives a photo cover. */
.talent-cover { position: relative; }
.talent-cover-updated {
  position: absolute; top: 0.45rem; right: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  /* A firm black outline plus a soft halo: readable on a bright photo cover. */
  text-shadow: 0 0 1px rgba(0, 0, 0, 1), 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 0.4rem rgba(0, 0, 0, 0.8);
  font-family: 'Nunito', sans-serif; font-size: 0.6rem; line-height: 1.2;
  pointer-events: none;
}
/* An uploaded cover fills the band; on the own page the band is a button that
   says so when pointed at (2026-10-12). */
.talent-cover--image { background-size: cover; background-position: center; }
.talent-cover--editable { position: relative; }
/* ⚠️ The identity box starts 3.4rem ABOVE the cover's edge (the photo's negative
   margin collapses through it), so its empty right-hand part lay over the
   cover's buttons and swallowed every click — "Add cover image", "Change" and
   "Remove" could be seen and not pressed (found in the 2026-10-13
   click-through). The box itself takes no pointer events; what is in it does. */
.talent-profile-card .talent-identity { pointer-events: none; }
.talent-profile-card .talent-identity > * { pointer-events: auto; }
.talent-cover-actions { position: absolute; right: 0.75rem; bottom: 0.6rem; display: flex; gap: 0.4rem; opacity: 0; transition: opacity 0.12s; }
.talent-cover--editable:hover .talent-cover-actions, .talent-cover-actions:focus-within { opacity: 1; }
@media (hover: none) { .talent-cover-actions { opacity: 1; } }
.talent-cover-button {
  padding: 0.25rem 0.65rem; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(0, 0, 0, 0.65); color: #fff; font-family: 'Nunito', sans-serif; font-size: 0.75rem; line-height: 1.3;
}
.talent-cover-button:hover { background: rgba(0, 0, 0, 0.85); }
.talent-cover-button:disabled, .talent-cover-button[aria-busy="true"] { opacity: 0.6; cursor: progress; }
/* The hero's languages (name, then its level, quieter) and, as its bottom row,
   the person's links as small buttons (2026-10-12). */
.talent-hero-langs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 0; padding: 0; list-style: none; font-family: 'Nunito', sans-serif; font-size: 0.78rem; }
/* Languages and, beside them, contact + links: one row, the links following
   the chips (they wrap under them when there is no room). */
.talent-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin: 0.8rem 0 0; }
.talent-hero-row .talent-hero-langs, .talent-hero-row .talent-hero-links, .talent-hero-row .talent-hero-skills { margin: 0; }
.talent-hero-row + .talent-hero-row { margin-top: 0.6rem; }
.talent-hero-row .talent-hero-links { margin-left: auto; }
/* Each language is a compact chip (2026-10-13). */
.talent-hero-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.07); line-height: 1.3; white-space: nowrap; }
/* The identity (left) and where they are now (right): the current employer and
   the latest school, a small logo and a name each. They drop under the
   identity when the card is narrow. */
.talent-hero-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.8rem 2rem; }
.talent-hero-who { min-width: 0; flex: 1 1 16rem; }
.talent-hero-orgs { display: grid; gap: 0.55rem; margin: 0.15rem 0 0; padding: 0; list-style: none; flex: 0 1 15rem; min-width: 0; }
/* On a wide card the block starts at the TOP of the identity area, just under
   the cover's orange edge beside the photo (2026-10-13) — not level with the
   name — and the left column keeps clear of it. Narrow, it flows under the
   identity as before. */
@media (min-width: 760px) {
  .talent-profile-card .talent-identity:has(.talent-hero-orgs) { position: relative; }
  /* ⚠️ The identity box starts 3.4rem ABOVE the cover's edge: the photo's
     negative top margin collapses through it. So "just under the cover" is
     that 3.4rem plus the gap, not the gap alone (which put the block on the
     cover image). */
  .talent-profile-card .talent-hero-orgs { position: absolute; top: calc(3.4rem + 0.9rem); right: 1.5rem; width: min(15rem, 42%); margin: 0; }
  .talent-profile-card .talent-hero-top:has(.talent-hero-orgs) .talent-hero-who { padding-right: calc(min(15rem, 42%) + 1.5rem); }
  /* The positioned block (three rows at most, ~6.4rem) starts 3.6rem above this
     box and must end before the full-width rows under it. */
  .talent-profile-card .talent-hero-top:has(.talent-hero-orgs) { min-height: 3.4rem; }
}
.talent-hero-org { display: flex; align-items: center; gap: 0.55rem; min-width: 0; font-family: 'Nunito', sans-serif; font-size: 0.85rem; }
.talent-hero-org-logo { flex: none; width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; position: relative; border-radius: 0.15rem; overflow: hidden; color: rgba(200, 200, 200, 1); }
.talent-hero-org-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.talent-hero-org-logo:has(img) svg { visibility: hidden; }
.talent-hero-org-name { color: #fff; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talent-hero-org-text { display: grid; min-width: 0; line-height: 1.25; }
/* Own page: take an employer or school off the card, or put it back. What was
   taken off stays listed, dimmed. */
.talent-hero-org-toggle {
  flex: none; margin-left: auto; width: 1.4rem; height: 1.4rem; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: rgba(200, 200, 200, 1); font: inherit; font-size: 0.9rem; line-height: 1; opacity: 0; transition: opacity 0.12s;
}
.talent-hero-org:hover .talent-hero-org-toggle, .talent-hero-org-toggle:focus-visible, .talent-hero-org--hidden .talent-hero-org-toggle { opacity: 1; }
@media (hover: none) { .talent-hero-org-toggle { opacity: 1; } }
.talent-hero-org-toggle:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.talent-hero-org-toggle:disabled { opacity: 0.4; cursor: progress; }
.talent-hero-org--hidden .talent-hero-org-logo, .talent-hero-org--hidden .talent-hero-org-text { opacity: 0.4; }
.talent-hero-org-sub { font-size: 0.75rem; color: rgba(160, 160, 160, 1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Own page: a star on a Skills chip that is shown on the top card. */
.talent-top-skill { margin-left: 0.3rem; font-size: 0.85em; line-height: 1; color: var(--brand); }
/* Top skills: up to five of the Skills section's own chips, a size smaller. */
.talent-hero-skills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.talent-hero-skills .hosted-tag { font-size: 0.75rem; }
a.talent-hero-org-name:hover { text-decoration: underline; }
/* Contact buttons in the hero's bottom row, beside the link buttons. */
.talent-hero-button {
  padding: 0.3rem 0.8rem; border: 0.0625rem solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-size: 0.8rem; line-height: 1.2; color: #fff;
}
.talent-hero-button:hover { border-color: rgba(255, 255, 255, 0.7); }
.talent-hero-button--primary { border-color: var(--brand-fill); background: var(--brand-fill); font-weight: 700; }
.talent-hero-button--primary:hover { border-color: var(--brand-fill); filter: brightness(1.1); }
.talent-hero-button:disabled { opacity: 0.55; cursor: default; }
/* Request contact (functions/contactRequest.js): the panel under the hero's
   button. No message box, by design — Ranked passes on no words of the
   requester's (docs/LEGAL_RISK_AND_TAKEDOWN.md §8). */
.talent-contact {
  margin: 0.9rem 0 0; padding: 1rem 1.1rem; max-width: 34rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18); border-radius: 0.75rem;
  font-family: 'Nunito', sans-serif; font-size: 0.85rem; line-height: 1.5; color: rgba(225, 225, 225, 1);
}
.talent-contact[hidden] { display: none; }
.talent-contact p { margin: 0 0 0.6rem; }
.talent-contact-title { font-weight: 700; color: #fff; }
.talent-contact-consent { padding: 0.6rem 0.75rem; border-left: 0.1875rem solid var(--brand-fill); background: rgba(255, 255, 255, 0.05); color: #fff; }
.talent-contact-note { color: rgba(170, 170, 170, 1); }
.talent-contact-legal { font-size: 0.75rem; }
.talent-contact-label { display: flex; flex-direction: column; gap: 0.3rem; margin: 0 0 0.6rem; color: rgba(190, 190, 190, 1); }
.talent-contact-email {
  max-width: 22rem; padding: 0.45rem 0.6rem; border: 0.0625rem solid rgba(255, 255, 255, 0.25); border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.35); color: #fff; font: inherit; font-size: 16px;
}
.talent-contact-email:focus { outline: 0.125rem solid var(--brand-fill); outline-offset: 0.0625rem; }
.talent-contact-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.2rem 0 0.4rem; }
.talent-contact-status:empty { display: none; }
.talent-contact-status[data-tone="error"] { color: rgba(255, 140, 120, 1); }
.talent-contact-status[data-tone="ok"] { color: #fff; }
.talent-hero-lang { color: #fff; font-weight: 600; }
.talent-hero-flag { font-size: 1rem; line-height: 1; vertical-align: -0.08em; }
.talent-hero-level { color: rgba(170, 170, 170, 1); }
.talent-hero-links { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.9rem 0 0; }
.talent-hero-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.7rem; border: 0.0625rem solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  font-family: 'Nunito', sans-serif; font-size: 0.8rem; line-height: 1.2; color: #fff; text-decoration: none;
}
.talent-hero-link:hover { border-color: var(--brand); color: var(--brand); }
.talent-hero-link svg { width: 0.85rem; height: 0.85rem; flex: none; }
/* A compact hero: wrapping facts above a dedicated links/contact row. */
@media (max-width: 759.98px) {
  .talent-profile-card .talent-identity { padding-inline: 1rem; }
  .talent-profile-card .talent-avatar { width: 5rem; height: 5rem; margin-top: -2.6rem; }
  .talent-profile-card .talent-identity-text {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem 0.5rem;
  }
  .talent-profile-card .talent-hero-top { grid-column: 1 / -1; grid-row: 1; }
  .talent-profile-card .talent-hero-row { display: contents; }
  .talent-profile-card .talent-hero-langs { grid-column: 1 / -1; grid-row: 2; min-width: 0; padding-top: 0.75rem; }
  /* Keep the full language name accessible while making flagged chips compact. */
  .talent-profile-card .talent-hero-chip:has(.talent-hero-flag) .talent-hero-lang {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .talent-profile-card .talent-hero-skills { grid-column: 1 / -1; grid-row: 3; min-width: 0; max-width: 100%; }
  .talent-profile-card .talent-hero-skills .hosted-tag { max-width: 100%; white-space: normal; overflow-wrap: anywhere; box-sizing: border-box; }
  .talent-profile-card .talent-hero-websites { grid-column: 1; grid-row: 4; margin-left: 0; min-width: 0; align-self: center; }
  .talent-profile-card .talent-hero-contact { grid-column: 2; grid-row: 4; justify-self: end; align-self: center; }
  .talent-profile-card .talent-hero-orgs { flex-basis: 100%; }
  .talent-profile-card .talent-hero-org-name,
  .talent-profile-card .talent-hero-org-sub { white-space: normal; overflow-wrap: anywhere; }
}
.talent-entry-kind { color: rgba(170, 170, 170, 1); }
/* What follows the identity in the hero (the contact buttons, or the line
   saying there is no way to contact them) keeps the hero's own gutter. */
.talent-profile-card > .detail-head > :not(.talent-cover):not(.talent-identity) { margin: 1rem 1.5rem 0; }
/* ── THE OWN PAGE'S TWO TABS (2026-10-11) ───────────────────────────────────
   "Public profile" (the default) and "Job-search details". Both are in the
   page; the wrapper's data-tab shows one. Each has the page's whole width —
   the profile capped at a reading measure, the details spread across it. */
.talent-own-hero { margin-bottom: 1.25rem; }
/* Keep the hero, tab rule and profile sections on the same reading width. */
.talent-own-left > .talent-own-hero,
.talent-own-left > .talent-tabs { width: 100%; max-width: 700px; box-sizing: border-box; }
.talent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0 0 1.25rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.12);
}
.talent-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 -0.0625rem;
  padding: 0.35rem 0 0.6rem;
  border: 0;
  border-bottom: 0.15rem solid transparent;
  border-radius: 0;
  background: none;
  font-family: "Darker Grotesque", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: rgba(160, 160, 160, 1);
  cursor: pointer;
}
.talent-tab .talent-tab-icon { width: 0.875rem; height: 0.875rem; flex: none; color: inherit; transform: translateY(0.15rem); }
.talent-tab:hover { color: #fff; }
.talent-tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--brand-fill); }
.talent-tab:focus-visible { outline: 0.0625rem solid var(--brand); outline-offset: 0.2rem; }
.talent-tab-count { margin-left: 0.25rem; transform: translateY(0.2rem); font-family: 'Nunito', sans-serif; font-size: 0.75rem; font-weight: 400; color: rgba(150, 150, 150, 1); }
/* One view at a time, each on a single full-width column. */
.talent-profile--own[data-tab] .hosted-job-grid { grid-template-columns: minmax(0, 1fr); }
.talent-profile--own[data-tab="profile"] .hosted-job-side,
.talent-profile--own[data-tab="details"] .hosted-job-body { display: none; }
/* THE PAGE: the tabbed side on the left, and beside it — always, whichever
   tab is showing, when there is room — the column for changing the profile
   and saying who sees it (stacked under it otherwise). */
.talent-own-layout { display: grid; grid-template-columns: minmax(0, 700px); gap: 2rem 2.5rem; align-items: start; justify-content: center; }
.talent-profile--own > .talent-own-layout { grid-template-columns: minmax(0, 700px); justify-content: center; row-gap: 0; }
.talent-profile--own > .talent-own-layout > .talent-own-left { grid-column: 1; grid-row: 1; }
.talent-profile--own > .talent-own-layout > .talent-profile-aside { display: none; grid-row: 2; grid-column: 1; }
.talent-profile--own[data-tab="editor"] .hosted-job-grid { display: none; }
.talent-profile--own[data-tab="editor"] > .talent-own-layout > .talent-profile-aside { display: block; }
@media (min-width: 1100px) {
  .talent-tab[data-profile-tab="editor"] { display: none; }
  .talent-profile--own > .talent-own-layout > .talent-own-left { grid-column: 1; grid-row: 1; }
  .talent-profile--own > .talent-own-layout > .talent-profile-aside { display: block; grid-column: 2; grid-row: 1; }
  .talent-own-layout { grid-template-columns: minmax(0, 700px) minmax(16rem, 21rem); }
  .talent-profile--own > .talent-own-layout { grid-template-columns: minmax(0, 700px) minmax(16rem, 500px); column-gap: 2rem; }
  .talent-profile--own > .talent-own-layout > .talent-profile-aside {
    width: 100%;
    box-sizing: border-box;
    justify-self: stretch;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgb(10, 10, 10);
    background-clip: content-box;
  }
}
/* The left side is its own container: the details' columns are decided by the
   room IT has, which is the page's less the column beside it. */
.talent-own-left { min-width: 0; width: 100%; max-width: 700px; container-type: inline-size; container-name: talent-left; }
.talent-profile--own[data-tab="profile"] .hosted-job-body { max-width: 700px; }
/* Owner tools share one continuous panel on desktop. */
.talent-profile--own > .talent-own-layout > .talent-profile-aside { min-width: 0; width: 100%; max-width: 500px; box-sizing: border-box; }
.talent-profile--own > .talent-own-layout > .talent-profile-aside > .talent-aside-block {
  padding: 1.25rem;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.talent-profile-aside > .talent-aside-block > h2 { display: flex; align-items: center; gap: 0.5rem; }
.talent-profile-aside .talent-tool-icon { width: 1rem; height: 1rem; flex: none; color: inherit; }
/* In the editor tab, use the full reading width without nested cards. */
@media (max-width: 1099.98px) {
  .talent-profile--own > .talent-own-layout > .talent-profile-aside { max-width: none; }
  .talent-profile--own > .talent-own-layout > .talent-profile-aside > .talent-aside-block {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
}
.talent-aside-block + .talent-aside-block { margin-top: 2rem; }
.talent-profile--own > .talent-own-layout > .talent-profile-aside > .talent-aside-block + .talent-aside-block { margin-top: 1rem; }
@media (min-width: 1100px) {
  .talent-profile--own > .talent-own-layout > .talent-profile-aside > .talent-aside-block {
    padding: 1.5rem;
  }
  .talent-profile--own > .talent-own-layout > .talent-profile-aside > .talent-aside-block + .talent-aside-block {
    margin-top: 0;
    position: relative;
  }
  .talent-profile--own > .talent-own-layout > .talent-profile-aside > .talent-aside-block + .talent-aside-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
  }
}
@media (max-width: 1099.98px) {
  .talent-profile--own > .talent-own-layout > .talent-profile-aside > .talent-aside-block + .talent-aside-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
/* "UPDATE YOUR PROFILE" (functions/profileAssistant.js): the one framed thing
   in the column — a question, a box to answer it in or to say what to change,
   and the last exchange above it. ⚠️ The site sheet paints a filled textarea
   orange (see .profile-edit-input); stated again here. */
.talent-assist { padding: 1rem 1.1rem 1.1rem; border: 0.125rem solid var(--brand-fill); background: #000; }
/* ── THE QUESTION BOX, DRAWN LIKE THE CHAT ON THE HOME PAGE ────────────────
   (functions/profileAssistant.js, 2026-10-12.) The same parts as chat.css,
   which this page does not load — so its dark-theme values are stated here:
   Ranked's lines as plain text, the person's as the square WHITE block set to
   the right (.msg--user .msg-body), the rounded #303030 composer
   (.composer-box) and the round white send button (.send-btn). The chat's own
   system type, not the site's display face. ⚠️ The site sheet paints a filled
   textarea orange (see .profile-edit-input); stated again here. */
#own-assist {
  --assist-text: #ececec;
  --assist-text-3: #8f8f8f;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--assist-text);
}
.assist-thread { display: flex; flex-direction: column; gap: 0.75rem; margin: 0 0 0.9rem; }
.assist-thread:empty { display: none; }
.assist-msg { display: flex; flex-direction: column; align-items: flex-start; }
.assist-msg--user { align-items: flex-end; }
.assist-msg-body { font-size: 0.95rem; line-height: 1.6; word-break: break-word; white-space: pre-wrap; }
.assist-msg--user .assist-msg-body { max-width: 85%; padding: 0.5rem 0.9rem; background: #ffffff; color: #0d0d0d; }
.assist-activity { flex-direction: row; align-items: center; gap: 0.5rem; min-height: 1.75rem; font-size: 0.875rem; }
.assist-activity-dot { flex: none; width: 0.4375rem; height: 0.4375rem; border-radius: 999px; background: var(--assist-text-3); animation: assist-pulse 1.4s ease-in-out infinite; }
.assist-activity-label { color: var(--assist-text-3); }
@keyframes assist-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.assist-composer-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.7rem 0.7rem 0.5rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: #303030;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: border-color 0.12s ease;
}
.assist-composer-box:focus-within { border-color: rgba(255, 255, 255, 0.2); }
.talent-profile .assist-input,
.talent-profile .assist-input:not(:placeholder-shown) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-height: 11.25rem;
  margin: 0;
  padding: 0.25rem 0.5rem;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  color: var(--assist-text);
  resize: none;
  overflow-y: hidden;
}
.talent-profile .assist-input::placeholder { color: var(--assist-text-3); text-align: left; }
.assist-composer-row { display: flex; align-items: center; gap: 0.25rem; }
.assist-spacer { flex: 1 1 auto; }
.assist-skip { padding: 0.3rem 0.5rem; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 0.78rem; color: var(--assist-text-3); cursor: pointer; }
.assist-skip:hover { background: rgba(255, 255, 255, 0.06); color: var(--assist-text); }
.assist-count { padding: 0.3rem 0.5rem; font-size: 0.75rem; font-variant-numeric: tabular-nums; color: var(--assist-text-3); }
.assist-count.is-warn { color: #e0a23a; }
.assist-count.is-error { color: #e5484d; }
.assist-send {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #0d0d0d;
  cursor: pointer;
  transition: opacity 0.12s ease;
}
.assist-send:hover { opacity: 0.85; }
.assist-send[disabled] { opacity: 0.25; cursor: default; }
/* Sized here: the site sheet's bare `svg` rule would stretch it. */
.assist-send svg { display: block; width: 1.125rem; height: 1.125rem; }
.assist-note { margin: 0.6rem 0.4rem 0; font-size: 0.75rem; line-height: 1.45; color: var(--assist-text-3); }
/* A PROPOSAL'S OWN CONTROLS, there only while something is unsaved: Save
   changes (the employer editor's green) and Revert beside it. */
.assist-changes { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.6rem; padding: 0.5rem 0.6rem; border: 0.0625rem solid rgba(46, 160, 67, 0.55); background: rgba(46, 160, 67, 0.08); }
.assist-changes-label { font-size: 0.78rem; color: var(--assist-text); }
.assist-save,
.assist-revert { padding: 0.3rem 0.8rem; border-radius: 999px; font: inherit; font-size: 0.8rem; cursor: pointer; }
.assist-save { border: 0; background: #2ea043; color: #fff; font-weight: 600; }
.assist-save:hover { background: #3fb950; }
.assist-revert { border: 0.0625rem solid rgba(255, 255, 255, 0.22); background: none; color: var(--assist-text); }
.assist-revert:hover { background: rgba(255, 255, 255, 0.06); }
.assist-save[disabled],
.assist-revert[disabled] { opacity: 0.5; cursor: default; }
/* A row the unsaved proposal changes, on the page itself: the same green. */
.talent-profile .talent-proposed { box-shadow: inset 0.1875rem 0 0 #2ea043; background: rgba(46, 160, 67, 0.1); }
.talent-profile .hosted-tag.talent-proposed { box-shadow: none; border-color: #2ea043; }
/* A section something was REMOVED from: nothing left on the page to mark, so
   its heading says it. */
.talent-profile h2.talent-proposed { padding-left: 0.5rem; }
.talent-assist-notice { margin: 0.6rem 0 0; font-family: 'Nunito', sans-serif; font-size: 0.8rem; line-height: 1.45; color: #f5a524; }
.talent-assist-resume { font-family: 'Nunito', sans-serif; font-size: 0.85rem; color: rgba(225, 225, 225, 1); }
/* The resume block in the aside, kept quiet: the file and its date on one
   line, the actions as small text links (2026-10-12). */
.talent-resume-block .own-resume { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.6rem; }
.talent-resume-block .own-resume-file { font-size: 0.85rem; color: rgba(225, 225, 225, 1); }
.talent-resume-block .talent-fact-note { margin: 0; font-size: 0.75rem; color: rgba(140, 140, 140, 1); }
.talent-resume-block .own-resume-body { flex-basis: 100%; }
.talent-resume-block .own-resume-actions { gap: 0.2rem 0.9rem; margin-top: 0.35rem; }
.talent-resume-block .own-resume-btn { padding: 0; border: 0; border-radius: 0; font-size: 0.78rem; color: rgba(160, 160, 160, 1); }
.talent-resume-block .own-resume-btn:hover { background: none; color: #fff; text-decoration: underline; }
/* NO RESUME ON FILE (2026-10-14): the side column's block becomes a call to
   action — the reason to add one, and a real button — because attaching a
   resume is the one step that fills most of the profile. With a file on
   record it is the quiet line above again. */
.talent-resume-block .own-resume--empty,
.talent-resume-block .own-resume--filed { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; }
/* On file, the sentence is a note, in the column's own note type (.talent-aside-note). */
.talent-resume-block .own-resume--filed .own-resume-pitch { margin: 0 0 0.7rem; font-size: 0.82rem; line-height: 1.45; color: rgba(150, 150, 150, 1); }
.talent-resume-block .own-resume--filed .own-resume-file { display: inline-block; margin-right: 0.5rem; font-size: 0.95rem; font-weight: 700; color: #fff; }
.talent-resume-block .own-resume--filed .own-resume-btn { font-size: 0.85rem; color: rgba(210, 210, 210, 1); text-decoration: underline; text-underline-offset: 0.15em; }
.own-resume-pitch { display: none; }
.talent-resume-block .own-resume-pitch { display: block; margin: 0 0 0.75rem; font-size: 0.92rem; line-height: 1.45; color: #fff; }
.talent-resume-block .own-resume--empty .own-resume-file { display: none; }
.talent-resume-block .own-resume--empty .own-resume-actions { margin-top: 0; }
.talent-resume-block .own-resume--empty .own-resume-btn { padding: 0.5rem 1rem; border-radius: 999px; background: var(--brand); color: #000; font-size: 0.85rem; font-weight: 700; }
.talent-resume-block .own-resume--empty .own-resume-btn:hover { background: var(--brand); color: #000; text-decoration: none; filter: brightness(1.1); }
.talent-aside-note { margin: 0 0 0.7rem; font-family: 'Nunito', sans-serif; font-size: 0.82rem; line-height: 1.45; color: rgba(150, 150, 150, 1); }
#preview-companies > h2,
.talent-profile .talent-company-loading > h2 { margin: 0 0 0.7rem; font-family: 'Nunito', sans-serif; font-size: 0.78rem; font-weight: 400; line-height: 1.45; letter-spacing: normal; text-transform: none; color: rgba(140, 140, 140, 1); }
/* WHO CAN SEE THIS (functions/ownProfilePage.js renderVisibility). The switch
   is the account surface's own markup (chat/views.js permissionToggle), styled
   by chat.css, which this page does not load — these are its few rules. */
.talent-visibility-status { margin: 0 0 0.8rem; font-family: 'Nunito', sans-serif; font-size: 0.92rem; font-weight: 600; line-height: 1.4; color: #fff; }
.talent-visibility-list { margin: 0; font-family: 'Nunito', sans-serif; font-size: 0.82rem; line-height: 1.45; }
.talent-visibility-list dt { margin: 0.55rem 0 0; color: rgba(225, 225, 225, 1); font-weight: 600; }
.talent-visibility-list dt:first-child { margin-top: 0; }
.talent-visibility-list dd { margin: 0.1rem 0 0; color: rgba(150, 150, 150, 1); }
.talent-visibility .switch-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.12);
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}
.talent-visibility .switch-text { display: grid; gap: 0.25rem; min-width: 0; }
.talent-visibility .switch-title { font-size: 0.9rem; font-weight: 600; color: #fff; }
.talent-visibility .switch-consent { font-size: 0.76rem; line-height: 1.45; color: rgba(150, 150, 150, 1); }
.talent-visibility .switch { flex: none; }
.talent-visibility .switch-input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--brand-fill); cursor: pointer; }
.talent-visibility .switch-track { display: none; }
.talent-visibility .talent-visibility-status { margin-bottom: 0.3rem; }
.talent-visibility .talent-aside-note { margin: 0 0 0.8rem; }
.talent-visibility .talent-zone { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin: 0.8rem 0 0; }
.talent-visibility .view-error { margin: 0; font-size: 0.76rem; color: #e5484d; }
.talent-visibility .permission-details { margin-top: 0.5rem; font-family: 'Nunito', sans-serif; font-size: 0.76rem; line-height: 1.6; }
.talent-visibility .permission-details summary { width: fit-content; padding: 0.25rem 0; cursor: pointer; color: #fff; }
.talent-visibility .permission-details-body { margin-top: 0.5rem; color: rgba(150, 150, 150, 1); }
.talent-visibility .permission-details-body p + p { margin-top: 0.75rem; }
/* THE DETAILS TAB: the two sections side by side, each one a column of rows
   with room for the value on one line (the label takes two fifths). Each
   section's rows split into two columns only on a very wide page: at a
   laptop's width four narrow columns wrapped every value, which read as
   cramped. */
.talent-profile--own[data-tab="details"] .talent-side-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.talent-profile--own[data-tab="details"] .talent-side-col + .talent-side-col { margin-top: 0; }
.talent-profile--own[data-tab="details"] .talent-side-col .company-stat,
.talent-profile--own[data-tab="details"] .talent-side-col .talent-dl-row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
@container talent-left (min-width: 46rem) {
  .talent-profile--own[data-tab="details"] .talent-side-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@container talent-left (min-width: 104rem) {
  .talent-profile--own[data-tab="details"] .talent-panel-section > .talent-dl { columns: 2; column-gap: 2.75rem; }
  .talent-profile--own[data-tab="details"] .talent-panel-section > .talent-dl > div { break-inside: avoid; }
}
/* ── THE OWN PAGE'S CONTAINER ───────────────────────────────────────────────
   Layout here is decided by the room the profile actually has (container
   queries — the rail is open on some visits and closed on others, so the
   viewport says little). ⚠️ Every `@container talent-profile` rule on this
   page depends on this one declaration. */
.talent-profile { container-type: inline-size; container-name: talent-profile; }
/* No rule between the two halves of the page: the cards have their own edges,
   and the gap does the separating. */
.talent-profile--own .company-side { border-left: 0; padding-left: 0; }
.talent-side-col + .talent-side-col { margin-top: 1.25rem; }
.talent-side-col .talent-section { margin-bottom: 1.25rem; }
/* THE DETAILS' ROWS ARE ONE KIND. The sections mix the facts (.company-stat,
   the compact panel rows a reader's page and the job pages use) with the field
   rows (.talent-dl-row); in here both take the field rows' look — label left,
   answer right, the same type and rules. */
.talent-side-col .company-stat {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 0.15rem 0.75rem;
  align-items: start;
  padding: 0.3rem 0;
  border-top: 0;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.07);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  line-height: 1.35;
}
.talent-side-col .company-stat-key {
  font-size: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(150, 150, 150, 1);
}
.talent-side-col .company-stat-val { font-size: inherit; color: rgba(225, 225, 225, 1); overflow-wrap: anywhere; }
/* A section holding facts is never "all unanswered" just because its field
   rows are (the rule that greys a wholly empty section's heading). */
.talent-profile .talent-side-col .talent-panel-section:has(.company-stat .company-stat-val) > h2 { color: var(--brand); }
/* THE DETAILS HAVE A TAB OF THEIR OWN NOW (2026-10-12), and the room that
   comes with it: they were set a step smaller while they shared the page with
   the profile, which read as cramped once they did not. Body-size rows with
   air between them, a proper heading, a wider gutter. */
.talent-profile--own .talent-side-col .company-stat,
.talent-profile--own .talent-side-col .talent-dl-row { padding-top: 0.48rem; padding-bottom: 0.48rem; font-size: 0.92rem; line-height: 1.4; }
.talent-profile--own .talent-side-col .talent-section h2 { margin-bottom: 0.7rem; font-size: 1.1rem; }
.talent-profile--own .hosted-job-side .talent-zone-note { font-size: 0.85rem; }
.talent-profile--own .hosted-job-side .talent-zone { margin-bottom: 1.4rem; }
/* A SECTION'S MARK: the rail's glyph for it, above its title. ⚠️ Sized here —
   the site sheet's bare `svg` rule would stretch it across the panel. */
.talent-panel-icon { display: block; margin: 0 0 0.55rem; color: rgba(215, 215, 215, 1); line-height: 0; }
.talent-panel-icon svg { display: block; width: 1.9rem; height: 1.9rem; }
.talent-side-col .talent-panel-section + .talent-panel-section { margin-top: 2rem; }
/* WHERE A VALUE CAME FROM, ON DEMAND. The ⓘ sat after nearly every answer —
   twenty of them down two narrow columns, and it pushed values onto a second
   line. It is at the row's right edge now, shown while the row is pointed at
   or focused (a tap focuses the value), and takes no room otherwise. */
.talent-profile .talent-side-col .company-stat,
.talent-profile .talent-side-col .talent-dl-row { position: relative; padding-right: 1.15rem; }
.talent-side-col .talent-source {
  position: absolute;
  top: 0.3rem;
  right: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.12s;
}
.talent-side-col .company-stat:hover .talent-source,
.talent-side-col .talent-dl-row:hover .talent-source,
.talent-side-col .company-stat:focus-within .talent-source,
.talent-side-col .talent-dl-row:focus-within .talent-source,
.talent-side-col .talent-source:focus-visible { opacity: 1; }
/* Which part is which, on their own page: a small caption over the card
   ("Public profile") and over the details under it. */
.talent-zone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.7rem;
  margin: 0 0 0.6rem;
  font-family: 'Nunito', sans-serif;
}
.talent-zone-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 200, 200, 1);
}
.talent-zone-note { font-size: 0.78rem; color: rgba(140, 140, 140, 1); }
/* THE PREVIEW (/profile/?preview=1): a line saying so, and the right column's
   cards one per row, at the listing cards' own size. */
.talent-preview-bar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; margin: 0 0 0.9rem;
  padding: 0.55rem 0.8rem; border: 0.0625rem solid var(--brand-ring-soft); font-family: 'Nunito', sans-serif; font-size: 0.82rem; color: rgba(225, 225, 225, 1);
}
.talent-profile-aside .talent-preview-cards { display: grid; grid-template-columns: 1fr; gap: 0.75rem; padding: 0; margin: 0; }
.talent-profile-aside .talent-preview-cards .items-grid > * { width: 100%; max-width: none; box-sizing: border-box; grid-column: auto; }
.talent-zone-link { font-size: 0.78rem; color: var(--brand); text-decoration: none; }
.talent-zone-link:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .talent-profile-card > .hosted-job-section { padding: 1.1rem 1rem 1.2rem; }
  .talent-profile-card .talent-identity { padding: 0 1rem; }
  .talent-profile-card > .detail-head > :not(.talent-cover):not(.talent-identity) { margin: 0.9rem 1rem 0; }
  .talent-cover { height: 4.5rem; }
  .talent-profile-card .talent-avatar { width: 5.25rem; height: 5.25rem; margin-top: -2.8rem; font-size: 2.2rem; }
}
/* The profile's field groups, SIDE BY SIDE ("Role & seniority" beside "Career
   details"…): each answer is short, and nine groups in one column ran several
   screens long. Inside a half-width column the row is tighter — the question
   takes a fixed share, the answer the rest. One column on a phone. */
.talent-groups {
  /* NEWSPAPER COLUMNS, not a grid: one or two, as many as fit at 16rem —
     decided by the reading column's own width (the rail and the side panel
     take varying room), never by the viewport — and never more than two.
     Sections of very different heights (six jobs beside two degrees) pack
     down the columns instead of each grid row leaving the shorter one's
     height empty. */
  column-width: 16rem;
  column-count: 2;
  column-gap: 4.5rem;
}
/* Every section stays whole in one column, its heading with it. */
.talent-groups > .talent-section { break-inside: avoid; }
.talent-groups .talent-section h2 { break-after: avoid; }
.talent-groups .hosted-job-section { margin-bottom: 1rem; }
.talent-groups .talent-dl-row,
.talent-side-col .talent-dl-row {
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 0.15rem 0.75rem;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  line-height: 1.35;
}
.talent-groups .talent-dl-row dd,
.talent-side-col .talent-dl-row dd { overflow-wrap: anywhere; }
.talent-skill-sub {
  margin: 0.9rem 0 0.4rem;
  color: rgba(150, 150, 150, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.talent-skill-note {
  margin: 0.5rem 0 0;
  color: rgba(130, 130, 130, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-style: italic;
}
/* An empty history section: the heading stays, so the question has its place. */
.talent-empty {
  margin: 0;
  color: rgba(110, 110, 110, 1);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-style: italic;
}
/* THE HISTORY ROWS — Experience, Education, Certifications. The default lays
   entries side by side (as many 16rem columns as fit); all three currently
   opt into --single below, one column newest first. Compact entries: a
   smaller logo, tighter rows, smaller type. */
.talent-history-row .talent-history {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
  column-gap: 2rem;
  align-items: start;
}
/* NO HAIRLINES between entries here. In a grid each cell's rule ended at its
   own entry's height, so neighbours drew their lines at different heights —
   staggered strokes that read as a mistake. Spacing separates them instead. */
.talent-history-row .talent-history { row-gap: 1.25rem; }
/* Experience: ONE column, newest first top to bottom — a career reads as a
   single timeline, not a grid to scan across. */
/* Capped at a comfortable reading measure and left-aligned: full width made
   each description one very long line. */
.talent-history-row--single .talent-history { grid-template-columns: minmax(0, 38rem); }
.talent-history-row .talent-entry,
.talent-history-row .talent-entry:first-child,
.talent-history-row .talent-entry:last-child {
  gap: 0.65rem;
  padding: 0;
  border-bottom: 0;
}
.talent-history-row .talent-entry-logo {
  width: 2.25rem;
  height: 2.25rem;
}
.talent-history-row .talent-entry-logo .site-icon { width: 1.2rem; height: 1.2rem; }
.talent-history-row .talent-entry-title { font-size: 0.92rem; line-height: 1.25; }
.talent-history-row .talent-entry-line { font-size: 0.85rem; line-height: 1.3; }
.talent-history-row .talent-entry-meta { font-size: 0.78rem; line-height: 1.35; }
.talent-history-row .talent-entry-desc { margin-top: 0.25rem; }
.talent-history-row .talent-entry-desc .talent-text { font-size: 0.85rem; line-height: 1.4; margin-bottom: 0.2rem; }
.talent-history-row .talent-entry-skills { margin-top: 0.35rem; }
.talent-groups .hosted-job-taglist { gap: 0.3rem; }
.talent-groups .talent-empty,
.talent-history-row .talent-empty { font-size: 0.85rem; }
/* SKILLS, its own full-width row: one run of chips. A chip with details (its
   years, where it was used) carries an ⓘ and shows them on hover/focus/tap
   (tagtip.js); the pointer and focus ring say it can be asked. */
.talent-skill-tip { cursor: help; }
.talent-skill-tip .tag-info { margin-left: 0.2em; opacity: 0.6; font-size: 0.85em; }
.talent-skill-tip:focus-visible { outline: 0.0625rem solid var(--brand); outline-offset: 0.125rem; }
/* SEVERAL ROLES AT ONE COMPANY (a promotion): each role on a thin vertical
   timeline under the company, a dot per role — LinkedIn's arrangement. */
.talent-roles {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}
.talent-role {
  position: relative;
  padding: 0 0 0.6rem 0.9rem;
  border-left: 0.0625rem solid rgba(255, 255, 255, 0.18);
}
.talent-role:last-child { padding-bottom: 0; border-left-color: transparent; }
.talent-role::before {
  content: "";
  position: absolute;
  left: -0.22rem;
  top: 0.35rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(200, 200, 200, 1);
}
.talent-role-title {
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
}
.talent-history-row .talent-role-title { font-size: 0.88rem; }
/* A school logo, when one is cached, covers the mortarboard drawn after it;
   if the logo fails it removes itself and the glyph shows. */
.talent-entry-logo img + .site-icon { display: none; }

/* Private profile sources use the shared hover/focus/tap tooltip. */
.talent-owner-intro {
  margin: 0.25rem 0 0;
  max-width: 44rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(170, 170, 170, 1);
}
.talent-source {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  color: rgba(140, 140, 140, 1);
  cursor: help;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  line-height: 1.3;
}
.talent-source--user { color: rgba(120, 190, 120, 1); }
.talent-source:focus-visible { outline: 0.0625rem solid var(--brand); outline-offset: 0.125rem; }

/* ── THE RESUME ROW (/{en,ja}/profile/, 2026-10-10) ─────────────────────────
   The last row of the own page's facts panel: the file's name, when it was
   added, then small Replace / Download / Delete (functions/chat/views.js
   resumeSection({ compact })). It was a boxed section above the profile,
   styled by copies of chat.css's account rules; those copies are gone. */
.own-resume-file { word-break: break-word; }
.own-resume-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.own-resume-btn {
  padding: 0.15rem 0.6rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  color: rgba(225, 225, 225, 1);
  cursor: pointer;
}
.own-resume-btn:hover { background: rgba(255, 255, 255, 0.06); }
.own-resume-btn[disabled] { opacity: 0.5; cursor: default; }
.own-resume-btn:focus-visible { outline: 0.0625rem solid var(--brand); outline-offset: 0.125rem; }
.own-resume .view-note,
.own-resume .view-error { margin: 0.4rem 0 0; font-size: 0.75rem; line-height: 1.45; color: rgba(160, 160, 160, 1); }
.own-resume .view-error { color: #e5484d; }

/* ── EDITING THE OWN PROFILE IN PLACE (functions/profileEdit.js, 2026-10-10) ──
   A value that can be changed looks exactly like one that cannot until it is
   pointed at: then a faint wash says it can be pressed. No pencils, no form. */
.talent-profile [data-edit] {
  cursor: pointer;
  border-radius: 0.3rem;
  transition: background-color 0.12s, box-shadow 0.12s;
}
.talent-profile [data-edit]:hover,
.talent-profile [data-edit][aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.06);
}
.talent-profile [data-edit]:focus-visible { outline: 0.0625rem solid var(--brand); outline-offset: 0.2rem; }
/* Addressed but not typed on the page (2026-10-12): the editor in the right
   column changes these, so they read as plain text. */
.talent-profile [data-edit][data-readonly],
.talent-profile [data-edit][data-readonly]:hover { cursor: auto; background: none; box-shadow: none; }
.profile-inline-value[data-readonly] { cursor: auto; }
.talent-profile [data-edit].is-saving { opacity: 0.5; pointer-events: none; }
.talent-profile [data-edit].is-editing { cursor: auto; background: none; box-shadow: none; }
/* What is typed looks like what was there: the control takes the text's own
   face, size and colour (font: inherit, plus the text's class from
   data-edit-class), with no box — one rule under a line, a faint frame round
   a paragraph. */
.profile-edit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; width: 100%; max-width: 100%; }
.talent-profile .profile-edit-input {
  flex: 1 1 6rem;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  color-scheme: dark;
}
.talent-profile .profile-edit-input[type="number"] { flex: 0 0 5rem; width: 5rem; }
.talent-profile .profile-edit-input[type="month"] { flex: 0 0 9rem; width: 9rem; }
.talent-profile .profile-edit-input--block {
  display: block;
  border-bottom: 0;
  outline: 0.0625rem solid rgba(255, 255, 255, 0.22);
  outline-offset: 0.35rem;
  border-radius: 0.15rem;
  resize: none;
  overflow: hidden;
}
/* ⚠️ The site sheet paints every FILLED input and textarea brand orange with
   white text (`textarea:not(:placeholder-shown)`, for the old profile drawer),
   which outranks a single class — so these rules are scoped to the page, and
   the filled state is stated again. */
.talent-profile .profile-edit-input:not(:placeholder-shown) { background: transparent; color: inherit; }
/* A paragraph's control takes the paragraph's own type (font: inherit above
   would otherwise read the container's), without its bottom margin. */
.talent-profile .profile-edit-input.talent-text,
.talent-profile .profile-edit-input.talent-text:not(:placeholder-shown) {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(215, 215, 215, 1);
}
.talent-profile .profile-edit-input:focus { outline-color: var(--brand); border-bottom-color: var(--brand); }
.talent-profile .profile-edit-input:not(.profile-edit-input--block):focus { outline: none; }
.talent-profile .profile-edit-input[aria-invalid="true"] { border-bottom-color: #e5484d; }
.profile-edit-unit { font-size: 0.78em; color: rgba(150, 150, 150, 1); white-space: nowrap; }
.profile-edit-error { display: block; flex-basis: 100%; margin-top: 0.25rem; font-size: 0.75rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: #e5484d; }
/* Inline editing retains the reading page's chip, typography and geometry. */
.profile-inline-value { cursor: text; }
.profile-inline-value:focus-visible { outline: 1px solid var(--brand); outline-offset: 2px; }
.profile-inline-editing { outline: none; box-shadow: 0 1px 0 var(--brand); white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-inline-editing:empty { display: inline-block; min-width: 2ch; }
.profile-inline-editing:empty::before { content: attr(data-placeholder); opacity: 0.45; pointer-events: none; }
.talent-profile .profile-inline-select { width: auto; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; color-scheme: dark; }
.talent-profile .profile-inline-select option { background: #202020; color: #fff; }
.profile-inline-error { text-transform: none; white-space: normal; }
.profile-inline-value > .talent-text:last-child { margin-bottom: 0; }
.profile-inline-value:has(> .talent-text).profile-inline-editing { font-family: 'Nunito', sans-serif; font-size: 0.95rem; line-height: 1.45; color: rgba(215, 215, 215, 1); }
/* The About section's two halves on the own page. */
.talent-about-edit + .talent-about-edit { margin-top: 0.7rem; }
.talent-about-edit > :last-child { margin-bottom: 0; }
/* The dropdown: appended to <body> and placed under the value it edits. */
.profile-pop {
  position: absolute;
  z-index: 1200;
  min-width: 11rem;
  max-width: min(20rem, calc(100vw - 1rem));
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  border-radius: 0.6rem;
  background: #1c1b20;
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.55);
  font-family: 'Nunito', sans-serif;
  overflow: hidden;
}
.profile-pop-list { max-height: min(19rem, 60vh); overflow-y: auto; padding: 0.3rem; }
.profile-pop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 0;
  border-radius: 0.35rem;
  background: none;
  font: inherit;
  font-size: 0.84rem;
  text-align: left;
  color: rgba(225, 225, 225, 1);
  cursor: pointer;
}
.profile-pop-item:hover,
.profile-pop-item:focus-visible { background: rgba(255, 255, 255, 0.08); outline: none; }
.profile-pop-item.is-on { color: #fff; }
.profile-pop-item.is-on::after { content: "✓"; color: var(--brand); font-size: 0.8rem; }
.profile-pop-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
}
.profile-pop-clear,
.profile-pop-done {
  padding: 0.2rem 0.5rem;
  border: 0;
  border-radius: 0.3rem;
  background: none;
  font: inherit;
  font-size: 0.76rem;
  color: rgba(165, 165, 165, 1);
  cursor: pointer;
}
.profile-pop-done { margin-left: auto; color: #fff; }
.profile-pop-clear:hover,
.profile-pop-done:hover,
.profile-pop-clear:focus-visible,
.profile-pop-done:focus-visible { background: rgba(255, 255, 255, 0.08); outline: none; }

/* Matching values shown in a profile field the person never stated
   (talentProfileView.js matchingEstimates): the value, then this quiet tag. */
.talent-estimated {
  margin-left: 0.35em;
  padding: 0 0.4em;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 0.25rem;
  font-size: 0.75em;
  color: rgba(160, 160, 160, 1);
  white-space: nowrap;
}

/* ── THE TALENT LISTING'S CARD (2026-10-14) ───────────────────────────────────
   The profile page's hero itself (talentProfileView.js renderTalentCard) —
   the SAME element, nothing taken out or restyled: the whole card is drawn
   smaller with `zoom`, so every part keeps its proportions. One stretched link
   opens the profile; the company links inside sit above it. */
/* THE TALENT LISTING'S LAYOUT (2026-10-14): the filters keep their own column
   on the right, the full height of the page, and the cards fill a grid of
   their own beside it — as many columns as fit at ~350px each, all the same
   width, so no card is squeezed into a leftover track and no hole opens where
   the shared grid's dense flow used to drop them. On a phone the filters go
   above, and a card narrower than its 350px simply shrinks (min(100%, …)),
   its contents scaled down a step more. */
.container:has(.talent-card) { display: flex; align-items: flex-start; gap: 0.6rem; }
/* #items-grid: the site-wide `#items-grid, .items-grid { display: contents }` is an id rule. */
.container:has(.talent-card) > #items-grid {
  display: grid; flex: 1 1 auto; min-width: 0; align-items: start; gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
}
.container:has(.talent-card) > .sidebar { order: 2; flex: 0 0 16.7rem; grid-row: auto; }
.talent-card { position: relative; zoom: 0.8; min-width: 0; }
@media (max-width: 600px) {
  .container:has(.talent-card) { flex-direction: column; align-items: stretch; }
  .container:has(.talent-card) > .sidebar { order: 0; flex: none; }
  .talent-card { zoom: 0.7; }
}
.talent-card:hover { border-color: #fff; }
.talent-card-link { position: absolute; inset: 0; z-index: 1; }
.talent-card .talent-hero-org-name[href] { position: relative; z-index: 2; }
.talent-card .detail-head { margin-bottom: 0; }
/* The hero's own message compose (2026-10-14): only its popup is used, opened
   by the hero's Message button, and it covers the hero. Its ✉ trigger, which
   the old applicant card showed, is not drawn here. */
.talent-hero { position: relative; }
.talent-hero-compose .profile-msg-trigger { display: none; }
.talent-hero-compose .profile-msg-pop { z-index: 5; padding: 1rem 1.2rem; }
.talent-card .applicant-message, .talent-card .talent-hero-compose { position: relative; z-index: 2; }
.talent-card .talent-hero-compose { position: static; }
.talent-card .talent-hero-compose .profile-msg-pop { z-index: 6; }
/* Languages on a listing card (2026-10-14): the row wraps when it runs out of
   room, and with three or more languages each chip drops the language's NAME
   and keeps its flag and level — the name stays for screen readers and in the
   chip's tooltip. A language with no flag keeps its name. */
.talent-card .talent-hero-row { flex-wrap: wrap; }
.talent-card .talent-hero-langs { flex-wrap: wrap; min-width: 0; }
.talent-card .talent-hero-langs:has(> li:nth-child(3)) .talent-hero-chip:has(.talent-hero-flag) .talent-hero-lang {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Independent permissions share the Settings descriptions and disclosures. */
.talent-visibility .permission-disclosure + .permission-disclosure { border-top: 1px solid rgba(255,255,255,.12); margin-top: 0.75rem; padding-top: 0.75rem; }

/* The signed-out account pages (functions/signedOut.js) — identical in
   global.css and chat.css. Owner's option "A", 2026-10-29. */
.signed-out { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.25rem; box-sizing: border-box; }
/* SIZED LIKE THE HOMEPAGE HERO (owner, 2026-10-29), in px because the
   pages carrying this block set different root sizes: the headline (84px,
   0.9; ~14vw on a phone), the lead, and the email box — 352px, the field
   ABOVE a full-width button, the same paddings. Phone values below follow
   home.css's own <=36rem block. */
.signed-out-title { margin: 0 0 24px; font-family: 'Darker Grotesque', sans-serif; font-weight: 700; font-size: min(84px, 14vw); line-height: 0.9; color: #fff; text-wrap: balance; }
.signed-out-lead { margin: 0 auto; max-width: 480px; font-family: 'Nunito', 'Hiragino Sans', sans-serif; font-size: 17.6px; line-height: 1.5; color: #c4c4cc; }
.signed-out-slot { width: 100%; max-width: 352px; margin: 32px auto 0; }
.signed-out-form { display: grid; gap: 8px; text-align: left; }
.signed-out-row { display: flex; flex-direction: column; gap: 8px; }
/* The homepage's email box: a white field (16px text, so iOS does not zoom)
   and the orange button, square like every Ranked control. */
.signed-out .signed-out-input { flex: none; width: 100%; min-width: 0; box-sizing: border-box; margin: 0; padding: 10.4px 14.4px; font: 16px/1.2 'Nunito', 'Hiragino Sans', sans-serif; color: #111; background: #fff; border: 1px solid #fff; border-radius: 0; outline: 0; }
.signed-out .signed-out-input:hover, .signed-out .signed-out-input:focus, .signed-out .signed-out-input:not(:placeholder-shown) { background: #fff; color: #111; border-color: #fff; }
.signed-out .signed-out-input::placeholder { color: #777; }
.signed-out-submit { flex: none; width: 100%; padding: 11.2px 17.6px; font: 700 15.2px/1.2 'Nunito', 'Hiragino Sans', sans-serif; color: #fff; background: #ff8000; border: 1px solid #ff8000; border-radius: 0; cursor: pointer; white-space: nowrap; }
.signed-out-submit:hover { filter: brightness(1.1); }
.signed-out-submit:disabled { opacity: 0.6; cursor: default; }
.signed-out .auth-consent { display: flex; gap: 0.5rem; align-items: flex-start; font: 0.85rem/1.45 'Nunito', 'Hiragino Sans', sans-serif; color: #c4c4cc; }
.signed-out .auth-consent a { color: #fff; }
.signed-out .auth-message { margin: 0; font: 0.9rem/1.45 'Nunito', 'Hiragino Sans', sans-serif; color: #c4c4cc; }
.signed-out .auth-message--error { color: #ff8a80; }
.signed-out-fine { max-width: 352px; margin: 8px auto 0; font-family: 'Nunito', 'Hiragino Sans', sans-serif; font-size: 13.12px; line-height: 1.5; color: #8f8f8f; }
/* Japanese: the face and line height only — its size comes from the
   --ja-optical lever like every Japanese element on this sheet. */
html[lang="ja"] .signed-out-title { font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif; line-height: 1.15; }
/* Phones, as home.css <=36rem (its root is 13px there): the box at 82% of
   the column, the field's 16px text DRAWN at 80% (iOS zooms on anything
   smaller), the smaller button and small print. */
@media (max-width: 576px) {
  html[lang="ja"] .signed-out-title { line-height: 1.3; }
  .signed-out-lead { font-size: 12.6px; max-width: 82%; }
  .signed-out-slot { width: 82%; margin-top: 20.8px; }
  .signed-out-row { gap: 6.5px; }
  .signed-out .signed-out-input { width: 125%; height: 44px; padding: 0 12.35px; transform: scale(0.8); transform-origin: 0 0; margin-bottom: -8.8px; }
  .signed-out-submit { font-size: 11.44px; padding: 9.1px 13px; }
  .signed-out-fine { font-size: 10.4px; max-width: 82%; }
}
/* Profile only (global.css): the form's consent rows use chat.css's switch,
   which this page does not load — so a plain checkbox here, and the field
   left-aligned (the site sheet centres inputs). */
.signed-out .signed-out-input { text-align: left; }
.signed-out .auth-consent .switch { flex: none; display: inline-flex; }
.signed-out .auth-consent .switch-track { display: none; }
.signed-out .auth-consent .switch-input { width: auto; height: auto; margin: 0.15rem 0 0; accent-color: #ff8000; }
.signed-out .auth-consent-text { flex: 1 1 auto; text-align: left; }
/* Signed out, Profile's footer sits where Settings' does (owner, 2026-10-29):
   the block gets Settings' own size — 60vh, unzoomed — less the 19px by which
   Profile's page frame is taller than Settings', and the container drops the
   loading skeleton's min-height and the account page's 0.9 zoom. */
.own-profile > #talent-profile:has(> .signed-out) { zoom: 1; min-height: 0; }
.own-profile .signed-out { min-height: calc(60vh - 19px); }
@media (max-width: 48rem) { .own-profile .signed-out { min-height: calc(60vh + 6px); } }
