:root {
  --ink: #193d36;
  --muted: #68776e;
  --paper: #f7f7f1;
  --line: #dce3d8;
  --lime: #d9ec9d;
  --green: #204d40;
  --white: #fff;
  --orange: #c16b42;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.65 system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
a {
  color: inherit;
}
button,
.btn {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 17px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 600;
}
button:hover,
.btn:hover {
  border-color: var(--green);
  background: #edf2e5;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #163b30;
  color: #fff;
}
.ghost {
  background: transparent;
}
.shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  background: #eef1e7;
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
  font-size: 19px;
  letter-spacing: -0.6px;
  font-weight: 750;
}
.brand i {
  background: var(--green);
  color: var(--lime);
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-style: normal;
  width: 38px;
  height: 42px;
  font-size: 25px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  margin-top: 6px;
}
.side nav {
  display: grid;
  gap: 7px;
  margin-top: 45px;
}
.side nav a {
  padding: 12px;
  text-decoration: none;
  border-radius: 9px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
}
.side nav a.active {
  background: var(--green);
  color: white;
}
.side nav a:hover {
  box-shadow: inset 0 0 0 1px #a2b29f;
}
.side .bottom {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  padding-top: 30px;
}
.main {
  padding: 0 46px 42px;
  max-width: 1500px;
  width: 100%;
  margin: auto;
}
.top {
  height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 10px;
  margin-bottom: 32px;
}
.tag,
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.tag {
  background: #eaf0de;
  padding: 6px 10px;
  border-radius: 20px;
  letter-spacing: 0.7px;
  display: inline-block;
}
.eyebrow {
  color: #66816c;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  padding: 25px 0 38px;
  align-items: center;
}
h1 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 15px 0 22px;
}
h1 em {
  font-style: normal;
  color: #65823f;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin: 8px 0 15px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 8px 0 12px;
}
p {
  margin: 10px 0;
}
.muted,
small {
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero p {
  max-width: 540px;
}
.focus {
  padding: 28px;
  background: #e8eedc;
  border: 1px solid #d2ddbf;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.focus:after {
  content: '↗';
  position: absolute;
  right: -10px;
  bottom: -47px;
  font-size: 190px;
  line-height: 1;
  color: #d4dfbf;
  pointer-events: none;
}
.focus > * {
  position: relative;
  z-index: 1;
}
.focus h2 {
  max-width: 300px;
  font-size: 27px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 12px 0 30px;
}
.stat {
  border-top: 1px solid #bfcdb6;
  padding: 16px 5px;
}
.stat b {
  font-size: 30px;
  display: block;
  line-height: 1.4;
  font-weight: 550;
}
.stat small {
  font-size: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card .num {
  color: #78945b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.card p {
  color: var(--muted);
  font-size: 14px;
}
.card a {
  margin-top: 14px;
}
.sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 14px;
}
.sectionhead h2 {
  margin: 0;
}
.note {
  border-left: 3px solid #a7bd7d;
  padding: 14px 18px;
  background: #eff2e7;
  font-size: 13px;
  margin: 20px 0;
}
.notice {
  border-left-color: #c16b42;
  background: #faf0e7;
}
.narrow {
  max-width: 850px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd9c7;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  min-height: 48px;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.full {
  grid-column: 1/-1;
}
.task {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  align-items: flex-start;
}
.task:last-child {
  border: 0;
}
.task .step {
  flex: none;
  width: 31px;
  height: 31px;
  border: 1px solid #c8d4bd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.task div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.task h3 {
  margin: 0 0 4px;
}
.task p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--muted);
}
.task.done .step {
  background: #d9ec9d;
}
.task .btn {
  flex: none;
}
.bar {
  height: 6px;
  border-radius: 10px;
  background: #e3e9dc;
  overflow: hidden;
  margin: 14px 0;
}
.bar i {
  display: block;
  height: 100%;
  background: #65823f;
}
.empty {
  padding: 30px;
  border: 1px dashed #bacab0;
  border-radius: 14px;
  color: var(--muted);
  background: #f0f3e9;
}
details {
  margin: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.quote {
  border-left: 2px solid #b6c9a3;
  padding-left: 16px;
  margin: 12px 0;
  white-space: pre-wrap;
}
.pillrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pillrow span {
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.danger {
  color: #933b31;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
}
.check input {
  width: 20px;
  min-height: 20px;
}
#status:not(:empty) {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  padding: 13px 22px;
  border-radius: 12px;
  z-index: 50;
  max-width: 90vw;
}
pre {
  white-space: pre-wrap;
  font: inherit;
}
.preview {
  white-space: pre-wrap;
  color: #253c33;
  font:
    15px/1.75 Arial,
    sans-serif;
}
.tablewrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
td,
th {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.mobilebrand {
  display: none;
}
@media (max-width: 1050px) {
  .main {
    padding: 0 25px 30px;
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .side {
    padding: 25px 15px;
  }
  .hero {
    gap: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .side {
    height: auto;
    position: static;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .side nav {
    display: flex;
    overflow: auto;
    margin-top: 18px;
    gap: 6px;
  }
  .side nav a {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  .side .bottom {
    display: none;
  }
  .main {
    padding: 0 18px 24px;
  }
  .top {
    height: 65px;
    margin-bottom: 15px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 15px 0;
  }
  .hero h1 {
    font-size: 42px;
  }
  .grid2,
  .formgrid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .card {
    padding: 20px;
  }
  .task {
    flex-wrap: wrap;
    gap: 10px;
  }
  .task .btn {
    margin-left: 41px;
  }
  .sectionhead {
    align-items: flex-start;
  }
  h1 {
    letter-spacing: -1.5px;
  }
  .focus {
    padding: 23px;
  }
  .stats {
    margin-top: 25px;
  }
  .top .tag {
    font-size: 9px;
  }
}
@media print {
  .side,
  .top,
  .no-print,
  #status,
  .actions {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .main {
    padding: 0;
    max-width: 100%;
  }
  .card {
    break-inside: avoid;
  }
  body {
    background: #fff;
  }
  .grid,
  .grid2 {
    display: block;
  }
  .card {
    margin: 10px 0;
  }
  h1 {
    font-size: 30px;
  }
  footer {
    display: none;
  }
}
/* Assessment practice workspace */
.casefilters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: #eaf0e1;
  padding: 20px;
  border-radius: 14px;
  margin: 15px 0 28px;
}
.casecard {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.casecard .actions {
  margin-top: auto;
  padding-top: 12px;
}
.casecard p {
  font-size: 13px;
}
.casecardtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.casecardtop .tag {
  font-size: 9px;
  letter-spacing: 0;
}
.casegrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.casecard[hidden] {
  display: none;
}
.casehero h1 {
  font-size: clamp(36px, 4vw, 52px);
}
.caseback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 0 25px;
  gap: 14px;
}
.casetitle {
  max-width: 900px;
  font-size: clamp(34px, 4.2vw, 52px);
}
.casebrief {
  font-size: 17px;
  max-width: 850px;
}
.casegoal {
  background: #e6edd8;
  padding: 23px 26px;
  border-radius: 12px;
  margin: 25px 0;
}
.casegoal p {
  margin-bottom: 0;
}
.casejump {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.casejump a {
  padding: 10px 16px;
  border: 1px solid #c4d0ba;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  min-height: 44px;
}
.case-document {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.case-document:last-child {
  border-bottom: 0;
}
.case-document summary {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 17px;
}
.case-document table {
  min-width: 470px;
  margin: 18px 0;
}
.case-task {
  margin-bottom: 24px;
  font-size: 15px;
}
.case-task span {
  line-height: 1.6;
}
.case-task textarea {
  font-size: 14px;
  font-weight: 400;
}
.caseupdate {
  background: #f2f1e4;
  border: 1px solid #e2dfc6;
  padding: 22px;
  border-radius: 12px;
  margin-top: 25px;
}
.rubricrow {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  align-items: center;
}
.rubricrow p {
  font-size: 13px;
}
.rubricrow h3 {
  font-size: 16px;
  margin: 0;
}
.rubricrow select {
  font-size: 12px;
}
.casehero .focus p {
  font-size: 14px;
}
@media (max-width: 800px) {
  .casefilters,
  .casegrid,
  .rubricrow {
    grid-template-columns: 1fr;
  }
  .caseback {
    align-items: flex-start;
  }
  .casegoal {
    padding: 20px;
  }
  .casejump a {
    font-size: 12px;
  }
  .casecardtop {
    flex-wrap: wrap;
  }
}
@media print {
  .case-document {
    break-inside: avoid;
  }
  .casejump,
  .casefilters {
    display: none;
  }
  .case-task textarea {
    min-height: 110px;
  }
  details:not([open]) {
    display: none;
  }
  .case-document[open] {
    display: block;
  }
  .caseupdate {
    break-inside: avoid;
  }
}
@media print {
  #caseForm,
  #case-work,
  .case-work-note {
    display: none !important;
  }
  .quote {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .card {
    break-inside: auto;
  }
  .case-document table {
    min-width: 0;
  }
}

.cycle-section {
  margin-top: 22px;
}
.cycle-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.cycle-stages span {
  padding: 9px 12px;
  background: #edf2e8;
  border-radius: 8px;
  font-size: 13px;
}
.cycle-reference {
  margin: 12px 0;
}
.cycle-review {
  border: 1px solid #d8e0d2;
  border-radius: 10px;
  padding: 18px;
  margin: 16px 0;
  min-width: 0;
}
.cycle-review legend {
  font-weight: 650;
  padding: 0 6px;
}
.cycle-review blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 3px solid #618b6a;
  background: #f3f6ee;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cycle-section .quote {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.cycle-section summary {
  padding: 12px 0;
  cursor: pointer;
}
.cycle-section small {
  white-space: normal;
}
.cycle-section .field {
  margin-top: 14px;
}
.cycle-section textarea {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .cycle-review {
    padding: 12px;
  }
  .cycle-stages {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cycle-section .actions > * {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

.sectionhead:has(.office-downloads) {
  flex-wrap: wrap;
}
.office-downloads {
  flex-wrap: wrap;
  max-width: 100%;
}
.office-downloads .btn {
  white-space: normal;
  min-height: 44px;
}
@media (max-width: 600px) {
  .office-downloads {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .office-downloads .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

#pilot-message:not(:empty) {
  padding: 16px;
  background: #fff3d8;
  border: 1px solid #dab96d;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.pilot-delivery {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}
.pilot-delivery code {
  overflow-wrap: anywhere;
}
.pilot-delivery details {
  margin: 16px 0;
}
#pilot-content form {
  margin: 16px 0;
}
#pilot-content input[type='file'] {
  max-width: 100%;
}
#pilot-content p {
  overflow-wrap: anywhere;
}

#pilot-content .sectionhead {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
#pilot-content .sectionhead h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}
#pilot-content .card,
#pilot-content form,
#pilot-content .field {
  min-width: 0;
}
#pilot-content select,
#pilot-content textarea,
#pilot-content input {
  max-width: 100%;
  min-width: 0;
}
#pilot-content .actions {
  flex-wrap: wrap;
}
#pilot-content .btn,
#pilot-content button {
  white-space: normal;
  overflow-wrap: anywhere;
}
#pilot-content ol {
  padding-left: 24px;
}
#pilot-content li {
  overflow-wrap: anywhere;
}
/* Candidate workspace: one clear next action, evidence, and compact navigation. */
:root {
  --muted: #58685e;
}
.side {
  overflow: hidden;
  padding-top: 24px;
}
.side nav {
  overflow-y: auto;
  min-height: 0;
  margin-top: 26px;
  scrollbar-width: thin;
}
.side .bottom {
  flex: none;
  padding-top: 15px;
}
.main {
  min-width: 0;
}
.main:focus {
  outline: none;
}
.main h1:focus {
  outline: none;
}
h4 {
  font-size: 15px;
  line-height: 1.45;
  margin: 20px 0 6px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.card,
.field,
.formgrid > *,
.grid2 > * {
  min-width: 0;
}
.card p,
.quote {
  overflow-wrap: anywhere;
}
.field input,
.field textarea,
.field select {
  max-width: 100%;
  min-width: 0;
}
.card small {
  display: block;
}
.check {
  align-items: flex-start;
  margin: 15px 0;
}
.check input {
  flex: none;
  margin-top: 4px;
}
.check span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.check small {
  display: block;
  font-weight: 400;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: #fff;
  padding: 14px;
  border: 2px solid var(--green);
  border-radius: 10px;
}
.skip-link:focus {
  top: 14px;
}
.mobile-toolbar,
.mobile-dock {
  display: none;
}
.dashboard-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 18px 0 34px;
}
.dashboard-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
}
.dashboard-hero .btn {
  margin-top: 14px;
}
.next-action {
  background: var(--green);
  color: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 30px #163d3710;
}
.next-action .eyebrow,
.next-action small {
  color: #d6e6b6;
}
.next-action h2 {
  font-size: 28px;
  margin-top: 14px;
}
.next-action .primary {
  background: var(--lime);
  color: #163d37;
  border-color: var(--lime);
  width: 100%;
}
.next-action small .btn {
  font-size: 12px;
  min-height: 36px;
  padding: 4px 0;
  background: none;
  border: none;
  color: #fff;
  margin: 4px 0;
}
.status-card {
  position: relative;
  text-decoration: none;
  display: grid;
  gap: 8px;
  padding-right: 40px;
  transition: box-shadow 0.15s;
}
.status-card:hover {
  box-shadow: 0 7px 20px #163d3710;
  border-color: #9baa91;
}
.status-card strong {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
}
.status-card > span:last-of-type {
  font-size: 12px;
  color: var(--muted);
}
.status-card > b {
  position: absolute;
  right: 18px;
  top: 25px;
  font-size: 22px;
  font-weight: 400;
}
.save-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px dashed #acbda0;
  border-radius: 14px;
  margin-top: 24px;
  background: #f0f3e9;
}
.save-strip p {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0;
}
.save-strip .btn {
  flex: none;
}
.examples-layout {
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}
#example > .field,
#example > .formgrid {
  margin-top: 18px;
}
.evidence-card {
  margin-top: 16px;
}
.evidence-presence {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.evidence-presence span {
  font-size: 11px;
  background: #f3f4f0;
  color: #68776e;
  padding: 5px 8px;
  border-radius: 6px;
}
.evidence-presence .present {
  color: #204d40;
  background: #edf3df;
}
.evidence-card details {
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.evidence-card .quote {
  font-size: 14px;
}
.dossier-controls {
  margin: 24px 0;
}
.dossier-preview {
  max-width: 950px;
}
.dossier-heading {
  padding: 25px 0;
  border-bottom: 2px solid var(--green);
  margin-bottom: 20px;
}
.dossier-heading h2 {
  font-size: 30px;
}
.dossier-item {
  margin-top: 18px;
}
.dossier-item blockquote {
  margin: 12px 0;
  padding: 12px 18px;
  background: #f2f5ec;
  border-left: 3px solid #96ad76;
}
.dossier-limit {
  margin-top: 24px;
}
.loading-state {
  padding: 36px;
}
.loading-state h1 {
  font-size: 30px;
}
.loading-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #65823f;
  border-radius: 50%;
  animation: loadpulse 1s ease-in-out infinite;
}
@keyframes loadpulse {
  50% {
    opacity: 0.3;
  }
}
.top > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.top .tag {
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  max-width: 55%;
}
.status-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sectionhead .btn {
  flex: none;
}
@media (max-height: 800px) and (min-width: 721px) {
  .side .bottom {
    display: none;
  }
  .side nav {
    margin-top: 22px;
  }
}
@media (max-width: 1050px) {
  .dashboard-hero {
    gap: 20px;
  }
  .next-action {
    padding: 24px;
  }
  .next-action h2 {
    font-size: 24px;
  }
  .examples-layout {
    grid-template-columns: 1fr;
  }
  .status-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  body {
    padding-bottom: 74px;
  }
  .mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 10px 16px;
    background: #eef1e7f5;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .mobile-title {
    text-decoration: none;
    font-weight: 750;
    letter-spacing: -0.5px;
    font-size: 19px;
  }
  .mobile-toolbar button {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .shell > .side {
    display: none;
    height: auto;
    max-height: 65vh;
    overflow-y: auto;
  }
  .shell > .side.mobile-open {
    display: block;
  }
  .side > .brand {
    display: none;
  }
  .side nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    margin-top: 0;
    gap: 7px;
  }
  .side nav a {
    white-space: normal;
    min-height: 48px;
    font-size: 13px;
  }
  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    border-top: 1px solid var(--line);
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    background: #f7f8f2fa;
    backdrop-filter: blur(8px);
  }
  .mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
    border-radius: 9px;
  }
  .mobile-dock [aria-current='page'] {
    background: var(--green);
    color: #fff;
  }
  .dashboard-hero {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 22px;
  }
  .dashboard-hero h1 {
    font-size: 38px;
  }
  .next-action {
    padding: 23px;
  }
  .next-action h2 {
    font-size: 24px;
  }
  .status-cards {
    grid-template-columns: 1fr;
  }
  .status-card {
    padding: 16px 42px 16px 18px;
    gap: 4px;
  }
  .status-card strong {
    font-size: 22px;
  }
  .save-strip {
    display: block;
    padding: 20px;
  }
  .save-strip .btn {
    margin-top: 15px;
    width: 100%;
  }
  .top {
    height: auto;
    min-height: 58px;
    padding: 12px 0;
    align-items: flex-start;
  }
  .top .tag {
    font-size: 10px;
    max-width: 55%;
    text-align: right;
  }
  .sectionhead {
    flex-wrap: wrap;
  }
  .sectionhead .btn {
    font-size: 13px;
  }
  .dashboard-hero p {
    font-size: 14px;
  }
  .dossier-heading h2 {
    font-size: 25px;
  }
  .dossier-controls .check {
    padding: 8px 0;
  }
  #status:not(:empty) {
    bottom: 85px;
    width: calc(100% - 28px);
    max-width: 500px;
    font-size: 13px;
  }
  .skip-link:focus {
    top: 72px;
  }
  .main {
    padding-top: 0;
  }
  .examples-layout {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .mobile-toolbar,
  .mobile-dock,
  .skip-link,
  .dossier-controls,
  .save-strip {
    display: none !important;
  }
  body {
    padding: 0;
    color: #12251c;
  }
  .main {
    padding: 0;
  }
  .dossier-preview {
    max-width: none;
  }
  .dossier-preview .card {
    border: 0;
    border-radius: 0;
    padding: 12px 0;
    box-shadow: none;
  }
  .dossier-item h3,
  .dossier-item h4 {
    break-after: avoid;
  }
  .dossier-preview .quote {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .dossier-heading {
    padding-top: 0;
  }
  .dossier-limit {
    font-size: 10px;
  }
  body[data-route='dossier'] .main > h1,
  body[data-route='dossier'] .main > .eyebrow,
  body[data-route='dossier'] .main > .muted {
    display: none;
  }
  body[data-route='dossier'] .main > .no-print {
    display: none !important;
  }
}
/* Answer-linked growth work */
.growth-entry {
  margin: 22px 0;
  background: #eff3e6;
}
.growth-entry p {
  max-width: 760px;
}
.growth-priority {
  min-width: 0;
}
.growth-priority blockquote,
.growth-comparison blockquote {
  margin: 14px 0;
  padding: 15px;
  border-left: 3px solid #88a869;
  background: #f1f5e9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.growth-priority .field,
.growth-comparison .field,
.growth-section .field {
  margin-top: 16px;
}
.growth-priority .num {
  line-height: 1.6;
}
.growth-task {
  background: #f6f7f1;
  padding: 16px;
  border-radius: 10px;
  margin-top: 16px;
}
.growth-task h4 {
  margin-top: 0;
}
.growth-priority form {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.growth-priority button,
.growth-comparison button,
.growth-section form button {
  margin-top: 16px;
}
.growth-track,
.growth-section {
  margin-top: 28px;
}
.growth-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.growth-path section {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: #f8f9f4;
}
.growth-path section > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--lime);
  border-radius: 50%;
  font-size: 12px;
}
.growth-path h4 {
  margin: 12px 0 6px;
}
.growth-section > .card {
  margin-top: 18px;
}
.growth-section form > .field,
.growth-section .formgrid {
  margin-top: 16px;
}
.growth-section form button {
  width: auto;
}
.growth-section .quote {
  font-size: 14px;
}
.growth-section select {
  width: 100%;
}
[data-growth-save] {
  font-size: 13px;
  color: var(--green);
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .growth-path {
    grid-template-columns: 1fr;
  }
  .growth-priority .actions > .btn {
    width: 100%;
  }
  .growth-section form button,
  .growth-priority form button {
    width: 100%;
  }
}
@media print {
  .growth-entry {
    display: none;
  }
  body[data-route='growth'] form,
  body[data-route='growth'] .actions {
    display: none !important;
  }
  .growth-priority blockquote {
    border-color: #777;
  }
  .growth-path {
    display: block;
  }
  .growth-section .card {
    break-inside: auto;
  }
}

/* Rehearsal keeps long source text within the mobile card. */
.rehearsal-layout {
  align-items: start;
  margin: 20px 0;
}
.rehearsal-layout > *,
.rehearsal-layout form {
  min-width: 0;
}
.rehearsal-layout pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  max-height: 350px;
  overflow: auto;
}
body[data-route='rehearsal'] details {
  margin: 14px 0;
}
body[data-route='rehearsal'] summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
body[data-route='rehearsal'] .quote {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.file-work-card {
  margin: 20px 0;
}
.file-work-card fieldset,
#pilot-feedback fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
}
.file-work-card legend,
#pilot-feedback legend {
  font-weight: 650;
  overflow-wrap: anywhere;
}
.file-work-card blockquote {
  margin: 12px 0;
  padding: 12px;
  border-left: 3px solid #88a869;
  background: #f1f5e9;
}
.file-work-card input,
.file-work-card textarea {
  width: 100%;
  min-width: 0;
}
.file-work-card summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}
.role-reasoning textarea {
  width: 100%;
  min-width: 0;
}
fieldset {
  min-width: 0;
}
#quick-start {
  margin: 24px 0;
}
#quick-start button {
  width: 100%;
}
@media (max-width: 700px) {
  .file-work-card .actions .btn,
  .file-work-card button {
    width: 100%;
  }
  .file-work-card legend {
    font-size: 14px;
  }
}

/* 0.17 — gruplanmış gezinme, alt sekmeler ve vaka çalışma görünümü */
.side .bottom {
  display: grid !important;
  gap: 10px;
  justify-items: start;
}
.guide-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
}
.guide-link:hover,
.guide-link.active {
  background: #e2e8d8;
}
.subnav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 18px 0 6px;
  padding: 5px;
  background: #eef1e7;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}
.subnav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.subnav a:hover {
  background: #e2e8d8;
}
.subnav a.active {
  background: var(--white);
  box-shadow: 0 1px 2px #193d3626;
}
footer a {
  color: inherit;
}
@media (max-width: 1050px) {
  .mobile-dock {
    grid-template-columns: repeat(5, 1fr);
  }
  .mobile-dock a {
    font-size: 11.5px;
  }
  .subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: auto;
    scrollbar-width: none;
  }
}
.casecard .fit {
  color: #3f6b2a;
}
@media (min-width: 1280px) {
  .case-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .case-split-docs {
    position: sticky;
    top: 12px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
  }
  .case-split-docs .office-downloads {
    flex-wrap: wrap;
  }
  .case-split-docs .sectionhead {
    flex-wrap: wrap;
  }
}
.case-timer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
}
.case-timer #caseTimerOut {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.over {
  color: var(--orange) !important;
}
.task-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}
.linkbtn {
  background: none;
  border: 0;
  padding: 2px 0;
  min-height: 0;
  color: var(--green);
  text-decoration: underline;
  font-size: 12.5px;
  cursor: pointer;
}
.precheck {
  border: 1px dashed #b8c4b2;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 6px 0 14px;
  background: #f4f6ee;
}
.precheck summary {
  cursor: pointer;
  font-weight: 650;
}
.precheck ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

/* 0.18 — İK değerlendirme */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.review-form fieldset.rubric {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 6px;
  margin: 10px 0 16px;
}
.review-form legend,
.review-step {
  font-weight: 700;
  font-size: 15px;
  padding: 0 4px;
}
.crit {
  padding: 10px 0 12px;
  border-top: 1px solid var(--line);
}
.crit:first-of-type {
  border-top: 0;
}
.crit p {
  margin: 2px 0 8px;
}
.levels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.levels label {
  display: block;
  position: relative;
  cursor: pointer;
}
.levels input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.levels span {
  display: block;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
}
.levels input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.levels input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.crit .anchor {
  min-height: 1.2em;
  font-size: 13px;
  margin: 6px 0;
}
.crit input[name^='critnote'] {
  width: 100%;
}
.review-output {
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}
.crit-result {
  margin: 10px 0 14px;
  padding: 12px 14px;
  background: #f1f4ea;
  border-radius: 10px;
}
.crit-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 90px minmax(0, 1.2fr);
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  font-size: 14px;
}
.crit-row small {
  grid-column: 1 / -1;
  color: var(--muted);
}
.levelbar {
  height: 8px;
  background: #dfe5d8;
  border-radius: 9px;
  overflow: hidden;
}
.levelbar i {
  display: block;
  height: 100%;
  background: var(--green);
}
.file-preview {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-top: 10px;
}
.tag.late,
.late-text {
  color: var(--orange) !important;
}
.tag.late {
  background: #f7e6dc;
}
.queue-summary .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.queue-summary .stats div {
  display: grid;
}
.queue-summary .stats strong {
  font-size: 28px;
  line-height: 1.1;
}
.queue-summary .stats span {
  font-size: 13px;
  color: var(--muted);
}
.admin-tools {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .crit-row {
    grid-template-columns: 1fr;
  }
}
.next-step {
  border: 2px solid var(--green);
  margin: 4px 0 22px;
  display: grid;
  gap: 6px;
  justify-items: start;
}
.next-step h2 {
  margin: 2px 0;
}
.next-step p {
  margin: 0 0 8px;
}
.next-step.done {
  border-color: var(--line);
}

/* Statik demo (GitHub Pages) */
.static-banner {
  margin: 14px 0 4px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fbf3e4;
  border: 1px solid #ecd9b4;
  font-size: 13.5px;
}
.static-banner a {
  font-weight: 650;
}
.static-note {
  border-left: 4px solid #d8b56a;
}
