
/* Road Safety Thai v3.3.6.3
   Navigation Recovery + Non-invasive Unified Score Visualization
   The compiled Vue bundle is intentionally untouched. */

html[data-rst-version="3.3.7.4"] .section-topline > div > p:first-of-type {
  font-size: 0 !important;
}
html[data-rst-version="3.3.7.4"] .section-topline > div > p:first-of-type::after {
  content: "v3.3.7.4 · Full TH/EN Consistency Hotfix";
  font-size: .92rem;
  color: #64748b;
  line-height: 1.55;
}

html[data-rst-version="3.3.7.4"] .readiness-summary-panel .panel-head small {
  font-size: 0 !important;
}
html[data-rst-version="3.3.7.4"] .readiness-summary-panel .panel-head small::after {
  content: "DIGITAL LICENSE READINESS · v3.3.7.4";
  font-size: .66rem;
}

/* Dashboard compact rings */
.rst-v3363-mini-ring {
  --rst-score: 0;
  --rst-ring-color: #64748b;
  width: 66px !important;
  height: 66px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 66px;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, #fff 58%, transparent 59%),
    conic-gradient(var(--rst-ring-color) calc(var(--rst-score) * 1%), #e5e7eb 0) !important;
  box-shadow: inset 0 0 0 1px #edf2f7;
  color: #0f172a !important;
  font-size: .9rem !important;
  line-height: 1 !important;
  white-space: nowrap;
}

/* Main readiness ring on digital license */
.license-score.rst-v3363-main-ring {
  --rst-score: 0;
  --rst-ring-color: #64748b;
  width: 146px !important;
  height: 146px !important;
  margin: 9px auto 10px !important;
  display: grid !important;
  place-content: center !important;
  gap: 2px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(10,82,150,.94) 57%, transparent 58%),
    conic-gradient(var(--rst-ring-color) calc(var(--rst-score) * 1%), rgba(255,255,255,.20) 0) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.12), inset 0 0 0 1px rgba(255,255,255,.12);
}
.license-score.rst-v3363-main-ring strong {
  font-size: 2.55rem !important;
  line-height: .95 !important;
  color: #fff !important;
}
.license-score.rst-v3363-main-ring span {
  padding: 0 !important;
  color: #dbeafe !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
}

/* Component rings */
.readiness-summary-panel .readiness-components article.rst-v3363-component-card {
  min-height: 156px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 14px 11px !important;
  background: #fff !important;
  border: 1px solid #e6ebf2 !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.045);
}
.rst-v3363-component-ring {
  --rst-score: 0;
  --rst-ring-color: #64748b;
  order: 1;
  position: relative;
  width: 82px !important;
  height: 82px !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, #fff 57%, transparent 58%),
    conic-gradient(var(--rst-ring-color) calc(var(--rst-score) * 1%), #e5e7eb 0) !important;
  box-shadow: inset 0 0 0 1px #edf2f7;
  color: #0f172a !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
}
.rst-v3363-component-ring::after {
  content: "/100";
  position: absolute;
  top: 53px;
  color: #94a3b8;
  font-size: .5rem;
  font-weight: 800;
}
.rst-v3363-component-card > span {
  order: 2;
  margin-top: 8px;
}
.rst-v3363-component-card > small {
  order: 3;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .readiness-summary-panel .readiness-components {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 720px) {
  .rst-v3363-mini-ring { width: 60px !important; height: 60px !important; flex-basis: 60px; }
  .license-score.rst-v3363-main-ring { width: 132px !important; height: 132px !important; }
}
