/* Home: retain Semote's purple accent with flat, restrained surfaces. */
.home-page { background: #f8f9fa; color: #333; font-family: 'Malgun Gothic', sans-serif; }
.home-page a:focus-visible, .home-page button:focus-visible, .home-page input:focus-visible { outline: 3px solid #764ba2; outline-offset: 4px; }
.home-page .hero-billboard { margin: 0 0 30px; padding: 0; border: 1px solid #e2dbe9; border-top: 3px solid #764ba2; background: #f4f0f8; }
.hero-billboard .carousel-inner { border-radius: 0; box-shadow: none; }
.hero-slide { position: relative; min-height: 340px; padding: 32px 40px; display: flex; align-items: center; gap: 36px; }
.hero-content { position: relative; z-index: 1; flex: 1; min-width: 0; padding-right: 0; }
.hero-badge { display: block; margin-bottom: 17px; color: #764ba2; font-size: 13px; font-weight: 700; }
.hero-badge span { margin: 0 9px; color: #b8a8c8; }
.hero-title { margin: 0 0 12px; font-size: 33px; font-weight: 700; line-height: 1.4; letter-spacing: -1.1px; word-break: keep-all; text-wrap: balance; }
.hero-desc { margin: 0 0 24px; color: #625a69; font-size: 16px; line-height: 1.7; word-break: keep-all; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 20px; border: 1px solid #764ba2; border-radius: 3px; background: #764ba2; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .18s, border-color .18s; }
.hero-button:hover, .hero-button:focus { background: #603a87; border-color: #603a87; color: #fff; text-decoration: none; }
.hero-button:active { background: #4f2f70; transform: translateY(1px); }
.hero-test-name { margin: 0 0 8px; color: #764ba2; font-size: 15px; font-weight: 700; }
.hero-aside { flex: 0 0 190px; align-self: stretch; border-left: 1px solid #dcd1e7; padding-left: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #764ba2; font-size: 13px; }
.hero-aside .hero-number { align-self: flex-start; font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: 2px; }
.hero-aside i { font-size: 64px; margin: 10px 0; }
.hero-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid #e2dbe9; background: #fff; }
.hero-tab { min-height: 52px; padding: 10px 8px; border: 0; border-right: 1px solid #e2dbe9; border-bottom: 3px solid transparent; background: #fff; color: #62536f; font-size: 13px; transition: background .18s; }
.hero-tab:last-child { border-right: 0; }
.hero-tab:hover { background: #f4f0f8; }
.hero-tab.is-active { border-bottom-color: #764ba2; background: #f4f0f8; color: #603a87; font-weight: 700; }
.hero-tab-number { margin-right: 6px; font-size: 11px; color: #82718f; }
.hero-tabs .hero-tab:focus-visible { outline-offset: -4px; }

.hero-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px 10px 40px; border-top: 1px solid #e2dbe9; background: #fff; }
.hero-browse { color: #62536f; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.hero-browse:hover { color: #603a87; text-decoration: underline; }
.hero-controls { display: flex; align-items: center; gap: 6px; }
.hero-step { width: 44px; height: 44px; border: 1px solid #ddd5e5; border-radius: 3px; color: #764ba2; background: #fff; transition: background .18s; }
.hero-step:hover { background: #f0eaf6; }
.hero-step:active { background: #e3d7ee; }
.hero-position { min-width: 48px; text-align: center; font-size: 13px; color: #746c7a; font-variant-numeric: tabular-nums; }
#heroCurrent { color: #333; font-weight: 700; }
.section-title { margin: 38px 0 18px; padding-left: 11px; border-left: 3px solid #764ba2; font-weight: 700; line-height: 1.5; }
.card-box { margin-bottom: 12px; background: #fff; border: 1px solid #e1e1e4; border-radius: 2px; }
.card-box a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 15px; color: #333; text-decoration: none; transition: background .18s, color .18s; }
.card-box a:hover { background: #f2edf7; color: #603a87; }
.card-box a:active { background: #e9dfF2; }
.card-box a::after { content: '›'; margin-left: auto; color: #764ba2; font-size: 24px; }
.card-box i { flex: 0 0 26px; color: #764ba2; font-size: 21px; text-align: center; }
.card-box span { font-size: 14px; font-weight: 700; word-break: keep-all; }
.card-box .badge-new { margin-left: 6px; color: #764ba2; font-size: 9px; letter-spacing: .3px; vertical-align: middle; }
.home-page .panel { border-radius: 2px; box-shadow: none; border-color: #e1e1e4; }
.recent-list { padding: 4px 15px; background: #fff; border: 1px solid #e1e1e4; border-radius: 2px; }
.recent-item { border-bottom: 1px solid #eee; font-size: 13px; }
.recent-item:last-child { border-bottom: 0; }
.recent-item a { display: block; min-height: 44px; padding: 12px 0; color: #333; }
.recent-item a:hover { color: #764ba2; }
.recent-item .text-muted { color: #764ba2; }
.home-page .ldf-section { border-radius: 2px; background: #fff; border: 1px solid #e1e1e4; box-shadow: none; }
.home-page .ldf-section:before { width: 3px; background: #764ba2; }
.home-page .ldf-label { padding: 0; border-radius: 0; background: none; }
.home-page .ldf-input { min-height: 46px; border-radius: 3px; }
.home-page .ldf-btn { min-height: 48px; border: 1px solid #764ba2; border-radius: 3px; background: #764ba2; box-shadow: none; transition: background .18s; }
.home-page .ldf-btn:hover, .home-page .ldf-btn:focus { background: #603a87; transform: none; box-shadow: none; }
.home-page .ldf-btn:active { background: #4f2f70; transform: translateY(1px); }
.home-page .ldf-hint { color: #69616f; }
@media (max-width: 991px) {
  .hero-content { max-width: 100%; padding-right: 0; }
  .hero-title { font-size: 28px; }
  .hero-aside { flex-basis: 130px; padding-left: 24px; }
}
@media (max-width: 767px) {
  .hero-slide { min-height: 360px; padding: 24px 20px; }
  .hero-content { padding-right: 0; }
  .hero-title { font-size: 24px; letter-spacing: -.7px; }
  .hero-desc { font-size: 14px; }
  .hero-aside { display: none; }
  .hero-tabs { grid-template-columns: repeat(3, 1fr); }
  .hero-tab:nth-child(3) { border-right: 0; }
  .hero-tab:nth-child(-n+3) { border-top: 0; }
  .hero-tab { border-top: 1px solid #e2dbe9; }
  .hero-navigation { flex-wrap: wrap; }
  .hero-button { display: flex; width: 100%; gap: 12px; padding: 12px; font-size: 14px; }
  .hero-navigation { padding: 8px 12px; gap: 4px; }
  .hero-controls { gap: 0; }
  .hero-browse { font-size: 12px; }
  .hero-position { min-width: 40px; }
  .section-title { font-size: 21px; }
  .card-box a { min-height: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; scroll-behavior: auto !important; }
}
