                                                                                           
#app > #screen-doc,
#app > #menu-modal {
  --content-scale: var(--shell-scale, 1);
  --safe-top: calc(max(env(safe-area-inset-top), 20px) / var(--shell-scale, 1));
  --safe-bottom: calc(max(env(safe-area-inset-bottom), 16px) / var(--shell-scale, 1));
  font-family: 'e-Ukraine-PIN', 'e-Ukraine', sans-serif;
  color: #000;
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: calc(100% / var(--shell-scale, 1));
  height: calc(var(--app-height, 100dvh) / var(--shell-scale, 1));
  transform: scale(var(--shell-scale, 1));
  transform-origin: left top;
}
#screen-doc { padding-top: calc(var(--safe-top) + 66.8px); background: transparent; overflow: hidden; }
#screen-doc button, #menu-modal button { font-family: inherit; cursor: pointer; border: 0; }
#screen-doc .docs-viewport { position: relative; flex: none; width: 100%; padding: 0; overflow: visible; }
#screen-doc .docs-track { display: flex; flex: none; align-items: flex-start; gap: 0; width: 100%; padding: 36px calc((100% - 353.7px) / 2); overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-type: x mandatory; touch-action: pan-x pan-y; cursor: grab; }
#screen-doc .docs-track::-webkit-scrollbar { display: none; }
#screen-doc .docs-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
#screen-doc .doc-slide { position: relative; display: flex; justify-content: center; flex: 0 0 353.7px; width: 353.7px; min-width: 0; height: 539px; scroll-snap-align: center; scroll-snap-stop: always; }
#screen-doc .doc-slide > * { flex: 0 0 358px; transform: scale(calc(var(--card-k, 1) * var(--flip-k, 1))); transform-origin: center; }
#screen-doc.doc-settling .doc-slide.current > *, #screen-doc.doc-settling .doc-slide.adjacent > *, #screen-doc .is-flipping { will-change: transform; }
#screen-doc .flip-wrap { width: 358px; height: 539px; position: relative; }
#screen-doc .flip-wrap.is-flipping { perspective: 1600px; }
#screen-doc .doc-card, #screen-doc .back-face {
  position: absolute;
  inset: 0;
  width: 358px;
  height: 539px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: flat;
  cursor: pointer;
}
#screen-doc .doc-card { background: #ffffff62; transform: rotateY(0deg); }
#screen-doc .back-face { background: #fff; transform: rotateY(-180deg); visibility: hidden; pointer-events: none; }
                                                                                 
#screen-doc .doc-card > :not(.doc-shade), #screen-doc .back-face > :not(.doc-shade), #screen-doc .add-tile > * { opacity: var(--side-opacity, 0); transition: none; }
#screen-doc .doc-shade { position: absolute; inset: 0; z-index: 5; border-radius: 24px; background: #000; pointer-events: none; opacity: 0; }
#screen-doc .doc-inner { flex: 1; min-height: 0; padding: 30.3px 16px 0; }
#screen-doc .doc-title { margin: 0 0 19px; color: #000; font-size: 24px; font-weight: 400; line-height: 1.12; letter-spacing: -.03px; }
#screen-doc .doc-profile { display: flex; align-items: flex-start; gap: 21px; }
#screen-doc .doc-photo { width: 152px; height: 202.6667px; aspect-ratio: 3 / 4; border-radius: 14px; border: 1px solid rgba(128,136,142,.2); object-fit: fill; object-position: center; background: #fff; flex-shrink: 0; display: block; }
#screen-doc .doc-details { display: flex; flex-direction: column; flex: 0 0 100px; gap: 16px; min-width: 0; padding-top: 4.5px; }
#screen-doc .doc-details > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
#screen-doc .field-label, #screen-doc .detail-value { font-size: 13px; line-height: 19px; font-weight: 400; word-break: break-word; }
#screen-doc .passport-sign-slot { display: block; width: 63px; height: 33px; margin: 8px 0 0 10px; }
#screen-doc .passport-sign { position: static; inset: auto; transform: none; opacity: 1; display: block; object-fit: contain; width: 100%; height: 100%; }
#screen-doc .status-ticker, #doc-modal .status-ticker, .docs-ui .status-ticker {
  position: relative; flex-shrink: 0; display: flex; align-items: center;
  width: 100%; height: 24px; min-height: 24px; padding: 0; margin: 0 0 16px;
  background: linear-gradient(90deg, #9ce88b 0%, #83cac8 100%); overflow: hidden; contain: paint;
}
#screen-doc .ticker-wrapper, #doc-modal .ticker-wrapper, .docs-ui .ticker-wrapper {
  display: flex !important; align-items: center; width: max-content; height: 100%; gap: 0;
  animation: ticker-scroll var(--ticker-duration, 25s) linear infinite;
  will-change: auto;
}
#screen-doc .ticker-text, #doc-modal .ticker-text, .docs-ui .ticker-text {
  display: block !important; flex: 0 0 auto; white-space: nowrap; margin: 0; padding: 0 !important;
  font-family: 'e-Ukraine-PIN', 'e-Ukraine', sans-serif; font-size: 13px; line-height: 1; font-weight: 400; color: #0e2e06;
                                                               
  position: relative; top: -.5px; transform: none;
}
#screen-doc .ticker-wrapper { animation-play-state: paused; }
#screen-doc.active .doc-slide.current .flip-wrap:not(.flipped) .ticker-wrapper { animation-play-state: running; }
#screen-doc .card-bottom, #screen-doc .tax-number-row { display: flex; flex-shrink: 0; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 0 16px 28px; }
#screen-doc .doc-name { min-width: 0; font-size: 21px; line-height: 25px; font-weight: 400; letter-spacing: -.17px; word-break: break-word; }
#screen-doc .doc-more-btn { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; padding: 0; background: transparent; color: #fff; --icon-bg: #000; }
#screen-doc .doc-more-btn svg { width: 28px; height: 28px; display: block; }
#screen-doc .doc-more-btn:active { opacity: .85; transform: scale(.97); }
#screen-doc .tax-caption { font-size: 17.9px; line-height: 1.1; }
#screen-doc .tax-name { margin: 29px 0 22px; font-size: 16px; line-height: 24px; font-weight: 400; }
#screen-doc .tax-birth, #screen-doc .tax-birth b { font-size: 13px; line-height: 24px; font-weight: 400; }
#screen-doc .tax-number-row { align-items: center; gap: 8px; }
#screen-doc #tax-number { font-size: 32px; font-weight: 400; letter-spacing: -.2px; line-height: 1; margin: 16px 0 5px; }
#screen-doc .tax-copy { padding: 0; margin: 16px 0 5px; background: none; color: #000; display: flex; flex-shrink: 0; }
#screen-doc .tax-copy svg { width: 24px; height: 24px; }
#screen-doc .tax-number-row .doc-more-btn { margin-left: auto; align-self: flex-end; }
#screen-doc .actions-wrap { display: flex; flex-direction: column; gap: 8px; width: 358px; height: 539px; }
#screen-doc .add-tile { display: flex; flex-direction: column; flex: 1; justify-content: center; align-items: center; gap: 7.2px; padding: 24px; border-radius: 26px; background: #ffffff80; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: #000; box-shadow: 0 10px 32px #0000000d; }
#screen-doc .add-tile .badge { display: block; width: auto; height: auto; background: none; border: 0; margin: 0; padding: 0; }
#screen-doc .add-tile .badge svg { display: block; }
#screen-doc .add-label { text-align: center; font-size: 18px; line-height: 1.25; font-weight: 400; }
#screen-doc .docs-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 0 20px; margin: 20px 0 0; flex: none; position: static; }
#screen-doc .page-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; padding: 0; background: #fff6; transition: background .25s, transform .25s; }
#screen-doc .page-dot.active { background: #fff; }
#screen-doc .page-dot.far { transform: scale(.7); }
#screen-doc .back-content { width: 100%; height: 100%; padding: 46px 0 0; display: flex; flex-direction: column; align-items: center; }
#screen-doc .back-caption { color: #0000004d; font-size: 12.5px; line-height: normal; margin-bottom: 21px; }
#screen-doc .verification-stage { width: 269px; height: 269px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
#screen-doc .back-qr { display: block; width: 269px; height: 269px; }
#screen-doc .back-barcode { display: none; width: 269px; height: 92px; object-fit: fill; }
#screen-doc .back-barcode-text { width: 269px; text-align: center; font: 13px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: #0000004d; letter-spacing: 3px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
#screen-doc .back-actions { display: flex; justify-content: center; margin-top: 63.7px; }
#screen-doc .code-btn { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 165.7px; padding: 0; background: none; color: #000; }
#screen-doc .code-ico { display: flex; justify-content: center; align-items: center; width: 54px; height: 54px; border-radius: 50%; color: #0000004d; background: #00000014; }
#screen-doc .code-btn.active .code-ico { color: #fff; background: #000; }
#screen-doc .code-ico svg { width: 24px; height: 24px; }
#screen-doc .code-lbl { font-size: 13.5px; font-weight: 400; }
#screen-doc [hidden] { display: none !important; }
#screen-doc [data-doc="edoc"] .back-content { justify-content: center; padding: 0; }
#screen-doc [data-doc="edoc"] .back-caption, #screen-doc [data-doc="edoc"] .back-actions { display: none; }
#menu-modal { z-index: 300; padding: 16px 16px calc(16.5px + var(--safe-bottom)); background: #0000001f; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .28s ease; }
#menu-modal.open { visibility: visible; pointer-events: auto; opacity: 1; transition-delay: 0s; }
#menu-modal .menu-wrap { display: flex; flex-direction: column; max-height: 100%; width: 100%; transform: translate3d(0, 32px, 0); transition: transform .28s cubic-bezier(.22,.75,.25,1); }
#menu-modal.open .menu-wrap { transform: translate3d(0, 0, 0); will-change: transform; }
#menu-modal .menu-card { background: #fff; border-radius: 24px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
#menu-row-list { display: flex; flex-direction: column; padding-top: 7.2px; overflow-y: auto; scrollbar-width: none; }
#menu-modal .menu-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 17.2px 20px 17.2px 33px; background: none; color: #000; text-align: left; }
#menu-modal .menu-row:active { background: #0000000a; }
#menu-modal .menu-row.is-group-start::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: #00000017; }
#menu-modal .menu-ico { width: 22px; height: 22px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
#menu-modal .menu-ico svg { width: 22px; height: 22px; }
#menu-modal .menu-lang { font-size: 12.5px; letter-spacing: .2px; }
#menu-modal .menu-lbl { font-size: 16.2px; line-height: normal; font-weight: 400; }
#menu-modal .menu-actions { display: flex; flex-shrink: 0; border-top: 1px solid #00000017; padding: 16px 0 22.2px; }
#menu-modal .code-btn { display: flex; flex-direction: column; flex: 1; align-items: center; gap: 10px; padding: 0; background: none; color: #000; }
#menu-modal .code-ico { display: flex; justify-content: center; align-items: center; width: 52px; height: 52px; border-radius: 50%; background: #000; color: #fff; }
#menu-modal .code-ico svg { width: 24px; height: 24px; }
#menu-modal .code-lbl { font-size: 16px; font-weight: 400; }
#menu-modal .menu-close-btn { height: 56px; flex-shrink: 0; background: #fff; border-radius: 28px; margin-top: 8.6px; font-size: 17px; font-weight: 400; color: #000; }
#menu-modal [hidden] { display: none !important; }
#menu-modal.is-closing { pointer-events: none; opacity: 0; }
#menu-modal.is-closing .menu-wrap { transform: translate3d(0, 32px, 0); }
                                                                           
#app > #screen-loading { position: absolute; inset: 0 0 calc(70px * var(--shell-scale, 1) + max(env(safe-area-inset-bottom), 16px)); z-index: 50; width: 100%; height: auto; transform: none; display: flex; justify-content: center; align-items: center; color: #fff; background: #000000a6; opacity: 1; pointer-events: none; transition: opacity .45s; }
#screen-loading[hidden] { display: none !important; }
#app > #screen-loading.is-leaving { opacity: 0; }
#screen-loading svg { width: calc(48px * var(--shell-scale, 1)); height: calc(48px * var(--shell-scale, 1)); animation: crestPulse .8s ease-in-out infinite; }
@media (max-height: 720px) {
  #screen-doc { padding-top: calc(var(--safe-top) + 28px); }
  #screen-doc .docs-track { padding-top: 16px; padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #screen-loading, #menu-modal, #menu-modal .menu-wrap { animation: none !important; transition: none !important; }
  #screen-doc .ticker-wrapper { animation-play-state: paused !important; }
}
html.platform-android #screen-doc .doc-card,
html.platform-android #screen-doc .back-face,
html.platform-android #screen-doc .add-tile { contain: layout paint style; }
html.platform-android #screen-doc.doc-swipe-gesture .ticker-wrapper { animation-play-state: paused !important; }
html.platform-android #screen-doc .add-tile {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #ffffffb8;
}
html.platform-android #menu-modal {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #00000038;
}
#menu-modal #menu-full { border-bottom: 0; }
#screen-doc .ticker-text, #doc-modal .ticker-text, .docs-ui .ticker-text { letter-spacing: normal; }
                                                                            
#screen-doc .back-barcode { shape-rendering: geometricPrecision; }

@keyframes crestPulse { 0%,100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1.07); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #screen-loading svg { animation: none; } }
