
:root{
  /* Harmens corporate palette — real values from harmens.ru: dark plum #2A1E30/#3A2A42, lilac accent #E8C9F5 */
  --navy:#2A1E30;
  --navy-2:#3A2A42;
  --paper:#F8F4F5;
  --card:#FFFFFF;
  --ink:#221A26;
  --ink-soft:#6B5A66;
  --blue:#7A1F5E;
  --blue-deep:#2A1E30;
  --steel:#F1E4EC;
  --orange:#A6236F;
  --orange-dark:#841A57;
  --green:#2F8557;
  --red:#C24A3B;
  --line:#ECDFE6;
  --shadow: 0 1px 2px rgba(42,30,48,.05), 0 10px 24px rgba(42,30,48,.09);
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
  font-family:'Inter', sans-serif;
  background:var(--paper);
  color:var(--ink);
  min-height:100vh;
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none;
}
input, textarea{
  -webkit-user-select:text; -moz-user-select:text; -ms-user-select:text; user-select:text;
}
img, svg{ -webkit-user-drag:none; user-drag:none; pointer-events:auto; }

/* copy-protection toast */
.protect-toast{
  position:fixed; left:50%; bottom:28px; transform:translateX(-50%) translateY(20px);
  background:var(--navy); color:#fff; padding:12px 20px; border-radius:10px;
  font-family:'Inter',sans-serif; font-size:13.5px; font-weight:600;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  opacity:0; pointer-events:none; transition:opacity .25s, transform .25s;
  z-index:9999; display:flex; align-items:center; gap:8px;
  border:1px solid rgba(166,35,111,.4);
}
.protect-toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.protect-toast .pt-dot{width:7px; height:7px; border-radius:50%; background:var(--orange); flex-shrink:0;}

/* name gate */
.gate-overlay{
  position:fixed; inset:0; z-index:5000; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--navy), var(--navy-2)); padding:20px;
}
.gate-card{
  background:#fff; border-radius:18px; padding:40px 38px; max-width:420px; width:100%;
  box-shadow:0 30px 70px rgba(0,0,0,.35);
}
.gate-card .logo-mark{color:var(--navy); margin-bottom:6px;}
.gate-card .logo-mark .dot{color:var(--orange);}
.gate-card .gate-sub{font-size:12.5px; color:var(--ink-soft); font-weight:600; margin-bottom:22px;}
.gate-card h2{font-family:'Manrope',sans-serif; font-weight:800; font-size:21px; color:var(--ink); margin-bottom:8px;}
.gate-card p{font-size:13.5px; color:var(--ink-soft); margin-bottom:24px; line-height:1.5;}
.gate-field{margin-bottom:14px;}
.gate-field label{display:block; font-size:11.5px; font-weight:700; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.04em; margin-bottom:6px;}
.gate-field input{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font-size:15px;
  font-family:'Inter',sans-serif; color:var(--ink); transition:.15s;
}
.gate-field input:focus{outline:none; border-color:var(--orange);}
.gate-error{font-size:12.5px; color:var(--red); margin-bottom:10px; display:none;}
.gate-error.show{display:block;}
.gate-btn{
  width:100%; padding:13px; background:var(--orange); color:#fff; border:none; border-radius:10px;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:14.5px; cursor:pointer; transition:.15s; margin-top:6px;
}
.gate-btn:hover{background:var(--orange-dark);}

/* results button */
.results-btn{
  position:fixed; right:24px; bottom:24px; z-index:2000;
  background:var(--navy); color:#fff; border:none; border-radius:30px; padding:13px 20px;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; cursor:pointer;
  display:flex; align-items:center; gap:8px; box-shadow:0 10px 26px rgba(0,0,0,.25); transition:.15s;
}
.results-btn:hover{background:var(--navy-2); transform:translateY(-2px);}
.results-btn svg{flex-shrink:0;}
@media(max-width:760px){.results-btn{right:14px; bottom:14px; padding:11px 16px; font-size:12px;}}

/* day status pills in sidebar */
.day-status{
  display:inline-block; margin-left:8px; padding:2px 8px; border-radius:14px; font-size:9.5px; font-weight:800;
  background:rgba(255,255,255,.08); color:#9BAAB9; text-transform:uppercase; letter-spacing:.02em;
}
.day-status.work{background:rgba(166,35,111,.25); color:#F0C8E0;}
.day-status.done{background:rgba(47,133,87,.25); color:#A9E0BE;}

/* results card modal */
.results-modal{
  position:fixed; inset:0; z-index:6000; display:none; align-items:center; justify-content:center;
  background:rgba(34,26,38,.6); padding:20px; overflow-y:auto;
}
.results-modal.show{display:flex;}
.final-card{
  background:linear-gradient(180deg,#fff,#FBF8FA); border:1px solid var(--line); border-radius:20px;
  padding:36px 34px; max-width:520px; width:100%; box-shadow:0 30px 70px rgba(42,30,48,.3); text-align:center;
  max-height:90vh; overflow-y:auto;
}
.final-brand{font-family:'Manrope',sans-serif; font-weight:800; font-size:16px; color:var(--navy); margin-bottom:10px;}
.final-brand .dot{color:var(--orange);}
.final-kicker{font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--blue);}
.final-card h2{font-family:'Manrope',sans-serif; font-size:26px; margin:8px 0 2px; color:var(--ink);}
.final-role{color:var(--ink-soft); font-size:13px; margin-bottom:14px;}
.final-score{font-family:'Manrope',sans-serif; font-size:58px; font-weight:900; color:var(--navy); line-height:1;}
.final-score span{font-size:22px; color:var(--ink-soft); font-weight:600;}
.final-status{display:inline-block; margin:14px 0 18px; padding:8px 16px; border-radius:24px; font-size:12px; font-weight:800; letter-spacing:.03em;}
.final-status.ok{background:#EAF5EE; color:var(--green);}
.final-status.bad{background:#FBEEEC; color:var(--red);}
.final-table{width:100%; border-collapse:collapse; margin-top:10px; text-align:left;}
.final-table th{font-size:10.5px; text-transform:uppercase; color:var(--ink-soft); padding:8px 6px; border-bottom:2px solid var(--line);}
.final-table td{padding:9px 6px; border-bottom:1px solid var(--line); font-size:12.5px; color:var(--ink);}
.final-table td.fs-status{font-weight:700;}
.final-table td.fs-status.ok{color:var(--green);}
.final-table td.fs-status.bad{color:var(--red);}
.final-empty{font-size:13px; color:var(--ink-soft); padding:20px 0;}
.final-actions{display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:22px;}
.final-actions .btn{padding:11px 18px; font-size:12.5px;}

@media print{
  .sidebar, .results-btn, .protect-toast, .final-actions, .gate-overlay{display:none !important;}
  .results-modal{position:static; background:none; display:block !important; padding:0;}
  .final-card{box-shadow:none; border:none; max-width:100%; max-height:none;}
  body{background:#fff;}
}
.logo-mark{
  display:inline-flex; align-items:baseline; gap:2px; font-family:'Manrope',sans-serif;
  font-weight:800; font-size:20px; color:#fff; letter-spacing:-.01em;
}
.logo-mark .dot{color:var(--orange);}
.mono{font-family:'Inter', sans-serif; font-variant-numeric:tabular-nums;}
.display{font-family:'Manrope', sans-serif;}

/* ===== Layout ===== */
.app{display:flex; min-height:100vh;}
.sidebar{
  width:296px; flex-shrink:0;
  background:var(--navy);
  color:#DDE3EC;
  padding:0 0 28px;
  position:sticky; top:0; height:100vh; overflow-y:auto;
}
.brand{
  padding:26px 24px 22px;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-bottom:3px solid var(--orange);
  margin-bottom:14px;
}
.brand .tag{
  font-size:11px; letter-spacing:.1em; font-weight:700;
  color:var(--orange); text-transform:uppercase; margin-bottom:8px; display:block;
}
.brand h1{font-family:'Manrope',sans-serif; font-weight:800; font-size:23px; line-height:1.15; letter-spacing:-.01em;}
.brand .sub{font-size:12.5px; color:#9FB0C6; margin-top:6px;}

.route-list{padding:0 12px;}
.route-item{
  display:flex; align-items:flex-start; gap:12px;
  padding:12px 12px; border-radius:8px; cursor:pointer;
  border:1px solid transparent;
  margin-bottom:3px;
  transition:.15s;
}
.route-item:hover{background:rgba(255,255,255,.05);}
.route-item.active{
  background:rgba(166,35,111,.15);
  border-color:rgba(166,35,111,.4);
}
.route-item .num{
  font-family:'Manrope',sans-serif; font-weight:700; font-size:13px;
  width:26px; height:26px; border-radius:50%;
  border:1.5px solid #3E5170;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  color:#8FA0B8;
}
.route-item.done .num{background:var(--green); border-color:var(--green); color:#fff;}
.route-item.active .num{border-color:var(--orange); color:var(--orange); background:rgba(166,35,111,.12);}
.route-item .lbl{font-size:14px; font-weight:600; line-height:1.35; margin-top:2px; color:#EDF1F6;}
.route-item .sub-lbl{font-size:11.5px; color:#8296B0; margin-top:2px;}
.route-sub{padding-left:38px; margin-top:2px; margin-bottom:6px;}
.route-sub div{font-size:12.5px; color:#B9C3CF; padding:4px 0; cursor:pointer;}
.route-sub div:hover{color:#fff;}
.route-sub div.active{color:var(--orange); font-weight:600;}

.loc-switch{display:flex; flex-wrap:wrap; gap:5px; padding:0 12px 10px;}
.loc-pill{
  font-family:'Inter',sans-serif; font-size:10.5px; font-weight:600; padding:5px 9px; border-radius:20px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); color:#B9C3CF; cursor:pointer; transition:.15s;
}
.loc-pill:hover{color:#fff; border-color:rgba(255,255,255,.3);}
.loc-pill.active{background:var(--orange); border-color:var(--orange); color:#fff;}
.loc-tag{
  display:inline-block; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  background:var(--steel); color:var(--blue); padding:3px 9px; border-radius:20px; margin-left:8px; vertical-align:middle;
}

.progress-wrap{padding:4px 24px 20px;}
.progress-bar{height:6px; background:rgba(255,255,255,.1); border-radius:3px; overflow:hidden;}
.progress-fill{height:100%; background:var(--orange); width:0%; transition:width .4s;}
.progress-txt{font-size:11.5px; font-weight:600; color:#8FA0B8; margin-top:8px;}

/* ===== Main ===== */
.main{flex:1; padding:44px 56px 100px; max-width:980px;}
.section{display:none;}
.section.active{display:block; animation:fade .35s ease;}
@keyframes fade{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);}}

.stamp-header{
  display:flex; align-items:center; gap:14px; margin-bottom:8px;
}
.stamp-num{
  font-family:'Manrope',sans-serif; font-weight:800; font-size:13px;
  color:#fff; background:var(--orange); padding:6px 14px; border-radius:20px;
  letter-spacing:.03em;
}
.eyebrow{font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--blue); font-weight:700;}
h2.title{font-family:'Manrope',sans-serif; font-weight:800; font-size:33px; color:var(--ink); margin:8px 0 6px; line-height:1.15; letter-spacing:-.01em;}
p.lede{font-size:16px; color:var(--ink-soft); max-width:640px; margin-bottom:34px; line-height:1.6;}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:26px 28px;
  margin-bottom:20px;
}
.card h3{font-family:'Manrope',sans-serif; font-size:18px; font-weight:700; margin-bottom:12px; color:var(--navy); display:flex; align-items:center; gap:10px;}
.card h3 .chip{
  font-size:10.5px; font-weight:700;
  background:var(--steel); color:var(--blue); padding:3px 10px; border-radius:20px; letter-spacing:.02em;
}
.card p{font-size:14.5px; line-height:1.65; color:var(--ink); margin-bottom:10px;}
.card p:last-child{margin-bottom:0;}
.card ul{margin:8px 0 8px 0; padding-left:0; list-style:none;}
.card ul li{
  font-size:14.5px; line-height:1.6; padding:6px 0 6px 22px; position:relative; border-top:1px dotted var(--line);
}
.card ul li:first-child{border-top:none;}
.card ul li::before{content:"—"; position:absolute; left:0; color:var(--orange);}

.grid2{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.grid3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px;}
@media(max-width:760px){.grid2,.grid3{grid-template-columns:1fr;}}

/* material / construction tiles */
.tile{
  background:var(--card);
  border:1px solid var(--line); border-radius:10px; padding:18px 20px;
  position:relative; overflow:hidden;
  border-top:3px solid var(--orange);
}
.tile h4{font-family:'Manrope',sans-serif; font-size:15px; font-weight:700; color:var(--ink); margin-bottom:6px;}
.tile p{font-size:13.5px; color:var(--ink-soft); line-height:1.55;}

/* equipment nameplate */
.plate{
  background:var(--navy);
  color:#DDE3EC;
  border-radius:10px;
  padding:16px 18px;
  position:relative;
}
.plate .m-name{font-family:'Manrope',sans-serif; font-weight:700; font-size:14.5px; margin-bottom:6px; color:#fff;}
.plate .m-spec{font-size:12px; color:#9FB0C6; line-height:1.6;}
.plate .m-tag{
  display:inline-block; font-size:9.5px; font-weight:700; letter-spacing:.06em;
  color:var(--orange); background:rgba(166,35,111,.15); padding:2px 8px; border-radius:20px; margin-bottom:9px; text-transform:uppercase;
}
.plate .m-icon{
  width:36px; height:36px; border-radius:8px; background:rgba(166,35,111,.12);
  display:flex; align-items:center; justify-content:center; margin-bottom:10px;
}

/* flow diagram */
.flow-wrap{
  background:var(--navy); border-radius:14px; padding:28px 26px 32px;
}
.flow-note{color:#9FB0C6; font-size:13px; margin-bottom:18px; line-height:1.65;}
.flow-note b{color:var(--orange);}
.flow-row{display:flex; align-items:stretch; gap:10px; flex-wrap:wrap; margin-bottom:10px;}
.flow-node{
  background:#fff; color:var(--ink); border-radius:8px; padding:10px 16px;
  font-size:12.5px; font-weight:600; text-align:center;
  display:flex; align-items:center; justify-content:center; min-width:120px;
  box-shadow:0 2px 0 rgba(0,0,0,.12);
}
.flow-node.state{background:transparent; border:1.5px dashed #3E5170; color:#9FB0C6; font-weight:500; box-shadow:none;}
.flow-node.new{border:2px solid var(--orange); background:#F7E6EF;}
.flow-node.new::after{content:"обновлено"; display:block; font-size:8.5px; color:var(--orange-dark); text-transform:uppercase; letter-spacing:.05em; margin-top:3px; font-weight:700;}
.flow-arrow{color:#5B7091; display:flex; align-items:center; font-size:16px;}
.flow-group-label{font-size:10.5px; color:#7488A3; text-transform:uppercase; letter-spacing:.09em; margin:18px 0 8px; font-weight:700;}

/* quiz */
.quiz-card{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:32px 34px; box-shadow:var(--shadow);}
.quiz-progress{font-size:12.5px; font-weight:700; color:var(--blue); margin-bottom:14px; letter-spacing:.04em; text-transform:uppercase;}
.quiz-q{font-family:'Manrope',sans-serif; font-size:19px; font-weight:700; margin-bottom:20px; line-height:1.4; color:var(--ink);}
.opt{
  display:flex; align-items:center; gap:12px; padding:14px 16px; border:1.5px solid var(--line);
  border-radius:10px; margin-bottom:10px; cursor:pointer; transition:.15s; background:#fff;
}
.opt:hover{border-color:var(--blue);}
.opt.selected{border-color:var(--orange); background:#F9E9F1;}
.opt.correct{border-color:var(--green); background:#EEF7F1;}
.opt.wrong{border-color:var(--red); background:#FBEEEC;}
.opt .letter{
  font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; width:26px; height:26px; border-radius:50%;
  border:1.5px solid var(--line); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--ink-soft);
}
.opt.selected .letter{border-color:var(--orange); background:var(--orange); color:#fff;}
.opt.correct .letter{border-color:var(--green); background:var(--green); color:#fff;}
.opt.wrong .letter{border-color:var(--red); background:var(--red); color:#fff;}
.opt .txt{font-size:14.5px; line-height:1.45;}
.feedback{font-size:13.5px; margin-top:14px; padding:13px 16px; border-radius:10px; display:none; line-height:1.55;}
.feedback.show{display:block;}
.feedback.ok{background:#EEF7F1; color:var(--green); border:1px solid #BFE0CC;}
.feedback.bad{background:#FBEEEC; color:var(--red); border:1px solid #EBC5BD;}
.quiz-actions{display:flex; justify-content:space-between; align-items:center; margin-top:24px;}
.btn{
  font-family:'Manrope',sans-serif; font-weight:700; font-size:13.5px; letter-spacing:.01em;
  padding:12px 24px; border-radius:8px; border:none; cursor:pointer; transition:.15s;
}
.btn-primary{background:var(--orange); color:#fff;}
.btn-primary:hover{background:var(--orange-dark);}
.btn-primary:disabled{background:#D8DCE2; color:#9AA3AF; cursor:not-allowed;}
.btn-ghost{background:transparent; color:var(--ink-soft); border:1.5px solid var(--line);}
.btn-ghost:hover{border-color:var(--ink-soft); color:var(--ink);}

.result-card{text-align:center; padding:52px 30px;}
.result-score{font-family:'Manrope',sans-serif; font-weight:800; font-size:60px; color:var(--ink);}
.result-score span{font-size:24px; color:var(--ink-soft); font-weight:600;}
.result-tag{text-transform:uppercase; letter-spacing:.06em; font-size:13px; margin-top:10px; font-weight:700;}
.result-tag.pass{color:var(--green);}
.result-tag.fail{color:var(--red);}
.stamp{
  display:inline-block; margin-top:24px; padding:11px 26px; border:2.5px solid var(--green); color:var(--green);
  border-radius:30px; font-family:'Manrope',sans-serif; font-weight:800; font-size:14px; letter-spacing:.05em;
}
.stamp.fail{border-color:var(--red); color:var(--red);}

/* ===== Sales Academy (Day 0) ===== */
.academy-banner{background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:#fff; border-radius:16px; padding:28px 30px; margin-bottom:22px;}
.academy-banner h2{font-family:'Manrope',sans-serif; font-size:27px; margin-bottom:8px;}
.academy-banner p{color:#C9D4E3; line-height:1.55; max-width:760px;}
.academy-pill{display:inline-block; background:rgba(166,35,111,.16); border:1px solid rgba(166,35,111,.45); color:#E8B8DA; padding:5px 10px; border-radius:20px; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; margin-bottom:12px;}
.academy-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:22px;}
.academy-stat{background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px; box-shadow:var(--shadow);}
.academy-stat .v{font-family:'Manrope',sans-serif; font-weight:800; font-size:25px; color:var(--navy);}
.academy-stat .l{font-size:12px; color:var(--ink-soft); margin-top:4px;}

.skill-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.skill{border:1px solid var(--line); border-radius:10px; padding:13px 15px; background:#fff;}
.skill-head{display:flex; justify-content:space-between; font-size:13px; font-weight:700; margin-bottom:7px;}
.skill-bar{height:7px; background:#E8EBEF; border-radius:5px; overflow:hidden;}
.skill-bar i{display:block; height:100%; background:var(--orange); border-radius:5px;}
.example-tag{font-size:10.5px; font-weight:700; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px; display:flex; align-items:center; gap:6px;}


.case-box{background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px; box-shadow:var(--shadow); margin-bottom:16px;}
.case-tag{font-size:10px; font-weight:800; color:var(--blue); letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px;}
.case-box h3{font-family:'Manrope',sans-serif; font-size:19px; margin-bottom:8px; color:var(--navy);}
.case-box p{font-size:14px; line-height:1.6; margin-bottom:10px;}
.case-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:15px;}
.case-option{border:1px solid var(--line); border-radius:9px; padding:11px 13px; background:#fff; font-size:13px; cursor:pointer; transition:.15s; max-width:100%;}
.case-option:hover{border-color:var(--blue); background:#F7F9FB;}
.case-option.open{border-color:var(--orange); background:#F9E9F1;}
.case-option .ch-q{display:flex; align-items:center; gap:6px;}
.case-option .ch-q::after{content:"+"; margin-left:auto; color:var(--ink-soft); font-weight:700; transition:.15s;}
.case-option.open .ch-q::after{content:"–"; color:var(--orange);}
.case-hint{display:none; margin-top:9px; padding-top:9px; border-top:1px dashed var(--line); font-size:12.5px; color:var(--ink-soft); line-height:1.5;}
.case-option.open .case-hint{display:block;}
.script-list{list-style:none; margin-top:6px;}
.script-list li{
  position:relative; padding:8px 0 8px 24px; font-size:13px; color:var(--ink); line-height:1.55; border-top:1px dotted var(--line);
}
.script-list li:first-child{border-top:none;}
.script-list li::before{content:"“"; position:absolute; left:2px; top:6px; color:var(--orange); font-family:Georgia,serif; font-size:18px; font-weight:700;}
.script-list li b{color:var(--navy);}
.badge-ai{display:inline-flex; align-items:center; gap:6px; background:#EEF3F9; color:var(--blue); padding:5px 9px; border-radius:20px; font-size:10px; font-weight:800;}

/* margin calculator */
.calc-card{background:var(--navy); border-radius:14px; padding:22px 24px; margin-bottom:16px;}
.calc-card h3{color:#fff; font-family:'Manrope',sans-serif; font-size:16px; margin-bottom:14px;}
.calc-row{display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; margin-bottom:16px;}
.calc-field label{display:block; font-size:11px; color:#9FB0C6; margin-bottom:5px; text-transform:uppercase; letter-spacing:.04em;}
.calc-field input{
  width:100%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:8px;
  padding:9px 10px; color:#fff; font-size:14px; font-family:'Inter',sans-serif;
}
.calc-field input:focus{outline:none; border-color:var(--orange);}
.calc-result{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.calc-out{background:rgba(255,255,255,.06); border-radius:10px; padding:12px 14px;}
.calc-out .co-val{font-family:'Manrope',sans-serif; font-weight:800; font-size:22px; color:#fff;}
.calc-out .co-val.warn{color:#E8B8DA;}
.calc-out .co-lbl{font-size:11.5px; color:#9FB0C6; margin-top:2px;}
@media(max-width:760px){.academy-grid,.skill-grid,.calc-row,.calc-result{grid-template-columns:1fr;}}

/* adaptation program */
.day-card{
  background:var(--card); border:1px solid var(--line); border-radius:14px; margin-bottom:18px; overflow:hidden;
}
.day-head{
  background:var(--navy); color:#fff; padding:16px 24px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px;
}
.day-head .day-name{font-family:'Manrope',sans-serif; font-weight:800; font-size:16px;}
.day-head .day-goal{font-size:12.5px; color:#B9C6D9; max-width:520px;}
.task-row{
  display:flex; align-items:flex-start; gap:14px; padding:14px 24px; border-top:1px solid var(--line);
}
.task-row .tnum{
  flex-shrink:0; width:24px; height:24px; border-radius:6px; background:var(--steel); color:var(--blue);
  font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; margin-top:1px;
}
.task-row .tbody{flex:1;}
.task-row .ttitle{font-size:14px; font-weight:600; color:var(--ink); line-height:1.5;}
.task-row .tmeta{display:flex; gap:14px; margin-top:5px; flex-wrap:wrap;}
.task-row .tresp{font-size:12px; color:var(--blue); font-weight:600;}
.task-row .tresult{font-size:12px; color:var(--ink-soft);}
.task-row .tresult::before{content:"→ "; color:#B7BFC9;}

.milestone{
  background:linear-gradient(135deg, var(--navy), var(--navy-2)); color:#fff; border-radius:14px; padding:26px 28px; margin:26px 0;
}
.milestone h3{font-family:'Manrope',sans-serif; font-weight:800; font-size:17px; margin-bottom:14px; color:#fff;}
.milestone ul{list-style:none;}
.milestone ul li{font-size:14px; padding:7px 0 7px 22px; position:relative; color:#DCE3EE; line-height:1.5;}
.milestone ul li::before{content:"✓"; position:absolute; left:0; color:var(--orange); font-weight:700;}

.kpi-row{display:flex; gap:14px; flex-wrap:wrap; margin-top:16px;}
.kpi{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:10px; padding:14px 18px; flex:1; min-width:180px;
}
.kpi .kpi-val{font-family:'Manrope',sans-serif; font-weight:800; font-size:22px; color:var(--orange);}
.kpi .kpi-lbl{font-size:12px; color:#B9C6D9; margin-top:3px;}

/* status reference table */
.ref-group{margin-bottom:22px;}
.ref-group-title{font-family:'Manrope',sans-serif; font-weight:700; font-size:13.5px; color:var(--navy); margin-bottom:8px; padding-bottom:6px; border-bottom:2px solid var(--orange); display:inline-block;}
.ref-table{width:100%; border-collapse:collapse; font-size:13px;}
.ref-table tr{border-bottom:1px solid var(--line);}
.ref-table tr:last-child{border-bottom:none;}
.ref-table td{padding:8px 10px; vertical-align:top;}
.ref-table td.ref-id{font-weight:700; color:var(--blue); width:60px; white-space:nowrap;}
.ref-table td.ref-name{color:var(--ink);}
.ref-table tr:hover{background:var(--steel);}

/* video player */
.video-card{background:var(--navy); border-radius:14px; padding:18px; margin-bottom:20px;}
.video-card video{width:100%; border-radius:8px; display:block; background:#000;}
.video-card .video-title{color:#fff; font-family:'Manrope',sans-serif; font-weight:700; font-size:14.5px; margin-bottom:12px; display:flex; align-items:center; gap:8px;}
.video-card .video-title .dot{width:8px; height:8px; border-radius:50%; background:var(--orange);}
.video-missing{
  background:var(--card); border:1.5px dashed var(--line); border-radius:12px; padding:20px; text-align:center; margin-bottom:16px;
}
.video-missing .vm-icon{font-size:22px; margin-bottom:6px;}
.video-missing .vm-title{font-family:'Manrope',sans-serif; font-weight:700; font-size:14px; color:var(--ink); margin-bottom:4px;}
.video-missing .vm-note{font-size:12.5px; color:var(--ink-soft);}

/* icon tiles for day 1 */
.icon-row{display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:14px; flex-wrap:wrap;}
.proc-icon{
  display:flex; flex-direction:column; align-items:center; gap:8px; width:100px;
}
.proc-icon .ic-circle{
  width:64px; height:64px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center;
}
.proc-icon .ic-label{font-size:11.5px; text-align:center; color:var(--ink-soft); font-weight:600; line-height:1.3;}
.proc-arrow{color:var(--line); font-size:20px; margin-bottom:26px;}
@media(max-width:760px){.icon-row{gap:6px;} .proc-arrow{display:none;}}

/* material swatch */
.tile{padding-top:16px;}
.swatch{width:100%; height:56px; border-radius:8px; margin-bottom:12px; position:relative; overflow:hidden; box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);}
.swatch::after{content:""; position:absolute; left:0; right:0; bottom:0; height:9px; background:rgba(0,0,0,.16);}
.swatch.metallic{background:linear-gradient(135deg,#cfd8e3,#8fa2b8 40%,#e8edf3 60%,#a7b6c8);}
.swatch.recycled{background:repeating-linear-gradient(115deg,#b8ae9c,#b8ae9c 3px,#a89c88 3px,#a89c88 6px);}
.swatch.kraftback{background:linear-gradient(90deg,#f2ede0 0%,#f2ede0 55%,#b98a55 55%,#b98a55 100%);}
.swatch.micro{background:#e7dfc9;}
.swatch.micro .flute{position:absolute; left:0; right:0; bottom:9px; height:14px;}
.swatch.cellulose{background:linear-gradient(180deg,#f7f4ea,#efe9d8);}
.swatch.design{background:#efe6d3; background-image:radial-gradient(rgba(178,127,77,.35) 1.5px, transparent 1.5px); background-size:10px 10px;}

/* box illustrations (isometric) */
.box-illus{
  background:linear-gradient(180deg,#eef1f5,#e4e9ef); border-radius:10px; padding:16px 10px; margin-bottom:14px;
  display:flex; align-items:center; justify-content:center; height:120px;
}

/* print & finishing illustrations */
.pf-illus{width:100%; height:64px; border-radius:8px; margin-bottom:14px; position:relative; overflow:hidden;}
.pf-illus.cmyk{background:#f4f5f7;}
.pf-illus.gloss{background:linear-gradient(120deg,#7A1F5E 0%,#3f74b3 30%,#8fb4dd 45%,#3f74b3 60%,#7A1F5E 100%); background-size:220% 100%;}
.pf-illus.emboss{background:linear-gradient(180deg,#e4e9ef,#c9d2dc);}
.pf-illus.foil{background:linear-gradient(120deg,#8a6d1f,#e8c766 35%,#fff6d8 50%,#e8c766 65%,#8a6d1f 100%);}

/* cutting illustrations */
.cut-illus{width:100%; height:46px; margin-bottom:12px; display:flex; align-items:center; justify-content:center;}

.nav-btns{display:flex; justify-content:space-between; margin-top:36px;}

@media(max-width:860px){
  .app{flex-direction:column;}
  .sidebar{width:100%; height:auto; position:relative;}
  .main{padding:28px 20px 80px;}
}

body{user-select:auto!important}.gate-overlay,.results-btn,.protect-toast{display:none!important}
.site-top{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;padding:20px 26px;border-bottom:3px solid var(--orange)}.site-top-inner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;align-items:center}.group-logo .word{font-family:'Manrope';font-size:27px;font-weight:900}.group-logo .dot{color:#E8C9F5}.group-logo .group{font-size:9px;letter-spacing:.35em;color:#CDBAC9}.site-wrap{max-width:1180px;margin:auto;padding:28px 24px 70px}.site-hero{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;border-radius:18px;padding:28px;margin-bottom:18px}.site-hero p{color:#D8CBD4}
.day-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.day-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--orange);border-radius:14px;padding:18px;box-shadow:var(--shadow);text-decoration:none;color:inherit}.status-pill{display:inline-block;margin-top:10px;padding:5px 9px;border-radius:18px;background:var(--steel);font-size:10px;font-weight:800}.status-pill.done{background:#EAF5EE;color:var(--green)}.status-pill.work{background:#F9E9F1;color:var(--orange)}
.profile-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;margin:18px 0}.profile-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.profile-grid input,.profile-grid select,.open-answer{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px}
.day-shell{display:grid;grid-template-columns:260px 1fr;gap:22px}.day-menu{position:sticky;top:18px;align-self:start;background:var(--navy);border-radius:14px;padding:14px}.day-menu a,.day-menu button{display:block;width:100%;text-align:left;padding:9px 10px;background:none;border:0;color:#E9DFE6;border-radius:8px;cursor:pointer;font-size:12px}.day-menu button.active{background:rgba(166,35,111,.25)}.day-menu .home-link{color:#E8C9F5;font-weight:700}.lesson{display:none}.lesson.active{display:block}.day-progress{height:7px;background:#E8DDE3;border-radius:10px;overflow:hidden}.day-progress i{display:block;height:100%;background:var(--orange)}
.exam-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:var(--shadow)}.exam-progress{font-size:11px;color:var(--blue);font-weight:800}.exam-q{font-family:'Manrope';font-size:19px;font-weight:700;margin:12px 0}.answer-opt{display:flex;gap:10px;border:1px solid var(--line);border-radius:10px;padding:12px;margin:8px 0;cursor:pointer}.answer-opt.selected{border-color:var(--orange);background:#F9E9F1}.answer-opt.correct{border-color:var(--green);background:#EEF7F1}.answer-opt.wrong{border-color:var(--red);background:#FBEEEC}.ans-letter{width:26px;height:26px;border-radius:50%;background:var(--steel);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}.exam-feedback{display:none;margin-top:12px;padding:11px;border-radius:8px}.exam-feedback.show{display:block}.exam-feedback.ok{background:#EEF7F1}.exam-feedback.bad{background:#FBEEEC}.open-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;margin:12px 0}.open-answer{min-height:100px;resize:vertical}.final-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 18px 45px rgba(42,30,48,.13);text-align:center}.final-score{font-size:64px;font-weight:900;color:var(--navy)}.final-status{display:inline-block;padding:8px 14px;border-radius:22px;font-weight:900}.final-status.ok{background:#EAF5EE;color:var(--green)}.final-status.bad{background:#FBEEEC;color:var(--red)}.final-table{width:100%;border-collapse:collapse}.final-table td,.final-table th{padding:9px;border-bottom:1px solid var(--line)}
@media(max-width:900px){.day-grid{grid-template-columns:1fr 1fr}.day-shell{grid-template-columns:1fr}.day-menu{position:relative}.profile-grid{grid-template-columns:1fr}}@media(max-width:600px){.day-grid{grid-template-columns:1fr}}@media print{.site-top,.day-menu,.actions{display:none!important}.day-shell{display:block}}

.brand-logo{display:flex;align-items:center;color:#fff;min-width:245px}
.brand-logo-svg{width:250px;height:auto;display:block;color:#fff}
.site-top .site-top-inner{gap:22px}
.site-top-course{border-left:1px solid rgba(255,255,255,.18);padding-left:22px}
.site-top-course b{font-family:'Manrope',sans-serif;font-size:14px;letter-spacing:.04em}
.site-top-course small{color:#D5C7D2}
@media(max-width:620px){
  .site-top-inner{align-items:flex-start!important;flex-direction:column}
  .site-top-course{border-left:0;padding-left:0}
  .brand-logo-svg{width:220px}
}

/* HARMENS ACADEMY 2.0 */
:root{--academy-panel:#fff;--academy-bg:#f6f3f5}
body{background:var(--academy-bg)}
.site-top{position:sticky;top:0;z-index:100;box-shadow:0 5px 20px rgba(35,24,34,.13)}
.course-stepper{max-width:1180px;margin:14px auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 24px}
.step-day{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;text-decoration:none;color:var(--ink);font-size:11px;font-weight:800;position:relative}
.step-day:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;background:#cfc6cb}
.step-day.current{box-shadow:0 0 0 2px rgba(166,35,111,.14)}.step-day.current:before{background:var(--orange)}
.step-day.done:before{background:var(--green)}.step-day.retry:before{background:var(--red)}
.step-day small{display:block;color:var(--ink-soft);font-weight:500;margin-top:3px}
.academy-layout{display:grid;grid-template-columns:240px minmax(0,1fr) 250px;gap:20px;align-items:start}
.tool-rail{position:sticky;top:112px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;box-shadow:var(--shadow)}
.tool-rail h3{font-size:13px;margin:2px 0 10px}.tool-btn{display:block;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px;margin:7px 0;font-size:12px;font-weight:700;cursor:pointer}
.tool-btn:hover{border-color:var(--orange);background:#fcf6f9}.save-indicator{position:fixed;right:18px;bottom:18px;z-index:200;background:var(--navy);color:#fff;padding:8px 12px;border-radius:18px;font-size:11px;opacity:0;transform:translateY(5px);transition:.2s}.save-indicator.show{opacity:1;transform:none}
.tool-modal{position:fixed;inset:0;background:rgba(28,20,27,.45);display:none;z-index:300;padding:30px}.tool-modal.open{display:flex}.tool-window{background:#fff;border-radius:16px;max-width:760px;width:100%;max-height:88vh;overflow:auto;margin:auto;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.tool-close{float:right;border:0;background:var(--steel);border-radius:50%;width:32px;height:32px;cursor:pointer}
.glossary-search{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;margin:10px 0 14px}.term{padding:11px 0;border-bottom:1px solid var(--line)}.term b{color:var(--navy)}
.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calc-grid label{font-size:11px;font-weight:700}.calc-grid input{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px}.calc-result{margin-top:14px;padding:14px;background:var(--steel);border-radius:10px;line-height:1.8}
.micro-card{background:#fff;border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:10px;padding:14px;margin:16px 0}.micro-card h4{margin:0 0 8px;font-size:14px}.micro-card button{margin-top:8px}
.competency-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;margin-top:14px}.competency-row{display:grid;grid-template-columns:1fr 48px;gap:8px;margin:9px 0;font-size:11px}.competency-bar{grid-column:1/3;height:6px;background:var(--steel);border-radius:8px;overflow:hidden}.competency-bar i{display:block;height:100%;background:var(--orange)}
.manager-tip{background:#f9edf4;border:1px solid #ead2df;border-radius:10px;padding:12px;font-size:12px;line-height:1.55}
@media(max-width:1080px){.academy-layout{grid-template-columns:220px minmax(0,1fr)}.tool-rail{position:relative;top:auto;grid-column:1/3;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.tool-rail h3,.tool-rail .competency-card,.tool-rail .manager-tip{grid-column:1/-1}.tool-btn{margin:0}}
@media(max-width:760px){.course-stepper{grid-template-columns:1fr 1fr}.academy-layout{display:block}.day-menu{margin-bottom:14px}.tool-rail{display:block;margin-top:14px}.tool-btn{margin:7px 0}.calc-grid{grid-template-columns:1fr}}
