.hub-dialog-overlay{z-index:90;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1316188c;animation:.16s cubic-bezier(.23,1,.32,1) hub-dialog-overlay-in;position:fixed;inset:0}.hub-dialog-content{z-index:91;animation:.19s cubic-bezier(.23,1,.32,1) hub-dialog-content-in;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.hub-dialog-content:focus{outline:none}html[data-theme=dark] .hub-dialog-overlay{background:#000000b8}@keyframes hub-dialog-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes hub-dialog-content-in{0%{opacity:0;transform:translate(-50%,-48%)scale(.97)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.hub-dialog-overlay,.hub-dialog-content{animation:none}}.hub-dialog-content.hub-dialog--entity.tsekh-flow-dialog{width:min(880px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--wm-ink);background:var(--wm-paper);border-radius:16px;overflow:hidden}.hub-dialog-content.hub-dialog--entity.tsekh-flow-dialog>.hub-dialog-surface{background:var(--wm-paper);flex-direction:column;height:min(760px,100dvh - 32px);min-height:0;max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.hub-dialog-content.hub-dialog--entity.tsekh-flow-dialog>.hub-dialog-surface>header{border-bottom:1px solid var(--wm-line);background:var(--wm-paper);flex-shrink:0;align-items:center;gap:16px;padding:24px;display:flex}.hub-dialog--entity>.hub-dialog-surface>header>div:first-child{flex:1;min-width:0}.hub-dialog--entity>.hub-dialog-surface>header h2{margin:0;font-size:22px;line-height:1.3}.hub-dialog--entity>.hub-dialog-surface>header button[aria-label=Закрыть]{flex-shrink:0;width:40px;height:40px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface>form{flex-direction:column;flex:1;min-height:0;margin:0;display:flex;overflow:hidden}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-actions{border-top:1px solid var(--wm-line);background:var(--wm-paper);flex-shrink:0;gap:16px;padding:16px 24px;display:flex}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-actions-status{color:var(--wm-ink-secondary);flex:1;min-width:0;font-size:12px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-actions-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-navigation-list{background:var(--wm-inset);border-radius:12px;gap:4px;padding:4px;display:flex;overflow-x:auto}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-navigation-item{flex:1 0 max-content;min-height:40px;box-shadow:none;border:0;border-radius:8px;gap:8px;padding:8px 12px;font-size:12px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-navigation-item[data-state=active]{background:var(--wm-paper);color:var(--wm-ink);box-shadow:0 1px 2px var(--wm-line-soft)}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-field .hub-input,.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-date-trigger{height:40px;min-height:40px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-field textarea.hub-input{height:auto;min-height:96px}@media (width>=601px){.hub-dialog-content.hub-dialog--entity.hub-dialog--content-height>.hub-dialog-surface{height:auto}.hub-dialog-content.hub-dialog--entity.hub-dialog--content-height .hub-dialog-surface>form{flex:0 auto}}@media (width<=600px){.hub-dialog-content.hub-dialog--entity.tsekh-flow-dialog{border-radius:0;width:100%;height:100dvh;max-height:100dvh;animation:none;inset:0;transform:none}.hub-dialog-content.hub-dialog--entity.tsekh-flow-dialog>.hub-dialog-surface{height:100%;max-height:100%;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.hub-dialog-content.hub-dialog--entity.tsekh-flow-dialog>.hub-dialog-surface>header,.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-actions{flex-wrap:wrap;gap:8px;padding:12px 16px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-actions-status{flex-basis:100%}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-navigation-item{min-height:44px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-field .hub-input,.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-date-trigger{height:44px;min-height:44px;font-size:16px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-field textarea.hub-input{height:auto;min-height:128px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface button:not([role=tab]){min-height:44px}.hub-dialog-content.hub-dialog--entity .hub-dialog-surface button[aria-label=Закрыть],.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .tsekh-client-header-companies button,.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .tsekh-client-header-companies .tsekh-choice-tip{width:44px;height:44px}}@media (pointer:coarse){.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-field .hub-input,.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-date-trigger,.hub-dialog-content.hub-dialog--entity .hub-dialog-surface .hub-form-navigation-item{min-height:44px}}.hub-form-actions{border-top:1px solid var(--wm-line);background:var(--wm-paper);flex-shrink:0;align-items:center;gap:16px;padding:16px 24px;display:flex}.hub-form-actions-status{min-width:0;font-size:var(--wm-text-xs);color:var(--wm-ink-secondary);overflow-wrap:anywhere;flex:1}.hub-form-actions-buttons{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.hub-icon-action{width:40px;height:40px;color:var(--wm-ink-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.hub-icon-action[aria-pressed=true]{background:var(--wm-control);color:var(--wm-ink);border-color:var(--wm-line)}.hub-icon-action:hover{background:var(--wm-inset)}.hub-icon-action:disabled,.hub-icon-action[aria-disabled=true]{opacity:.48;cursor:not-allowed}.hub-icon-action[aria-disabled=true]:hover{background:0 0}.hub-icon-action svg{flex-shrink:0}.hub-pattern-tooltip{z-index:160;background:var(--wm-ink);max-width:260px;color:var(--wm-paper);font-size:var(--wm-text-xs);pointer-events:none;border-radius:8px;padding:8px 12px;line-height:1.4}[data-radix-popper-content-wrapper]:has(>.hub-pattern-tooltip){pointer-events:none}.hub-form-navigation{flex-shrink:0;min-width:0}.hub-form-navigation-list{background:var(--wm-inset);scrollbar-width:thin;border-radius:12px;gap:4px;padding:4px;scroll-padding-inline:4px;display:flex;overflow-x:auto}.hub-form-navigation-item{flex:1 0 max-content;min-height:40px;color:var(--wm-ink-secondary);font:inherit;font-size:var(--wm-text-xs);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;display:flex}.hub-form-navigation-item[data-state=active]{background:var(--wm-paper);color:var(--wm-ink);font-weight:var(--wm-weight-semibold);box-shadow:0 1px 2px var(--wm-line-soft)}.hub-form-navigation-copy{text-align:left;gap:1px;min-width:0;line-height:1.15;display:grid}.hub-form-navigation-copy>span,.hub-form-navigation-copy>small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hub-form-navigation-copy>small{color:var(--wm-ink-tertiary);font-size:11px;font-weight:var(--wm-weight-medium)}.hub-form-navigation-item:disabled{opacity:.48;cursor:not-allowed}.hub-form-navigation-item svg{flex-shrink:0}.hub-step-number{font-variant-numeric:tabular-nums}.hub-step-caption{font-size:var(--wm-text-xs);color:var(--wm-ink-secondary);margin-top:8px;display:block}.hub-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.hub-form-grid--compact{grid-template-columns:minmax(0,1fr) 100px}.hub-form-grid>*{min-width:0}.hub-form-section{gap:16px;display:grid}.hub-form-section>h3{font-size:var(--wm-text-xl);font-weight:var(--wm-weight-semibold);margin:0;line-height:1.4}.hub-source-row{border-bottom:1px solid var(--wm-line);grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:12px 0;display:grid}.hub-source-row-icon{width:40px;height:40px;color:var(--wm-ink-secondary);place-items:center;display:grid}.hub-source-row-content{gap:4px;min-width:0;display:grid}.hub-source-row-content>strong{font-size:var(--wm-text-md);font-weight:var(--wm-weight-semibold);overflow-wrap:anywhere}.hub-source-row-content>span,.hub-source-row-content>small{font-size:var(--wm-text-xs);color:var(--wm-ink-secondary);overflow-wrap:anywhere}.hub-source-row-actions{flex-wrap:wrap;align-items:center;gap:4px;display:flex}@media (width<=600px){.hub-form-actions{flex-wrap:wrap;gap:8px;padding:12px 16px}.hub-form-actions-status{flex-basis:100%}.hub-form-actions-buttons{justify-content:flex-end;width:100%}.hub-icon-action{width:44px;height:44px}.hub-form-navigation-item{min-height:44px}.hub-form-grid,.hub-form-grid--compact{grid-template-columns:1fr}.hub-source-row{grid-template-columns:40px minmax(0,1fr);align-items:start}.hub-source-row-actions{grid-column:2;justify-content:flex-start}}@media (pointer:coarse){.hub-icon-action{width:44px;height:44px}.hub-form-navigation-item{min-height:44px}}.hub-pattern-icon-catalog{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:16px;margin-block:24px;display:grid}.hub-pattern-icon-catalog>div{justify-items:center;gap:8px;display:grid}.hub-pattern-icon-catalog span{font-size:var(--wm-text-xs)}.hub-example-tabs{flex-direction:column;flex:1;gap:24px;min-height:0;padding:16px 24px 0;display:flex}.hub-example-body{flex:1;min-height:0;padding-bottom:24px;overflow:auto}.hub-pattern-examples p{font-size:var(--wm-text-md);line-height:1.5}.hub-example-compact-body{padding:24px}@media (width<=600px){.hub-example-tabs{padding:16px 16px 0}}.hub-form-actions-buttons{margin-left:auto}@media (width<=600px),(pointer:coarse){.hub-form-actions-buttons .hub-button{min-height:44px}}.hub-entity-title .hub-entity-title-mark{flex:0 0 48px;width:48px;height:48px}.hub-entity-title .hub-entity-title-mark>.tsekh-brand-mark{border-radius:10px;width:48px;height:48px}.hub-source-row--plain{border-bottom:0}@media (width<=600px){.tsekh-flow-dialog .hub-source-row-actions>.hub-button{flex:1;width:auto;min-width:0}}.hub-form-navigation--sidebar{min-height:0}.hub-form-navigation--sidebar .hub-form-navigation-list[data-orientation=vertical]{background:0 0;border-radius:0;flex-direction:column;max-height:100%;padding:0;overflow-y:auto}.hub-form-navigation--sidebar .hub-form-navigation-item{font-size:var(--wm-text-md);text-align:left;justify-content:flex-start}.hub-form-navigation--sidebar .hub-form-navigation-list[data-orientation=vertical]>.hub-form-navigation-item{white-space:normal;flex:none}.hub-form-navigation--sidebar .hub-form-navigation-list[data-orientation=horizontal]>.hub-form-navigation-item{flex:none;min-height:44px}
