/* Rodovid v68 · Safe Import Preflight, a private archival inspection station. */
.import-preflight-dialog{width:min(1410px,calc(100vw - 20px));max-height:96dvh;overflow:auto;padding:0;border:1px solid #88afb6;border-radius:23px;color:#254454;background:#eff4f3;box-shadow:0 35px 100px #081a2bd0}
.import-preflight-dialog::backdrop{background:#061623d9;backdrop-filter:blur(7px)}
.import-preflight-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;overflow:hidden;background:radial-gradient(circle at 82% 22%,#50788a,#204c62 50%,#12293e);padding:27px 28px;color:#f7fbfb}
.import-preflight-head:after{content:"";pointer-events:none;position:absolute;inset:0;background:repeating-radial-gradient(circle at 80% 27%,transparent 0 57px,#ffffff0c 58px 59px,transparent 60px 112px)}
.import-preflight-head>div,.import-preflight-head button{position:relative;z-index:1}
.import-preflight-head small{font:800 10px Manrope,sans-serif;letter-spacing:.18em;color:#e9cb96}
.import-preflight-head h2{font:700 clamp(29px,4vw,45px) Georgia,serif;margin:8px 0}
.import-preflight-head p{max-width:920px;font:500 12px/1.6 Manrope,sans-serif;opacity:.92}
.import-preflight-close{width:44px;height:44px;flex-shrink:0;border:1px solid #ffffff85;background:#ffffff20;color:#fff;border-radius:12px;font:700 23px Manrope,sans-serif;cursor:pointer}
.import-preflight-bar{background:#e5efef;display:flex;align-items:center;gap:14px;padding:15px 22px;flex-wrap:wrap}
.import-preflight-bar label{display:grid;gap:6px;min-width:190px;color:#365c69;font:800 12px Manrope,sans-serif}
.import-preflight-bar input[type=file]{min-height:44px;box-sizing:border-box;font:600 12px Manrope,sans-serif;color:#214d60;background:#fff;border:1px dashed #91b4be;border-radius:10px;padding:9px}
.import-preflight-name{font:800 11px Manrope,sans-serif;overflow-wrap:anywhere;color:#427184}
.import-preflight-state{padding:12px 22px;background:#faf5e9;border-bottom:1px solid #e4d9bf;color:#604d2e;font:700 12px/1.6 Manrope,sans-serif;min-height:20px}
.import-preflight-state.is-critical{background:#fff0ee;border-color:#e1a4a4;color:#842d2d}
.import-preflight-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:15px 22px}
.import-preflight-metric{background:#fff;border:1px solid #d6e4e4;border-radius:13px;min-width:0;padding:12px 13px;box-shadow:0 3px 12px #123b4d10}
.import-preflight-metric strong{display:block;font:800 26px Manrope,sans-serif;color:#287c8d}
.import-preflight-metric span{display:block;font:700 11px/1.45 Manrope,sans-serif;color:#526f78}
.import-preflight-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;padding:13px 22px}
.import-preflight-relationships{margin:0 22px 13px}
.import-preflight-relationship-note{margin:5px 0 0;color:#526f78;font:600 12px/1.55 Manrope,sans-serif;max-width:900px}
.import-preflight-relationship-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:330px;overflow:auto;padding:12px}
.import-preflight-relationship{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 8px;min-width:0;padding:11px 12px;border:1px solid #d6e4e4;border-radius:10px;background:#f8fbfa;font:600 12px/1.55 Manrope,sans-serif;overflow-wrap:anywhere}
.import-preflight-relationship strong{color:#244e60;font-weight:800}
.import-preflight-relationship-kind{color:#58737a}
.import-preflight-relationship small{flex-basis:100%;color:#687f84;font-size:10px}
.import-preflight-relationship-limit{margin:0;padding:0 12px 12px;color:#526f78;font:600 11px/1.5 Manrope,sans-serif}
.import-preflight-unsupported-section{margin:0 22px 13px}
.import-preflight-unsupported-section[hidden]{display:none}
.import-preflight-unsupported-note{margin:5px 0 0;color:#526f78;font:600 12px/1.55 Manrope,sans-serif;max-width:900px}
.import-preflight-unsupported-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}
.import-preflight-unsupported-item{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 12px;border:1px solid #e6dbc3;border-radius:10px;background:#fffaf0;font:600 12px/1.45 Manrope,sans-serif;overflow-wrap:anywhere}
.import-preflight-unsupported-item code{color:#744f29;font:800 12px/1.4 ui-monospace,monospace}
.import-preflight-unsupported-item span{color:#526f78;text-align:right}
.import-preflight-unsupported-tail{grid-column:1/-1;margin:0;color:#526f78;font:600 11px/1.5 Manrope,sans-serif}
.import-preflight-section{min-width:0;border:1px solid #d5e3e4;border-radius:15px;background:#fff;overflow:hidden}
.import-preflight-section-head{display:flex;justify-content:space-between;gap:9px;align-items:center;background:#f2f8f8;padding:13px 15px;border-bottom:1px solid #dfebec}
.import-preflight-section h3{font:700 24px Georgia,serif;color:#2a6478;margin:0}
.import-preflight-section-head label{display:flex;align-items:center;gap:8px;font:700 12px Manrope,sans-serif;color:#3e626e}
.import-preflight-section-head select{min-height:44px;border:1px solid #a9c2c9;background:white;border-radius:7px;padding:7px 10px;color:#214e60;font:600 12px Manrope,sans-serif}
.import-preflight-issues,.import-preflight-list{height:430px;overflow:auto;padding:12px}
.import-preflight-warning{padding:12px 13px;margin:0 0 10px;border-radius:10px;border:1px solid #dfebeb;background:#f7faf9}
.import-preflight-warning strong{font:800 12px Manrope,sans-serif;color:#385d67}
.import-preflight-warning p{font:600 12px/1.65 Manrope,sans-serif;color:#3e5c66;margin:6px 0 0;overflow-wrap:anywhere}
.import-preflight-warning.critical{border-color:#e1a4a4;background:#fff0ee}.import-preflight-warning.critical strong{color:#a84242}
.import-preflight-warning.high{border-color:#edd0ad;background:#fff6e9}.import-preflight-warning.high strong{color:#a87a3d}
.import-preflight-warning.medium{background:#f3f8fc;border-color:#c3dce5}
.import-preflight-person{padding:12px 7px;border-bottom:1px solid #e3ecec}
.import-preflight-person strong{display:block;color:#27657e;font:800 13px Manrope,sans-serif;overflow-wrap:anywhere}
.import-preflight-person small{display:block;margin-top:6px;color:#4f707a;font:600 11px/1.55 Manrope,sans-serif;overflow-wrap:anywhere}
.import-preflight-empty{padding:25px;color:#7a969e;font:600 12px Manrope,sans-serif;text-align:center}
.import-preflight-more{display:block;min-height:44px;margin:0 auto 15px;border:1px solid #a8c4c9;background:#fff;color:#205a6d;border-radius:9px;padding:10px 20px;font:800 12px Manrope,sans-serif;cursor:pointer}
.import-preflight-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fafcfa;padding:14px 22px;border-top:1px solid #dae8e8}
.import-preflight-footer p{font:600 11px/1.5 Manrope,sans-serif;color:#5f808b;max-width:610px;margin:0}
.import-preflight-footer>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.import-preflight-footer label{display:flex;align-items:center;gap:9px;min-height:44px;font:700 12px/1.45 Manrope,sans-serif;color:#68472f}
.import-preflight-footer input{min-height:20px;min-width:20px;accent-color:#34798a}
.import-preflight-footer button{min-height:44px;background:white;border:1px solid #a2c0c6;border-radius:9px;padding:10px 13px;font:800 12px Manrope,sans-serif;color:#245b6d;cursor:pointer}
.import-preflight-footer button.primary{background:#266f83;color:#fff}
.import-preflight-dialog [hidden]{display:none!important}
.import-preflight-dialog button:disabled{opacity:.45;cursor:not-allowed}
.import-preflight-dialog :is(button,input,select):focus-visible{outline:3px solid #d6ae70;outline-offset:2px}
@media(max-width:950px){.import-preflight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.import-preflight-layout{grid-template-columns:1fr}.import-preflight-issues,.import-preflight-list{height:270px}.import-preflight-relationship-list{grid-template-columns:1fr;max-height:280px}.import-preflight-unsupported-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.import-preflight-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.import-preflight-head{padding:17px}.import-preflight-bar{padding:12px}.import-preflight-bar label{width:100%}.import-preflight-state{padding:11px}.import-preflight-metrics{padding:10px;gap:6px}.import-preflight-layout{padding:9px}.import-preflight-relationships,.import-preflight-unsupported-section{margin:0 9px 9px}.import-preflight-relationship-list,.import-preflight-unsupported-list{padding:9px;max-height:240px}.import-preflight-unsupported-list{grid-template-columns:1fr}.import-preflight-metric strong{font-size:21px}.import-preflight-footer{align-items:stretch;flex-direction:column;padding:10px}.import-preflight-footer>div{justify-content:space-between}.import-preflight-footer button{flex:1}}
@media(prefers-reduced-motion:reduce){.import-preflight-dialog *{animation:none!important;transition:none!important}}
.import-preflight-record-audit{margin:0 14px 14px;border:1px solid #d5e3e4;border-radius:11px;background:#fff;overflow:hidden}
.import-preflight-record-audit>summary{min-height:48px;display:flex;align-items:center;padding:10px 13px;background:#f2f8f8;color:#245b6d;font:800 13px/1.4 Manrope,sans-serif;cursor:pointer}
.import-preflight-record-audit>p{margin:0;padding:9px 13px 0;color:#526f78;font:600 11px/1.55 Manrope,sans-serif}
.import-preflight-unsupported-records{max-height:260px;overflow:auto;padding:8px 12px;overscroll-behavior:contain}
.import-preflight-record-item{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.5fr);gap:8px;padding:9px 4px;border-bottom:1px solid #e3ecec}
.import-preflight-record-item strong{color:#27657e;font:800 12px/1.5 Manrope,sans-serif;overflow-wrap:anywhere}
.import-preflight-record-item small{color:#526f78;font:600 11px/1.55 ui-monospace,monospace;overflow-wrap:anywhere}
.import-preflight-record-audit :is(summary,button):focus-visible{outline:3px solid #d6ae70;outline-offset:2px}
@media(max-width:650px){.import-preflight-record-audit{margin:0 9px 9px}.import-preflight-record-item{grid-template-columns:1fr;gap:2px}.import-preflight-unsupported-records{max-height:220px}}
.import-preflight-source-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 12px;margin:0 14px 14px;padding:14px;border:1px solid #e0cda8;border-radius:12px;background:#fffaf0}
.import-preflight-source-tools[hidden]{display:none}
.import-preflight-source-tools p{grid-column:1/-1;margin:0;color:#654f2f;font:600 11px/1.6 Manrope,sans-serif}
.import-preflight-source-tools label{display:flex;align-items:flex-start;gap:8px;color:#614b2c;font:700 12px/1.5 Manrope,sans-serif}
.import-preflight-source-tools input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#34798a}
.import-preflight-source-tools button{min-height:44px;margin:0;padding:10px 14px;border:1px solid #b7935a;border-radius:9px;background:#fff;color:#684b20;font:800 12px Manrope,sans-serif;cursor:pointer}
.import-preflight-source-tools button:disabled{opacity:.45;cursor:not-allowed}
.import-preflight-source-tools :is(button,input):focus-visible{outline:3px solid #d6ae70;outline-offset:2px}
.import-preflight-source-tools #import-preflight-source-status{color:#3f6572}
@media(max-width:650px){.import-preflight-source-tools{grid-template-columns:1fr;margin:0 9px 9px}.import-preflight-source-tools button{width:100%}}
