.dscore-mount { margin-top: 8px; }
.dscore-mount[hidden], .dscore-dialog [hidden] { display: none !important; }
.dscore-trigger { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; max-width: 100%; padding: 7px 10px; border: 1px solid #d7d9ed; border-radius: 7px; background: #f8f8ff; color: #30377e; font: inherit; font-size: 12px; line-height: 1.35; cursor: pointer; text-align: left; }
.dscore-trigger:hover { background: #eeeffc; border-color: #989fd0; }
.dscore-trigger strong { font-size: 15px; font-weight: 700; }
.dscore-symbol { font-size: 20px; line-height: 1; }
.dscore-chevron { margin-left: 2px; font-size: 20px; line-height: 1; }
.dscore-muted { color: #737b90; font-weight: 400; }
.dscore-tag { display: inline-block; background: #eeeff9; color: #535c83; padding: 3px 7px; border-radius: 12px; font-size: 11px; font-weight: 500; line-height: 1.3; }
.dscore-dialog { position: fixed; inset: 0; margin: auto; width: min(780px, calc(100vw - 32px)); max-width: none; height: fit-content; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #e1e3ef; border-radius: 14px; background: #fff; color: #242939; font: inherit; font-size: 13px; line-height: 1.5; overflow: auto; overscroll-behavior: contain; box-shadow: 0 20px 80px #18214538; }
.dscore-dialog::backdrop { background: #1b244559; }
.dscore-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.dscore-dialog *, .dscore-trigger { box-sizing: border-box; }
.dscore-dialog h2, .dscore-dialog h3, .dscore-dialog p { margin: 0; }
.dscore-dialog h2 { font-size: 18px; line-height: 1.4; font-weight: 600; color: #25293d; }
.dscore-dialog h3 { font-size: 13px; line-height: 1.4; font-weight: 600; }
.dscore-header, .dscore-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.dscore-header { border-bottom: 1px solid #e8eaf3; }
.dscore-header p { margin-top: 4px; overflow-wrap: anywhere; }
.dscore-dialog button { font: inherit; cursor: pointer; }
.dscore-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; background: #fff; color: #30377e; border: 1px solid #ccd0ed; border-radius: 5px; line-height: 1; }
.dscore-close svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.dscore-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.dscore-overview { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.dscore-value { display: flex; flex-direction: column; flex: 0 0 116px; justify-content: center; align-items: center; min-height: 116px; padding: 16px 10px; border-radius: 14px; background: #f3f3fc; }
.dscore-value strong { font-size: 36px; line-height: 1.2; font-weight: 650; color: #30377e; }
.dscore-value span { margin-top: 5px; font-size: 12px; }
.dscore-period { display: block; margin: 7px 0 4px; font-weight: 600; }
.dscore-explanation { min-width: 0; }
.dscore-notice { padding: 10px 12px; margin-bottom: 16px !important; border: 1px solid #ecd6a7; background: #fffbf1; border-radius: 6px; color: #88621f; }
.dscore-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dscore-category { border: 1px solid #e1e3ef; border-radius: 9px; padding: 14px; }
.dscore-category-heading { display: flex; flex-direction: column; gap: 3px; }
.dscore-category-heading span { font-size: 11px; }
.dscore-category-value { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin-top: 12px; }
.dscore-category-value strong { font-size: 24px; font-weight: 600; color: #30377e; }
.dscore-category-value span, .dscore-category p { font-size: 12px; }
.dscore-category p { margin-top: 8px; }
.dscore-track { height: 5px; margin-top: 9px; border-radius: 4px; background: #eeeef6; overflow: hidden; }
.dscore-track span { display: block; height: 100%; background: #5d63ae; border-radius: inherit; }
.dscore-note { color: #737b90; font-size: 12px; margin: 14px 0 !important; }
.dscore-review { margin-bottom: 0 !important; }
.dscore-record-title { margin: 20px 0 10px !important; }
.dscore-records { border-top: 1px solid #e8eaf3; }
.dscore-records summary { padding: 12px 0; color: #30377e; font-size: 13px; cursor: pointer; }
.dscore-record-body { padding: 0 0 14px; }
.dscore-record-body > p { margin-bottom: 10px; font-size: 12px; }
.dscore-table-wrap { overflow-x: auto; max-height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.dscore-dialog table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
.dscore-dialog th { background: #f8f8fc; font-weight: 600; }
.dscore-dialog td, .dscore-dialog th { padding: 9px 10px; border-bottom: 1px solid #eceef5; vertical-align: top; overflow-wrap: anywhere; }
.dscore-dialog a { color: #30377e; }
.dscore-link { display: block; color: #30377e; background: transparent; padding: 8px 0; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.dscore-footer { border-top: 1px solid #e8eaf3; padding-top: 14px; padding-bottom: 14px; font-size: 12px; }
.dscore-button { flex-shrink: 0; color: #30377e; background: #fff; border: 1px solid #ccd0ed; border-radius: 5px; padding: 7px 12px; }
.dscore-button:disabled { opacity: .55; cursor: default; }
.dscore-dialog :focus-visible, .dscore-trigger:focus-visible { outline: 2px solid #545ab1; outline-offset: 3px; }
@media (max-width: 600px) {
    .dscore-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 10px; }
    .dscore-header, .dscore-body, .dscore-footer { padding: 16px; }
    .dscore-overview { gap: 16px; align-items: flex-start; }
    .dscore-value { flex-basis: 90px; min-height: 100px; }
    .dscore-value strong { font-size: 30px; }
    .dscore-categories { grid-template-columns: 1fr; }
    .dscore-category-heading { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
}
