/*
  Programez.ro legacy-identity adaptation
  ---------------------------------------
  This layer intentionally reuses the supplied 2015–2016 Programez assets,
  Open Sans typography, patterned cyan surfaces and the original semantic
  palette while adapting layouts for the new evidence-first hiring workflow.
*/
:root{
  --font-sans:"Open Sans",Arial,sans-serif;
  --font-display:var(--font-sans);
  --font-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  --font-size-base:16px;
  --line-height-base:1.5;
  --font-weight-light:300;
  --font-weight-regular:400;
  --font-weight-semibold:600;
  --font-weight-bold:700;
  --font-weight-extrabold:800;
  --tracking-nav:.01em;
  --tracking-eyebrow:.06em;
  --blue:#31ADE5;
  --blue-2:#39AEE3;
  --blue-deep:#248CB8;
  --slate:#36464E;
  --slate-dark:#35464E;
  --ink:#333333;
  --muted:#7C8E98;
  --line:#D7D7D7;
  --line-soft:#EBEBEB;
  --soft:#F1F1F1;
  --white:#FFFFFF;
  --green:#29BC9C;
  --green-2:#2ECC71;
  --orange:#F19B2B;
  --orange-deep:#FF8E2B;
  --purple:#9A59B4;
  --danger:#D55B5B;
  --shadow:0 2px 8px rgba(53,70,78,.16);
  --shadow-soft:0 1px 4px rgba(53,70,78,.10);
  --radius:5px;
  --radius-sm:4px;
  --max:1200px;
  --focus:0 0 0 3px rgba(49,173,229,.28);
}

html{background:#fff}
body.legacy-ui{
  margin:0;
  background:#F5F5F5;
  color:var(--ink);
  font-family:var(--font-sans);
  font-size:var(--font-size-base);
  font-weight:var(--font-weight-regular);
  line-height:var(--line-height-base);
  -webkit-font-smoothing:antialiased;
}
body.legacy-ui *{box-sizing:border-box}
body.legacy-ui h1,body.legacy-ui h2,body.legacy-ui h3{
  font-family:var(--font-sans);font-style:normal;font-weight:300;line-height:1.18;letter-spacing:-.025em;text-wrap:balance
}
body.legacy-ui h4,body.legacy-ui h5,body.legacy-ui h6{font-family:var(--font-sans)}
body.legacy-ui button,body.legacy-ui input,body.legacy-ui select,body.legacy-ui textarea{font-family:inherit}
body.legacy-ui code,body.legacy-ui kbd,body.legacy-ui pre,body.legacy-ui samp{font-family:var(--font-mono)}
body.legacy-ui .container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
body.legacy-ui .topline{display:none}
body.legacy-ui svg{stroke-width:1.7}

/* Public header: keeps the original white 50px band, black menu text and orange login block. */
body.legacy-ui .site-header{
  min-height:50px;
  position:sticky;
  top:0;
  z-index:80;
  background:#fff;
  border:0;
  box-shadow:0 0 3px rgba(0,0,0,.42);
  backdrop-filter:none;
}
body.legacy-ui .header-inner{height:50px;gap:0}
body.legacy-ui .brand{height:50px;padding:0 0;display:flex;align-items:center}
body.legacy-ui .brand img{width:194px;height:25px;object-fit:contain}
body.legacy-ui .nav{margin-left:auto;display:flex;align-items:stretch;height:50px;gap:0}
body.legacy-ui .nav a{
  height:50px;
  min-width:88px;
  border-radius:0;
  padding:15px 17px 0;
  color:#222;
  background:#fff;
  font-size:13px;
  font-weight:var(--font-weight-regular);
  text-align:center;
  text-transform:uppercase;
  letter-spacing:var(--tracking-nav);
}
body.legacy-ui .nav a:hover,body.legacy-ui .nav a.active{background:var(--slate);color:#fff}
body.legacy-ui .header-actions{height:50px;margin-left:0;gap:0;align-items:stretch}
body.legacy-ui .header-actions .lang{
  width:54px;height:50px;padding:7px 8px;border:0;border-left:1px solid #eee;border-radius:0;
  display:flex;align-items:center;justify-content:center;background:#fff;color:transparent;font-size:0;
}
body.legacy-ui .lang img{width:32px;height:32px;object-fit:contain}
body.legacy-ui .header-actions .btn{height:50px;min-height:50px;border-radius:0;box-shadow:none;transform:none;padding:0 17px;font-size:12px;text-transform:uppercase}
body.legacy-ui .header-actions .btn-ghost{background:var(--orange-deep);color:var(--ink);border:0;font-weight:700}
body.legacy-ui .header-actions .btn-secondary{background:#fff;color:var(--slate);border:0;border-left:1px solid #eee;font-weight:600}
body.legacy-ui .header-actions .btn-secondary:hover{background:var(--blue);color:#fff}
body.legacy-ui .icon-btn{border-radius:0;border:0;background:var(--slate);color:#fff;height:50px;width:52px}

/* Buttons and form elements */
body.legacy-ui .btn{
  border-radius:var(--radius);
  min-height:42px;
  padding:10px 18px;
  box-shadow:none;
  font-weight:700;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}
body.legacy-ui .btn:hover{transform:none;box-shadow:none;filter:brightness(.98)}
body.legacy-ui .btn:disabled,
body.legacy-ui .btn[aria-disabled="true"]{opacity:.52;cursor:not-allowed;filter:saturate(.55);box-shadow:none}
body.legacy-ui .btn:disabled:hover,
body.legacy-ui .btn[aria-disabled="true"]:hover{transform:none;filter:saturate(.55)}
body.legacy-ui .btn-primary{background:var(--blue);border-color:#1689bb;color:#fff}
body.legacy-ui .btn-primary:hover{background:#269ed3}
body.legacy-ui .btn-secondary{background:#fff;border:1px solid var(--line);color:var(--slate)}
body.legacy-ui .btn-green{background:var(--green);color:#fff}
body.legacy-ui .btn-orange{background:var(--orange);color:#fff}
body.legacy-ui .btn-ghost{background:transparent;color:var(--slate);border:0}
body.legacy-ui .field-shell,body.legacy-ui .input,body.legacy-ui .sort,body.legacy-ui select,body.legacy-ui textarea{
  border-radius:var(--radius);border-color:var(--line);box-shadow:none
}
body.legacy-ui input:focus-visible,body.legacy-ui select:focus-visible,body.legacy-ui textarea:focus-visible,body.legacy-ui button:focus-visible,body.legacy-ui a:focus-visible{outline:none;box-shadow:var(--focus)}
body.legacy-ui input[type=checkbox],body.legacy-ui input[type=radio]{accent-color:var(--blue)}

/* Patterned title areas from the legacy home and display pages. */
body.legacy-ui .page-hero{
  position:relative;
  overflow:hidden;
  padding:38px 0 34px;
  background-color:var(--blue);
  background-image:url('legacy/background.png');
  background-size:cover;
  background-position:center;
  border:0;
  color:#fff;
}
body.legacy-ui .page-hero:after,body.legacy-ui .legacy-home-hero:after,body.legacy-ui .flow-bg:before{
  content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(49,173,229,.08),rgba(26,145,195,.12));pointer-events:none
}
body.legacy-ui .page-hero>.container{position:relative;z-index:1}
body.legacy-ui .page-hero h1{color:#fff;font-size:39px;letter-spacing:0;margin:3px 0 7px;font-weight:300}
body.legacy-ui .page-hero h1 strong{font-weight:700}
body.legacy-ui .page-hero p{color:#fff;opacity:.96;font-size:15px}
body.legacy-ui .page-hero .eyebrow{color:#fff;opacity:.92}
body.legacy-ui .eyebrow{color:var(--blue);font-size:11px;font-weight:var(--font-weight-bold);letter-spacing:var(--tracking-eyebrow)}
body.legacy-ui .search-panel{
  border-radius:var(--radius);border:0;padding:10px;background:rgba(255,255,255,.96);box-shadow:var(--shadow);margin-top:22px
}
body.legacy-ui .search-panel .field-shell{border-radius:3px;background:#fff}
body.legacy-ui .search-panel .btn{border-radius:3px}

/* Home */
body.legacy-ui.page-home{background:#fff}
body.legacy-ui .legacy-home-hero{
  position:relative;overflow:hidden;min-height:620px;color:#fff;
  background-color:var(--blue);background-image:url('legacy/background.png');background-size:cover;background-position:center;
}
body.legacy-ui .legacy-home-inner{position:relative;z-index:1;padding:54px 0 44px;text-align:center}
body.legacy-ui .legacy-home-title{margin:0 0 13px;font-size:49px;line-height:1.1;color:#fff;font-weight:700}
body.legacy-ui .legacy-home-title span{font-weight:300}
body.legacy-ui .legacy-home-lead{margin:0 auto 32px;max-width:780px;color:#fff;font-size:17px;font-weight:300}
body.legacy-ui .legacy-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:42px;max-width:910px;margin:0 auto}
body.legacy-ui .legacy-level{text-align:center}
body.legacy-ui .legacy-level-circle{
  width:176px;height:176px;margin:0 auto 17px;border:4px dashed rgba(255,255,255,.95);border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:#2C9BCD
}
body.legacy-ui .legacy-level-circle img{width:145px;height:146px;object-fit:contain}
body.legacy-ui .legacy-level h3{color:#fff;font-size:19px;margin:0 0 7px;font-weight:700}
body.legacy-ui .legacy-level p{color:#fff;font-size:13px;line-height:1.45;margin:0 auto;max-width:220px;font-weight:300}
body.legacy-ui .legacy-level p strong{font-weight:700}
body.legacy-ui .legacy-home-actions{display:flex;justify-content:center;gap:12px;margin-top:30px}
body.legacy-ui .legacy-home-actions .btn{min-width:250px;height:50px;font-size:16px}
body.legacy-ui .legacy-home-actions .btn-primary{background:rgba(255,255,255,.88);border-color:#fff;color:var(--blue-deep)}
body.legacy-ui .legacy-home-actions .btn-secondary{background:transparent;color:#fff;border:1px solid #fff}
body.legacy-ui .legacy-stats{background:var(--slate);color:#fff}
body.legacy-ui .legacy-stats-inner{height:70px;display:grid;grid-template-columns:repeat(3,1fr);align-items:center}
body.legacy-ui .legacy-stat{display:flex;justify-content:center;align-items:center;gap:12px;border-right:1px solid rgba(255,255,255,.12)}
body.legacy-ui .legacy-stat:last-child{border-right:0}
body.legacy-ui .legacy-stat img{width:auto;height:34px;object-fit:contain}
body.legacy-ui .legacy-stat strong{font-size:30px;line-height:1;font-weight:600}
body.legacy-ui .legacy-stat span{display:block;font-size:11px;text-transform:uppercase;line-height:1.2;color:#fff;font-weight:400}
body.legacy-ui .legacy-section{padding:56px 0;background:#fff}
body.legacy-ui .legacy-section.alt{background:#F5F5F5}
body.legacy-ui .legacy-section-title{text-align:center;color:var(--slate);margin:0 0 30px;font-size:28px;font-weight:300}
body.legacy-ui .legacy-section-title strong{font-weight:700}
body.legacy-ui .legacy-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
body.legacy-ui .legacy-test-card,body.legacy-ui .legacy-job-tile{
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;box-shadow:var(--shadow-soft)
}
body.legacy-ui .legacy-card-head{height:48px;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 16px;font-size:15px;font-weight:600}
body.legacy-ui .legacy-card-head.green{background:var(--green)}
body.legacy-ui .legacy-card-head.orange{background:var(--orange)}
body.legacy-ui .legacy-card-head.purple{background:var(--purple)}
body.legacy-ui .legacy-test-body{display:grid;grid-template-columns:repeat(4,1fr);padding:19px 10px 17px;text-align:center}
body.legacy-ui .legacy-test-metric{border-right:1px solid var(--line);font-size:11px;color:#6f6f6f}
body.legacy-ui .legacy-test-metric:last-child{border-right:0}
body.legacy-ui .legacy-test-metric img{display:block;height:30px;width:auto;margin:0 auto 7px}
body.legacy-ui .legacy-job-body{height:132px;padding:18px;text-align:center;position:relative}
body.legacy-ui .legacy-job-body:after{content:"";position:absolute;right:10px;bottom:5px;width:72px;height:67px;background-size:contain;background-repeat:no-repeat;opacity:.16}
body.legacy-ui .legacy-job-tile:nth-child(1) .legacy-job-body:after{background-image:url('legacy/organisationJobDisplayAssets/sketch0.png')}
body.legacy-ui .legacy-job-tile:nth-child(2) .legacy-job-body:after{background-image:url('legacy/organisationJobDisplayAssets/sketch.png')}
body.legacy-ui .legacy-job-tile:nth-child(3) .legacy-job-body:after{background-image:url('legacy/organisationJobDisplayAssets/sketch1.png')}
body.legacy-ui .legacy-company-logo{height:54px;max-width:150px;object-fit:contain;margin:0 auto 12px;display:block}
body.legacy-ui .legacy-job-meta{font-size:13px;color:#8a8a8a}
body.legacy-ui .legacy-job-footer{height:37px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:600}
body.legacy-ui .legacy-job-footer.green{background:var(--green)}
body.legacy-ui .legacy-job-footer.orange{background:var(--orange)}
body.legacy-ui .legacy-job-footer.purple{background:var(--purple)}
body.legacy-ui .legacy-process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
body.legacy-ui .legacy-process-card{background:#fff;border:1px solid var(--line);border-top:5px solid var(--blue);border-radius:var(--radius);padding:24px;min-height:175px}
body.legacy-ui .legacy-process-card:nth-child(2){border-top-color:var(--orange)}
body.legacy-ui .legacy-process-card:nth-child(3){border-top-color:var(--green)}
body.legacy-ui .legacy-process-card h3{font-size:18px;color:var(--slate);margin:0 0 8px}
body.legacy-ui .legacy-process-card p{font-size:13px;color:#6f6f6f;margin:0}
body.legacy-ui .legacy-step-number{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:700;margin-bottom:14px}
body.legacy-ui .legacy-process-card:nth-child(2) .legacy-step-number{background:var(--orange)}
body.legacy-ui .legacy-process-card:nth-child(3) .legacy-step-number{background:var(--green)}

/* Public jobs catalogue */
body.legacy-ui .section{padding:42px 0}
body.legacy-ui .jobs-layout{grid-template-columns:235px minmax(0,1fr);gap:24px}
body.legacy-ui .filters{border-radius:var(--radius);border:1px solid var(--line);padding:0;background:#fff;overflow:hidden;box-shadow:var(--shadow-soft);top:70px}
body.legacy-ui .filters:before{content:"FILTER JOBS";display:block;background:var(--slate);color:#fff;padding:13px 17px;font-size:13px;font-weight:700}
body.legacy-ui .filter-section{padding:16px 17px;margin:0;border-bottom:1px solid var(--line-soft)}
body.legacy-ui .filter-title{color:var(--slate);font-size:12px;text-transform:uppercase}
body.legacy-ui .check-row{font-size:12px;color:#555}
body.legacy-ui .result-bar{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:10px 13px;margin-bottom:12px}
body.legacy-ui .job-list{gap:13px}
body.legacy-ui .job-card{
  position:relative;overflow:hidden;border-radius:var(--radius);border:1px solid var(--line);background:#fff;padding:18px 20px 16px 22px;box-shadow:var(--shadow-soft)
}
body.legacy-ui .job-card:hover{transform:none;border-color:#AFCBD7;box-shadow:var(--shadow)}
body.legacy-ui .job-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--green)}
body.legacy-ui .job-card:nth-child(2):before{background:var(--orange)}
body.legacy-ui .job-card:nth-child(3):before{background:var(--purple)}
body.legacy-ui .job-card:nth-child(4):before{background:var(--green)}
body.legacy-ui .job-card:nth-child(5):before{background:var(--orange)}
body.legacy-ui .job-card:after{content:"";position:absolute;right:14px;bottom:-14px;width:92px;height:86px;background-repeat:no-repeat;background-size:contain;opacity:.06}
body.legacy-ui .job-card:nth-child(3n+1):after{background-image:url('legacy/organisationJobDisplayAssets/sketch0.png')}
body.legacy-ui .job-card:nth-child(3n+2):after{background-image:url('legacy/organisationJobDisplayAssets/sketch.png')}
body.legacy-ui .job-card:nth-child(3n):after{background-image:url('legacy/organisationJobDisplayAssets/sketch1.png')}
body.legacy-ui .company-avatar{border-radius:var(--radius);border:1px solid #eee;background:#fff!important;color:transparent!important;text-indent:-9999px;overflow:hidden;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
body.legacy-ui .job-card .company-avatar{width:92px;height:57px;flex:0 0 92px;background-image:url('legacy/organisation_logos/1.png')!important}
body.legacy-ui .job-card:nth-child(2) .company-avatar{background-image:url('legacy/organisationLogos/pythec.png')!important}
body.legacy-ui .job-card:nth-child(3) .company-avatar{background-image:url('legacy/organisationLogos/cocalcolau.png')!important}
body.legacy-ui .job-card:nth-child(4) .company-avatar{background-image:url('legacy/organisation_logos/2.png')!important}
body.legacy-ui .job-card:nth-child(5) .company-avatar{background-image:url('legacy/organisation_logos/3.png')!important}
body.legacy-ui .job-card h2,body.legacy-ui .job-card h3{font-size:18px;color:var(--slate)}
body.legacy-ui .verified{color:var(--blue);font-size:11px}
body.legacy-ui .job-meta{font-size:12px;margin:10px 0}
body.legacy-ui .job-copy{font-size:12px;margin:8px 0 12px;max-width:85%}
body.legacy-ui .tag{border-radius:3px;padding:4px 7px;font-size:10px}
body.legacy-ui .tag.blue{background:#E8F7FD;color:#2387B0;border-color:#BFE7F6}
body.legacy-ui .tag.green{background:#E7F8F4;color:#21836E;border-color:#BFE9DF}
body.legacy-ui .tag.orange{background:#FFF1DF;color:#B36A0B;border-color:#F7D3A3}
body.legacy-ui .tag.purple{background:#F5EDF8;color:#7F4595;border-color:#DFC9E8}

/* Job detail and application */
body.legacy-ui .detail-wrap{padding:28px 0 55px;background:#F5F5F5}
body.legacy-ui .breadcrumbs{color:#7f7f7f}
body.legacy-ui .job-head-card,body.legacy-ui .content-card,body.legacy-ui .apply-card{
  border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow-soft);background:#fff
}
body.legacy-ui .job-head-card{border-top:7px solid var(--orange);padding:24px 28px}
body.legacy-ui .job-head-card .company-avatar{width:112px;height:63px;background-image:url('legacy/organisation_logos/1.png')!important}
body.legacy-ui .job-head-card h1{font-weight:300;color:var(--slate);font-size:34px}
body.legacy-ui .job-head-card .lead{font-size:14px;color:#676767}
body.legacy-ui .content-card{padding:22px 26px}
body.legacy-ui .content-card h2{color:var(--orange);font-size:17px;text-transform:uppercase;border-bottom:1px solid var(--line-soft);padding-bottom:9px}
body.legacy-ui .apply-card{overflow:hidden;padding:0}
body.legacy-ui .apply-card:before{content:"APPLY ONLINE";display:block;background:var(--blue);color:#fff;padding:14px 18px;font-size:13px;font-weight:700;text-align:center}
body.legacy-ui .apply-card>*{margin-left:18px;margin-right:18px}
body.legacy-ui .apply-card .btn{width:calc(100% - 36px);margin-bottom:18px}
body.legacy-ui .salary-big{color:var(--slate)}
body.legacy-ui .estimate{background:#EAF7FD;border-color:#B9E3F4;border-radius:var(--radius)}
body.legacy-ui .process-dot{border-radius:50%;background:var(--blue)}
body.legacy-ui .policy-note{border-radius:var(--radius);background:#F3F3F3;border-color:var(--line)}

body.legacy-ui .flow-bg{
  position:relative;background-color:#E9F5FA;background-image:url('legacy/background.png');background-size:cover;background-position:center;padding:34px 0;min-height:calc(100vh - 50px)
}
body.legacy-ui .flow-bg>.flow-shell{position:relative;z-index:1}
body.legacy-ui .flow-shell{max-width:870px}
body.legacy-ui .flow-card{border-radius:var(--radius);border:1px solid var(--line);box-shadow:0 4px 18px rgba(53,70,78,.2);overflow:hidden;background:#fff}
body.legacy-ui .flow-top{background:var(--slate);color:#fff;border:0;padding:13px 21px}
body.legacy-ui .flow-top .eyebrow{color:#fff}
body.legacy-ui .flow-progress{background:#26343B}
body.legacy-ui .flow-progress span{background:var(--orange)}
body.legacy-ui .flow-content{padding:27px 31px}
body.legacy-ui .flow-content h1{font-size:29px;font-weight:300;color:var(--slate)}
body.legacy-ui .info-box{border-radius:var(--radius);background:#F8F8F8;border:1px solid var(--line)}
body.legacy-ui .info-icon{border-radius:50%;background:var(--blue);color:#fff}
body.legacy-ui .consent{background:#F3F3F3;border-radius:var(--radius)}
body.legacy-ui .flow-actions{border-top:1px solid var(--line-soft);padding-top:18px}

/* Assessment experience — inspired directly by the original question panel. */
body.legacy-ui.page-test{background:#E9F5FA url('legacy/background.png') center/cover fixed}
body.legacy-ui .test-header{height:52px;background:#fff;border-bottom:0;box-shadow:0 0 3px rgba(0,0,0,.35);padding:0 20px}
body.legacy-ui .test-header .brand img{width:194px}
body.legacy-ui .test-job{border-left:1px solid #eee;padding-left:18px}
body.legacy-ui .test-status{color:var(--slate)}
body.legacy-ui .timer{background:var(--orange);color:#fff;border-radius:0;padding:16px 17px;height:52px;margin-right:-20px}
body.legacy-ui .test-body{width:min(calc(100% - 40px),1000px);grid-template-columns:1fr 230px;gap:18px;margin:34px auto}
body.legacy-ui .question-card,body.legacy-ui .test-side{border-radius:var(--radius);border:1px solid var(--line);box-shadow:0 3px 12px rgba(53,70,78,.18)}
body.legacy-ui .question-card{overflow:hidden}
body.legacy-ui .question-head{background:var(--slate);color:#fff;border:0;padding:17px 24px}
body.legacy-ui .question-head .q-label,body.legacy-ui .question-head .domain-label{color:#fff}
body.legacy-ui .question-content{padding:25px 28px}
body.legacy-ui .question-content h1{font-size:21px;color:var(--slate);font-weight:400}
body.legacy-ui .code{border-radius:var(--radius);background:#26343B;color:#fff;border:0}
body.legacy-ui .option{border-radius:0;border:1px solid var(--line-soft);margin-bottom:-1px;padding:14px 17px;background:#fff}
body.legacy-ui .option:hover{background:#EBEBEB}
body.legacy-ui .option.selected{background:var(--green);color:#fff;border-color:var(--green)}
body.legacy-ui .option.selected .radio{border-color:#fff;background:#fff;box-shadow:inset 0 0 0 5px var(--green)}
body.legacy-ui .question-actions{background:#F8F8F8;border-top:1px solid var(--line);padding:14px 22px}
body.legacy-ui .question-actions .btn-primary{background:var(--orange);border-color:#D67F16}
body.legacy-ui .test-side{background:#fff;padding:0;overflow:hidden}
body.legacy-ui .test-side:before{content:"YOUR PROGRESS";display:block;background:var(--slate);color:#fff;padding:13px 15px;font-size:12px;font-weight:700}
body.legacy-ui .test-side>*{margin-left:15px;margin-right:15px}
body.legacy-ui .test-side h2{margin-top:16px}
body.legacy-ui .q-nav{border-radius:3px;border-color:var(--line)}
body.legacy-ui .q-nav.active{background:var(--blue);border-color:var(--blue);color:#fff}
body.legacy-ui .q-nav.done{background:var(--green);border-color:var(--green);color:#fff}
body.legacy-ui .support-box{border-radius:var(--radius);background:#F1F1F1}

/* Result */
body.legacy-ui .result-card{border-radius:var(--radius);box-shadow:0 4px 18px rgba(53,70,78,.2);border:1px solid var(--line)}
body.legacy-ui .result-hero{background:var(--slate);color:#fff;border-radius:0;padding:24px 30px}
body.legacy-ui .result-mark{width:72px;height:72px;border-radius:50%;background:#fff url('legacy/levels/medium.png') center 10px/67px auto no-repeat;color:transparent;box-shadow:none}
body.legacy-ui .result-hero .eyebrow{color:#fff}
body.legacy-ui .result-hero h1{font-weight:300}
body.legacy-ui .result-body{padding:29px 31px}
body.legacy-ui .score-circle{border-radius:50%;background:conic-gradient(var(--green) 0 80%,#E5E5E5 80%);box-shadow:none}
body.legacy-ui .score-inner{border-radius:50%}
body.legacy-ui .bar-track,body.legacy-ui .funnel-track,body.legacy-ui .range-track{border-radius:2px;background:#E6E6E6}
body.legacy-ui .bar-fill,body.legacy-ui .funnel-fill{border-radius:2px;background:var(--blue)}
body.legacy-ui .bar-row:nth-child(2) .bar-fill{background:var(--green)}
body.legacy-ui .bar-row:nth-child(3) .bar-fill{background:var(--orange)}
body.legacy-ui .bar-row:nth-child(4) .bar-fill{background:var(--purple)}
body.legacy-ui .next-box{border-radius:var(--radius);background:#F1F1F1;border:1px solid var(--line)}

/* Recruiter workspace */
body.legacy-ui .app-layout{grid-template-columns:218px minmax(0,1fr);background:#F3F3F3}
body.legacy-ui .sidebar{background:var(--slate);padding:0;color:#fff;border:0}
body.legacy-ui .side-brand{height:58px;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.12)}
body.legacy-ui .side-brand img{width:165px;height:auto;content:url('legacy/whitelogo.png')}
body.legacy-ui .org-switch{margin:14px 12px;padding:10px;background:#2E3D44;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius)}
body.legacy-ui .org-switch .company-avatar{width:42px;height:42px;background-image:url('legacy/organisation_logos/1.png')!important;border:0}
body.legacy-ui .org-switch strong{color:#fff}
body.legacy-ui .org-switch span{color:#AFC0C8}
body.legacy-ui .side-section{padding:13px 20px 6px;color:#94A6AE;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
body.legacy-ui .side-nav{padding:0}
body.legacy-ui .side-nav a{border-radius:0;margin:0;padding:11px 20px;color:#CED8DC;border-left:4px solid transparent;font-size:12px}
body.legacy-ui .side-nav a:hover{background:#2E3D44;color:#fff}
body.legacy-ui .side-nav a.active{background:#2B3940;color:#fff;border-left-color:var(--orange)}
body.legacy-ui .side-nav svg{color:var(--blue)}
body.legacy-ui .side-bottom{border-top:1px solid rgba(255,255,255,.1)}
body.legacy-ui .app-main{background:#F3F3F3}
body.legacy-ui .app-topbar{height:58px;background:#fff;border-bottom:1px solid var(--line);padding:0 22px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
body.legacy-ui .app-topbar h1{font-size:14px;color:var(--slate);font-weight:600;text-transform:uppercase}
body.legacy-ui .user-avatar{border-radius:50%;background:var(--blue);color:#fff}
body.legacy-ui .app-content{padding:22px}
body.legacy-ui .app-content-inner{max-width:1180px}
body.legacy-ui .page-title-row{
  background:var(--blue);border-radius:var(--radius);padding:14px 18px;margin-bottom:18px;color:#fff;align-items:center;box-shadow:var(--shadow-soft)
}
body.legacy-ui .page-title-row h1{color:#fff;font-size:20px;font-weight:600;margin:0}
body.legacy-ui .page-title-row p{color:#fff;opacity:.92;margin:3px 0 0;font-size:11px}
body.legacy-ui .page-title-row .btn-primary{background:#fff;color:var(--blue);border-color:#fff}
body.legacy-ui .page-title-row .btn-secondary{background:#fff;color:var(--slate);border-color:#fff}
body.legacy-ui .metric-grid{gap:13px}
body.legacy-ui .metric-card{border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow-soft);position:relative;overflow:hidden;padding:16px 17px;background:#fff}
body.legacy-ui .metric-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--blue)}
body.legacy-ui .metric-card:nth-child(2):before{background:var(--green)}
body.legacy-ui .metric-card:nth-child(3):before{background:var(--orange)}
body.legacy-ui .metric-card:nth-child(4):before{background:var(--purple)}
body.legacy-ui .metric-label{text-transform:uppercase;font-size:10px;color:#777}
body.legacy-ui .metric-value{color:var(--slate);font-weight:600}
body.legacy-ui .panel{border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow-soft);background:#fff;padding:17px}
body.legacy-ui .panel-head{border-bottom:1px solid var(--line-soft);padding-bottom:10px;margin-bottom:12px}
body.legacy-ui .panel-head h2{font-size:15px;text-transform:uppercase;color:var(--slate)}
body.legacy-ui .table th{background:var(--slate);color:#fff;font-weight:600;text-transform:uppercase;font-size:10px;border-bottom:0}
body.legacy-ui .table td{border-bottom:1px solid var(--line-soft);font-size:11px}
body.legacy-ui .status{border-radius:3px}
body.legacy-ui .dash-grid{gap:14px}
body.legacy-ui .funnel-row{font-size:11px}

/* Editors */
body.legacy-ui .editor-grid{grid-template-columns:210px minmax(0,1fr) 290px;gap:15px}
body.legacy-ui .editor-steps,body.legacy-ui .editor-form,body.legacy-ui .preview-panel,body.legacy-ui .config-card,body.legacy-ui .config-summary,body.legacy-ui .toolbar,body.legacy-ui .profile-head,body.legacy-ui .evidence,body.legacy-ui .decision-card{
  border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow-soft);background:#fff
}
body.legacy-ui .editor-steps{padding:0;overflow:hidden}
body.legacy-ui .editor-steps:before{content:"JOB SETUP";display:block;background:var(--slate);color:#fff;padding:12px 14px;font-size:11px;font-weight:700}
body.legacy-ui .editor-step{border-radius:0;border-bottom:1px solid var(--line-soft);padding:12px 13px}
body.legacy-ui .editor-step.active{background:#E9F7FC}
body.legacy-ui .step-circle{border-radius:50%}
body.legacy-ui .editor-form{padding:20px}
body.legacy-ui .editor-form h2,body.legacy-ui .config-card h2,body.legacy-ui .config-summary h2{color:var(--slate)}
body.legacy-ui .select-card{border-radius:var(--radius)}
body.legacy-ui .select-card.selected{border-color:var(--blue);background:#EAF7FD}
body.legacy-ui .preview-panel{overflow:hidden}
body.legacy-ui .preview-label{background:var(--orange);color:#fff;text-transform:uppercase;font-weight:700;padding:11px 14px}
body.legacy-ui .complete{border-radius:var(--radius)}
body.legacy-ui .config-grid{gap:15px}
body.legacy-ui .config-card{padding:18px}
body.legacy-ui .quota-row{border-color:var(--line-soft)}
body.legacy-ui .stepper{border-radius:3px}
body.legacy-ui .total-bar{border-radius:var(--radius);background:#EAF7FD}
body.legacy-ui .config-summary{padding:17px;top:73px}
body.legacy-ui .ready-box{border-radius:var(--radius)}
body.legacy-ui .toolbar{border-radius:var(--radius)}
body.legacy-ui .bank-tab{border-radius:3px}
body.legacy-ui .bank-tab.active{background:var(--blue);color:#fff;border-color:var(--blue)}
body.legacy-ui .question-table .table th{background:var(--slate)}

/* Candidate dossier */
body.legacy-ui .profile-head{border-top:6px solid var(--purple);border-radius:var(--radius);padding:17px 19px;background:#fff url('legacy/profileCovers/medium.png') top center/auto 70px no-repeat;padding-top:82px}
body.legacy-ui .profile-avatar{width:64px;height:64px;border-radius:50%;background:#fff url('legacy/user.png') center/58px no-repeat;border:2px solid #fff;color:transparent;text-indent:-9999px;box-shadow:0 1px 4px rgba(0,0,0,.2)}
body.legacy-ui .score-pill{border-radius:var(--radius);background:var(--green);color:#fff}
body.legacy-ui .evidence-grid{gap:10px}
body.legacy-ui .evidence{border-radius:var(--radius);border-top:4px solid var(--blue)}
body.legacy-ui .evidence:nth-child(2){border-top-color:var(--orange)}
body.legacy-ui .evidence:nth-child(3){border-top-color:var(--green)}
body.legacy-ui .answer-item{border-radius:var(--radius)}
body.legacy-ui .answer-head{background:#F1F1F1}
body.legacy-ui .decision-card{top:73px}
body.legacy-ui .decision-option{border-radius:var(--radius)}
body.legacy-ui .decision-option.selected{border-color:var(--green);background:#E8F8F4}

/* Index */
body.legacy-ui .mockup-index{padding:36px 0 60px;background:#F5F5F5}
body.legacy-ui .legacy-index-hero{background:var(--blue) url('legacy/background.png') center/cover;color:#fff;padding:34px 0}
body.legacy-ui .legacy-index-hero h1{font-size:35px;font-weight:300;margin:4px 0 6px}
body.legacy-ui .legacy-index-hero p{font-size:13px;margin:0;max-width:760px}
body.legacy-ui .index-grid{grid-template-columns:repeat(3,1fr);gap:14px}
body.legacy-ui .index-card{border-radius:var(--radius);box-shadow:var(--shadow-soft);border:1px solid var(--line);border-top:5px solid var(--blue)}
body.legacy-ui .index-card:nth-child(3n+2){border-top-color:var(--orange)}
body.legacy-ui .index-card:nth-child(3n){border-top-color:var(--green)}

/* Footer */
body.legacy-ui .footer{background:var(--slate);padding:34px 0;color:#fff}
body.legacy-ui .footer .brand img{content:url('legacy/whitelogo.png');filter:none;width:194px;height:25px}
body.legacy-ui .footer p{color:#C8D2D7}
body.legacy-ui .footer-links a{color:#fff}

/* Responsive adaptation while preserving the recognizable identity. */
@media(max-width:1050px){
  body.legacy-ui .legacy-levels{gap:18px}
  body.legacy-ui .editor-grid{grid-template-columns:190px 1fr}
}
@media(max-width:850px){
  body.legacy-ui .nav{display:none}
  body.legacy-ui .header-actions .btn-secondary{display:none}
  body.legacy-ui .header-actions .lang{display:flex}
  body.legacy-ui .legacy-levels{grid-template-columns:repeat(3,1fr);gap:12px}
  body.legacy-ui .legacy-level-circle{width:145px;height:145px}
  body.legacy-ui .legacy-level-circle img{width:120px;height:120px}
  body.legacy-ui .legacy-card-grid,body.legacy-ui .legacy-process-grid{grid-template-columns:1fr 1fr}
  body.legacy-ui .jobs-layout,body.legacy-ui .detail-grid,body.legacy-ui .test-body,body.legacy-ui .config-grid,body.legacy-ui .dossier-grid{grid-template-columns:1fr}
  body.legacy-ui .test-side{order:-1}
  body.legacy-ui .app-layout{grid-template-columns:70px 1fr}
  body.legacy-ui .side-brand img,body.legacy-ui .org-switch>div:not(.company-avatar),body.legacy-ui .side-nav span,body.legacy-ui .side-section{display:none}
  body.legacy-ui .side-brand{padding:15px 0;text-align:center}
  body.legacy-ui .side-brand:after{content:"P";font-size:21px;font-weight:800;color:#fff}
  body.legacy-ui .org-switch{justify-content:center;margin:10px 7px;padding:5px}
  body.legacy-ui .side-nav a{justify-content:center;padding:12px 0;border-left-width:3px}
}
@media(max-width:620px){
  body.legacy-ui .container{width:min(calc(100% - 24px),var(--max))}
  body.legacy-ui .site-header{position:static}
  body.legacy-ui .header-inner{height:54px}
  body.legacy-ui .brand{height:54px}
  body.legacy-ui .brand img{width:174px}
  body.legacy-ui .header-actions{height:54px}
  body.legacy-ui .header-actions .lang{height:54px;width:49px;padding:10px}
  body.legacy-ui .header-actions .btn-ghost{height:54px;min-height:54px;padding:0 13px}
  body.legacy-ui .icon-btn{height:54px}
  body.legacy-ui .legacy-home-hero{min-height:auto}
  body.legacy-ui .legacy-home-inner{padding:34px 0 30px}
  body.legacy-ui .legacy-home-title{font-size:35px}
  body.legacy-ui .legacy-home-lead{font-size:14px;margin-bottom:25px}
  body.legacy-ui .legacy-levels{grid-template-columns:1fr;gap:24px}
  body.legacy-ui .legacy-level-circle{width:144px;height:144px;margin-bottom:10px}
  body.legacy-ui .legacy-level-circle img{width:119px;height:119px}
  body.legacy-ui .legacy-level p{max-width:265px}
  body.legacy-ui .legacy-home-actions{flex-direction:column;gap:9px}
  body.legacy-ui .legacy-home-actions .btn{width:100%;min-width:0}
  body.legacy-ui .legacy-stats-inner{height:auto;grid-template-columns:1fr;padding:6px 0}
  body.legacy-ui .legacy-stat{min-height:58px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12);justify-content:flex-start;padding-left:calc(50% - 90px)}
  body.legacy-ui .legacy-stat:last-child{border-bottom:0}
  body.legacy-ui .legacy-section{padding:38px 0}
  body.legacy-ui .legacy-section-title{font-size:24px}
  body.legacy-ui .legacy-card-grid,body.legacy-ui .legacy-process-grid{grid-template-columns:1fr}
  body.legacy-ui .page-hero{padding:26px 0 24px}
  body.legacy-ui .page-hero h1{font-size:30px}
  body.legacy-ui .search-panel{grid-template-columns:1fr}
  body.legacy-ui .job-card{padding:16px 15px 15px 18px}
  body.legacy-ui .job-card .company-avatar{width:66px;height:47px;flex-basis:66px}
  body.legacy-ui .job-copy{max-width:100%}
  body.legacy-ui .job-head-card{padding:20px}
  body.legacy-ui .job-head-card h1{font-size:28px}
  body.legacy-ui .flow-bg{padding:18px 0}
  body.legacy-ui .flow-content{padding:21px}
  body.legacy-ui .flow-content h1{font-size:24px}
  body.legacy-ui .test-header{height:auto;min-height:54px;padding:0 12px;flex-wrap:wrap}
  body.legacy-ui .test-header .brand img{width:145px}
  body.legacy-ui .timer{height:54px;margin-right:-12px;padding:17px 11px}
  body.legacy-ui .test-job{order:3;width:100%;border-left:0;border-top:1px solid #eee;padding:8px 0}
  body.legacy-ui .test-body{width:calc(100% - 20px);margin:14px auto 24px}
  body.legacy-ui .test-side:before{padding:10px 12px}
  body.legacy-ui .test-side .q-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}
  body.legacy-ui .test-side .q-nav{width:100%;min-width:0;height:34px;padding:0;aspect-ratio:auto}
  body.legacy-ui .question-content{padding:18px 16px}
  body.legacy-ui .question-head{padding:14px 16px}
  body.legacy-ui .question-actions{padding:12px 14px}
  body.legacy-ui .result-hero{padding:20px;display:flex}
  body.legacy-ui .result-mark{width:62px;height:62px;flex:0 0 62px;background-size:58px}
  body.legacy-ui .result-body{padding:20px}
  body.legacy-ui .app-layout{display:block}
  body.legacy-ui .sidebar{display:none}
  body.legacy-ui .app-topbar{height:56px;padding:0 13px}
  body.legacy-ui .app-content{padding:12px}
  body.legacy-ui .page-title-row{display:block;padding:13px 14px}
  body.legacy-ui .page-title-row .btn{width:100%;margin-top:10px}
  body.legacy-ui .metric-grid{grid-template-columns:1fr 1fr}
  body.legacy-ui .editor-grid{grid-template-columns:1fr}
  body.legacy-ui .editor-steps{display:flex;overflow:auto}
  body.legacy-ui .editor-steps:before{display:none}
  body.legacy-ui .editor-step{min-width:145px;border-right:1px solid var(--line-soft)}
  body.legacy-ui .profile-head{padding:76px 15px 15px;grid-template-columns:auto 1fr}
  body.legacy-ui .evidence-grid{grid-template-columns:1fr 1fr}
  body.legacy-ui .index-grid{grid-template-columns:1fr}
}
body.legacy-ui .legacy-search{width:48px;height:50px;border:0;border-left:1px solid #eee;background:#F5F5F5;display:flex;align-items:center;justify-content:center;cursor:pointer}
body.legacy-ui .legacy-search img{width:15px;height:15px;image-rendering:auto}
@media(max-width:620px){body.legacy-ui .legacy-search{display:none}}
body.legacy-ui .legacy-metric-icon{position:absolute;right:14px;top:14px;width:auto;height:29px;opacity:.72;object-fit:contain}
body.legacy-ui .metric-card .metric-label,body.legacy-ui .metric-card .metric-value,body.legacy-ui .metric-card .metric-trend{position:relative;z-index:1;max-width:75%}

/* Final responsive refinements for the legacy-look mockup set. */
body.legacy-ui .quota-row{
  grid-template-columns:minmax(190px,1fr) 112px 90px 104px;
}
body.legacy-ui .quota-row .stepper{
  width:104px;
  justify-self:end;
}
body.legacy-ui .quota-row .stepper button{width:29px;flex:0 0 29px}
body.legacy-ui .quota-row .stepper input{width:44px;min-width:44px;padding:0}

@media(max-width:620px){
  body.legacy-ui .quota-row{
    grid-template-columns:minmax(0,1fr) 80px;
    column-gap:12px;
  }
  body.legacy-ui .quota-row .stepper{width:80px}
  body.legacy-ui .quota-row .stepper button{width:24px;flex-basis:24px}
  body.legacy-ui .quota-row .stepper input{width:32px;min-width:32px}

  /* Turn operational tables into readable mobile evidence cards rather than
     forcing users to inspect clipped desktop columns. */
  body.legacy-ui.page-question-bank .question-table{overflow:visible;padding:0;background:transparent;border:0;box-shadow:none}
  body.legacy-ui.page-question-bank .question-table .table{min-width:0;display:block}
  body.legacy-ui.page-question-bank .question-table thead{display:none}
  body.legacy-ui.page-question-bank .question-table tbody{display:grid;gap:10px}
  body.legacy-ui.page-question-bank .question-table tr{
    display:grid;
    grid-template-columns:1fr auto;
    gap:8px 12px;
    background:#fff;
    border:1px solid var(--line);
    border-left:4px solid var(--blue);
    box-shadow:0 2px 6px rgba(54,70,78,.10);
    padding:14px;
  }
  body.legacy-ui.page-question-bank .question-table td{
    display:block;
    padding:0;
    border:0;
    min-width:0;
  }
  body.legacy-ui.page-question-bank .question-table .prompt-cell{grid-column:1/-1;max-width:none}
  body.legacy-ui.page-question-bank .question-table .prompt-cell span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.45}
  body.legacy-ui.page-question-bank .question-table td:nth-child(2){grid-column:1/2}
  body.legacy-ui.page-question-bank .question-table td:nth-child(3){grid-column:2/3;align-self:center;color:var(--muted);font-size:10px;text-transform:uppercase}
  body.legacy-ui.page-question-bank .question-table td:nth-child(4){grid-column:1/2}
  body.legacy-ui.page-question-bank .question-table td:nth-child(5){grid-column:2/3;justify-self:end}
  body.legacy-ui.page-question-bank .question-table td:nth-child(6){grid-column:1/-1}
  body.legacy-ui.page-question-bank .question-table td:nth-child(6) .btn{width:100%}

  body.legacy-ui.page-recruiter-dashboard .panel{overflow:visible}
  body.legacy-ui.page-recruiter-dashboard .panel .table{min-width:0;display:block}
  body.legacy-ui.page-recruiter-dashboard .panel .table thead{display:none}
  body.legacy-ui.page-recruiter-dashboard .panel .table tbody{display:grid;gap:8px}
  body.legacy-ui.page-recruiter-dashboard .panel .table tr{
    display:grid;
    grid-template-columns:1fr auto;
    gap:5px 12px;
    padding:12px;
    border:1px solid var(--line-soft);
    background:#fff;
  }
  body.legacy-ui.page-recruiter-dashboard .panel .table td{padding:0;border:0;min-width:0}
  body.legacy-ui.page-recruiter-dashboard .panel .table td:first-child{grid-column:1/-1;font-weight:700}
  body.legacy-ui.page-recruiter-dashboard .panel .table td:last-child{justify-self:end;font-weight:800}
  body.legacy-ui.page-recruiter-dashboard .candidate-cell{grid-column:1/-1}
}

@media(max-width:620px){
  body.legacy-ui.page-recruiter-dashboard .dash-grid > .panel:first-child .table td:nth-child(2)::before{content:"Status · ";color:var(--muted);font-weight:500}
  body.legacy-ui.page-recruiter-dashboard .dash-grid > .panel:first-child .table td:nth-child(3)::before{content:"Candidates · ";color:var(--muted);font-weight:500}
  body.legacy-ui.page-recruiter-dashboard .dash-grid > .panel:first-child .table td:nth-child(4)::before{content:"Qualified · ";color:var(--muted);font-weight:500}
  body.legacy-ui.page-recruiter-dashboard .dash-grid > .panel:first-child .table td:nth-child(5)::before{content:"Estimate · ";color:var(--muted);font-weight:500}
  body.legacy-ui.page-recruiter-dashboard .app-content-inner > .panel .table td:nth-child(2)::before{content:"Role · ";color:var(--muted);font-weight:500}
  body.legacy-ui.page-recruiter-dashboard .app-content-inner > .panel .table td:nth-child(3)::before{content:"Score · ";color:var(--muted);font-weight:500}
  body.legacy-ui.page-recruiter-dashboard .app-content-inner > .panel .table td:nth-child(4)::before{content:"Time · ";color:var(--muted);font-weight:500}
}
