body.lf-page--certcheck { background: #f7f9fc; color: #173657; }
.certcheck-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.certcheck-main { max-width: 1200px; padding: 28px 0 55px; }
.certcheck-back { display: inline-block; color: #8392a9; font-size: 12px; margin: 0 0 15px; }
.certcheck-back:hover { color: #2867ff; }
.certcheck-shell { background: #fff; border: 1px solid #e1e9f5; border-radius: 17px; padding: 35px 6.6% 32px; box-shadow: 0 10px 35px #36517d04; }
.certcheck-heading { text-align: center; margin: 2px 0 27px; }
.lf-page .certcheck-heading h1 { margin: 0 0 9px; font-size: 30px; line-height: 1.6; font-weight: 700; color: #122d4b; letter-spacing: -.035em; }
.certcheck-heading > p { margin: 0; color: #31516f; font-size: 13px; line-height: 1.9; }
.certcheck-workspace { background: #fff; border: 1px solid #e1e9f5; border-radius: 15px; overflow: hidden; scroll-margin-top: 100px; }
.certcheck-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid #e3ebf6; }
.certcheck-tabs button { min-height: 48px; padding: 12px 8px; background: #fff; border: 0; border-bottom: 2px solid transparent; color: #5d7696; font: inherit; font-size: 13px; cursor: pointer; }
.certcheck-tabs button[aria-selected=true] { color: #2867ff; border-bottom-color: #3472ff; }
.certcheck-tabs button:hover { background: #fafcff; color: #2867ff; }
.certcheck-main button:focus-visible, .certcheck-main a:focus-visible, .certcheck-main summary:focus-visible { outline: 2px solid #6b97ff; outline-offset: 3px; }
#check-form { padding: 23px 24px 6px; }
.lf-page #mode-title { text-align: center; color: #234a72; font-size: 15px; font-weight: 400; line-height: 1.7; margin: 0 0 14px; }
.certcheck-muted { font-size: 12px; color: #8298b8; line-height: 1.9; }
#mode-description { text-align: center; margin: 0 0 19px; }
.certcheck-files { display: flex; justify-content: center; gap: 24px; }
.certcheck-drop { position: relative; display: flex; flex: 1; min-width: 0; max-width: 620px; min-height: 245px; align-items: center; justify-content: center; flex-direction: column; padding: 26px; border: 1px dashed #d0dcf5; border-radius: 12px; background: #f7f9ff; cursor: pointer; text-align: center; }
.certcheck-drop:hover, .certcheck-drop.dragging, .certcheck-drop.is-selected { border-color: #3875ff; }
.certcheck-drop:focus-within { outline: 2px solid #7b9ef5; outline-offset: 2px; }
.certcheck-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.certcheck-drop-icon { width: 37px; height: 37px; fill: none; stroke: #6b91b6; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.certcheck-drop strong { font-size: 14px; font-weight: 400; color: #244a72; }
.certcheck-file-name { max-width: 100%; margin-top: 4px; color: #315982; line-height: 1.8; font-size: 13px; overflow-wrap: anywhere; }
.certcheck-drop.is-selected .certcheck-drop-icon, .certcheck-drop.is-selected strong { display: none; }
.certcheck-drop.is-selected .certcheck-file-name { font-size: 14px; color: #244a72; }
.certcheck-text { background: none; border: 0; padding: 8px 0; color: #7c92b3; font: inherit; font-size: 12px; cursor: pointer; }
.certcheck-text:hover { color: #2867ff; }
#clear-files { display: block; margin: 8px auto 0; }
.certcheck-password { max-width: 420px; margin: 20px auto 0; text-align: center; }
.certcheck-password label, #link-area label { display: block; margin-bottom: 12px; color: #285178; font-size: 14px; }
.certcheck-password > div { display: flex; border: 1px solid #dfe8f7; border-radius: 8px; overflow: hidden; background: #fff; }
.certcheck-password > div:focus-within { border-color: #7199f7; box-shadow: 0 0 0 3px #3472ff0a; }
#check-form input[type=password], #check-form input[type=text], #install-url { width: 100%; min-width: 0; box-sizing: border-box; padding: 13px 14px; border: 0; border-radius: 8px; color: #244a72; background: #fff; font: inherit; font-size: 13px; }
#check-form input::placeholder { color: #9aaac1; }
.certcheck-password input:focus { outline: none; }
.certcheck-password button { padding: 8px 14px; border: 0; border-left: 1px solid #edf1f8; background: #fbfcff; color: #8197b7; font: inherit; font-size: 12px; cursor: pointer; }
#link-area { max-width: 790px; margin: 18px auto 10px; padding: 35px; text-align: center; background: #f8faff; border: 1px dashed #d6e0f7; border-radius: 12px; }
#link-area p { margin: 0 0 22px; }
#install-url { border: 1px solid #dfe8f7; }
#install-url:focus { outline: 2px solid #93b0f5; outline-offset: 1px; }
.certcheck-actions { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 21px; }
.certcheck-actions button, .certcheck-report-actions button { min-width: 160px; padding: 12px 25px; border: 1px solid #2867ff; border-radius: 8px; background: #2867ff; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.certcheck-actions button:hover, .certcheck-report-actions button:hover { background: #1b5aef; }
.certcheck-actions .secondary { background: #fff; color: #326dee; border-color: #d9e5fc; min-width: 100px; }
.certcheck-actions button:disabled { opacity: .6; cursor: wait; }
.certcheck-actions a { font-size: 12px; color: #8197b6; }
.certcheck-status { text-align: center; color: #8096b6; font-size: 12px; line-height: 1.9; margin: 0; padding: 11px 24px 1px; }
.certcheck-status.error { color: #be595d; }
.lf-page .certcheck-file-note { margin: 17px 24px 24px; padding: 12px 14px; border: 1px solid #f4e7c0; border-radius: 4px; background: #fff9e7; color: #b18749; font-size: 11px; line-height: 1.9; }
.certcheck-report { padding: 24px; scroll-margin-top: 105px; }
.certcheck-report:focus { outline: none; }
.certcheck-report-header { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 17px; }
.lf-page .certcheck-report-header h2 { font-size: 20px; color: #254966; margin: 0; line-height: 1.5; }
.certcheck-complete-badge { color: #849dc4; background: #f1f6ff; font-size: 11px; padding: 5px 10px; border-radius: 18px; white-space: nowrap; }
.certcheck-report-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 24px; padding: 25px 22px; border: 1px solid #e0eafa; border-radius: 11px; background: linear-gradient(105deg,#f5f9ff,#fbfdff); color: #6d85a7; }
.certcheck-report-state { display: flex; align-items: center; gap: 15px; }
.certcheck-report-seal { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; font-size: 23px; background: #fff; border: 1px solid #dce6f6; border-radius: 7px; }
.certcheck-report-state small { color: #8ca2c3; font-size: 11px; }
.certcheck-report-state strong { display: block; font-size: 19px; margin-top: 3px; line-height: 1.5; }
.lf-page .certcheck-report-state p { margin: 5px 0 0; color: #90a4bf; font-size: 11px; }
.certcheck-report-hero.good { color: #1b9c84; }
.certcheck-report-hero.revoked, .certcheck-report-hero.expired { color: #ca6067; }
.certcheck-report-hero.warning { color: #bb9252; }
.certcheck-report-expiry { padding-left: 25px; border-left: 1px solid #e1e9f7; }
.certcheck-report-expiry > div { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 10px; }
.certcheck-report-expiry span { font-size: 11px; color: #8da2c2; }
.certcheck-report-expiry strong { color: #476b92; font-size: 16px; white-space: nowrap; }
.certcheck-report-expiry progress { width: 100%; height: 6px; display: block; border: 0; border-radius: 8px; overflow: hidden; accent-color: currentColor; background: #e7edf8; }
.certcheck-report-expiry progress::-webkit-progress-bar { background: #e7edf8; border-radius: 8px; }
.certcheck-report-expiry progress::-webkit-progress-value { background: currentColor; border-radius: 8px; }
.certcheck-report-expiry progress::-moz-progress-bar { background: currentColor; border-radius: 8px; }
.lf-page .certcheck-report-section { display: flex; align-items: baseline; gap: 9px; margin: 23px 0 12px; font-size: 14px; font-weight: 600; color: #335977; }
.certcheck-report-section small { color: #9aabc3; font-size: 11px; font-weight: 400; letter-spacing: .07em; }
.certcheck-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; }
.certcheck-field { min-width: 0; padding: 13px 14px; background: #f6f8fc; border: 1px solid #e7edf7; border-radius: 7px; }
.certcheck-field.wide { grid-column: 1/-1; }
.certcheck-field dt { color: #8b9eba; font-size: 11px; line-height: 1.8; margin-bottom: 5px; }
.certcheck-field dd { margin: 0; color: #476685; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.certcheck-field dd.mono { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 11px; }
.certcheck-capabilities, .certcheck-candidate { margin-top: 17px; padding: 14px; background: #fff; border: 1px solid #e3eaf6; border-radius: 8px; }
.certcheck-capabilities summary, .certcheck-candidate summary { color: #6581a9; font-size: 12px; cursor: pointer; line-height: 1.8; overflow-wrap: anywhere; }
.certcheck-candidate .certcheck-field-grid { margin-top: 13px; }
.lf-page .certcheck-report-hint { color: #8ba0bf; font-size: 11px; line-height: 1.9; margin: 9px 0 0; }
.certcheck-capability-list { margin: 12px 0 0; }
.certcheck-capability-list > div { display: grid; grid-template-columns: 43% minmax(0,1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #eaf0f8; }
.certcheck-capability-list > div:last-child { border: 0; }
.certcheck-capability-list dt, .certcheck-capability-list dd { margin: 0; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 10px; line-height: 1.9; color: #718bad; overflow-wrap: anywhere; white-space: pre-wrap; }
.lf-page .certcheck-report-notice { padding: 12px 14px; background: #f0f5ff; border-radius: 6px; color: #7b96bd; font-size: 11px; line-height: 1.9; margin: 14px 0 0; }
.certcheck-report-actions { text-align: center; margin-top: 22px; }
.certcheck-legacy-assets { border-top: 1px solid #e5ecf7; padding-top: 15px; margin-top: 20px; }
.certcheck-legacy-assets p { color: #8296b3; font-size: 12px; line-height: 1.8; }
.certcheck-legacy-assets button { margin: 6px 10px 0 0; padding: 7px 12px; background: #fff; border: 1px solid #dbe5f6; border-radius: 5px; color: #6d8dbb; font: inherit; font-size: 12px; cursor: pointer; }
.certcheck-history { margin-top: 20px; padding: 17px 22px; background: #fff; border: 1px solid #e5ebf5; border-radius: 11px; }
.certcheck-history > summary { color: #6e84a5; font-size: 13px; cursor: pointer; }
.certcheck-history-toolbar { text-align: right; }
.certcheck-empty { color: #a0aec4; font-size: 12px; padding: 25px 0; text-align: center; }
.certcheck-history article { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px 0; border-top: 1px solid #edf1f8; color: #8195b3; font-size: 12px; line-height: 1.9; }
.certcheck-history article button { border: 0; background: #f3f7ff; border-radius: 5px; padding: 6px 10px; color: #6b8ec4; cursor: pointer; white-space: nowrap; font: inherit; font-size: 11px; }
.certcheck-main [hidden] { display: none !important; }
@media(max-width:800px) {
    .certcheck-shell { padding: 26px 4% 25px; }
    .certcheck-report-hero { gap: 18px; padding: 20px 16px; }
    .certcheck-report-state strong { font-size: 16px; }
    .certcheck-report-state { gap: 10px; }
    .certcheck-report-seal { width: 33px; height: 37px; }
}
@media(max-width:580px) {
    .certcheck-main { padding-top: 20px; }
    .certcheck-shell { padding: 22px 12px; border-radius: 12px; }
    .lf-page .certcheck-heading h1 { font-size: 25px; }
    .certcheck-heading > p { font-size: 11px; }
    .certcheck-heading { margin-bottom: 20px; }
    .certcheck-tabs button { font-size: 11px; padding: 11px 4px; min-height: 47px; }
    #check-form { padding: 21px 15px 5px; }
    .lf-page #mode-title { font-size: 14px; }
    .certcheck-muted { font-size: 11px; }
    .certcheck-files { flex-direction: column; gap: 16px; }
    .certcheck-drop { min-height: 210px; padding: 22px 14px; }
    .certcheck-file-name, .certcheck-drop strong, .certcheck-drop.is-selected .certcheck-file-name { font-size: 12px; }
    .certcheck-actions { flex-wrap: wrap; gap: 10px; }
    .certcheck-actions button { min-width: 145px; }
    .lf-page .certcheck-file-note { margin: 15px; padding: 10px 11px; font-size: 10px; }
    #link-area { padding: 25px 15px; }
    .certcheck-report { padding: 20px 15px; }
    .lf-page .certcheck-report-header h2 { font-size: 17px; }
    .certcheck-report-hero { grid-template-columns: 1fr; gap: 17px; padding: 20px 15px; }
    .certcheck-report-expiry { padding: 14px 0 0; border-left: 0; border-top: 1px solid #e1e9f7; }
    .certcheck-field-grid { grid-template-columns: 1fr; gap: 9px; }
    .certcheck-field { padding: 12px; }
    .certcheck-capability-list > div { grid-template-columns: 1fr; gap: 7px; }
    .certcheck-report-section small { font-size: 10px; }
}