.frm-page { padding: 30px 0 60px; background: #fff; color: #182b43; }
.frm-page [hidden] { display: none !important; }
.frm-page *, .frm-page *::before, .frm-page *::after { box-sizing: border-box; }
.frm-left { min-width: 0; display: flex; flex-direction: column; }
.frm-heading { margin-bottom: 24px; padding-bottom: 23px; border-bottom: 1px solid #edf1f6; }
.frm-heading-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.frm-eyebrow { min-width: 0; color: #4b74a0; font-size: 12px; line-height: 1.7; letter-spacing: 1.6px; font-weight: 700; }
.frm-free { display: inline-flex; flex-shrink: 0; background: #e9f6ef; color: #298654; font-size: 11px; font-weight: 700; line-height: 1.4; padding: 6px 10px; border-radius: 5px; letter-spacing: 1px; }
.frm-heading h1 { font-size: 36px; font-weight: 700; line-height: 1.15; margin: 10px 0 13px; }
.frm-heading h1 span { color: #4572a6; }
.frm-heading > p { color: #607186; font-size: 13px; line-height: 1.65; margin-bottom: 0; max-width: 520px; }
.frm-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.frm-workspace { background: #fff; border: 1px solid #dfe7ee; border-radius: 0; padding: 30px; box-shadow: 0 8px 30px rgba(33, 55, 81, .05); min-width: 0; flex: 1; }
.frm-drop { position: relative; display: grid; grid-template-columns: 36px minmax(0, auto); align-items: center; align-content: center; justify-content: center; column-gap: 12px; row-gap: 3px; min-height: 140px; text-align: left; border: 2px dashed #ccd9e8; border-radius: 9px; padding: 20px 18px; background: #f8fafd; cursor: pointer; transition: border-color .2s, background .2s; }
.frm-drop:hover, .frm-drop:focus-within, .frm-drop.is-dragging { background: #edf4fd; border-color: #4572a6; }
.frm-page .frm-drop.is-selected { display: flex; flex-direction: row; justify-content: center; gap: 11px; min-height: 120px; padding: 20px 18px; border-style: solid; border-color: #a8cebb; background: #eff8f3; box-shadow: none; }
.frm-page .frm-drop.is-selected svg { width: 32px; height: 32px; flex: 0 0 32px; margin: 0; color: #298654; }
.frm-page .frm-selected-title { display: none; }
.frm-page .frm-drop.is-selected .frm-choose-title, .frm-page .frm-drop.is-selected .frm-drop-hint, .frm-page .frm-drop.is-selected .frm-drop-spec { display: none; }
.frm-page .frm-drop.is-selected .frm-selected-title { display: block; color: #298654; font-size: 15px; }
.frm-drop.is-selected + .frm-file-row { margin: 12px 0 17px; }
.frm-drop svg { grid-column: 1; grid-row: 1 / 3; width: 36px; height: 36px; color: #4572a6; margin: 0; }
.frm-drop strong { grid-column: 2; color: #27415f; font-size: 15px; line-height: 1.4; }
.frm-drop > .frm-drop-hint { display: none; }
.frm-drop small { grid-column: 2; font-size: 11px; line-height: 1.4; color: #7d8ea2; margin: 0; }
.frm-drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.frm-file-row { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin: 15px 0 21px; font-size: 12px; color: #62758c; }
#frm-file-name { overflow-wrap: anywhere; min-width: 0; }
.frm-reset { background: none; border: 0; color: #4572a6; padding: 3px; text-decoration: underline; flex-shrink: 0; }
.frm-primary { display: block; width: 100%; background: #4572a6; border: 0; color: #fff; padding: 14px 18px; border-radius: 7px; font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.frm-primary:hover { background: #335e90; }
.frm-primary:disabled { background: #dce5ee; color: #64778c; cursor: not-allowed; }
.frm-primary span { font-size: 12px; font-weight: 400; opacity: .85; }
.frm-page button:focus-visible, .frm-page a:focus-visible, .frm-warnings input:focus-visible { outline: 3px solid #76a8df; outline-offset: 3px; }
.frm-private { color: #7b8ba0; font-size: 11px; text-align: center; margin: 14px 0 0; line-height: 1.6; }
.frm-private svg { vertical-align: -3px; margin-right: 4px; }
.frm-page .frm-guide { align-self: stretch; min-width: 0; padding: 28px 27px; border: 1px solid #cbdced; border-top: 3px solid #6299d0; border-radius: 3px; background: linear-gradient(145deg, #fff, #eaf2fb); box-shadow: 0 8px 25px rgba(49, 94, 141, .06); color: #294662; }
.frm-page .frm-guide > h2 { color: #294662; font-size: 21px; font-weight: 700; margin: 0 0 23px; line-height: 1.3; }
.frm-page .frm-steps { list-style: none; margin: 0; padding: 0; }
.frm-page .frm-steps > li { position: relative; display: flex; align-items: flex-start; gap: 15px; margin: 0; padding: 0 0 22px; }
.frm-page .frm-steps > li:last-child { padding-bottom: 0; }
.frm-page .frm-steps > li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 1px; background: #cfdfef; }
.frm-page .frm-steps > li > span { width: 34px; height: 34px; min-width: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; position: static; margin: 0; padding: 0; border: 1px solid #a9c8e8; border-radius: 50%; color: #315e8d; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; background: #edf5ff; text-align: center; }
.frm-page .frm-steps > li > div { min-width: 0; }
.frm-page .frm-steps h3 { color: #294662; font-size: 14px; font-weight: 700; margin: 7px 0 8px; line-height: 1.4; }
.frm-page .frm-steps p, .frm-page .frm-scope small { font-size: 12px; color: #60758c; line-height: 1.8; margin: 0; }
.frm-page .frm-scope { margin-top: 23px; border-top: 1px solid #cfdfef; padding-top: 18px; }
.frm-page .frm-scope strong { color: #294662; font-size: 13px; }
.frm-page .frm-scope p { color: #4572a6; margin: 10px 0; font-size: 13px; font-weight: 600; }
.frm-info { margin-top: 26px; padding: 25px 30px; border: 1px solid #dfe7ee; border-radius: 0; background: #fff; text-align: left; }
.frm-info-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #4572a6; }
.frm-info h2 { margin: 9px 0 16px; font-size: 21px; font-weight: 700; line-height: 1.4; color: #294662; }
.frm-info p { margin: 0 0 12px; font-size: 13px; line-height: 1.8; color: #607186; }
.frm-info .frm-info-sources { margin-bottom: 0; font-size: 11px; }
.frm-repair { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; padding-top: 22px; border-top: 1px solid #dfe7ee; }
.frm-repair h3 { margin: 0 0 7px; font-size: 16px; font-weight: 700; line-height: 1.4; color: #294662; }
.frm-repair p { margin: 0; font-size: 12px; }
.frm-page .frm-repair-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; flex-shrink: 0; padding: 11px 18px; border: 1px solid #b6cde5; border-radius: 7px; background: #edf4fc; color: #315f93; font-size: 13px; font-weight: 600; text-decoration: none; }
.frm-page .frm-repair-link:hover { border-color: #4572a6; background: #e2eefb; }
.frm-footnote { margin-top: 25px; padding: 22px 25px; border: 1px solid #dfe7ee; border-radius: 0; background: #fff; font-size: 12px; color: #718197; line-height: 1.85; }
.frm-footnote > strong { color: #415b77; font-size: 13px; }
.frm-footnote p { margin: 9px 0 0; }
.frm-footnote .frm-credit { font-size: 11px; }
.frm-page a { color: #4572a6; text-decoration: underline; }
.frm-status { margin-top: 20px; padding: 13px 16px; border-radius: 6px; background: #edf4fc; font-size: 13px; line-height: 1.6; }
.frm-status.is-ready { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.frm-status.is-error { background: #fff1ef; color: #a53e34; }
.frm-result { margin: 0; padding: 0; }
.frm-result-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.frm-result-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: #e9f6ef; color: #298654; font-size: 21px; line-height: 1; }
.frm-result-heading h2 { font-size: 20px; margin: 0; font-weight: 700; color: #298654; line-height: 1.4; }
.frm-result.has-warnings .frm-result-heading h2 { color: #996516; }
.frm-result.has-warnings .frm-result-icon { color: #996516; background: #fff3d9; }
.frm-metadata { margin: 0 0 20px; }
.frm-metadata > div { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px solid #edf1f6; font-size: 12px; }
.frm-metadata dt { color: #76879b; font-weight: 400; }
.frm-metadata dd { margin: 0; text-align: right; color: #294662; font-weight: 600; overflow-wrap: anywhere; }
.frm-warnings { background: #fff7e8; color: #88611e; border: 1px solid #f0dcaf; border-radius: 6px; padding: 15px; margin: 15px 0 20px; font-size: 12px; line-height: 1.7; }
.frm-warnings p { margin: 0 0 8px; }
.frm-warnings ul { padding-left: 20px; list-style: disc; margin: 8px 0 15px; }
.frm-warnings label { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-weight: 600; cursor: pointer; }
.frm-warnings input { flex-shrink: 0; margin-top: 4px; }
.frm-output-name { font-size: 11px; color: #7d8ea2; text-align: center; margin: 10px 0 0; overflow-wrap: anywhere; }
.frm-page .frm-another { display: block; width: auto; max-width: 100%; margin: 19px auto 0; padding: 9px 18px; border: 1px solid #ccd9e7; border-radius: 6px; background: #f6f9fd; color: #4572a6; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.frm-page .frm-another:hover { border-color: #4572a6; background: #edf4fd; }
@media (max-width: 991px) { .frm-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; } .frm-workspace { padding: 24px; } .frm-page .frm-guide { padding: 24px 18px; } }
@media (max-width: 767px) { .frm-info { padding: 22px 18px; } .frm-info h2 { font-size: 19px; } .frm-repair { flex-direction: column; align-items: flex-start; gap: 14px; } }
@media (max-width: 767px) { .frm-page { padding: 30px 0 38px; } .frm-heading h1 { font-size: 32px; } .frm-layout { grid-template-columns: minmax(0, 1fr); } .frm-workspace { padding: 22px 18px; } .frm-heading { margin-bottom: 21px; padding-bottom: 20px; } .frm-drop { padding: 14px 12px; } .frm-footnote { padding: 18px; } .frm-metadata > div { flex-wrap: wrap; gap: 3px 12px; } }
