@font-face {
  font-family: Plex;
  src: url("/fonts/arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/fonts/arabic-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/fonts/arabic-600.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  font-family: Plex, "Segoe UI", Tahoma, sans-serif;
  color: #292723;
  background: #faf9f6;
  font-synthesis: none;
  --paper: #fff;
  --ink: #292723;
  --muted: #77746c;
  --brown: #795548;
  --brown-dark: #593c32;
  --gold: #b49a65;
  --line: #e9e6df;
  --cream: #f3f0e9;
  --green: #386351;
  --red: #a43f3b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b49a65;
  outline-offset: 4px;
}
a {
  color: var(--brown);
  text-underline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-weight: 500;
  letter-spacing: -1px;
  font-size: clamp(30px, 3.6vw, 47px);
  line-height: 1.55;
}
h2 {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.7;
}
h3 {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.7;
}
p {
  line-height: 1.9;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--brown);
  margin-bottom: 12px;
}
.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  height: 94px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  padding-inline-end: 18px;
  border-inline-end: 1px solid var(--line);
  color: var(--brown);
}
.brand-caption {
  font-size: 12px;
  line-height: 1.85;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.edition {
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: none;
  color: var(--brown);
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
}
.text-button:hover {
  color: var(--brown-dark);
  text-decoration: underline;
}
.hero {
  padding: 57px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.hero p {
  max-width: 590px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.hero-meta {
  text-align: end;
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  white-space: nowrap;
}
.gold-rule {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 20px;
}
.entry-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding-bottom: 58px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.panel-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
.square-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  flex-shrink: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 21px;
  font-size: 14px;
}
.field > span,
.field > label {
  font-weight: 500;
}
.field small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dad6ce;
  border-radius: 5px;
  padding: 12px 14px;
  min-height: 49px;
}
input::placeholder,
textarea::placeholder {
  color: #aaa49a;
}
textarea {
  resize: vertical;
  line-height: 1.9;
  min-height: 150px;
}
select {
  cursor: pointer;
}
input[dir="ltr"] {
  text-align: left;
}
input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--brown);
  flex-shrink: 0;
}
input:disabled,
select:disabled,
textarea:disabled {
  background: #f6f5f2;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 21px;
  border: 1px solid var(--brown);
  border-radius: 5px;
  background: var(--brown);
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.button:hover {
  background: var(--brown-dark);
}
.button.secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--cream);
}
.button.danger {
  background: var(--paper);
  border-color: #e8cfcb;
  color: var(--red);
}
.button.full {
  width: 100%;
}
.privacy {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  padding: 17px 0;
}
.privacy svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.journey {
  background: #f2efe7;
  border: 1px solid #e8e2d6;
  border-radius: 8px;
  padding: 35px 34px;
  position: relative;
  overflow: hidden;
}
.journey > p {
  font-size: 14px;
  color: #7b756a;
  margin-top: 9px;
  max-width: 330px;
}
.journey-list {
  list-style: none;
  margin: 29px 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.journey-list li {
  display: flex;
  gap: 17px;
  padding: 17px 0;
  border-top: 1px solid #ded8cb;
}
.step-number {
  font-family: Georgia, serif;
  color: #9b8566;
  font-size: 23px;
  min-width: 31px;
}
.journey-list strong {
  font-size: 15px;
  font-weight: 500;
}
.journey-list p {
  font-size: 12px;
  color: #8b8375;
  margin-top: 3px;
}
.journey-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8b8375;
  padding-top: 22px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.section-top .muted {
  font-size: 14px;
  margin-top: 4px;
}
.section-divider {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  margin-top: 10px;
}
.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
}
.preview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 11px;
  line-height: 1.7;
  white-space: nowrap;
  background: #f0efeb;
  color: #787369;
}
.badge.open {
  background: #edf4ed;
  color: var(--green);
}
.badge.draft {
  background: #fbf3e3;
  color: #8b662c;
}
.badge.submitted {
  background: #eef1f8;
  color: #526480;
}
.question-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  margin-bottom: 21px;
}
.option {
  display: flex;
  align-items: start;
  gap: 13px;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 10px;
  text-align: start;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
  cursor: pointer;
}
.option input {
  margin: 4px 0 0;
}
.option.chosen,
.option:has(input:checked) {
  border-color: var(--brown);
  background: #faf7f4;
}
.option-letter {
  border: 1px solid var(--line);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 27px;
  font-size: 12px;
  color: var(--muted);
}
.option.chosen .option-letter {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.stat {
  padding: 19px 21px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.stat-value {
  font-size: 31px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.stat-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.stats.compact .stat {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 10px 16px;
  border-inline-end: 1px solid var(--line);
}
.stats.compact .stat:last-child {
  border: 0;
}
.mini-list {
  margin-top: 20px;
}
.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13px;
}
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 26px 0 30px;
  color: var(--muted);
  font-size: 11px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.9;
}
.footer-title {
  color: var(--brown);
  font-size: 12px;
  font-weight: 500;
}
.banner {
  padding: 11px 24px;
  text-align: center;
  background: #f3ebd9;
  color: #6c5536;
  font-size: 12px;
  line-height: 1.8;
}
.banner a {
  margin-inline-start: 10px;
}
.alert {
  border: 1px solid #e6d8bb;
  background: #fbf7ed;
  color: #715835;
  padding: 14px 18px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.alert.error {
  border-color: #e8cfcb;
  background: #fff5f3;
  color: #903d35;
}
.alert.success {
  border-color: #cfe0d2;
  background: #f2f8f1;
  color: var(--green);
}
.page-main {
  padding: 40px 0;
}
.page-heading {
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 34px;
}
.page-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.page-heading .text-button {
  margin-bottom: 20px;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.activity-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 27px;
}
.activity-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.activity-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.activity-card .card-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.activity-number {
  font-size: 13px;
  color: var(--gold);
  font-family: Georgia, serif;
}
.narrow {
  max-width: 760px;
  margin-inline: auto;
}
.form-section {
  margin-bottom: 24px;
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.progress {
  height: 4px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--brown);
  transition: width 0.2s;
}
.question-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.question-nav button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--muted);
  font-size: 12px;
}
.question-nav button.answered {
  background: var(--cream);
  color: var(--brown);
  border-color: #d4c7b7;
}
.question-nav button.active {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}
.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.save-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.save-status.failed {
  color: var(--red);
}
.save-status.saved {
  color: var(--green);
}
.score-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  text-align: center;
  margin: 22px 0;
}
.score-box strong {
  display: block;
  font-size: 48px;
  font-weight: 500;
  color: var(--brown);
}
.survey-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.survey-item:last-child {
  border: 0;
}
.survey-item > legend,
.survey-item > p {
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.9;
}
.survey-item fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.rating-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rating {
  flex: 1;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
}
.rating:has(input:checked) {
  background: var(--cream);
  border-color: var(--brown);
  color: var(--brown);
}
.rating input {
  width: 15px;
  min-height: 15px;
  margin: 0;
}
.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.skill-grid .small {
  margin-bottom: 9px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
  white-space: nowrap;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 12px 19px;
  color: var(--muted);
  font-size: 14px;
}
.tab.active {
  color: var(--brown);
  border-bottom-color: var(--brown);
}
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.filters input {
  flex: 1;
}
.filters select {
  max-width: 230px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: start;
  white-space: nowrap;
}
th {
  background: #f6f5f1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
td,
th {
  padding: 17px 19px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border: 0;
}
tbody tr:hover {
  background: #fcfbf8;
}
.empty {
  text-align: center;
  padding: 46px 20px;
  color: var(--muted);
  line-height: 2;
  font-size: 14px;
}
.empty svg {
  display: block;
  margin: 0 auto 15px;
  color: var(--gold);
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.control-card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.control-card .button {
  width: 100%;
}
.control-card p {
  font-size: 13px;
  color: var(--muted);
}
.control-card h3 {
  font-size: 17px;
}
.control-card .badge {
  align-self: start;
}
.note-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
.note-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.note-item {
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  padding: 16px;
  text-align: start;
  color: var(--ink);
}
.note-item.active {
  border-color: var(--brown);
  background: #faf7f4;
}
.note-item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.note-item span {
  font-size: 11px;
  color: var(--muted);
}
.note-text {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 2.1;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.detail-answer {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.9;
}
.detail-answer strong {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}
.detail-answer:last-child {
  border: 0;
}
.key-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 20px 0;
}
.key-grid label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.key-grid select {
  min-height: 40px;
  padding: 7px;
}
.group-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.group-row input {
  flex: 1;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #29231d66;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: #fff;
  border-radius: 9px;
  border: 1px solid var(--line);
  padding: 30px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 90px #29231d22;
}
.modal p {
  font-size: 14px;
  color: var(--muted);
  margin: 15px 0 24px;
}
.modal-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
}
.loading {
  padding: 100px 20px;
  text-align: center;
  color: var(--muted);
}
.spinner {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.check-label {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.9;
  margin: 18px 0;
}
.check-label input {
  margin-top: 4px;
}
.login-wrap {
  max-width: 480px;
  margin: 25px auto 70px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.note-preview {
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.note-preview h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.note-preview p {
  font-size: 13px;
  white-space: pre-wrap;
}
.key-review {
  margin-top: 30px;
}
.survey-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.survey-summary .panel {
  padding: 25px;
}
.survey-mean {
  font-size: 21px;
  color: var(--brown);
  white-space: nowrap;
}
.no-wrap {
  white-space: nowrap;
}
.grow {
  flex: 1;
}
.mb {
  margin-bottom: 22px;
}
.mt {
  margin-top: 24px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brown);
  text-decoration: underline;
  font-size: 13px;
}
.preview-heading {
  margin: 20px 0 30px;
}
.welcome-name {
  color: var(--brown);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--brown);
  padding: 9px;
}
.auth-caption {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
@media (min-width: 1000px) {
  .journey {
    padding: 35px 38px;
  }
  .entry-grid > .panel {
    padding: 34px 38px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 79px;
  }
  .wordmark {
    font-size: 30px;
    padding-inline-end: 13px;
  }
  .brand {
    gap: 11px;
  }
  .brand-caption {
    font-size: 10px;
  }
  .edition,
  .hero-meta {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .text-button {
    font-size: 12px;
  }
  .hero {
    padding: 35px 0 25px;
  }
  .hero p {
    font-size: 14px;
  }
  .entry-grid,
  .preview-grid,
  .details-grid,
  .survey-summary {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .entry-grid {
    padding-bottom: 30px;
  }
  .panel {
    padding: 23px;
  }
  .journey {
    padding: 26px;
  }
  .journey-list {
    margin-top: 17px;
  }
  .journey-list li {
    padding: 13px 0;
  }
  .preview-grid > .panel {
    margin-bottom: 4px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
  .site-footer {
    margin-top: 35px;
  }
  .section-top {
    align-items: start;
  }
  .section-top h2 {
    font-size: 21px;
  }
  .page-main {
    padding: 28px 0;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-sub {
    font-size: 10px;
  }
  .control-grid {
    grid-template-columns: 1fr;
  }
  .note-grid {
    grid-template-columns: 1fr;
  }
  .note-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .note-item {
    min-width: 150px;
  }
  .note-list > .button {
    min-width: 130px;
  }
  .key-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters select {
    max-width: none;
  }
  .filters input {
    min-width: 100%;
  }
  .skill-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .rating {
    padding: 10px 5px;
    min-width: 38px;
    gap: 5px;
  }
  .rating-row {
    gap: 5px;
  }
  .question-title {
    font-size: 17px;
  }
  .action-row {
    flex-wrap: wrap;
  }
  .quiz-top {
    font-size: 12px;
  }
  .modal {
    padding: 24px;
  }
  .banner {
    padding: 9px 16px;
  }
  .panel-heading {
    margin-bottom: 20px;
  }
  .toolbar .button {
    font-size: 12px;
    padding: 9px 13px;
  }
  .tab {
    padding: 12px 14px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.forum-logo {
  width: 166px;
  height: 65px;
  object-fit: contain;
}
.wamy-logo {
  width: 142px;
  height: 50px;
  object-fit: contain;
}
.brand-divider {
  width: 1px;
  height: 38px;
  background: var(--line);
  margin: 0 5px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 29px;
  height: 38px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .forum-logo {
    width: 112px;
    height: 50px;
  }
  .wamy-logo {
    width: 103px;
    height: 40px;
  }
  .brand-divider {
    height: 28px;
    margin: 0;
  }
  .brand {
    gap: 8px;
  }
}

.note-text,
.note-preview p,
.detail-answer {
  overflow-wrap: anywhere;
}
.group-row input {
  min-width: 0;
}
@media (max-width: 380px) {
  .forum-logo {
    width: 99px;
  }
  .wamy-logo {
    width: 88px;
  }
  .header-actions .text-button {
    font-size: 11px;
  }
  .header-inner {
    gap: 10px;
  }
}
