.odb {--odb-ink:#14263d;--odb-sub:#65768d;--odb-line:#dce5f0;--odb-blue:#2b60df;--odb-bg:#f8faff;color:var(--odb-ink);font-family:inherit;font-size:15px;line-height:1.6;max-width:1380px;margin:0 auto 30px}
.odb * {box-sizing:border-box}
.odb button,.odb input,.odb textarea,.odb select {font:inherit}
.odb-guide {border:1px solid #dce6f3;border-radius:12px;background:#f8fbff;padding:13px 20px}
.odb-guide-head {display:flex;align-items:center;justify-content:space-between;gap:12px}
.odb-guide-head strong {font-size:16px;color:#294766;font-weight:600}
.odb-guide-login {font-size:14px;font-weight:600;color:#295ec0;text-decoration:none;white-space:nowrap}
.odb-guide-login:hover {text-decoration:underline}
.odb-guide p {color:#637890;font-size:14px;margin:5px 0 0;line-height:1.7;word-break:keep-all}
.odb-guide p a {color:#275fbb;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.odb-panel-kicker {font-size:12px;letter-spacing:.14em;font-weight:600;color:#78bbff}
.odb-steps {display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:16px 0 18px;padding:11px 19px;border-radius:12px;background:#edf4ff;color:#47617f;font-size:15px;font-weight:600}
.odb-steps b {color:var(--odb-blue);margin-right:8px}
.odb-step-arrow {color:#9ab1ca}
.odb-setup {display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.odb-panel {min-width:0;border:1px solid var(--odb-line);background:#fff;border-radius:15px;padding:24px;box-shadow:0 3px 20px rgba(25,47,73,.035)}
.odb-panel-head {display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:14px}
.odb-panel-head h3 {font-size:18px;line-height:1.35;font-weight:600;letter-spacing:-.025em;margin:3px 0 0;color:var(--odb-ink)}
.odb-small-status {background:#f1f5fc;color:#59718f;padding:5px 10px;border-radius:7px;font-size:12px;white-space:nowrap}
.odb-help {font-size:14px;color:var(--odb-sub);margin:0 0 17px;word-break:keep-all}
.odb-file-pick {display:flex;align-items:center;gap:15px;border:1px dashed #abc3e5;background:#f5f9ff;padding:15px;border-radius:10px;cursor:pointer;min-height:68px}
.odb-file-pick span {color:#235bd2;font-weight:600;flex:0 0 auto}
.odb-file-pick small {color:var(--odb-sub);word-break:break-all;min-width:0}
.odb-template-info {font-size:13px;color:#506782;margin-top:13px;min-height:20px}
.odb-field {display:flex;flex-direction:column;gap:6px;color:#38506c;font-size:14px;font-weight:600;margin:0 0 12px}
.odb-field input {width:100%;border:1px solid var(--odb-line);padding:10px;border-radius:9px;background:#fff;color:var(--odb-ink);outline:none}
.odb-field input:focus {border-color:#568aed;box-shadow:0 0 0 3px rgba(49,110,231,.1)}
.odb-key-fast {padding:12px;background:#f7faff;border:1px solid #e2eaf5;border-radius:10px}
.odb-key-fast label {display:block;font-weight:600;color:#34506b;font-size:14px;margin-bottom:7px}
.odb-key-fast small {font-weight:500;color:#7a8ea6;margin-left:5px}
.odb-key-fast>div {display:flex;gap:7px}
.odb-key-fast input {flex:1;min-width:0;border:1px solid #d2deee;border-radius:8px;padding:9px 11px;outline:none;font-size:15px;background:#fff}
.odb-key-fast input:focus,.odb-key-tools input:focus,.odb-key-row select:focus,.odb-key-row input:focus {border-color:#568aed;box-shadow:0 0 0 3px rgba(49,110,231,.1)}
.odb-key-tools {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:11px 0}
.odb-key-tools label {display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:#45617f}
.odb-key-tools input {border:1px solid #d2deee;border-radius:8px;padding:7px 8px;width:72px;font-size:15px;text-align:center;outline:none}
.odb-key-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;max-height:261px;overflow-y:auto;padding:9px;background:#f8fafd;border:1px solid #e5ebf5;border-radius:10px}
.odb-key-empty {grid-column:1/-1;text-align:center;color:#8a9bb0;font-size:14px;padding:30px 8px;margin:0}
.odb-key-row {display:grid;grid-template-columns:42px minmax(0,1fr) 70px;align-items:center;gap:7px;padding:6px 8px;background:#fff;border:1px solid #edf1f7;border-radius:8px}
.odb-key-row>span {font-size:13px;color:#516b89;font-weight:600;font-variant-numeric:tabular-nums}
.odb-key-row select,.odb-key-row input {width:100%;min-width:0;border:1px solid #dce5f0;border-radius:7px;background:#fff;color:#244160;padding:6px;font-size:14px;outline:none}
.odb-key-row input {text-align:center;font-variant-numeric:tabular-nums}
.odb-key-row.is-filled {border-color:#caddf6;background:#fafdff}
.odb-key-actions {display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-top:11px}
.odb-key-actions>span {margin-right:auto;color:#657991;font-size:13px;font-weight:600}
.odb-key-panel .odb-template-info {margin-top:7px;font-size:13px}
.odb-btn {display:inline-flex;gap:6px;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border-radius:9px;border:1px solid transparent;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:none}
.odb-btn:disabled {opacity:.44;cursor:not-allowed}
.odb-btn-primary {color:#fff;background:var(--odb-blue);box-shadow:0 4px 10px rgba(44,96,220,.14)}
.odb-btn-soft {background:#e7efff;border-color:#c7d8fb;color:#1c50bb}
.odb-btn-muted {background:#fff;border-color:var(--odb-line);color:#47617c}
.odb-btn-danger {margin-left:auto;color:#a24c55;border-color:#f1d4d7;background:#fff}
.odb-btn:hover:not(:disabled) {filter:brightness(.97)}
.odb-photos {margin-bottom:16px}
.odb-drop {border:1.5px dashed #abc5e7;border-radius:12px;text-align:center;background:linear-gradient(135deg,#f9fbff,#f1f6ff);padding:26px 16px;outline:none}
.odb-drop.is-dragging {border-color:#255dd8;background:#e4efff}
.odb-drop-icon {display:block;color:#356cdd;font-size:31px;line-height:1.2}
.odb-native-capture {margin-left:8px}
@media(pointer:fine) {.odb-native-capture {display:none}}
.odb-drop strong {display:block;font-size:15px;margin:8px 0;color:#244364}
.odb-drop p {color:#71839b;font-size:14px;margin:5px 0 16px}
.odb-photo-limit {margin:14px auto 0;padding:9px 12px;width:fit-content;max-width:100%;border:1px solid #d9e5fa;background:#fff;border-radius:8px;color:#4267a2;font-size:13px;font-weight:600;word-break:keep-all}
.odb-drop.is-full .odb-photo-limit {border-color:#efd9ab;background:#fffaf0;color:#926318}
.odb-drop.is-full label.odb-btn {opacity:.45;pointer-events:none;cursor:not-allowed}
.odb-ai-info {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:15px;color:#8b98ab;font-size:13px}
.odb-ai-info strong {font-weight:650;color:#6e7f95}
.odb-ai-info label {display:inline-flex;gap:5px;align-items:center;cursor:not-allowed;color:#9aa5b6}
.odb-ai-info input {accent-color:#9aa5b6;opacity:.55}
.odb-ai-off {background:#f1f3f7;border-radius:6px;padding:3px 8px;color:#8692a4}
.odb-stats {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.odb-stats>div {background:#f6f9fe;border:1px solid #e3eaf5;border-radius:10px;padding:11px 15px}
.odb-stats small {display:block;color:#657993;font-size:13px}
.odb-stats strong {font-size:24px;font-weight:600;color:#203a5c;line-height:1.4;font-variant-numeric:tabular-nums}
.odb-stats>div:nth-child(2) strong {color:#078b75}
.odb-stats>div:nth-child(3) strong {color:#b47b1b}
.odb-stats>div:nth-child(4) strong {color:#c05060}
.odb-toolbar {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 13px}
.odb-progress {padding:14px 15px;background:#f3f7fe;border-radius:10px;margin-bottom:15px;font-size:14px;color:#49637d}
.odb-progress>div:first-child {display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}
.odb-track {height:5px;background:#dbe5f3;border-radius:99px;overflow:hidden}
.odb-track span {display:block;width:0;height:100%;background:linear-gradient(90deg,#326ce8,#34c2dc);transition:width .2s}
.odb-table-wrap {overflow-x:auto;border:1px solid #e3eaf2;border-radius:10px}
.odb-table {width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;min-width:625px}
.odb-table th {background:#f3f6fb;color:#72849b;font-size:13px;padding:10px 12px;font-weight:600}
.odb-table td {border-top:1px solid #edf1f6;padding:12px;font-size:14px;color:#344e6d;overflow-wrap:anywhere;vertical-align:middle}
.odb-table th:first-child {width:33%}
.odb-table th:nth-child(2) {width:17%}
.odb-table th:nth-child(3) {width:15%}
.odb-table th:nth-child(4) {width:17%}
.odb-table th:last-child {width:18%}
.odb-table tr.is-review {background:#fffcf5}
.odb-table tr.is-failed {background:#fff9fa}
.odb-table .odb-name {font-weight:600;color:#263e59}
.odb-table .odb-sub {color:#8593a6;font-size:12px;display:block}
.odb-table .odb-inline {display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.odb-table .odb-link {border:1px solid #d8e3f1;color:#365b93;background:#fff;border-radius:7px;padding:5px 7px;cursor:pointer;font-weight:550;font-size:13px}
.odb-table .odb-link:disabled {opacity:.4;cursor:not-allowed}
.odb-state {display:inline-block;border-radius:7px;padding:4px 8px;font-weight:600;font-size:13px;white-space:nowrap;background:#eff3f8;color:#61738a}
.odb-state.is-success {background:#e7f7f0;color:#09846b}
.odb-state.is-review {background:#fff3da;color:#a86a0a}
.odb-state.is-failed {background:#ffebef;color:#b64254}
.odb-empty {text-align:center!important;padding:34px!important;color:#8997aa!important}
.odb-footer {display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;color:#8b98ab;font-size:13px;margin-top:11px}
.odb-dialog {border:0;padding:0;width:min(1050px,calc(100vw - 26px));max-width:1050px;max-height:calc(100dvh - 30px);border-radius:15px;box-shadow:0 25px 90px rgba(11,29,54,.35);color:var(--odb-ink)}
.odb-dialog::backdrop {background:rgba(12,27,48,.66)}
.odb-dialog-inner {display:flex;flex-direction:column;max-height:calc(100dvh - 30px)}
.odb-dialog header,.odb-dialog footer {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 22px;flex:0 0 auto}
.odb-dialog header {border-bottom:1px solid #e3eaf3}
.odb-dialog h3 {font-size:18px;margin:2px 0 0}
.odb-dialog footer {border-top:1px solid #e3eaf3;justify-content:flex-end}
.odb-close {border:1px solid #e2e8f0;background:#fff;font-size:22px;line-height:1;border-radius:8px;width:34px;height:34px;cursor:pointer;color:#61738a}
.odb-dialog-content {display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);min-height:0;overflow:auto;gap:16px;padding:18px}
.odb-review-image {display:flex;align-items:flex-start;justify-content:center;border:1px solid #e3eaf3;border-radius:10px;padding:12px;background:#f1f5fa;min-height:360px}
.odb-review-image img {display:block;max-width:100%;max-height:64vh;object-fit:contain}
.odb-review-fields {min-width:0}
.odb-question-title {display:flex;justify-content:space-between;gap:8px;font-size:15px;font-weight:550;margin:14px 0 9px}
.odb-question-title small {font-size:13px;color:#72839a;font-weight:400}
.odb-questions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:45vh;overflow:auto}
.odb-question {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid #e5ebf3;border-radius:8px;color:#44607b;font-size:14px}
.odb-question input {width:58px;border:1px solid #d4dfea;padding:6px;border-radius:6px;text-align:center;color:#12324b}
@media(max-width:760px) {
    .odb-guide {padding:13px 15px}
    .odb-key-grid {grid-template-columns:1fr}
    .odb-setup {grid-template-columns:minmax(0,1fr)}
    .odb-panel {padding:18px}
    .odb-stats {grid-template-columns:repeat(3,minmax(0,1fr))}
    .odb-stats>div {padding:10px}
    .odb-stats strong {font-size:22px}
    .odb-step-arrow {display:none}
    .odb-steps {gap:12px}
    .odb-dialog-content {grid-template-columns:1fr}
    .odb-review-image {min-height:220px}
    .odb-review-image img {max-height:39vh}
    .odb-questions {max-height:none}
}
@media(max-width:420px) {
    .odb-guide-head {align-items:flex-start;flex-direction:column;gap:3px}
    .odb-key-fast small {display:block;margin:2px 0 0}
    .odb-key-actions .odb-btn {padding:8px 10px;font-size:13px}
    .odb-steps {display:grid;grid-template-columns:1fr 1fr}
    .odb-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
    .odb-btn-danger {margin-left:0}
    .odb-toolbar .odb-btn {flex:1 1 auto}
}

.odb .odb-boot {position:fixed;inset:0;z-index:2147482000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(248,251,255,.91);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);font-family:inherit;font-size:15px;line-height:1.5;opacity:1;transition:opacity .42s ease,visibility .42s ease}
.odb .odb-boot.is-leaving {opacity:0;visibility:hidden;pointer-events:none}
.odb-boot-card {width:min(346px,100%);padding:25px 26px 24px;text-align:center;background:rgba(255,255,255,.97);border:1px solid #e1ebf5;border-radius:22px;box-shadow:0 24px 76px rgba(36,72,111,.105),0 5px 20px rgba(36,72,111,.035)}
.odb-boot-brand {display:flex;justify-content:center;align-items:center;gap:7px;color:#1c365a;font-size:12px;font-weight:750;letter-spacing:.035em;white-space:nowrap}
.odb-boot-brand>span:last-child {font-size:10px;color:#8ba0b9;font-weight:650;letter-spacing:.055em}
.odb-boot-logo {position:relative;display:inline-block;width:22px;height:22px;margin-right:2px;border-radius:6px;background:#1f3654}
.odb-boot-logo i {position:absolute;width:6px;height:6px;border:1.4px solid #fff}
.odb-boot-logo i:nth-child(1) {top:5px;left:5px;border-right:0;border-bottom:0}
.odb-boot-logo i:nth-child(2) {top:5px;right:5px;border-left:0;border-bottom:0}
.odb-boot-logo i:nth-child(3) {bottom:5px;left:5px;border-right:0;border-top:0}
.odb-boot-logo i:nth-child(4) {bottom:5px;right:5px;border-left:0;border-top:0}
.odb-boot-visual {position:relative;width:100%;height:196px;margin:4px auto 3px}
.odb-boot-visual svg {display:block;width:100%;height:100%;overflow:visible;font-family:inherit}
.odb-boot-brackets {fill:none;stroke:#6da7d8;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:38;animation:odbBootCorners 2.5s ease-in-out infinite}
.odb-boot-sheet-title {font-size:7px;font-weight:750;letter-spacing:.055em;fill:#425c76}
.odb-boot-sheet-text {font-size:7.5px;font-weight:600;fill:#9aacbd}
.odb-boot-bubble {fill:#fff;stroke:#99b1cc;stroke-width:1}
.odb-boot-detected {fill:#3b93dd;opacity:0;animation:odbBootDetected 2.65s ease-in-out infinite;animation-delay:calc(var(--row) * .17s)}
.odb-boot-scanner {animation:odbBootScan 2.65s cubic-bezier(.36,.05,.58,.95) infinite;transform-origin:center;transform-box:fill-box}
.odb-boot-scan-tag {position:absolute;right:7px;bottom:7px;display:inline-flex;align-items:center;gap:6px;padding:5px 9px;background:#f2f8ff;border:1px solid #dbeaf8;border-radius:7px;color:#4d80af;font-size:10px;font-weight:700;letter-spacing:.06em}
.odb-boot-scan-tag i {display:block;width:5px;height:5px;background:#4fa7e7;border-radius:50%;box-shadow:0 0 0 3px rgba(75,167,231,.12);animation:odbBootPulse 1s ease-in-out infinite}
.odb-boot-card h2 {margin:2px 0 5px;color:#213a57;font-size:16px;font-weight:720;letter-spacing:-.035em;line-height:1.5;word-break:keep-all}
.odb .odb-boot-status {min-height:22px;margin:0;color:#7890a8;font-size:13px;line-height:1.6;word-break:keep-all}
.odb-boot-progress-head {display:flex;align-items:center;justify-content:space-between;margin:21px 0 8px;color:#8098b2;font-size:10px;font-weight:750;letter-spacing:.09em}
.odb-boot-progress-head strong {color:#3b78c6;font-size:14px;font-weight:700;letter-spacing:0;font-variant-numeric:tabular-nums}
.odb-boot-track {height:6px;border-radius:50px;background:#eaf0f8;overflow:hidden}
.odb-boot-track span {display:block;width:18%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4891ed 0%,#5ec6ef 100%);box-shadow:0 0 9px rgba(80,158,231,.22);transition:width .45s cubic-bezier(.22,1,.36,1)}
.odb-boot-foot {margin-top:14px;color:#9caec0;font-size:12px;word-break:keep-all}
.odb-boot-recover {display:none;width:100%;margin-top:13px;padding:9px 12px;border:1px solid #d4e3f4;border-radius:9px;color:#3867a3;background:#f7fbff;font-family:inherit;font-size:13px;cursor:pointer}
.odb-boot-recover.is-visible {display:block}
@keyframes odbBootScan {0%,8% {opacity:0;transform:translateY(-7px)}15% {opacity:1}68% {opacity:1;transform:translateY(82px)}78%,100% {opacity:0;transform:translateY(95px)}}
@keyframes odbBootDetected {0%,18% {opacity:0}36%,72% {opacity:1}90%,100% {opacity:0}}
@keyframes odbBootCorners {0%,100% {stroke:#a7c9e5;opacity:.6}50% {stroke:#4c9ade;opacity:1}}
@keyframes odbBootPulse {0%,100% {opacity:.6;transform:scale(.8)}50% {opacity:1;transform:scale(1.15)}}
@media(max-width:420px) {
    .odb .odb-boot {padding:14px}
    .odb-boot-card {padding:22px 19px 20px;border-radius:18px}
    .odb-boot-visual {height:179px}
    .odb-boot-card h2 {font-size:15px}
    .odb-boot-scan-tag {right:0;bottom:3px}
}
@media(prefers-reduced-motion:reduce) {
    .odb .odb-boot,.odb-boot-track span {transition:none}
    .odb-boot-visual *, .odb-boot-scan-tag i {animation:none!important}
    .odb-boot-detected {opacity:.8}
}
