/*
 * LM Repair Portal 0.1.0
 * Child style for phpBB 3.3.17 / prosilver.
 * The parent stylesheet remains the compatibility layer for phpBB core and extensions.
 */
@import url("../../prosilver/theme/stylesheet.css");

:root {
  --lm-bg: #fbfafc;
  --lm-surface: #ffffff;
  --lm-surface-soft: #f5f3f7;
  --lm-ink: #211e31;
  --lm-muted: #706b7e;
  --lm-line: #ebe8f0;
  --lm-primary: #ff563b;
  --lm-primary-dark: #e94028;
  --lm-primary-soft: #ffebe7;
  --lm-purple: #6843df;
  --lm-purple-soft: #eee8ff;
  --lm-green: #0ba974;
  --lm-green-soft: #e1f7ee;
  --lm-yellow: #b47606;
  --lm-yellow-soft: #fff2da;
  --lm-blue: #3f73ec;
  --lm-radius: 22px;
  --lm-shadow: 0 14px 35px rgba(42, 31, 68, .08);
}

html { background: var(--lm-bg); }
body {
  background: var(--lm-bg);
  color: var(--lm-ink);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  padding: 0;
}
a { color: var(--lm-purple); }
a:hover { color: var(--lm-primary); text-decoration: none; }
.wrap {
  background: transparent;
  border: 0;
  border-radius: 0;
  max-width: 1240px;
  min-width: 290px;
  padding: 0 26px;
}

/* Global service header */
.headerbar {
  background: linear-gradient(135deg, #fff 0%, #fff7f4 100%);
  border: 1px solid var(--lm-line);
  border-radius: 0 0 28px 28px;
  box-shadow: var(--lm-shadow);
  color: var(--lm-ink);
  margin: 0 0 16px;
  min-height: 118px;
  padding: 24px 30px;
}
.site_logo {
  background-image: none;
  height: 62px;
  width: auto;
}
.site_logo:before {
  align-items: center;
  background: var(--lm-primary);
  border-radius: 16px;
  box-shadow: 0 9px 22px rgba(255, 86, 59, .25);
  color: #fff;
  content: "M";
  display: flex;
  font-size: 28px;
  font-weight: 900;
  height: 56px;
  justify-content: center;
  width: 56px;
}
.site-description { margin-left: 74px; }
.site-description h1 {
  color: var(--lm-ink);
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.03em;
  margin-top: 5px;
}
.site-description p { color: var(--lm-muted); font-size: 12px; }
.search-header {
  background: var(--lm-surface-soft);
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: none;
  margin-top: 9px;
  padding: 4px;
}
.search-header:hover { border-color: var(--lm-line); }
.search-header .inputbox { background: transparent; color: var(--lm-ink); }

.navbar {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--lm-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(42, 31, 68, .06);
  color: var(--lm-muted);
  margin: 0 0 24px;
  padding: 9px 14px;
}
.nav-main > li > a, .navbar a { color: var(--lm-ink); }
.nav-main .icon { color: var(--lm-primary); }
.dropdown .dropdown-contents {
  border: 1px solid var(--lm-line);
  border-radius: 16px;
  box-shadow: var(--lm-shadow);
  padding: 9px;
}
.dropdown-contents > li > a { border-radius: 9px; padding: 7px 10px; }
.dropdown-contents > li > a:hover { background: var(--lm-surface-soft); }
.breadcrumbs .crumb:before { color: #bbb5c4; }

/* Shared cards and controls */
h2, h2 a { color: var(--lm-ink); font-weight: 850; letter-spacing: -.025em; }
h2 { font-size: 30px; margin: 22px 0 14px; }
h3 { color: var(--lm-ink); }
.panel, .post, .forabg, .forumbg, .stat-block, .rules {
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow);
  color: var(--lm-ink);
  margin-bottom: 18px;
  overflow: hidden;
}
.panel, .post { padding: 18px; }
.bg1, .bg2, .bg3 { background-color: var(--lm-surface); }
hr { border-color: var(--lm-line); }
.button, a.button1, input.button1, input.button3, a.button2, input.button2 {
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  border-radius: 12px;
  box-shadow: none;
  color: var(--lm-ink);
  font-weight: 750;
  min-height: 40px;
  padding: 7px 15px;
}
.button:hover, a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover {
  background: var(--lm-primary-soft);
  border-color: var(--lm-primary);
  color: var(--lm-primary-dark);
}
.button1, .button.icon-button-search, .buttons .button:first-child {
  background: var(--lm-primary);
  border-color: var(--lm-primary);
  color: #fff;
}
.inputbox, select {
  background: #fff;
  border: 1px solid #dcd8e2;
  border-radius: 11px;
  color: var(--lm-ink);
  padding: 8px 11px;
}
.inputbox:focus, select:focus {
  border-color: var(--lm-primary);
  box-shadow: 0 0 0 3px var(--lm-primary-soft);
  outline: 0;
}
.pagination li a, .pagination li span {
  border: 1px solid var(--lm-line);
  border-radius: 10px;
  min-width: 36px;
  padding: 7px 10px;
}
.pagination li.active span { background: var(--lm-primary); border-color: var(--lm-primary); }

/* Board index becomes a service-category grid without altering forum permissions. */
.section-index .forabg {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.section-index .forabg > .inner > .topiclist:first-child {
  background: transparent;
  margin-bottom: 16px;
}
.section-index .forabg .topiclist > li.header { background: transparent; }
.section-index .forabg .topiclist > li.header dt .list-inner {
  color: var(--lm-ink);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -.03em;
  padding-left: 0;
}
.section-index .forabg .topiclist > li.header dd { display: none; }
.section-index ul.topiclist.forums {
  background: transparent;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.section-index .forabg > .inner,
.section-index .forabg ul.topiclist,
.section-index .forabg ul.topiclist.forums { background-color: transparent; }
.section-index ul.topiclist.forums .row-item:before { display: none !important; }
.section-index ul.topiclist.forums > li.row {
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--lm-shadow);
  min-height: 215px;
  overflow: hidden;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.section-index ul.topiclist.forums > li.row:hover {
  box-shadow: 0 20px 42px rgba(42, 31, 68, .13);
  transform: translateY(-5px);
}
.section-index ul.topiclist.forums dl { display: block; }
.section-index ul.topiclist.forums dl.row-item,
.section-index ul.topiclist.forums dl.row-item dt {
  background-image: none !important;
  background-position: 0 0 !important;
}
.section-index ul.topiclist.forums dt {
  box-sizing: border-box;
  min-height: 215px;
  padding: 30px 22px 24px !important;
  text-align: center;
  width: 100%;
  float: none;
  margin-right: 0;
}
.section-index ul.topiclist.forums dt:before {
  align-items: center;
  background: var(--lm-purple-soft);
  border-radius: 50%;
  color: var(--lm-purple);
  content: "⌁";
  display: flex;
  font-size: 32px;
  font-weight: 900;
  height: 76px;
  justify-content: center;
  margin: 0 auto 20px;
  width: 76px;
}
.section-index ul.topiclist.forums li:nth-child(2n) dt:before {
  background: var(--lm-primary-soft);
  color: var(--lm-primary);
  content: "+";
}
.section-index ul.topiclist.forums dt.lm-has-forum-image:before { display: none; }
.section-index .forum-image {
  align-items: center;
  background: var(--lm-purple-soft);
  border-radius: 50%;
  display: flex;
  float: none;
  height: 76px;
  justify-content: center;
  margin: 0 auto 20px;
  max-width: none;
  padding: 17px;
  width: 76px;
}
.section-index ul.topiclist.forums li:nth-child(2n) .forum-image { background: var(--lm-primary-soft); }
.section-index .forum-image img {
  height: 100%;
  margin: 0;
  max-height: none;
  max-width: none;
  object-fit: contain;
  width: 100%;
}
.section-index .forumtitle { color: var(--lm-ink); font-size: 21px; font-weight: 850; }
.section-index .list-inner {
  color: var(--lm-muted);
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  width: 100%;
}
.section-index .forumtitle {
  display: block;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
  width: 100%;
  word-break: normal;
}
.section-index .topiclist.forums dd { display: none; }
.section-index .stat-block {
  box-shadow: none;
  margin-top: 12px;
  padding: 13px 18px;
}
.section-index .stat-block h3 { font-size: 14px; }

/* Case list / viewforum */
.section-viewforum .forumbg {
  background: var(--lm-surface);
  padding: 0;
}
.section-viewforum .forumbg .header {
  background: #2b2737;
  border: 0;
  color: #fff;
  padding: 9px 10px;
}
.section-viewforum .forumbg .header a { color: #fff; }
.section-viewforum ul.topiclist.topics > li.row {
  background: #fff;
  border-bottom: 1px solid var(--lm-line);
  padding: 9px 8px;
  transition: background .15s ease;
}
.section-viewforum ul.topiclist.topics > li.row:hover { background: #fffcfb; }
.section-viewforum .row-item .list-inner { padding-left: 66px; }
.section-viewforum .topictitle { color: var(--lm-ink); font-size: 18px; font-weight: 850; }
.section-viewforum .row-item:before {
  background-color: var(--lm-primary-soft);
  background-image: none;
  border-radius: 16px;
  color: var(--lm-primary);
  font-size: 20px;
  height: 48px;
  left: 8px;
  line-height: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
}
.section-viewforum dd.posts, .section-viewforum dd.views, .section-viewforum dd.lastpost {
  color: var(--lm-muted);
}
.section-viewforum .topic-poster, .section-viewforum .topic-time { color: var(--lm-muted); }

/* Case detail / viewtopic. All post controls and extension event output stay intact. */
.section-viewtopic .topic-title a { color: var(--lm-ink); }
.section-viewtopic .post {
  border-radius: 24px;
  padding: 0;
}
.section-viewtopic .postbody { padding: 24px 24px 30px; }
.section-viewtopic .postprofile {
  background: var(--lm-surface-soft);
  border: 0;
  margin: 0;
  padding: 24px 18px;
}
.section-viewtopic .postprofile .avatar img { border-radius: 18px; }
.section-viewtopic .postbody h3 { font-size: 25px; }
.section-viewtopic .content { color: #3c3848; font-size: 15px; line-height: 1.72; }
.section-viewtopic .post-buttons .button { border-radius: 10px; }
.section-viewtopic .signature { border-color: var(--lm-line); }
.section-viewtopic .attachbox {
  background: var(--lm-surface-soft);
  border: 1px solid var(--lm-line);
  border-radius: 16px;
}

/* Posting / edit case form */
.section-posting .panel {
  padding: 22px;
}
.section-posting .panel h3 {
  border-bottom: 1px solid var(--lm-line);
  color: var(--lm-ink);
  font-size: 18px;
  padding-bottom: 12px;
}
.section-posting fieldset.fields1 > dl {
  background: var(--lm-surface-soft);
  border-radius: 16px;
  margin: 10px 0;
  padding: 15px;
}
.section-posting fieldset.fields1 dt { color: var(--lm-ink); font-weight: 800; }
.section-posting #message { min-height: 320px; }
.section-posting #message::placeholder { color: #938d9e; opacity: 1; }
.section-posting .tabs .tab > a {
  background: #e9e5ee;
  border-radius: 12px 12px 0 0;
}
.section-posting .tabs .activetab > a { background: #fff; color: var(--lm-primary); }

/* UCP / login / search and boundary pages */
.section-ucp #tabs .tab > a, .section-mcp #tabs .tab > a {
  background: #ebe8f0;
  border-radius: 12px 12px 0 0;
}
.section-ucp #tabs .activetab > a, .section-mcp #tabs .activetab > a {
  background: var(--lm-primary);
  color: #fff;
}
#cp-menu #navigation a { border-radius: 10px; margin-bottom: 5px; }
#cp-menu #navigation a:hover, #cp-menu #navigation .active-subsection a {
  background: var(--lm-primary-soft);
  color: var(--lm-primary-dark);
}
.error, .errorbox { border-radius: 16px; }
.notice { border-radius: 16px; }

.page-footer .navbar { margin-top: 30px; }
.page-footer, .page-footer .navbar { background-color: var(--lm-bg); }
.copyright { color: var(--lm-muted); padding-bottom: 22px; }

@media (max-width: 900px) {
  .section-index ul.topiclist.forums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-viewforum dd.views { display: none; }
}

@media (max-width: 700px) {
  body { padding-bottom: 72px; }
  .wrap { padding: 0 14px; }
  .headerbar {
    border-radius: 0 0 22px 22px;
    min-height: 88px;
    padding: 17px;
  }
  .site_logo:before { border-radius: 13px; height: 46px; width: 46px; }
  .site-description { margin-left: 60px; }
  .site-description h1 { font-size: 18px; margin-top: 2px; }
  .site-description p { display: none; }
  .search-header { display: none; }
  .navbar { border-radius: 15px; overflow: visible; }
  h2 { font-size: 26px; }
  .section-index ul.topiclist.forums { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-index ul.topiclist.forums > li.row, .section-index ul.topiclist.forums dt { min-height: 190px; }
  .section-index ul.topiclist.forums dt { padding: 25px 10px 18px !important; }
  .section-index ul.topiclist.forums dt:before { height: 66px; margin-bottom: 20px; width: 66px; }
  .section-index .forum-image { height: 66px; padding: 14px; width: 66px; }
  .section-index .forumtitle { font-size: 19px; }
  .section-index .list-inner br, .section-index .list-inner > strong, .section-index .list-inner .responsive-show { display: none !important; }
  .section-viewforum .forumbg .header { display: none; }
  .section-viewforum .forumbg { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .section-viewforum ul.topiclist.topics > li.row {
    border: 1px solid var(--lm-line);
    border-radius: 18px;
    box-shadow: var(--lm-shadow);
    margin-bottom: 12px;
    padding: 12px 5px;
  }
  .section-viewforum .row-item .list-inner { padding-left: 58px; }
  .section-viewforum .topictitle { font-size: 16px; }
  .section-viewtopic .postbody { padding: 18px 16px 24px; }
  .section-viewtopic .postprofile { border-radius: 16px; margin: 10px; padding: 13px; }
  .section-posting .panel { padding: 15px; }
  .section-posting fieldset.fields1 > dl { padding: 13px; }
  .section-posting fieldset.fields1 dt, .section-posting fieldset.fields1 dd { width: 100%; }
  .section-posting,
  .section-posting form,
  .section-posting fieldset,
  .section-posting .panel,
  .section-posting .inner,
  .section-posting dl,
  .section-posting dt,
  .section-posting dd {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }
  .section-posting fieldset.fields1 dt,
  .section-posting fieldset.fields1 dd {
    box-sizing: border-box;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
  .section-posting input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  .section-posting textarea,
  .section-posting select,
  .section-posting .inputbox {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .section-posting input[type="file"] { overflow: hidden; }
  .section-posting img,
  .section-posting .captcha-panel img {
    height: auto;
    max-width: 100%;
  }
  .section-posting .captcha-panel,
  .section-posting .captcha-panel dl,
  .section-posting .captcha-panel dd { overflow: hidden; }
  .section-posting .smiley-box,
  .section-posting #message-box {
    box-sizing: border-box;
    float: none;
    width: 100%;
  }
  .section-posting .smiley-box { margin-top: 12px; }
  .section-posting .tabs { max-width: 100%; overflow-x: auto; }
  .section-posting .tabs ul { white-space: nowrap; }
  .page-footer .navbar {
    background: rgba(255, 255, 255, .97);
    border-radius: 18px 18px 0 0;
    bottom: 0;
    box-shadow: 0 -10px 30px rgba(42, 31, 68, .12);
    left: 0;
    margin: 0;
    padding: 11px 14px;
    position: fixed;
    right: 0;
    z-index: 20;
  }
  .page-footer .navbar .linklist { display: flex; justify-content: space-around; }
  .page-footer .navbar .linklist > li { float: none; font-size: 11px; margin: 0 4px; }
}

/* Portal navigation cleanup — 0.6.3 */
#page-header .nav-breadcrumbs { display: none !important; }
#page-header .nav-main {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Collapsible phpBB utility navigation — 0.6.4 */
.lm-header-menu {
  align-items: center;
  background: var(--lm-surface-soft);
  border: 0;
  border-radius: 12px;
  color: var(--lm-primary);
  display: flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  order: 3;
  padding: 0;
}
.lm-header-menu .icon { font-size: 19px; margin: 0; }
.lm-header-menu:hover { background: var(--lm-primary-soft); }
.lm-js #page-header > .navbar { display: none; }
.lm-js #page-header.lm-menu-open > .navbar { display: block; }
.lm-js #page-header.lm-menu-open .lm-header-menu { background: var(--lm-primary); color: #fff; }
#page-header .search-header { order: 2; }
@media (max-width: 700px) {
  .lm-header-menu { flex-basis: 42px; height: 42px; }
}

/* Compact service app header — 0.5.0 */
#page-header .headerbar {
  border-radius: 0 0 22px 22px;
  margin-bottom: 10px;
  min-height: 0;
  padding: 16px 22px;
}
#page-header .headerbar > .inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}
#page-header .site-description {
  align-items: center;
  display: flex;
  float: none;
  margin: 0;
  min-width: 0;
  width: auto;
}
#page-header .site-description .logo {
  display: block;
  float: none;
  margin: 0 13px 0 0;
  padding: 0;
  position: static;
}
#page-header .site_logo {
  align-items: center;
  background: var(--lm-primary);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(255, 86, 59, .22);
  color: #fff;
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}
#page-header .site_logo:before { display: none; }
#page-header .site_logo .icon { color: #fff; font-size: 21px; margin: 0; }
.lm-brand-copy { min-width: 0; }
#page-header .site-description h1 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#page-header .site-description .lm-brand-tagline {
  color: var(--lm-muted);
  display: block;
  font-size: 11px;
  letter-spacing: .03em;
  margin: 3px 0 0;
}
#page-header .search-header {
  float: none;
  margin: 0;
  position: static;
}
.lm-header-menu { display: none; }
#page-header > .navbar {
  border-radius: 15px;
  margin-bottom: 18px;
  padding: 7px 12px;
}
#page-header .nav-main {
  border-bottom: 1px solid var(--lm-line);
  margin-bottom: 6px;
  padding-bottom: 6px;
}
#page-header .nav-breadcrumbs {
  align-items: center;
  display: flex;
  min-width: 0;
  overflow: hidden;
}
#page-header .nav-breadcrumbs .breadcrumbs {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 700px) {
  #page-header .headerbar { padding: 13px 15px; }
  #page-header .headerbar > .inner { gap: 9px; }
  #page-header .site_logo { border-radius: 12px; height: 42px; width: 42px; }
  #page-header .site-description .logo { margin-right: 10px; }
  #page-header .site-description h1 { font-size: 17px; }
  #page-header .site-description .lm-brand-tagline { font-size: 9px; }
  #page-header .search-header { display: none; }
  .lm-header-menu {
    align-items: center;
    background: var(--lm-surface-soft);
    border: 0;
    border-radius: 12px;
    color: var(--lm-primary);
    display: flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
  }
  .lm-header-menu .icon { font-size: 19px; margin: 0; }
  #page-header > .navbar { margin-bottom: 14px; padding: 7px 10px; }
  .lm-js #page-header .nav-main { display: none; }
  .lm-js #page-header.lm-menu-open .nav-main {
    display: block;
    margin: 0 0 7px;
    padding: 4px 0 8px;
  }
  #page-header .nav-main > li { margin-bottom: 3px; }
  #page-header .nav-breadcrumbs { height: 38px; }
  #page-header .breadcrumbs .crumb a { max-width: 118px; }
  #page-header .nav-breadcrumbs { display: none; }
  .lm-js #page-header > .navbar { display: none; }
  .lm-js #page-header.lm-menu-open > .navbar { display: block; }
}

.lm-forum-desc-card {
  background: #fff;
  border: 1px solid var(--lm-line);
  border-radius: 22px;
  box-shadow: var(--lm-shadow);
  box-sizing: border-box;
  margin: 0 0 20px;
  max-width: 100%;
  overflow: hidden;
  padding: 22px;
}
.lm-forum-desc-card h3 {
  border-bottom: 1px solid var(--lm-line);
  font-size: 20px;
  margin: 0 0 16px;
  padding: 0 0 12px;
}
.lm-forum-desc-card .forum-desc,
.lm-forum-desc-card .forum-desc * {
  box-sizing: border-box !important;
  max-width: 100% !important;
}
.lm-forum-desc-card .forum-desc {
  color: var(--lm-muted);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.lm-forum-desc-card .forum-desc * {
  bottom: auto !important;
  color: inherit !important;
  float: none !important;
  height: auto !important;
  left: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-height: 0 !important;
  opacity: 1 !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  z-index: auto !important;
}
.lm-forum-desc-card .forum-desc img { height: auto !important; }
.lm-forum-desc-card .forum-desc ol,
.lm-forum-desc-card .forum-desc ul { padding-left: 1.5em; }
.lm-forum-desc-card .forum-desc li { margin: 8px 0; }
.lm-inline-attachments { margin: 0 0 18px; }
.lm-inline-attachments #attach-panel { display: block !important; }
.lm-submit-captcha { margin: 0 0 18px; }
.lm-submit-captcha .captcha-panel { margin-bottom: 0; }
.lm-submit-captcha {
  background: #fff;
  border: 1px solid var(--lm-line);
  border-radius: 22px;
  box-shadow: var(--lm-shadow);
  box-sizing: border-box;
  overflow: hidden;
  padding: 22px;
}
.lm-submit-captcha .captcha-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.lm-posting-forum-desc {
  border-top: 0;
  color: #d9d5e1;
  font-size: 15px;
  line-height: 1.75;
  margin-top: 18px;
  overflow-wrap: anywhere;
  padding-top: 0;
}
.lm-posting-forum-desc .forum-desc,
.lm-posting-forum-desc .forum-desc * {
  background: transparent !important;
  border-color: rgba(255, 255, 255, .15) !important;
  bottom: auto !important;
  box-sizing: border-box !important;
  color: inherit !important;
  float: none !important;
  height: auto !important;
  left: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  opacity: 1 !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  z-index: auto !important;
}
.lm-posting-forum-desc img { height: auto !important; }
.lm-posting-forum-desc ol,
.lm-posting-forum-desc ul { padding-left: 1.5em; }
.lm-posting-forum-desc li { margin: 8px 0; }

/* Homepage repair status — 0.6.0 */
.lm-hero-copy .lm-btn-primary span { font-size: 20px; line-height: 1; margin-left: 8px; }
.lm-case-visual:after {
  background: rgba(255, 86, 59, .13);
  border-radius: 999px;
  bottom: 18px;
  content: "";
  height: 5px;
  left: 18px;
  position: absolute;
  right: 18px;
}
.lm-case-visual:before {
  background: var(--lm-primary);
  border-radius: 999px;
  bottom: 18px;
  content: "";
  height: 5px;
  left: 18px;
  position: absolute;
  width: calc(14.2857% - 5.1429px);
  z-index: 2;
}
.lm-case-visual.lm-step-0:before { width: 0; }
.lm-case-visual.lm-step-2:before { width: calc(28.5714% - 10.2857px); }
.lm-case-visual.lm-step-3:before { width: calc(42.8571% - 15.4286px); }
.lm-case-visual.lm-step-4:before { width: calc(57.1429% - 20.5714px); }
.lm-case-visual.lm-step-5:before { width: calc(71.4286% - 25.7143px); }
.lm-case-visual.lm-step-6:before { width: calc(85.7143% - 30.8571px); }
.lm-case-visual.lm-step-7:before { width: calc(100% - 36px); }
.lm-case-visual .lm-ticket strong { font-size: 16px; }
.lm-case-visual .lm-status { bottom: 38px; z-index: 3; }
.lm-case-visual .lm-status strong { font-size: 17px; }
@media (max-width: 700px) {
  .lm-hero { padding-top: 28px; }
  .lm-hero-copy > p { font-size: 15px; }
  .lm-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .lm-hero-actions .lm-btn { align-items: center; justify-content: center; padding: 12px 10px; text-align: center; }
  .lm-case-visual .lm-ticket { max-width: 58%; }
  .lm-case-visual .lm-ticket strong { font-size: 13px; overflow-wrap: anywhere; }
}
.lm-guide-links {
  display: flex;
  gap: 14px;
  margin: -34px 0 42px;
  overflow-x: auto;
  padding: 8px 2px 14px;
  scrollbar-width: none;
}
.lm-guide-links::-webkit-scrollbar { display: none; }
.lm-guide-links > a,
.lm-guide-links > span {
  align-items: center;
  background: var(--lm-surface-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--lm-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  gap: 11px;
  min-height: 58px;
  padding: 6px 23px 6px 8px;
}
.lm-guide-links > a:hover { background: #fff; border-color: var(--lm-line); }
.lm-guide-links .icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--lm-primary);
  display: flex;
  font-size: 19px;
  height: 44px;
  justify-content: center;
  margin: 0;
  width: 44px;
}
@media (max-width: 700px) {
  .lm-guide-links { gap: 9px; margin: -26px 0 28px; }
  .lm-guide-links > a,
  .lm-guide-links > span { font-size: 13px; min-height: 50px; padding-right: 17px; }
  .lm-guide-links .icon { font-size: 16px; height: 38px; width: 38px; }
  .page-footer .navbar { display: none !important; }
}
.section-posting #options-panel-tab,
.section-posting #options-panel { display: none !important; }
@media (max-width: 700px) {
  .lm-forum-desc-card { border-radius: 18px; padding: 17px; }
  .lm-forum-desc-card h3 { font-size: 18px; }
  .lm-forum-desc-card .forum-desc { font-size: 14px; line-height: 1.7; }
  .lm-posting-forum-desc { font-size: 14px; line-height: 1.7; }
  .lm-submit-captcha { border-radius: 18px; padding: 17px; }
}

/* Compact desktop posting guide — 0.6.6 */
@media (min-width: 701px) {
  .section-posting .lm-posting-progress {
    box-sizing: border-box;
    margin: 18px auto 24px !important;
    max-width: 760px !important;
    padding: 22px 26px;
    width: calc(100% - 32px) !important;
  }
  .section-posting .lm-posting-progress strong { font-size: 23px; }
  .section-posting .lm-posting-forum-desc {
    font-size: 14px;
    line-height: 1.7;
    max-height: 320px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 10px;
  }
  .section-posting .lm-posting-forum-desc img {
    display: block;
    height: auto !important;
    margin: 14px auto !important;
    max-height: 240px;
    max-width: 100% !important;
    object-fit: contain;
    width: auto !important;
  }
  .section-posting .lm-posting-forum-desc iframe,
  .section-posting .lm-posting-forum-desc svg,
  .section-posting .lm-posting-forum-desc video {
    height: auto !important;
    max-height: 240px !important;
    max-width: 100% !important;
  }
}

/* Normalize ACP forum description markup across Chrome and Safari — 0.6.9 */
.section-posting .lm-posting-forum-desc .forum-desc {
  font-size: 14px !important;
  line-height: 1.7 !important;
  text-align: left !important;
}
.section-posting .lm-posting-forum-desc .forum-desc * {
  font-size: inherit !important;
  line-height: inherit !important;
  text-align: left !important;
  white-space: normal !important;
}
.section-posting .lm-posting-forum-desc .forum-desc b,
.section-posting .lm-posting-forum-desc .forum-desc strong {
  display: inline !important;
  font-size: 16px !important;
  margin: 0 !important;
}
.section-posting .lm-posting-forum-desc {
  scrollbar-color: rgba(255, 255, 255, .3) transparent;
  scrollbar-width: thin;
}
.section-posting .lm-posting-forum-desc::-webkit-scrollbar { width: 8px; }
.section-posting .lm-posting-forum-desc::-webkit-scrollbar-track { background: transparent; }
.section-posting .lm-posting-forum-desc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .28);
  border-radius: 999px;
}

/* Keep numbered emoji inline instead of treating them as content images. */
.section-posting .lm-posting-forum-desc .forum-desc img.emoji,
.section-posting .lm-posting-forum-desc .forum-desc img[alt="1️⃣"],
.section-posting .lm-posting-forum-desc .forum-desc img[alt="2️⃣"],
.section-posting .lm-posting-forum-desc .forum-desc img[alt="3️⃣"] {
  display: inline-block !important;
  height: 1.35em !important;
  margin: 0 .25em 0 0 !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain;
  vertical-align: -.2em;
  width: 1.35em !important;
}
.section-posting .lm-posting-forum-desc .forum-desc div,
.section-posting .lm-posting-forum-desc .forum-desc p {
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: left !important;
}

/* Eight-stage repair timeline: keep every step on one horizontal track. */
.lm-progress[data-lm-case-progress] {
	display: grid;
	grid-auto-columns: minmax(112px, 1fr);
	grid-auto-flow: column;
	grid-template-columns: none;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}
.lm-progress[data-lm-case-progress] > li {
	min-width: 0;
	scroll-snap-align: center;
}
.lm-progress[data-lm-case-progress] > li.current {
	position: relative;
	z-index: 1;
}
@media (max-width: 700px) {
	.lm-progress[data-lm-case-progress] {
		grid-auto-columns: 92px;
	}
}
.lm-repair-guide {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lm-repair-guide > li { margin: 0 0 18px; }
.lm-repair-guide > li:last-child { margin-bottom: 0; }
.lm-repair-guide strong {
  align-items: center;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-size: 17px !important;
  gap: 8px;
  margin-bottom: 5px !important;
}
.lm-repair-guide strong > span {
  align-items: center;
  background: #4194c9 !important;
  border-radius: 5px;
  color: #fff !important;
  display: inline-flex;
  flex: 0 0 30px;
  height: 30px !important;
  justify-content: center;
}
.lm-repair-guide strong small {
  background: rgba(255, 86, 59, .17) !important;
  border-radius: 999px;
  color: #ff9b8b !important;
  font-size: 11px;
  padding: 4px 9px;
}
.lm-repair-guide p { color: #d9d5e1 !important; margin: 5px 0 0; }
.lm-repair-guide a { color: #ff9b8b !important; font-weight: 800; text-decoration: underline; }
.lm-repair-guide em { color: #aaa5b3 !important; font-style: normal; }

.lm-case-actions {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lm-case-print {
	align-items: center;
	background: #fff;
	border: 1px solid var(--lm-line);
	border-radius: 999px;
	color: var(--lm-ink);
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 6px;
	padding: 9px 13px;
}
.lm-case-print .icon { color: var(--lm-primary); }
@media (max-width: 700px) {
	.lm-case-actions { align-items: flex-end; }
	.lm-case-print span { display: none; }
	.lm-case-print { border-radius: 50%; height: 38px; justify-content: center; padding: 0; width: 38px; }
}
