/* Type, lists, light text shadow, dashboard, and the entry welcome. */

body.concept-ui {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

body.concept-ui input,
body.concept-ui textarea {
  text-shadow: none;
}

body.concept-ui .chapters-section .section-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

body.concept-ui .chapters-section .section-heading h2 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 650;
}

body.concept-ui .chapters-section .eyebrow,
body.concept-ui .study-dashboard .eyebrow {
  font-size: 12px;
  letter-spacing: 0.2px;
}

body.concept-ui .chapters-section .section-heading > a {
  font-size: 13px;
  line-height: 1.4;
}

body.concept-ui .law-chapter-grid,
body.concept-ui .chapter-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

body.concept-ui .chapter-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-areas: 'no title go' 'no meta go';
  align-items: center;
  column-gap: 12px;
  row-gap: 1px;
  padding: 11px 14px;
  border-radius: 16px;
  min-height: 64px;
}

body.concept-ui .chapter-card:hover {
  transform: none;
}

body.concept-ui .chapter-card .card-top {
  display: contents;
}

body.concept-ui .chapter-card .chapter-icon {
  display: none;
}

body.concept-ui .chapter-card .chapter-no {
  grid-area: no;
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  border-radius: 12px;
  background: rgba(21, 61, 54, 0.1);
  color: #153d36;
  font-size: 13px;
  font-weight: 700;
}

body.concept-ui .chapter-card h3 {
  grid-area: title;
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

body.concept-ui .chapter-card p {
  grid-area: meta;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

body.concept-ui .chapter-card .card-bottom {
  grid-area: go;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0;
  color: #153d36;
}

body.concept-ui .chapter-card .card-bottom b {
  font-size: 18px;
  font-weight: 600;
}

body.concept-ui .chapter-nav {
  gap: 4px;
}

body.concept-ui .chapter-nav a {
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.35;
}

body.concept-ui .law-points li,
body.concept-ui .reading-page .text-block,
body.concept-ui .law-topic p,
body.concept-ui .law-question summary,
body.concept-ui .law-question p {
  font-size: 15.5px;
  line-height: 1.7;
}

body.concept-ui .reading-page h2,
body.concept-ui .law-topic h3 {
  font-size: 20px;
  line-height: 1.4;
}

body.concept-ui.library-body .library-hero h1 {
  font-size: clamp(22px, 5.6vw, 30px);
}

@media (min-width: 900px) {
  body.concept-ui .law-chapter-grid,
  body.concept-ui .chapter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

body.concept-ui.library-body .study-dashboard {
  max-width: min(520px, 100%);
  margin: 0 auto 8px;
  padding: 0 16px 8px;
}

body.concept-ui.library-body .study-dashboard .section-heading {
  display: flex;
  margin-bottom: 10px;
}

.study-dashboard h2 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 650;
  color: #153d36;
}

.dashboard-board {
  display: grid;
  gap: 10px;
}

.dash-summary,
.dash-plan,
.dash-bars {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px rgba(10, 36, 31, 0.08);
}

.dash-summary {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.dash-ring {
  width: 92px;
  height: 92px;
  display: block;
}

.dash-summary h3 {
  font-size: 16px;
  line-height: 1.35;
  color: #153d36;
}

.dash-summary p,
.dash-plan p,
.dash-bar > div:first-child span {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #5d6b64;
}

.dash-bars,
.dash-plan {
  padding: 12px 14px;
}

.dash-bars h3,
.dash-plan h3 {
  font-size: 14px;
  margin-bottom: 8px;
  color: #153d36;
}

.dash-bar + .dash-bar {
  margin-top: 10px;
}

.dash-bar {
  display: grid;
  gap: 4px;
}

.dash-bar div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.dash-bar b {
  font-size: 14px;
  font-weight: 650;
  color: #153d36;
}

.dash-track {
  display: flex;
  justify-content: flex-start;
  height: 8px;
  border-radius: 999px;
  background: rgba(21, 61, 54, 0.12);
  overflow: hidden;
}

.dash-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f8f72, #e2c878);
}

.dash-plan ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dash-plan li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 14px;
  line-height: 1.4;
}

.dash-plan li span {
  color: #1f8f72;
  font-size: 12px;
  font-weight: 700;
}

.dash-plan a {
  color: #153d36;
  font-weight: 650;
}

body.concept-ui > .welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 22px 16px;
  background: rgba(10, 36, 31, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.welcome-card {
  width: min(420px, 100%);
  padding: 10px 12px 16px;
  border-radius: 28px;
  background: rgba(243, 239, 227, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 50px rgba(8, 28, 24, 0.28);
  text-align: center;
}

.welcome-logo,
body.concept-ui .brand-logo {
  height: auto;
  object-fit: contain;
  display: block;
}

.welcome-logo {
  width: min(380px, 100%);
  margin: 0 auto 6px;
}

body.concept-ui .brand-logo {
  height: 78px;
  width: auto;
  max-width: min(250px, 64vw);
}

body.concept-ui.library-body .library-hero > .brand-logo {
  height: 148px;
  max-width: min(320px, 88vw);
  margin: 0 auto 6px;
}

body.concept-ui.auth-body .concept-emblem {
  width: min(340px, 94%);
  height: auto;
  margin: 0 auto 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.concept-ui.auth-body .concept-emblem::after {
  display: none;
}

body.concept-ui.auth-body .concept-emblem img {
  width: 100%;
  height: auto;
  display: block;
}

.welcome-card h2 {
  font-size: 22px;
  line-height: 1.35;
  color: #153d36;
  margin: 0;
}

.welcome-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #3d4c46;
}

.welcome-card button {
  margin-top: 16px;
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #153d36;
  color: #f3efe3;
  font-size: 15px;
  font-weight: 700;
}

.welcome-close {
  margin-top: 8px !important;
  background: transparent !important;
  color: #153d36 !important;
  min-height: 40px !important;
}

