<div class="ukc-modal-file-preview">
<div class="bd"><div class="dlg" role="dialog" aria-modal="true" aria-labelledby="ukc-modal-file-preview-t">
<div class="hd"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 3H6v18h12V7z"/><path d="M14 3v4h4"/></svg><div class="nm"><h3 id="ukc-modal-file-preview-t">BOL-88214.pdf</h3><p>Bill of lading, 2 pages, 184 KB</p></div><button class="x" type="button" aria-label="Close preview"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
<div class="view">
<div class="thumbs" role="radiogroup" aria-label="Page">
<label><input class="p1" type="radio" name="ukc-modal-file-preview-page" checked><span class="th" aria-hidden="true"><i></i><i></i><i></i><i></i></span><span class="pn"><span class="vh">Page </span>1</span></label>
<label><input class="p2" type="radio" name="ukc-modal-file-preview-page"><span class="th" aria-hidden="true"><i></i><i></i><b></b></span><span class="pn"><span class="vh">Page </span>2</span></label>
</div>
<div class="sheet pg1" aria-hidden="true">
<p class="doc">Bill of lading<span>88214</span></p>
<div class="two"><div><em>Ship from</em><i></i><i></i><i class="s"></i></div><div><em>Ship to</em><i></i><i></i><i class="s"></i></div></div>
<div class="tbl"><span></span><span></span><span></span><span></span><span></span></div>
<div class="two"><div><em>Carrier</em><i></i><i class="s"></i></div><div><em>Declared weight</em><i></i><i class="s"></i></div></div>
<p class="pgn">Page 1 of 2</p>
</div>
<div class="sheet pg2" aria-hidden="true">
<p class="doc">Receipt of goods<span>2 / 2</span></p>
<div class="para"><i></i><i></i><i></i><i class="s"></i></div>
<div class="sign"><svg viewBox="0 0 120 30" width="120" height="30" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"><path d="M4 22c8-14 12-16 13-8s3 10 9 0 8-8 9-1 6 6 11-2 9-6 12 2 10 6 22-6"/></svg><em>Signed at dock 3</em></div>
<p class="stamp">Received<span>14 Mar</span></p>
<p class="pgn">Page 2 of 2</p>
</div>
</div>
<dl class="meta">
<div><dt>Shipper</dt><dd>Corvid Tile Works, Tacoma</dd></div>
<div><dt>Consignee</dt><dd>Hale and Pruitt Supply, Boise</dd></div>
<div><dt>Load</dt><dd>14 pallets, 9,860 kg</dd></div>
<div><dt>Signed by</dt><dd>R. Banerjee, dock 3</dd></div>
</dl>
<div class="ft"><p class="note"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="1"/><path d="M8 11V8a4 4 0 0 1 8 0v3"/></svg> Only your dispatch team can open this file.</p><div class="acts"><button class="btn" type="button"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="8" y="8" width="12" height="12" rx="1"/><path d="M16 8V4H4v12h4"/></svg> Copy link</button><button class="btn pri" type="button"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 4v12M7 11l5 5 5-5M4 20h16"/></svg> Download</button></div></div>
</div></div>
</div>
.ukc-modal-file-preview { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-modal-file-preview *, .ukc-modal-file-preview *::before, .ukc-modal-file-preview *::after { box-sizing: border-box; }
.ukc-modal-file-preview :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-modal-file-preview :where(ul, ol) { padding: 0; list-style: none; }
.ukc-modal-file-preview :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-modal-file-preview :where(a) { color: inherit; }
.ukc-modal-file-preview svg { flex: none; }
.ukc-modal-file-preview .bd { display: grid; place-items: center; padding: 28px 16px; border-radius: var(--uk-radius-lg); background: color-mix(in srgb, color-mix(in srgb, var(--uk-ink) 20%, black) 50%, transparent); }
.ukc-modal-file-preview .dlg { width: 100%; max-width: 440px; background: var(--uk-paper); border-radius: var(--uk-radius-lg); box-shadow: 0 20px 50px color-mix(in srgb, color-mix(in srgb, var(--uk-ink) 20%, black) 35%, transparent); }
.ukc-modal-file-preview .btn { padding: 9px 16px; border: 1px solid var(--uk-line); border-radius: var(--uk-radius-md); background: var(--uk-paper); font-weight: 600; cursor: pointer; }
.ukc-modal-file-preview .btn.pri { background: var(--uk-accent); border-color: transparent; color: var(--uk-accent-ink); }
.ukc-modal-file-preview .btn.danger { background: var(--uk-danger); border-color: transparent; color: var(--uk-paper); }
.ukc-modal-file-preview :where(button, a, input, select, summary):focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-modal-file-preview .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ukc-modal-file-preview .dlg { max-width: 560px; overflow: hidden; }
.ukc-modal-file-preview .hd { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 18px; border-bottom: 1px solid var(--uk-line); }
.ukc-modal-file-preview .nm { flex: 1; min-width: 0; }
.ukc-modal-file-preview h3 { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 15px; overflow-wrap: anywhere; }
.ukc-modal-file-preview .nm p { font-size: 12px; color: var(--uk-muted); }
.ukc-modal-file-preview .x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--uk-radius-sm); background: transparent; cursor: pointer; }
.ukc-modal-file-preview .x:hover { background: var(--ink-soft); }
.ukc-modal-file-preview .view { display: flex; justify-content: center; align-items: flex-start; gap: 16px; padding: 18px 16px; background: var(--ink-soft); }
.ukc-modal-file-preview .thumbs { display: grid; gap: 10px; flex: none; }
.ukc-modal-file-preview .thumbs label { position: relative; display: grid; justify-items: center; gap: 3px; cursor: pointer; }
.ukc-modal-file-preview .thumbs input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ukc-modal-file-preview .th { display: grid; align-content: start; gap: 4px; width: 40px; height: 50px; padding: 6px 5px; border: 1px solid var(--line-strong); background: var(--uk-paper); }
.ukc-modal-file-preview .th i { height: 2px; background: var(--line-strong); }
.ukc-modal-file-preview .th b { justify-self: end; width: 12px; height: 12px; margin-top: 8px; border: 1.5px solid var(--uk-accent); border-radius: 2px; }
.ukc-modal-file-preview .pn { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; color: var(--uk-muted); }
.ukc-modal-file-preview .thumbs label:has(input:checked) .th { border: 2px solid var(--uk-ink); padding: 5px 4px; }
.ukc-modal-file-preview .thumbs label:has(input:checked) .pn { color: var(--uk-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ukc-modal-file-preview .thumbs label:has(input:focus-visible) .th { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-modal-file-preview .sheet { display: none; flex-direction: column; flex: 0 1 250px; min-width: 0; aspect-ratio: 1 / 1.18; padding: 16px 16px 12px; gap: 14px; border: 1px solid var(--uk-line); background: var(--uk-paper); box-shadow: 0 6px 16px color-mix(in srgb, black 18%, transparent); }
.ukc-modal-file-preview .view:has(.p1:checked) .pg1, .ukc-modal-file-preview .view:has(.p2:checked) .pg2 { display: flex; }
.ukc-modal-file-preview .pgn { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--uk-line); font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; color: var(--uk-muted); }
.ukc-modal-file-preview .doc { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--uk-ink); font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ukc-modal-file-preview .doc span { font-weight: 400; color: var(--uk-muted); }
.ukc-modal-file-preview .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ukc-modal-file-preview .two div, .ukc-modal-file-preview .para { display: grid; gap: 5px; }
.ukc-modal-file-preview .sheet em { font-style: normal; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-modal-file-preview .sheet i { display: block; height: 3px; background: var(--line-strong); }
.ukc-modal-file-preview .sheet i.s { width: 55%; }
.ukc-modal-file-preview .tbl { display: grid; border: 1px solid var(--line-strong); }
.ukc-modal-file-preview .tbl span { height: 13px; border-bottom: 1px solid var(--uk-line); background: linear-gradient(90deg, transparent 0 44%, var(--uk-line) 44% calc(44% + 1px), transparent calc(44% + 1px) 72%, var(--uk-line) 72% calc(72% + 1px), transparent calc(72% + 1px)); }
.ukc-modal-file-preview .tbl span:first-child { background: var(--ink-soft); }
.ukc-modal-file-preview .tbl span:last-child { border-bottom: 0; }
.ukc-modal-file-preview .sign { display: grid; gap: 2px; margin-top: 8px; }
.ukc-modal-file-preview .sign svg { max-width: 100%; border-bottom: 1px solid var(--line-strong); }
.ukc-modal-file-preview .stamp { align-self: flex-end; display: grid; margin-top: 6px; padding: 5px 9px; border: 2px solid var(--uk-accent); border-radius: 3px; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; rotate: -7deg; }
.ukc-modal-file-preview .stamp span { font-weight: 400; }
.ukc-modal-file-preview .meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 20px; padding: 16px 18px; border-top: 1px solid var(--uk-line); }
.ukc-modal-file-preview dt { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-modal-file-preview dd { font-size: 14px; }
.ukc-modal-file-preview .ft { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 12px 18px; border-top: 1px solid var(--uk-line); background: var(--uk-surface); }
.ukc-modal-file-preview .note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--uk-muted); }
.ukc-modal-file-preview .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.ukc-modal-file-preview .acts .btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 14px; }