.ob-download-grid{display:grid;grid-template-columns:repeat(var(--ob-document-columns,2),minmax(0,1fr));gap:12px}.ob-download-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #dce5df;border-radius:12px;background:#fff;min-width:0}.ob-download-card>svg{flex:0 0 30px;width:30px;height:30px;color:#96231b}.ob-download-card>div{flex:1;min-width:0}.ob-download-card h3{margin:0;font-size:16px;line-height:1.4;overflow-wrap:anywhere}.ob-download-card p{margin:5px 0 0;font-size:12px;color:#64756b}.ob-download-card label{display:flex;align-items:center;gap:6px;font-size:12px;cursor:pointer}.ob-download-card input{width:18px;height:18px;accent-color:#245f43}.ob-download-selected,.ob-download-dialog button[type=submit]{margin-top:14px;min-height:44px;padding:11px 18px;border:0;border-radius:9px;background:#245f43;color:white;font-size:14px;font-weight:600}.ob-download-hint{font-size:12px;color:#64756b}.ob-download-dialog{box-sizing:border-box;width:min(500px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:0;border-radius:16px;background:white;color:#263b2e}.ob-download-dialog::backdrop{background:#17281dcc;backdrop-filter:blur(3px)}.ob-download-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ob-download-dialog h2{margin:0;font-size:24px}.ob-download-dialog [data-download-close]{flex:0 0 36px;width:36px;height:36px;border:1px solid #dce5df;background:#f7faf8;border-radius:8px;font-size:24px}.ob-download-dialog form>label{display:grid;gap:7px;margin-top:14px;font-size:13px;font-weight:600}.ob-download-dialog input:not([type=hidden]){box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1px solid #c6d7cc;border-radius:8px;background:white;color:#263b2e;font-size:16px}.ob-download-dialog small,.ob-download-dialog>p,.ob-download-status{font-size:12px;line-height:1.6;color:#62746a}.ob-download-dialog form>label.jic-im-trap{display:none}.ob-download-dialog button:disabled{opacity:.6}.ob-download-links{display:grid;gap:10px;margin:16px 0}.ob-download-links a{padding:12px 14px;border:1px solid #c6d7cc;border-radius:8px;background:#edf6ef;color:#245f43;font-size:14px;font-weight:600;overflow-wrap:anywhere}body:has(.ob-download-dialog[open]) .jic-product-mobile-bar{visibility:hidden}
@media(max-width:600px){.ob-download-grid{grid-template-columns:minmax(0,1fr)}.ob-download-card{padding:14px}.ob-download-dialog{padding:20px}}

.ob-document-preview{display:inline-flex;align-items:center;gap:6px;padding:7px 0;border:0;background:transparent;color:#245f43;font-size:12px;font-weight:600;cursor:pointer}.ob-document-preview svg{width:18px;height:18px}
.ob-document-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(1166px,calc(100% - 32px));max-width:none;height:min(900px,calc(100dvh - 32px));max-height:none;margin:auto;padding:16px;border:1px solid #ffffff24;border-radius:16px;background:#111d17;color:#fff;overflow:hidden;box-shadow:0 24px 80px #0006}
.ob-document-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
.ob-document-dialog::backdrop{background:#13251dd9;backdrop-filter:blur(4px)}
.ob-document-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.ob-document-dialog h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0;color:inherit;font-size:clamp(15px,2vw,20px);line-height:1.3;overflow:hidden;overflow-wrap:anywhere}
.ob-document-dialog :is([data-ob-document-close],[data-ob-document-external]){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #ffffff45;border-radius:8px;background:#ffffff08;color:#edf5ef;text-decoration:none;font-size:13px;font-weight:600}
.ob-document-dialog [data-ob-document-close]{flex:0 0 44px;width:44px;padding:0;cursor:pointer}
.ob-document-dialog :is(button,a):hover{background:#ffffff1a}
.ob-document-dialog :is(button,a):focus-visible{outline:2px solid #a9ceb5;outline-offset:2px}
.ob-document-dialog svg{width:20px;height:20px;flex:0 0 20px}
.ob-document-dialog [data-ob-document-frame]{min-height:0;overflow:hidden;border-radius:8px;background:#27352d}
.ob-document-dialog iframe{display:block;width:100%;height:100%;border:0}
.ob-document-dialog footer{display:flex;justify-content:center}
body:has(.ob-document-dialog[open]){overflow:hidden}
@media(max-width:600px){.ob-document-dialog{width:calc(100% - 20px);height:calc(100dvh - 20px);padding:10px;border-radius:12px}.ob-document-dialog[open]{gap:8px}}
.ob-download-dialog{position:fixed;inset:0;margin:auto}.ob-download-selected svg{width:18px;height:18px;vertical-align:middle;margin-left:7px}


.ob-download-group .ob-download-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:14px;padding:18px 20px;border-radius:12px;transition:border-color .15s,background-color .15s}.ob-download-group .ob-download-card>svg{width:26px;height:30px;align-self:start;margin-top:3px;color:#8f2b23}.ob-download-group .ob-download-card h3{font-size:clamp(15px,1.4vw,18px);font-weight:700;line-height:1.4;letter-spacing:-.015em;margin:0}.ob-download-group .ob-download-card p{font-size:12px;line-height:1.6;margin:5px 0 0;color:#67796d}.ob-download-group .ob-download-card label{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 11px;border:1px solid #d8e3da;border-radius:8px;background:#f7faf8;font-size:12px;font-weight:600;white-space:nowrap;color:#425e4c}.ob-download-group .ob-download-card input{width:17px;height:17px;margin:0;flex-shrink:0;cursor:pointer}.ob-download-group .ob-download-card.is-selected{border-color:#4c8060;background:#f1f8f3}.ob-download-group .ob-download-card.is-selected label{border-color:#b6d1be;background:#e6f2e9;color:#245f43}.ob-download-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid #e1e8e3}.ob-download-group .ob-download-selected{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin:0;padding:11px 17px;font-size:13px;line-height:1.4;white-space:nowrap;cursor:pointer}.ob-download-group .ob-download-selected svg{display:block;flex:0 0 18px;width:18px;height:18px;margin:0}.ob-download-group .ob-download-selected:disabled{background:#e8eeea;color:#728278;cursor:not-allowed}.ob-download-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:5px;background:#ffffff26;font-size:11px;font-weight:750}.ob-download-count[hidden]{display:none}.ob-download-group .ob-download-hint{margin:0;font-size:12px;line-height:1.6;max-width:48ch;color:#67796d}.ob-download-group button:focus-visible,.ob-download-group input:focus-visible{outline:3px solid #91b69d;outline-offset:3px}@media(max-width:600px){.ob-download-group .ob-download-card{grid-template-columns:28px minmax(0,1fr);gap:10px 12px;padding:16px}.ob-download-group .ob-download-card label{grid-column:2;justify-self:start;min-height:36px;padding:6px 10px}.ob-download-actions{align-items:flex-start;gap:10px}.ob-download-group .ob-download-selected{width:100%}.ob-download-group .ob-download-hint{font-size:11px}}@media(prefers-reduced-motion:reduce){.ob-download-group .ob-download-card{transition:none}}
.ob-download-group .ob-download-card-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}.ob-download-single{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:9px 13px;border:1px solid #cbdccf;border-radius:8px;background:#edf5ef;color:#245f43;font-size:12px;line-height:1.4;font-weight:700;white-space:nowrap;cursor:pointer}.ob-download-single:hover{background:#e1efe5;border-color:#8eb59b}.ob-download-single svg{display:block;width:17px;height:17px;flex-shrink:0}.ob-download-group .ob-download-card-actions>label{grid-column:auto;min-height:34px;padding:6px 10px}@media(max-width:600px){.ob-download-group .ob-download-card-actions{grid-column:2;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap}}
.ob-document-download-count{display:block;margin-top:8px;font-size:11px;line-height:1.5;color:#788b7d}
.ob-download-group.has-single-document .ob-download-grid,.ob-download-group.is-style-list .ob-download-grid{grid-template-columns:minmax(0,1fr)}.ob-download-group.is-style-list .ob-download-card{padding:14px 18px;border-radius:8px;box-shadow:none}.ob-download-group.is-style-minimal .ob-download-card{padding:12px 0;box-shadow:none;border-width:0 0 1px;border-radius:0;background:transparent}.ob-download-group.is-style-minimal .ob-download-card>svg{display:none}.ob-download-group.is-style-minimal .ob-download-grid{grid-template-columns:minmax(0,1fr);gap:0}.ob-download-card h3{overflow-wrap:anywhere}.ob-download-card .ob-download-single{min-height:42px}.ob-download-card-actions{min-width:0}@media(max-width:600px){.ob-download-group .ob-download-card{align-items:start;gap:12px}.ob-download-card-actions{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.ob-download-card-actions .ob-download-single{padding:10px 16px}}
